Skip to content
Snippets Groups Projects
Commit 110bc9f5 authored by thomaswoehlke's avatar thomaswoehlke
Browse files

* Fixed #170 implement url_vaccination_task_update_star_schema_initial in vaccination_views.py

* Fixed #171 implement url_vaccination_task_update_starschema_incremental in vaccination_views.py
* Fixed #172 implement url_vaccination_task_import_only in vaccination_views.py
* Fixed #173 implement url_vaccination_task_import_only in vaccination_views.py
* Fixed #174 implement url_vaccination_task_update_dimensiontables_only in vaccination_views.py
* Fixed #175 implement url_vaccination_task_update_facttable_incremental_only in vaccination_views.py
* Fixed #176 implement url_vaccination_task_update_facttable_initial_only in vaccination_views.py
parent 239f6b6e
No related branches found
No related tags found
No related merge requests found
...@@ -28,7 +28,7 @@ def task_europe_update_initial(self): ...@@ -28,7 +28,7 @@ def task_europe_update_initial(self):
logger.info("------------------------------------------------------------") logger.info("------------------------------------------------------------")
logger.info(" Received: task_europe_update_initial [OK] ") logger.info(" Received: task_europe_update_initial [OK] ")
logger.info("------------------------------------------------------------") logger.info("------------------------------------------------------------")
europe_service.run_update_initial() europe_service.run_update_initial_DEPRECATED()
self.update_state(state=states.SUCCESS) self.update_state(state=states.SUCCESS)
result = "OK (task_europe_update_initial)" result = "OK (task_europe_update_initial)"
return result return result
......
...@@ -31,51 +31,52 @@ class VaccinationService: ...@@ -31,51 +31,52 @@ class VaccinationService:
self.vaccination_service_udpate.update_star_schema_initial() self.vaccination_service_udpate.update_star_schema_initial()
return self 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): 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() self.vaccination_service_download.download_file()
return self 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): 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() self.vaccination_service_import.import_file()
return self 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): 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() self.vaccination_service_udpate.update_dimension_tables_only()
return self 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): 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() self.vaccination_service_udpate.update_fact_table_incremental_only()
return self 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): 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() self.vaccination_service_udpate.update_fact_table_initial_only()
return self 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): 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() self.vaccination_service_udpate.update_star_schema_incremental()
return self 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): 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.run_import_only()
self.vaccination_service_udpate.update_star_schema_initial() self.vaccination_service_udpate.update_star_schema_initial()
return self return self
# TODO remove DEPRECATED
# TODO: #90 refactor VaccinationService to new method scheme introduced 07.02.2021 # 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(" run update [begin]")
app.logger.info("------------------------------------------------------------") app.logger.info("------------------------------------------------------------")
success = self.vaccination_service_download.download_file() success = self.vaccination_service_download.download_file()
...@@ -84,8 +85,9 @@ class VaccinationService: ...@@ -84,8 +85,9 @@ class VaccinationService:
app.logger.info("------------------------------------------------------------") app.logger.info("------------------------------------------------------------")
return success return success
# TODO remove DEPRECATED
# TODO: #90 refactor VaccinationService to new method scheme introduced 07.02.2021 # 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(" run update initial [begin]")
app.logger.info("------------------------------------------------------------") app.logger.info("------------------------------------------------------------")
self.vaccination_service_import.import_file() self.vaccination_service_import.import_file()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment