diff --git a/src/covid19/blueprints/europe/europe_views.py b/src/covid19/blueprints/europe/europe_views.py index 2c9d690940c8fda1943b456f2a65069138e4b036..bb8536563ee7a9007b4365a1129defccf8d8d3aa 100644 --- a/src/covid19/blueprints/europe/europe_views.py +++ b/src/covid19/blueprints/europe/europe_views.py @@ -28,7 +28,7 @@ def task_europe_update_initial(self): logger.info("------------------------------------------------------------") logger.info(" Received: task_europe_update_initial [OK] ") logger.info("------------------------------------------------------------") - europe_service.run_update_initial() + europe_service.run_update_initial_DEPRECATED() self.update_state(state=states.SUCCESS) result = "OK (task_europe_update_initial)" return result diff --git a/src/covid19/blueprints/vaccination/vaccination_service.py b/src/covid19/blueprints/vaccination/vaccination_service.py index 8377f4318356e906e6c1e273f57ea841d6c38349..2b032342e848f643c42c83ac0be0296e442c579a 100644 --- a/src/covid19/blueprints/vaccination/vaccination_service.py +++ b/src/covid19/blueprints/vaccination/vaccination_service.py @@ -31,51 +31,52 @@ class VaccinationService: self.vaccination_service_udpate.update_star_schema_initial() return self + # TODO: #90 refactor VaccinationService to new method scheme introduced 07.02.2021 + # TODO: #91 implement VaccinationService.run_download_only def run_download_only(self): - # TODO: #90 refactor VaccinationService to new method scheme introduced 07.02.2021 - # TODO: #91 implement VaccinationService.run_download_only self.vaccination_service_download.download_file() return self + # TODO: #90 refactor VaccinationService to new method scheme introduced 07.02.2021 + # TODO: #92 implement VaccinationService.run_import_only def run_import_only(self): - # TODO: #90 refactor VaccinationService to new method scheme introduced 07.02.2021 - # TODO: #92 implement VaccinationService.run_import_only self.vaccination_service_import.import_file() return self + # TODO: #90 refactor VaccinationService to new method scheme introduced 07.02.2021 + # TODO: #93 implement VaccinationService.run_update_dimension_tables_only def run_update_dimension_tables_only(self): - # TODO: #90 refactor VaccinationService to new method scheme introduced 07.02.2021 - # TODO: #93 implement VaccinationService.run_update_dimension_tables_only self.vaccination_service_udpate.update_dimension_tables_only() return self + # TODO: #90 refactor VaccinationService to new method scheme introduced 07.02.2021 + # TODO: #94 implement VaccinationService.run_update_fact_table_incremental_only def run_update_fact_table_incremental_only(self): - # TODO: #90 refactor VaccinationService to new method scheme introduced 07.02.2021 - # TODO: #94 implement VaccinationService.run_update_fact_table_incremental_only self.vaccination_service_udpate.update_fact_table_incremental_only() return self + # TODO: #90 refactor VaccinationService to new method scheme introduced 07.02.2021 + # TODO: #95 implement VaccinationService.run_update_fact_table_initial_only def run_update_fact_table_initial_only(self): - # TODO: #90 refactor VaccinationService to new method scheme introduced 07.02.2021 - # TODO: #95 implement VaccinationService.run_update_fact_table_initial_only self.vaccination_service_udpate.update_fact_table_initial_only() return self + # TODO: #90 refactor VaccinationService to new method scheme introduced 07.02.2021 + # TODO: #96 implement VaccinationService.run_update_star_schema_incremental def run_update_star_schema_incremental(self): - # TODO: #90 refactor VaccinationService to new method scheme introduced 07.02.2021 - # TODO: #96 implement VaccinationService.run_update_star_schema_incremental self.vaccination_service_udpate.update_star_schema_incremental() return self + # TODO: #90 refactor VaccinationService to new method scheme introduced 07.02.2021 + # TODO: #97 implement VaccinationService.run_update_star_schema_initial def run_update_star_schema_initial(self): - # TODO: #90 refactor VaccinationService to new method scheme introduced 07.02.2021 - # TODO: #97 implement VaccinationService.run_update_star_schema_initial self.run_import_only() self.vaccination_service_udpate.update_star_schema_initial() return self + # TODO remove DEPRECATED # TODO: #90 refactor VaccinationService to new method scheme introduced 07.02.2021 - def run_download(self): + def run_download_DEPRECATED(self): app.logger.info(" run update [begin]") app.logger.info("------------------------------------------------------------") success = self.vaccination_service_download.download_file() @@ -84,8 +85,9 @@ class VaccinationService: app.logger.info("------------------------------------------------------------") return success + # TODO remove DEPRECATED # TODO: #90 refactor VaccinationService to new method scheme introduced 07.02.2021 - def run_update_initial(self): + def run_update_initial_DEPRECATED(self): app.logger.info(" run update initial [begin]") app.logger.info("------------------------------------------------------------") self.vaccination_service_import.import_file()