This commit is contained in:
Fabio Sinibaldi 2019-01-22 18:07:00 +00:00
parent d84b1a45bd
commit 7a0a558425
21 changed files with 43 additions and 22 deletions

View File

@ -6,13 +6,11 @@ import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.UUID;
import org.gcube.application.perform.service.LocalConfiguration;
import org.gcube.application.perform.service.engine.DataBaseManager;
import org.gcube.application.perform.service.engine.MappingManager;
import org.gcube.application.perform.service.engine.model.BeanNotFound;
import org.gcube.application.perform.service.engine.model.DBField;
import org.gcube.application.perform.service.engine.model.DBQueryDescriptor;
import org.gcube.application.perform.service.engine.model.ISQueryDescriptor;
import org.gcube.application.perform.service.engine.model.InternalException;
import org.gcube.application.perform.service.engine.model.anagraphic.Batch;
import org.gcube.application.perform.service.engine.model.anagraphic.Farm;

View File

@ -30,8 +30,8 @@ public class Performance {
private static final Logger log= LoggerFactory.getLogger(Performance.class);
@Inject
PerformanceManager perform;
// @Inject
// private PerformanceManager perform;
/**

View File

@ -0,0 +1,2 @@
Grow out facility ID,Latitude,Longitude,Type of technology,Producer Association affiliation
Grow out 1,43.0,54.0,Marine submersible cages,Associazione Piscicoltori Italiani (API) - Italy
1 Grow out facility ID Latitude Longitude Type of technology Producer Association affiliation
2 Grow out 1 43.0 54.0 Marine submersible cages Associazione Piscicoltori Italiani (API) - Italy

View File

@ -0,0 +1,5 @@
farmid,area,year,number_of_antiparasitic_treatments_n,number_of_antibiotic_treatments_n,number_of_episodes_of_escape_n,estimated_number_of_escaped_fish_n,number_of_full_time_equivalent_employees_n,biomass_of_harvested_fish_kg,biomass_in_stock_at_the_end_of_the_year_kg,biomass_in_stock_at_the_beginning_of_the_year_kg,total_number_of_days_with_oxygen_depletion_n,volume_in_m3_of_sea_water_used_for_growing_fish_for_year_m3,total_marine_space_use_for_farming_ha,total_arable_land_used_for_farming_ha,total_volume_of_freshwater_use_for_farming_m3,total_electricity_used_for_farming_kw_h,total_fuel_diesel_oil_used_for_transport_eg_boats_liters,total_fuel_diesel_oil_used_for_other_uses_eg_cooling_heating_liters,total_fuel_petrol_used_for_transport_eg_boats_liters,total_fuel_petrol_used_for_other_uses_eg_cooling_heating_liters,renewable_energy_perc
GP,-,2018,12.0,12.0,12.0,12.0,12.0,12.0,12.0,12.0,12.0,12.0,12.0,12.0,12.0,12.0,12.0,12.0,12.0,12.0,12.0
GP,-,2019,12.0,12.0,12.0,12.0,12.0,12.0,12.0,12.0,12.0,12.0,12.0,12.0,12.0,12.0,12.0,12.0,12.0,12.0,12.0
GP,-,2020,12.0,12.0,12.0,12.0,12.0,12.0,12.0,12.0,12.0,12.0,12.0,12.0,12.0,12.0,12.0,12.0,12.0,12.0,12.0
GP,-,2021,12.0,12.0,12.0,12.0,12.0,12.0,12.0,12.0,12.0,12.0,12.0,12.0,12.0,12.0,12.0,12.0,12.0,12.0,12.0
1 farmid area year number_of_antiparasitic_treatments_n number_of_antibiotic_treatments_n number_of_episodes_of_escape_n estimated_number_of_escaped_fish_n number_of_full_time_equivalent_employees_n biomass_of_harvested_fish_kg biomass_in_stock_at_the_end_of_the_year_kg biomass_in_stock_at_the_beginning_of_the_year_kg total_number_of_days_with_oxygen_depletion_n volume_in_m3_of_sea_water_used_for_growing_fish_for_year_m3 total_marine_space_use_for_farming_ha total_arable_land_used_for_farming_ha total_volume_of_freshwater_use_for_farming_m3 total_electricity_used_for_farming_kw_h total_fuel_diesel_oil_used_for_transport_eg_boats_liters total_fuel_diesel_oil_used_for_other_uses_eg_cooling_heating_liters total_fuel_petrol_used_for_transport_eg_boats_liters total_fuel_petrol_used_for_other_uses_eg_cooling_heating_liters renewable_energy_perc
2 GP - 2018 12.0 12.0 12.0 12.0 12.0 12.0 12.0 12.0 12.0 12.0 12.0 12.0 12.0 12.0 12.0 12.0 12.0 12.0 12.0
3 GP - 2019 12.0 12.0 12.0 12.0 12.0 12.0 12.0 12.0 12.0 12.0 12.0 12.0 12.0 12.0 12.0 12.0 12.0 12.0 12.0
4 GP - 2020 12.0 12.0 12.0 12.0 12.0 12.0 12.0 12.0 12.0 12.0 12.0 12.0 12.0 12.0 12.0 12.0 12.0 12.0 12.0
5 GP - 2021 12.0 12.0 12.0 12.0 12.0 12.0 12.0 12.0 12.0 12.0 12.0 12.0 12.0 12.0 12.0 12.0 12.0 12.0 12.0

View File

@ -0,0 +1,2 @@
farmid,area,date_dd_mm_yy,species,disease,name_of_antibiotic_active_compound,quantity_g_of_active_compound_used_for_the_treatment,specify_if_other_is_selected_in_name_column_e
GP,-,43112.0,S.aurata,Photobacterium damselae piscicida,Ampicilin,12.0,12.0
1 farmid area date_dd_mm_yy species disease name_of_antibiotic_active_compound quantity_g_of_active_compound_used_for_the_treatment specify_if_other_is_selected_in_name_column_e
2 GP - 43112.0 S.aurata Photobacterium damselae piscicida Ampicilin 12.0 12.0

View File

@ -0,0 +1,2 @@
farmid,area,date_dd_mm_yy_1,species_1,disease_1,name_of_antiparasitic_active_compound,quantity_g_of_active_compound_used_for_the_treatment_1,specify_if_other_is_selected_in_name_column_l
GP,-,43123.0,S.aurata,Photobacterium damselae piscicida,Ivermectine,12.0,12.0
1 farmid area date_dd_mm_yy_1 species_1 disease_1 name_of_antiparasitic_active_compound quantity_g_of_active_compound_used_for_the_treatment_1 specify_if_other_is_selected_in_name_column_l
2 GP - 43123.0 S.aurata Photobacterium damselae piscicida Ivermectine 12.0 12.0

View File

@ -0,0 +1,2 @@
farmid,area,year,type_of_animal,number_of_lethal_incidents,specify_if_other_is_selected_in_type_column_r
GP,-,2018.0,Fish,12.0,12.0
1 farmid area year type_of_animal number_of_lethal_incidents specify_if_other_is_selected_in_type_column_r
2 GP - 2018.0 Fish 12.0 12.0

View File

@ -0,0 +1,4 @@
description=LethalIncidentsTable
farm=farm_id
routine=internal_routine_id
csv=csv/KPIs_lethalincidents.csv

View File

@ -0,0 +1,4 @@
description=LethalIncidentsTable
farm=farm_id
routine=internal_routine_id
csv=csv/KPIs_lethalincidents.csv

View File

@ -1,7 +1,7 @@
description=BatchesTable
farm=farm_id
company=company_id
association=producer_association_id
batch=aggregated_batch_id
association=producer_association_affiliation
batch=batch_id
routine=internal_routine_id
csv=csv/Grow_out_Aggregated_Batch_Data_Entry_KPI.csv
csv=csv/Grow_out_Individual_Batch_Data_Entry_KPI.csv

View File

@ -1,7 +1,8 @@
description=BatchesTable
farm=farm_id
company=company_id
association=producer_association_id
batch=aggregated_batch_id
association=producer_association_affiliation
batch=batch_id
routine=internal_routine_id
csv=csv/Grow_out_Aggregated_Batch_Data_Entry_KPI.csv
csv=csv/Grow_out_Individual_Batch_Data_Entry_KPI_CLOSED_BATCHES.csv
enable_analysis=true

View File

@ -1,7 +1,8 @@
description=BatchesTable
farm=farm_id
company=company_id
association=producer_association_id
batch=aggregated_batch_id
association=producer_association_affiliation
batch=batch_id
routine=internal_routine_id
csv=csv/Grow_out_Aggregated_Batch_Data_Entry_KPI.csv
csv=csv/Hatchery_Aggregated_Batch_Data_Entry_KPI.csv
enable_analysis=true

View File

@ -1,7 +1,7 @@
description=BatchesTable
farm=farm_id
company=company_id
association=producer_association_id
batch=aggregated_batch_id
batch=batch_id
routine=internal_routine_id
csv=csv/Grow_out_Aggregated_Batch_Data_Entry_KPI.csv
csv=csv/Hatchery_Individual_Batch_Data_Entry_KPI.csv
enable_analysis=true

View File

@ -1,7 +1,7 @@
description=BatchesTable
farm=farm_id
company=company_id
association=producer_association_id
batch=aggregated_batch_id
batch=batch_id
routine=internal_routine_id
csv=csv/Grow_out_Aggregated_Batch_Data_Entry_KPI.csv
csv=csv/Hatchery_Individual_Batch_Data_Entry_KPI_CLOSED_BATCHES.csv
enable_analysis=true

View File

@ -1,7 +1,7 @@
description=BatchesTable
farm=farm_id
company=company_id
association=producer_association_id
batch=aggregated_batch_id
batch=batch_id
routine=internal_routine_id
csv=csv/Grow_out_Aggregated_Batch_Data_Entry_KPI.csv
csv=csv/Pre-grow_Batch_Data_Entry_KPI.csv
enable_analysis=true