diff --git a/BACKLOG.md b/BACKLOG.md index 48c975cf1d36ab239d33a8f0c0ceb62a22d6e27c..9552d4802bb9e20b8b44c233722b726e33c76d44 100644 --- a/BACKLOG.md +++ b/BACKLOG.md @@ -145,18 +145,18 @@ * Issue #98 refactor VaccinationServiceDownload to new method scheme introduced 07.02.2021 * Issue #99 refactor VaccinationServiceImport to new method scheme introduced 07.02.2021 * Issue #100 refactor VaccinationServiceUpdate to new method scheme introduced 07.02.2021 -* Issue #91 implement VaccinationService.run_download_only -* Issue #92 implement VaccinationService.run_import_only -* Issue #93 implement VaccinationService.run_update_dimension_tables_only -* Issue #94 implement VaccinationService.run_update_fact_table_incremental_only +* Fixed #91 implement VaccinationService.run_download_only +* Fixed #92 implement VaccinationService.run_import_only +* Fixed #93 implement VaccinationService.run_update_dimension_tables_only +* Fixed #94 implement VaccinationService.run_update_fact_table_incremental_only * Fixed #95 implement VaccinationService.run_update_fact_table_initial_only -* Issue #96 implement VaccinationService.run_update_star_schema_incremental -* Issue #97 implement VaccinationService.run_update_star_schema_initial -* Issue #101 implement VaccinationServiceUpdate.update_dimension_tables_only -* Issue #102 implement VaccinationServiceUpdate.update_fact_table_incremental_only -* Issue #103 implement VaccinationServiceUpdate.update_fact_table_initial_only -* Issue #104 implement VaccinationServiceUpdate.update_star_schema_incremental -* Issue #105 implement VaccinationServiceUpdate.update_star_schema_initial +* Fixed #96 implement VaccinationService.run_update_star_schema_incremental +* Fixed #97 implement VaccinationService.run_update_star_schema_initial +* Fixed #101 implement VaccinationServiceUpdate.update_dimension_tables_only +* Fixed #102 implement VaccinationServiceUpdate.update_fact_table_incremental_only +* Fixed #103 implement VaccinationServiceUpdate.update_fact_table_initial_only +* Fixed #104 implement VaccinationServiceUpdate.update_star_schema_incremental +* Fixed #105 implement VaccinationServiceUpdate.update_star_schema_initial * ------------------------------------- * Issue #111 refactor to new method scheme itroduced 07.02.2021 * Issue #112 implement EuropeService.run_update_dimension_tables_only diff --git a/src/covid19/blueprints/vaccination/templates/vaccination/vaccination_tasks.html b/src/covid19/blueprints/vaccination/templates/vaccination/vaccination_tasks.html index ac5b159dea7fb198d30c8331484cdbd73be6dc8e..7dd70e8b8498075775b691d6e6b86a335cd49607 100644 --- a/src/covid19/blueprints/vaccination/templates/vaccination/vaccination_tasks.html +++ b/src/covid19/blueprints/vaccination/templates/vaccination/vaccination_tasks.html @@ -28,11 +28,11 @@ <div class="col"> <div class="btn-group-vertical" role="group" aria-label="Views"> <a class="btn btn-secondary btn-lg btn-block text-left" - href="{{ url_for( 'vaccination.url_vaccination_download_only') }}" + href="{{ url_for( 'vaccination.url_vaccination_task_download_only') }}" role="button">Vaccination :: Task :: download :: only</a> <a class="btn btn-secondary btn-lg btn-block text-left" - href="{{ url_for( 'vaccination.url_vaccination_import_only') }}" + href="{{ url_for( 'vaccination.url_vaccination_task_import_only') }}" role="button">Vaccination :: Task :: import :: only</a> <a class="btn btn-secondary btn-lg btn-block text-left" diff --git a/src/covid19/blueprints/vaccination/vaccination_service_update.py b/src/covid19/blueprints/vaccination/vaccination_service_update.py index 370584af418d8eb2d957c09b82bc54e2eee50b80..5c25cac88e8871ad60e09526c8c2eaa818d7ae5b 100644 --- a/src/covid19/blueprints/vaccination/vaccination_service_update.py +++ b/src/covid19/blueprints/vaccination/vaccination_service_update.py @@ -20,6 +20,8 @@ class VaccinationServiceUpdate: def __update_date_reported(self): app.logger.info(" __update_date_reported [begin]") app.logger.info("------------------------------------------------------------") + VaccinationData.remove_all() + VaccinationDateReported.remove_all() date_reported_list = VaccinationImport.get_date_reported_as_array() i = 0 for one_date_reported in date_reported_list: