From fcc3c3220a1df9353e32d0a8899494e53a0a3598 Mon Sep 17 00:00:00 2001 From: thomaswoehlke <thomas.woehlke@gmail.com> Date: Sat, 13 Feb 2021 14:44:22 +0100 Subject: [PATCH] ## 0.0.15 Release * ------------------------------------- * Fixed #88 rename VaccinationImport to VaccinationImport * Fixed #89 change tablename from vaccination_germany_timeline_import to vaccination_import * Fixed #86 rename VaccinationData to VaccinationData * Fixed #162 rename table vaccination_germany_timeline into vaccination_data * ------------------------------------- * 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 * ------------------------------------- * 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 * 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 * ------------------------------------- * Fixed #90 refactor VaccinationService to new method scheme introduced 07.02.2021 * Fixed #98 refactor VaccinationServiceDownload to new method scheme introduced 07.02.2021 * Fixed #99 refactor VaccinationServiceImport to new method scheme introduced 07.02.2021 * Fixed #100 refactor VaccinationServiceUpdate to new method scheme introduced 07.02.2021 * ------------------------------------- * Fixed #87 change to: Vaccination.datum many to one VaccinationDateReported * Fixed #106 add Tasks and URLs for starting Tasks to vaccination_views * ------------------------------------- --- src/covid19/__init__.py | 2 +- src/covid19/app_services.py | 2 +- src/covid19/app_views.py | 30 +-- .../blueprints/{europe => ecdc}/__init__.py | 0 .../europe_model.py => ecdc/ecdc_model.py} | 0 .../ecdc_model_import.py} | 0 .../ecdc_service.py} | 6 +- .../ecdc_service_config.py} | 0 .../ecdc_service_download.py} | 2 +- .../ecdc_service_import.py} | 4 +- .../ecdc_service_update.py} | 6 +- .../europe_views.py => ecdc/ecdc_views.py} | 234 +++++++++--------- .../{europe => ecdc}/templates/__init__.py | 0 .../europe/continent/ecdc_continent_all.html} | 0 .../continent/ecdc_continent_germany.html} | 0 .../europe/continent/ecdc_continent_one.html} | 0 .../europe/country/ecdc_country_all.html} | 0 .../europe/country/ecdc_country_germany.html} | 0 .../europe/country/ecdc_country_one.html} | 0 .../ecdc_date_reported_all.html} | 0 .../ecdc_date_reported_one.html} | 0 .../ecdc_date_reported_one_cases_weekly.html} | 0 ...ecdc_date_reported_one_deaths_weekly.html} | 0 ..._date_reported_one_notification_rate.html} | 0 .../templates/europe/ecdc_data.html} | 0 .../templates/europe/ecdc_imported.html} | 0 .../templates/europe/ecdc_info.html} | 0 .../templates/europe/ecdc_tasks.html} | 0 .../fragment_ecdc_navbar_dropdown.html} | 0 .../fragments/fragment_ecdc_navtabs.html} | 0 .../fragment_ecdc_table_continent.html} | 0 .../fragment_ecdc_table_country.html} | 0 .../fragments/fragment_ecdc_table_data.html} | 0 .../fragment_ecdc_table_data_imported.html} | 0 .../fragment_ecdc_table_date_reported.html} | 0 ...tion_model.py => rki_vaccination_model.py} | 0 ...ort.py => rki_vaccination_model_import.py} | 0 ..._service.py => rki_vaccination_service.py} | 0 ...g.py => rki_vaccination_service_config.py} | 0 ...py => rki_vaccination_service_download.py} | 0 ...t.py => rki_vaccination_service_import.py} | 0 ...e.py => rki_vaccination_service_update.py} | 0 ...tion_views.py => rki_vaccination_views.py} | 0 43 files changed, 143 insertions(+), 143 deletions(-) rename src/covid19/blueprints/{europe => ecdc}/__init__.py (100%) rename src/covid19/blueprints/{europe/europe_model.py => ecdc/ecdc_model.py} (100%) rename src/covid19/blueprints/{europe/europe_model_import.py => ecdc/ecdc_model_import.py} (100%) rename src/covid19/blueprints/{europe/europe_service.py => ecdc/ecdc_service.py} (94%) rename src/covid19/blueprints/{europe/europe_service_config.py => ecdc/ecdc_service_config.py} (100%) rename src/covid19/blueprints/{europe/europe_service_download.py => ecdc/ecdc_service_download.py} (97%) rename src/covid19/blueprints/{europe/europe_service_import.py => ecdc/ecdc_service_import.py} (95%) rename src/covid19/blueprints/{europe/europe_service_update.py => ecdc/ecdc_service_update.py} (97%) rename src/covid19/blueprints/{europe/europe_views.py => ecdc/ecdc_views.py} (56%) rename src/covid19/blueprints/{europe => ecdc}/templates/__init__.py (100%) rename src/covid19/blueprints/{europe/templates/europe/continent/europe_continent_all.html => ecdc/templates/europe/continent/ecdc_continent_all.html} (100%) rename src/covid19/blueprints/{europe/templates/europe/continent/europe_continent_germany.html => ecdc/templates/europe/continent/ecdc_continent_germany.html} (100%) rename src/covid19/blueprints/{europe/templates/europe/continent/europe_continent_one.html => ecdc/templates/europe/continent/ecdc_continent_one.html} (100%) rename src/covid19/blueprints/{europe/templates/europe/country/europe_country_all.html => ecdc/templates/europe/country/ecdc_country_all.html} (100%) rename src/covid19/blueprints/{europe/templates/europe/country/europe_country_germany.html => ecdc/templates/europe/country/ecdc_country_germany.html} (100%) rename src/covid19/blueprints/{europe/templates/europe/country/europe_country_one.html => ecdc/templates/europe/country/ecdc_country_one.html} (100%) rename src/covid19/blueprints/{europe/templates/europe/date_reported/europe_date_reported_all.html => ecdc/templates/europe/date_reported/ecdc_date_reported_all.html} (100%) rename src/covid19/blueprints/{europe/templates/europe/date_reported/europe_date_reported_one.html => ecdc/templates/europe/date_reported/ecdc_date_reported_one.html} (100%) rename src/covid19/blueprints/{europe/templates/europe/date_reported/europe_date_reported_one_cases_weekly.html => ecdc/templates/europe/date_reported/ecdc_date_reported_one_cases_weekly.html} (100%) rename src/covid19/blueprints/{europe/templates/europe/date_reported/europe_date_reported_one_deaths_weekly.html => ecdc/templates/europe/date_reported/ecdc_date_reported_one_deaths_weekly.html} (100%) rename src/covid19/blueprints/{europe/templates/europe/date_reported/europe_date_reported_one_notification_rate.html => ecdc/templates/europe/date_reported/ecdc_date_reported_one_notification_rate.html} (100%) rename src/covid19/blueprints/{europe/templates/europe/europe_data.html => ecdc/templates/europe/ecdc_data.html} (100%) rename src/covid19/blueprints/{europe/templates/europe/europe_imported.html => ecdc/templates/europe/ecdc_imported.html} (100%) rename src/covid19/blueprints/{europe/templates/europe/europe_info.html => ecdc/templates/europe/ecdc_info.html} (100%) rename src/covid19/blueprints/{europe/templates/europe/europe_tasks.html => ecdc/templates/europe/ecdc_tasks.html} (100%) rename src/covid19/blueprints/{europe/templates/europe/fragments/fragment_europe_navbar_dropdown.html => ecdc/templates/europe/fragments/fragment_ecdc_navbar_dropdown.html} (100%) rename src/covid19/blueprints/{europe/templates/europe/fragments/fragment_europe_navtabs.html => ecdc/templates/europe/fragments/fragment_ecdc_navtabs.html} (100%) rename src/covid19/blueprints/{europe/templates/europe/fragments/fragment_europe_table_continent.html => ecdc/templates/europe/fragments/fragment_ecdc_table_continent.html} (100%) rename src/covid19/blueprints/{europe/templates/europe/fragments/fragment_europe_table_country.html => ecdc/templates/europe/fragments/fragment_ecdc_table_country.html} (100%) rename src/covid19/blueprints/{europe/templates/europe/fragments/fragment_europe_table_data.html => ecdc/templates/europe/fragments/fragment_ecdc_table_data.html} (100%) rename src/covid19/blueprints/{europe/templates/europe/fragments/fragment_europe_table_data_imported.html => ecdc/templates/europe/fragments/fragment_ecdc_table_data_imported.html} (100%) rename src/covid19/blueprints/{europe/templates/europe/fragments/fragment_europe_table_date_reported.html => ecdc/templates/europe/fragments/fragment_ecdc_table_date_reported.html} (100%) rename src/covid19/blueprints/rki_vaccination/{vaccination_model.py => rki_vaccination_model.py} (100%) rename src/covid19/blueprints/rki_vaccination/{vaccination_model_import.py => rki_vaccination_model_import.py} (100%) rename src/covid19/blueprints/rki_vaccination/{vaccination_service.py => rki_vaccination_service.py} (100%) rename src/covid19/blueprints/rki_vaccination/{vaccination_service_config.py => rki_vaccination_service_config.py} (100%) rename src/covid19/blueprints/rki_vaccination/{vaccination_service_download.py => rki_vaccination_service_download.py} (100%) rename src/covid19/blueprints/rki_vaccination/{vaccination_service_import.py => rki_vaccination_service_import.py} (100%) rename src/covid19/blueprints/rki_vaccination/{vaccination_service_update.py => rki_vaccination_service_update.py} (100%) rename src/covid19/blueprints/rki_vaccination/{vaccination_views.py => rki_vaccination_views.py} (100%) diff --git a/src/covid19/__init__.py b/src/covid19/__init__.py index 758c1343..8b49bdde 100644 --- a/src/covid19/__init__.py +++ b/src/covid19/__init__.py @@ -1,6 +1,6 @@ from database import app, run_run_with_debug, port -import covid19.views +import covid19.app_views ################################################################################################################# # diff --git a/src/covid19/app_services.py b/src/covid19/app_services.py index 01de940e..de9e80a7 100644 --- a/src/covid19/app_services.py +++ b/src/covid19/app_services.py @@ -2,7 +2,7 @@ from database import db from covid19.blueprints.common.common_service import CommonService from covid19.blueprints.who.who_service import WhoService -from covid19.blueprints.europe.europe_service import EuropeService +from covid19.blueprints.ecdc.europe_service import EuropeService from covid19.blueprints.rki_bundeslaender.rki_service import RkiBundeslaenderService from covid19.blueprints.rki_landkreise.rki_service import RkiLandkreiseService from covid19.blueprints.rki_vaccination.vaccination_service import VaccinationService diff --git a/src/covid19/app_views.py b/src/covid19/app_views.py index a5b98e33..74cdaf2b 100644 --- a/src/covid19/app_views.py +++ b/src/covid19/app_views.py @@ -2,27 +2,27 @@ from flask import render_template, redirect, url_for from database import app from covid19.blueprints.common.common_model_transient import ApplicationPage -import covid19.blueprints.who.who_views -import covid19.blueprints.europe.europe_views -import covid19.blueprints.rki_vaccination.vaccination_views -import covid19.blueprints.rki_landkreise.rki_views -import covid19.blueprints.rki_bundeslaender.rki_views import covid19.blueprints.admin.admin_views +import covid19.blueprints.ecdc.europe_views +import covid19.blueprints.rki_bundeslaender.rki_views +import covid19.blueprints.rki_landkreise.rki_views +import covid19.blueprints.rki_vaccination.rki_vaccination_views +import covid19.blueprints.who.who_views + -from covid19.blueprints.who.who_views import app_who -from covid19.blueprints.europe.europe_views import app_europe -from covid19.blueprints.rki_vaccination.vaccination_views import app_rki_vaccination -from covid19.blueprints.rki_landkreise.rki_views import app_rki_landkreise -from covid19.blueprints.rki_bundeslaender.rki_views import app_rki_bundeslaender from covid19.blueprints.admin.admin_views import app_admin +from covid19.blueprints.ecdc.ecdc_views import app_ecdc +from covid19.blueprints.rki_bundeslaender.rki_views import app_rki_bundeslaender +from covid19.blueprints.rki_landkreise.rki_views import app_rki_landkreise +from covid19.blueprints.rki_vaccination.rki_vaccination_views import app_rki_vaccination +from covid19.blueprints.who.who_views import app_who -app.register_blueprint(app_who, url_prefix='/who') -app.register_blueprint(app_europe, url_prefix='/europe') -app.register_blueprint(app_rki_vaccination, url_prefix='/rki/vaccination') +app.register_blueprint(app_admin, url_prefix='/admin') +app.register_blueprint(app_ecdc, url_prefix='/ecdc') app.register_blueprint(app_rki_bundeslaender, url_prefix='/rki/bundeslaender') app.register_blueprint(app_rki_landkreise, url_prefix='/rki/landkreise') -app.register_blueprint(app_admin, url_prefix='/admin') - +app.register_blueprint(app_rki_vaccination, url_prefix='/rki/vaccination') +app.register_blueprint(app_who, url_prefix='/who') ############################################################################################ # diff --git a/src/covid19/blueprints/europe/__init__.py b/src/covid19/blueprints/ecdc/__init__.py similarity index 100% rename from src/covid19/blueprints/europe/__init__.py rename to src/covid19/blueprints/ecdc/__init__.py diff --git a/src/covid19/blueprints/europe/europe_model.py b/src/covid19/blueprints/ecdc/ecdc_model.py similarity index 100% rename from src/covid19/blueprints/europe/europe_model.py rename to src/covid19/blueprints/ecdc/ecdc_model.py diff --git a/src/covid19/blueprints/europe/europe_model_import.py b/src/covid19/blueprints/ecdc/ecdc_model_import.py similarity index 100% rename from src/covid19/blueprints/europe/europe_model_import.py rename to src/covid19/blueprints/ecdc/ecdc_model_import.py diff --git a/src/covid19/blueprints/europe/europe_service.py b/src/covid19/blueprints/ecdc/ecdc_service.py similarity index 94% rename from src/covid19/blueprints/europe/europe_service.py rename to src/covid19/blueprints/ecdc/ecdc_service.py index bf1fc231..e3ecfe0c 100644 --- a/src/covid19/blueprints/europe/europe_service.py +++ b/src/covid19/blueprints/ecdc/ecdc_service.py @@ -1,9 +1,9 @@ from flask import flash from database import app -from covid19.blueprints.europe.europe_service_download import EuropeServiceDownload -from covid19.blueprints.europe.europe_service_import import EuropeServiceImport -from covid19.blueprints.europe.europe_service_update import EuropeServiceUpdate +from covid19.blueprints.ecdc.europe_service_download import EuropeServiceDownload +from covid19.blueprints.ecdc.europe_service_import import EuropeServiceImport +from covid19.blueprints.ecdc.europe_service_update import EuropeServiceUpdate # TODO: #111 refactor to new method scheme itroduced 07.02.2021 diff --git a/src/covid19/blueprints/europe/europe_service_config.py b/src/covid19/blueprints/ecdc/ecdc_service_config.py similarity index 100% rename from src/covid19/blueprints/europe/europe_service_config.py rename to src/covid19/blueprints/ecdc/ecdc_service_config.py diff --git a/src/covid19/blueprints/europe/europe_service_download.py b/src/covid19/blueprints/ecdc/ecdc_service_download.py similarity index 97% rename from src/covid19/blueprints/europe/europe_service_download.py rename to src/covid19/blueprints/ecdc/ecdc_service_download.py index f2d366a9..0b096c50 100644 --- a/src/covid19/blueprints/europe/europe_service_download.py +++ b/src/covid19/blueprints/ecdc/ecdc_service_download.py @@ -2,7 +2,7 @@ import os import wget from flask import flash from database import app -from covid19.blueprints.europe.europe_service_config import EuropeServiceConfig +from covid19.blueprints.ecdc.europe_service_config import EuropeServiceConfig class EuropeServiceDownload: diff --git a/src/covid19/blueprints/europe/europe_service_import.py b/src/covid19/blueprints/ecdc/ecdc_service_import.py similarity index 95% rename from src/covid19/blueprints/europe/europe_service_import.py rename to src/covid19/blueprints/ecdc/ecdc_service_import.py index b8dac394..393e2a6a 100644 --- a/src/covid19/blueprints/europe/europe_service_import.py +++ b/src/covid19/blueprints/ecdc/ecdc_service_import.py @@ -3,8 +3,8 @@ import csv import psycopg2 from database import db, app -from covid19.blueprints.europe.europe_model_import import EuropeImport -from covid19.blueprints.europe.europe_service_config import EuropeServiceConfig +from covid19.blueprints.ecdc.europe_model_import import EuropeImport +from covid19.blueprints.ecdc.europe_service_config import EuropeServiceConfig class EuropeServiceImport: diff --git a/src/covid19/blueprints/europe/europe_service_update.py b/src/covid19/blueprints/ecdc/ecdc_service_update.py similarity index 97% rename from src/covid19/blueprints/europe/europe_service_update.py rename to src/covid19/blueprints/ecdc/ecdc_service_update.py index a75c94d8..65fa1edf 100644 --- a/src/covid19/blueprints/europe/europe_service_update.py +++ b/src/covid19/blueprints/ecdc/ecdc_service_update.py @@ -1,7 +1,7 @@ from database import db, app -from covid19.blueprints.europe.europe_service_config import EuropeServiceConfig -from covid19.blueprints.europe.europe_model_import import EuropeImport -from covid19.blueprints.europe.europe_model import EuropeDateReported, EuropeContinent, EuropeCountry, EuropeData +from covid19.blueprints.ecdc.europe_service_config import EuropeServiceConfig +from covid19.blueprints.ecdc.europe_model_import import EuropeImport +from covid19.blueprints.ecdc.europe_model import EuropeDateReported, EuropeContinent, EuropeCountry, EuropeData # TODO: #117 refactor EuropeServiceUpdate to new method scheme introduced 07.02.2021 diff --git a/src/covid19/blueprints/europe/europe_views.py b/src/covid19/blueprints/ecdc/ecdc_views.py similarity index 56% rename from src/covid19/blueprints/europe/europe_views.py rename to src/covid19/blueprints/ecdc/ecdc_views.py index 1856163a..5c5b126b 100644 --- a/src/covid19/blueprints/europe/europe_views.py +++ b/src/covid19/blueprints/ecdc/ecdc_views.py @@ -3,15 +3,15 @@ from celery import states from celery.utils.log import get_task_logger from database import app -from covid19.services import europe_service -from covid19.workers import celery +from covid19.app_services import europe_service +from covid19.app_workers import celery -from covid19.blueprints.europe.europe_model_import import EuropeImport -from covid19.blueprints.europe.europe_model import EuropeDateReported, EuropeContinent, EuropeCountry, EuropeData +from covid19.blueprints.ecdc.ecdc_model_import import EuropeImport +from covid19.blueprints.ecdc.ecdc_model import EuropeDateReported, EuropeContinent, EuropeCountry, EuropeData from covid19.blueprints.common.common_model_transient import ApplicationPage -app_europe = Blueprint('europe', __name__, template_folder='templates') +app_ecdc = Blueprint('ecdc', __name__, template_folder='templates', url_prefix='/ecdc') ################################################################################################################## @@ -23,138 +23,138 @@ app_europe = Blueprint('europe', __name__, template_folder='templates') # TODO remove DEPRECATED @celery.task(bind=True) -def task_europe_update_initial_DEPRECATED(self): +def task_ecdc_update_initial_DEPRECATED(self): logger = get_task_logger(__name__) self.update_state(state=states.STARTED) logger.info("------------------------------------------------------------") - logger.info(" Received: task_europe_update_initial [OK] ") + logger.info(" Received: task_ecdc_update_initial [OK] ") logger.info("------------------------------------------------------------") europe_service.run_update_initial_DEPRECATED() self.update_state(state=states.SUCCESS) - result = "OK (task_europe_update_initial)" + result = "OK (task_ecdc_update_initial)" return result # TODO remove DEPRECATED @celery.task(bind=True) -def task_europe_update_short_DEPRECATED(self): +def task_ecdc_update_short_DEPRECATED(self): logger = get_task_logger(__name__) self.update_state(state=states.STARTED) logger.info("------------------------------------------------------------") - logger.info(" Received: task_europe_update_short [OK] ") + logger.info(" Received: task_ecdc_update_short [OK] ") logger.info("------------------------------------------------------------") europe_service.run_update_short_DEPRECATED() self.update_state(state=states.SUCCESS) - result = "OK (task_europe_update_short)" + result = "OK (task_ecdc_update_short)" return result @celery.task(bind=True) -def task_europe_download_only(self): +def task_ecdc_download_only(self): logger = get_task_logger(__name__) self.update_state(state=states.STARTED) logger.info("------------------------------------------------------------") - logger.info(" Received: task_europe_download_only [OK] ") + logger.info(" Received: task_ecdc_download_only [OK] ") logger.info("------------------------------------------------------------") europe_service.task_download_only() # TODO self.update_state(state=states.SUCCESS) - result = "OK (task_europe_download_only)" + result = "OK (task_ecdc_download_only)" return result @celery.task(bind=True) -def task_europe_import_only(self): +def task_ecdc_import_only(self): logger = get_task_logger(__name__) self.update_state(state=states.STARTED) logger.info("------------------------------------------------------------") - logger.info(" Received: task_europe_import_only [OK] ") + logger.info(" Received: task_ecdc_import_only [OK] ") logger.info("------------------------------------------------------------") europe_service.task_import_only() # TODO self.update_state(state=states.SUCCESS) - result = "OK (task_europe_import_only)" + result = "OK (task_ecdc_import_only)" return result @celery.task(bind=True) -def task_europe_update_dimension_tables_only(self): +def task_ecdc_update_dimension_tables_only(self): logger = get_task_logger(__name__) self.update_state(state=states.STARTED) logger.info("------------------------------------------------------------") - logger.info(" Received: task_europe_update_dimension_tables_only [OK] ") + logger.info(" Received: task_ecdc_update_dimension_tables_only [OK] ") logger.info("------------------------------------------------------------") europe_service.task_update_dimension_tables_only() # TODO self.update_state(state=states.SUCCESS) - result = "OK (task_europe_update_dimension_tables_only)" + result = "OK (task_ecdc_update_dimension_tables_only)" return result @celery.task(bind=True) -def task_europe_update_fact_table_incremental_only(self): +def task_ecdc_update_fact_table_incremental_only(self): logger = get_task_logger(__name__) self.update_state(state=states.STARTED) logger.info("------------------------------------------------------------") - logger.info(" Received: task_europe_update_fact_table_incremental_only [OK] ") + logger.info(" Received: task_ecdc_update_fact_table_incremental_only [OK] ") logger.info("------------------------------------------------------------") europe_service.task_update_fact_table_incremental_only() # TODO self.update_state(state=states.SUCCESS) - result = "OK (task_europe_update_fact_table_incremental_only)" + result = "OK (task_ecdc_update_fact_table_incremental_only)" return result @celery.task(bind=True) -def task_europe_update_fact_table_initial_only(self): +def task_ecdc_update_fact_table_initial_only(self): logger = get_task_logger(__name__) self.update_state(state=states.STARTED) logger.info("------------------------------------------------------------") - logger.info(" Received: task_europe_update_fact_table_initial_only [OK] ") + logger.info(" Received: task_ecdc_update_fact_table_initial_only [OK] ") logger.info("------------------------------------------------------------") europe_service.task_update_fact_table_initial_only() # TODO self.update_state(state=states.SUCCESS) - result = "OK (task_europe_update_fact_table_initial_only)" + result = "OK (task_ecdc_update_fact_table_initial_only)" return result @celery.task(bind=True) -def task_europe_update_fact_table_initial_only(self): +def task_ecdc_update_fact_table_initial_only(self): logger = get_task_logger(__name__) self.update_state(state=states.STARTED) logger.info("------------------------------------------------------------") - logger.info(" Received: task_europe_update_fact_table_initial_only [OK] ") + logger.info(" Received: task_ecdc_update_fact_table_initial_only [OK] ") logger.info("------------------------------------------------------------") europe_service.task_update_fact_table_initial_only() # TODO self.update_state(state=states.SUCCESS) - result = "OK (task_europe_update_fact_table_initial_only)" + result = "OK (task_ecdc_update_fact_table_initial_only)" return result @celery.task(bind=True) -def task_europe_update_star_schema_incremental(self): +def task_ecdc_update_star_schema_incremental(self): logger = get_task_logger(__name__) self.update_state(state=states.STARTED) logger.info("------------------------------------------------------------") - logger.info(" Received: task_europe_update_star_schema_incremental [OK] ") + logger.info(" Received: task_ecdc_update_star_schema_incremental [OK] ") logger.info("------------------------------------------------------------") europe_service.task_update_star_schema_incremental() # TODO self.update_state(state=states.SUCCESS) - result = "OK (task_europe_update_star_schema_incremental)" + result = "OK (task_ecdc_update_star_schema_incremental)" return result @celery.task(bind=True) -def task_europe_update_star_schema_initial(self): +def task_ecdc_update_star_schema_initial(self): logger = get_task_logger(__name__) self.update_state(state=states.STARTED) logger.info("------------------------------------------------------------") - logger.info(" Received: task_europe_update_star_schema_initial [OK] ") + logger.info(" Received: task_ecdc_update_star_schema_initial [OK] ") logger.info("------------------------------------------------------------") europe_service.task_update_star_schema_initial() # TODO self.update_state(state=states.SUCCESS) - result = "OK (task_europe_update_star_schema_initial)" + result = "OK (task_ecdc_update_star_schema_initial)" return result -@app_europe.route('/info') -def url_europe_info(): +@app_ecdc.route('/info') +def url_ecdc_info(): page_info = ApplicationPage('Europe', "Info") return render_template( 'europe/europe_info.html', @@ -162,8 +162,8 @@ def url_europe_info(): page_info=page_info) -@app_europe.route('/tasks') -def url_europe_tasks(): +@app_ecdc.route('/tasks') +def url_ecdc_tasks(): page_info = ApplicationPage('Europe', "Tasks") return render_template( 'europe/europe_tasks.html', @@ -171,9 +171,9 @@ def url_europe_tasks(): page_info=page_info) -@app_europe.route('/imported/page/<int:page>') -@app_europe.route('/imported') -def url_europe_data_imported(page=1): +@app_ecdc.route('/imported/page/<int:page>') +@app_ecdc.route('/imported') +def url_ecdc_data_imported(page=1): page_info = ApplicationPage('Europe', "Last Import") page_data = EuropeImport.get_all_as_page(page) return render_template( @@ -182,9 +182,9 @@ def url_europe_data_imported(page=1): page_info=page_info) -@app_europe.route('/date_reported/all/page/<int:page>') -@app_europe.route('/date_reported/all') -def url_europe_date_reported_all(page=1): +@app_ecdc.route('/date_reported/all/page/<int:page>') +@app_ecdc.route('/date_reported/all') +def url_ecdc_date_reported_all(page=1): page_info = ApplicationPage('Europe', "date_reported") page_data = EuropeDateReported.get_all_as_page(page) return render_template( @@ -193,11 +193,11 @@ def url_europe_date_reported_all(page=1): page_info=page_info) -@app_europe.route('/date_reported/<int:europe_date_reported_id>/page/<int:page>') -@app_europe.route('/date_reported/<int:europe_date_reported_id>') -@app_europe.route('/date_reported/notification_rate/<int:europe_date_reported_id>/page/<int:page>') -@app_europe.route('/date_reported/notification_rate/<int:europe_date_reported_id>') -def url_europe_date_reported_one_notification_rate(europe_date_reported_id, page=1): +@app_ecdc.route('/date_reported/<int:europe_date_reported_id>/page/<int:page>') +@app_ecdc.route('/date_reported/<int:europe_date_reported_id>') +@app_ecdc.route('/date_reported/notification_rate/<int:europe_date_reported_id>/page/<int:page>') +@app_ecdc.route('/date_reported/notification_rate/<int:europe_date_reported_id>') +def url_ecdc_date_reported_one_notification_rate(europe_date_reported_id, page=1): page_info = ApplicationPage('Europe', "date_reported") europe_date_reported = EuropeDateReported.get_by_id(europe_date_reported_id) page_data = EuropeData.find_by_date_reported_notification_rate(europe_date_reported, page) @@ -208,9 +208,9 @@ def url_europe_date_reported_one_notification_rate(europe_date_reported_id, page page_info=page_info) -@app_europe.route('/date_reported/deaths_weekly/<int:europe_date_reported_id>/page/<int:page>') -@app_europe.route('/date_reported/deaths_weekly/<int:europe_date_reported_id>') -def url_europe_date_reported_one_deaths_weekly(europe_date_reported_id, page=1): +@app_ecdc.route('/date_reported/deaths_weekly/<int:europe_date_reported_id>/page/<int:page>') +@app_ecdc.route('/date_reported/deaths_weekly/<int:europe_date_reported_id>') +def url_ecdc_date_reported_one_deaths_weekly(europe_date_reported_id, page=1): page_info = ApplicationPage('Europe', "date_reported") europe_date_reported = EuropeDateReported.get_by_id(europe_date_reported_id) page_data = EuropeData.find_by_date_reported_deaths_weekly(europe_date_reported, page) @@ -221,9 +221,9 @@ def url_europe_date_reported_one_deaths_weekly(europe_date_reported_id, page=1): page_info=page_info) -@app_europe.route('/date_reported/cases_weekly/<int:europe_date_reported_id>/page/<int:page>') -@app_europe.route('/date_reported/cases_weekly/<int:europe_date_reported_id>') -def url_europe_date_reported_one_cases_weekly(europe_date_reported_id, page=1): +@app_ecdc.route('/date_reported/cases_weekly/<int:europe_date_reported_id>/page/<int:page>') +@app_ecdc.route('/date_reported/cases_weekly/<int:europe_date_reported_id>') +def url_ecdc_date_reported_one_cases_weekly(europe_date_reported_id, page=1): page_info = ApplicationPage('Europe', "date_reported") europe_date_reported = EuropeDateReported.get_by_id(europe_date_reported_id) page_data = EuropeData.find_by_date_reported_cases_weekly(europe_date_reported, page) @@ -234,9 +234,9 @@ def url_europe_date_reported_one_cases_weekly(europe_date_reported_id, page=1): page_info=page_info) -@app_europe.route('/continent/all/page/<int:page>') -@app_europe.route('/continent/all') -def url_europe_continent_all(page=1): +@app_ecdc.route('/continent/all/page/<int:page>') +@app_ecdc.route('/continent/all') +def url_ecdc_continent_all(page=1): page_info = ApplicationPage('Europe', "continent") page_data = EuropeContinent.get_all_as_page(page) return render_template( @@ -245,9 +245,9 @@ def url_europe_continent_all(page=1): page_info=page_info) -@app_europe.route('/continent/<int:continent_id>/page/<int:page>') -@app_europe.route('/continent/<int:continent_id>') -def url_europe_continent_one(continent_id, page=1): +@app_ecdc.route('/continent/<int:continent_id>/page/<int:page>') +@app_ecdc.route('/continent/<int:continent_id>') +def url_ecdc_continent_one(continent_id, page=1): page_info = ApplicationPage('Europe', "continent") continent = EuropeContinent.get_by_id(continent_id) page_data = EuropeCountry.find_by_continent(continent, page) @@ -258,9 +258,9 @@ def url_europe_continent_one(continent_id, page=1): page_info=page_info) -@app_europe.route('/country/all/page/<int:page>') -@app_europe.route('/country/all') -def url_europe_country_all(page=1): +@app_ecdc.route('/country/all/page/<int:page>') +@app_ecdc.route('/country/all') +def url_ecdc_country_all(page=1): page_info = ApplicationPage('Europe', "country") page_data = EuropeCountry.get_all_as_page(page) return render_template( @@ -269,9 +269,9 @@ def url_europe_country_all(page=1): page_info=page_info) -@app_europe.route('/country/<int:country_id>/page/<int:page>') -@app_europe.route('/country/<int:country_id>') -def url_europe_country_one(country_id, page=1): +@app_ecdc.route('/country/<int:country_id>/page/<int:page>') +@app_ecdc.route('/country/<int:country_id>') +def url_ecdc_country_one(country_id, page=1): page_info = ApplicationPage('Europe', "country") europe_country = EuropeCountry.get_by_id(country_id) page_data = EuropeData.find_by_country(europe_country, page) @@ -282,14 +282,14 @@ def url_europe_country_one(country_id, page=1): page_info=page_info) -@app_europe.route('/country/germany/page/<int:page>') -@app_europe.route('/country/germany') -def url_europe_country_germany(page=1): +@app_ecdc.route('/country/germany/page/<int:page>') +@app_ecdc.route('/country/germany') +def url_ecdc_country_germany(page=1): page_info = ApplicationPage('Europe', "country: Germany") europe_country = EuropeCountry.get_germany() if europe_country is None: flash('country: Germany not found in Database', category='error') - return redirect(url_for('url_europe_tasks')) + return redirect(url_for('url_ecdc_tasks')) page_data = EuropeData.find_by_country(europe_country, page) return render_template( 'europe/country/europe_country_germany.html', @@ -299,67 +299,67 @@ def url_europe_country_germany(page=1): # TODO remove DEPRECATED -@app_europe.route('/update/initial') -def url_europe_task_update_data_DEPRECATED(): +@app_ecdc.route('/update/initial') +def url_ecdc_task_update_data_DEPRECATED(): europe_service.download_DEPRECATED() - task_europe_update_initial_DEPRECATED.apply_async() - flash("task_europe_update_initial started") - return redirect(url_for('url_europe_tasks')) + task_ecdc_update_initial_DEPRECATED.apply_async() + flash("task_ecdc_update_initial started") + return redirect(url_for('url_ecdc_tasks')) # TODO remove DEPRECATED -@app_europe.route('/update/short') -def url_europe_task_update_data_short_DEPRECATED(): +@app_ecdc.route('/update/short') +def url_ecdc_task_update_data_short_DEPRECATED(): europe_service.download_DEPRECATED() - task_europe_update_short_DEPRECATED.apply_async() - flash("task_europe_update_short started") - return redirect(url_for('url_europe_tasks')) + task_ecdc_update_short_DEPRECATED.apply_async() + flash("task_ecdc_update_short started") + return redirect(url_for('url_ecdc_tasks')) -# TODO: #163 implement url_europe_task_update_star_schema_initial in europe_views.py -@app_europe.route('/task/update/star_schema/initial') -def url_europe_task_update_star_schema_initial(): - flash("url_europe_task_update_star_schema_initial started") - return redirect(url_for('url_europe_tasks')) +# TODO: #163 implement url_ecdc_task_update_star_schema_initial in europe_views.py +@app_ecdc.route('/task/update/star_schema/initial') +def url_ecdc_task_update_star_schema_initial(): + flash("url_ecdc_task_update_star_schema_initial started") + return redirect(url_for('url_ecdc_tasks')) -# TODO: #164 implement url_europe_task_update_starschema_incremental in europe_views.py -@app_europe.route('/task/update/star_schema/incremental') -def url_europe_task_update_starschema_incremental(): - flash("url_europe_task_update_starschema_incremental started") - return redirect(url_for('url_europe_tasks')) +# TODO: #164 implement url_ecdc_task_update_starschema_incremental in europe_views.py +@app_ecdc.route('/task/update/star_schema/incremental') +def url_ecdc_task_update_starschema_incremental(): + flash("url_ecdc_task_update_starschema_incremental started") + return redirect(url_for('url_ecdc_tasks')) -# TODO: #165 implement url_europe_task_download_only in europe_views.py -@app_europe.route('/task/download/only') -def url_europe_task_download_only(): - flash("url_europe_task_download_only started") - return redirect(url_for('url_europe_tasks')) +# TODO: #165 implement url_ecdc_task_download_only in europe_views.py +@app_ecdc.route('/task/download/only') +def url_ecdc_task_download_only(): + flash("url_ecdc_task_download_only started") + return redirect(url_for('url_ecdc_tasks')) -# TODO: #166 implement url_europe_task_import_only in europe_views.py -@app_europe.route('/task/import/only') -def url_europe_task_import_only(): - flash("url_europe_task_import_only started") - return redirect(url_for('url_europe_tasks')) +# TODO: #166 implement url_ecdc_task_import_only in europe_views.py +@app_ecdc.route('/task/import/only') +def url_ecdc_task_import_only(): + flash("url_ecdc_task_import_only started") + return redirect(url_for('url_ecdc_tasks')) -# TODO: #167 implement url_europe_task_update_dimensiontables_only in europe_views.py -@app_europe.route('/task/update/dimension-tables/only') -def url_europe_task_update_dimensiontables_only(): - flash("url_europe_task_update_dimensiontables_only started") - return redirect(url_for('url_europe_tasks')) +# TODO: #167 implement url_ecdc_task_update_dimensiontables_only in europe_views.py +@app_ecdc.route('/task/update/dimension-tables/only') +def url_ecdc_task_update_dimensiontables_only(): + flash("url_ecdc_task_update_dimensiontables_only started") + return redirect(url_for('url_ecdc_tasks')) -# TODO: #168 implement url_europe_task_update_facttable_incremental_only in europe_views.py -@app_europe.route('/task/update/fact-table/incremental/only') -def url_europe_task_update_facttable_incremental_only(): - flash("url_europe_task_update_facttable_incremental_only started") - return redirect(url_for('url_europe_tasks')) +# TODO: #168 implement url_ecdc_task_update_facttable_incremental_only in europe_views.py +@app_ecdc.route('/task/update/fact-table/incremental/only') +def url_ecdc_task_update_facttable_incremental_only(): + flash("url_ecdc_task_update_facttable_incremental_only started") + return redirect(url_for('url_ecdc_tasks')) -# TODO: #169 implement url_europe_task_update_facttable_initial_only in europe_views.py -@app_europe.route('/task/update/fact-table/initial/only') -def url_europe_task_update_facttable_initial_only(): - flash("url_europe_task_update_facttable_initial_only started") - return redirect(url_for('url_europe_tasks')) +# TODO: #169 implement url_ecdc_task_update_facttable_initial_only in europe_views.py +@app_ecdc.route('/task/update/fact-table/initial/only') +def url_ecdc_task_update_facttable_initial_only(): + flash("url_ecdc_task_update_facttable_initial_only started") + return redirect(url_for('url_ecdc_tasks')) diff --git a/src/covid19/blueprints/europe/templates/__init__.py b/src/covid19/blueprints/ecdc/templates/__init__.py similarity index 100% rename from src/covid19/blueprints/europe/templates/__init__.py rename to src/covid19/blueprints/ecdc/templates/__init__.py diff --git a/src/covid19/blueprints/europe/templates/europe/continent/europe_continent_all.html b/src/covid19/blueprints/ecdc/templates/europe/continent/ecdc_continent_all.html similarity index 100% rename from src/covid19/blueprints/europe/templates/europe/continent/europe_continent_all.html rename to src/covid19/blueprints/ecdc/templates/europe/continent/ecdc_continent_all.html diff --git a/src/covid19/blueprints/europe/templates/europe/continent/europe_continent_germany.html b/src/covid19/blueprints/ecdc/templates/europe/continent/ecdc_continent_germany.html similarity index 100% rename from src/covid19/blueprints/europe/templates/europe/continent/europe_continent_germany.html rename to src/covid19/blueprints/ecdc/templates/europe/continent/ecdc_continent_germany.html diff --git a/src/covid19/blueprints/europe/templates/europe/continent/europe_continent_one.html b/src/covid19/blueprints/ecdc/templates/europe/continent/ecdc_continent_one.html similarity index 100% rename from src/covid19/blueprints/europe/templates/europe/continent/europe_continent_one.html rename to src/covid19/blueprints/ecdc/templates/europe/continent/ecdc_continent_one.html diff --git a/src/covid19/blueprints/europe/templates/europe/country/europe_country_all.html b/src/covid19/blueprints/ecdc/templates/europe/country/ecdc_country_all.html similarity index 100% rename from src/covid19/blueprints/europe/templates/europe/country/europe_country_all.html rename to src/covid19/blueprints/ecdc/templates/europe/country/ecdc_country_all.html diff --git a/src/covid19/blueprints/europe/templates/europe/country/europe_country_germany.html b/src/covid19/blueprints/ecdc/templates/europe/country/ecdc_country_germany.html similarity index 100% rename from src/covid19/blueprints/europe/templates/europe/country/europe_country_germany.html rename to src/covid19/blueprints/ecdc/templates/europe/country/ecdc_country_germany.html diff --git a/src/covid19/blueprints/europe/templates/europe/country/europe_country_one.html b/src/covid19/blueprints/ecdc/templates/europe/country/ecdc_country_one.html similarity index 100% rename from src/covid19/blueprints/europe/templates/europe/country/europe_country_one.html rename to src/covid19/blueprints/ecdc/templates/europe/country/ecdc_country_one.html diff --git a/src/covid19/blueprints/europe/templates/europe/date_reported/europe_date_reported_all.html b/src/covid19/blueprints/ecdc/templates/europe/date_reported/ecdc_date_reported_all.html similarity index 100% rename from src/covid19/blueprints/europe/templates/europe/date_reported/europe_date_reported_all.html rename to src/covid19/blueprints/ecdc/templates/europe/date_reported/ecdc_date_reported_all.html diff --git a/src/covid19/blueprints/europe/templates/europe/date_reported/europe_date_reported_one.html b/src/covid19/blueprints/ecdc/templates/europe/date_reported/ecdc_date_reported_one.html similarity index 100% rename from src/covid19/blueprints/europe/templates/europe/date_reported/europe_date_reported_one.html rename to src/covid19/blueprints/ecdc/templates/europe/date_reported/ecdc_date_reported_one.html diff --git a/src/covid19/blueprints/europe/templates/europe/date_reported/europe_date_reported_one_cases_weekly.html b/src/covid19/blueprints/ecdc/templates/europe/date_reported/ecdc_date_reported_one_cases_weekly.html similarity index 100% rename from src/covid19/blueprints/europe/templates/europe/date_reported/europe_date_reported_one_cases_weekly.html rename to src/covid19/blueprints/ecdc/templates/europe/date_reported/ecdc_date_reported_one_cases_weekly.html diff --git a/src/covid19/blueprints/europe/templates/europe/date_reported/europe_date_reported_one_deaths_weekly.html b/src/covid19/blueprints/ecdc/templates/europe/date_reported/ecdc_date_reported_one_deaths_weekly.html similarity index 100% rename from src/covid19/blueprints/europe/templates/europe/date_reported/europe_date_reported_one_deaths_weekly.html rename to src/covid19/blueprints/ecdc/templates/europe/date_reported/ecdc_date_reported_one_deaths_weekly.html diff --git a/src/covid19/blueprints/europe/templates/europe/date_reported/europe_date_reported_one_notification_rate.html b/src/covid19/blueprints/ecdc/templates/europe/date_reported/ecdc_date_reported_one_notification_rate.html similarity index 100% rename from src/covid19/blueprints/europe/templates/europe/date_reported/europe_date_reported_one_notification_rate.html rename to src/covid19/blueprints/ecdc/templates/europe/date_reported/ecdc_date_reported_one_notification_rate.html diff --git a/src/covid19/blueprints/europe/templates/europe/europe_data.html b/src/covid19/blueprints/ecdc/templates/europe/ecdc_data.html similarity index 100% rename from src/covid19/blueprints/europe/templates/europe/europe_data.html rename to src/covid19/blueprints/ecdc/templates/europe/ecdc_data.html diff --git a/src/covid19/blueprints/europe/templates/europe/europe_imported.html b/src/covid19/blueprints/ecdc/templates/europe/ecdc_imported.html similarity index 100% rename from src/covid19/blueprints/europe/templates/europe/europe_imported.html rename to src/covid19/blueprints/ecdc/templates/europe/ecdc_imported.html diff --git a/src/covid19/blueprints/europe/templates/europe/europe_info.html b/src/covid19/blueprints/ecdc/templates/europe/ecdc_info.html similarity index 100% rename from src/covid19/blueprints/europe/templates/europe/europe_info.html rename to src/covid19/blueprints/ecdc/templates/europe/ecdc_info.html diff --git a/src/covid19/blueprints/europe/templates/europe/europe_tasks.html b/src/covid19/blueprints/ecdc/templates/europe/ecdc_tasks.html similarity index 100% rename from src/covid19/blueprints/europe/templates/europe/europe_tasks.html rename to src/covid19/blueprints/ecdc/templates/europe/ecdc_tasks.html diff --git a/src/covid19/blueprints/europe/templates/europe/fragments/fragment_europe_navbar_dropdown.html b/src/covid19/blueprints/ecdc/templates/europe/fragments/fragment_ecdc_navbar_dropdown.html similarity index 100% rename from src/covid19/blueprints/europe/templates/europe/fragments/fragment_europe_navbar_dropdown.html rename to src/covid19/blueprints/ecdc/templates/europe/fragments/fragment_ecdc_navbar_dropdown.html diff --git a/src/covid19/blueprints/europe/templates/europe/fragments/fragment_europe_navtabs.html b/src/covid19/blueprints/ecdc/templates/europe/fragments/fragment_ecdc_navtabs.html similarity index 100% rename from src/covid19/blueprints/europe/templates/europe/fragments/fragment_europe_navtabs.html rename to src/covid19/blueprints/ecdc/templates/europe/fragments/fragment_ecdc_navtabs.html diff --git a/src/covid19/blueprints/europe/templates/europe/fragments/fragment_europe_table_continent.html b/src/covid19/blueprints/ecdc/templates/europe/fragments/fragment_ecdc_table_continent.html similarity index 100% rename from src/covid19/blueprints/europe/templates/europe/fragments/fragment_europe_table_continent.html rename to src/covid19/blueprints/ecdc/templates/europe/fragments/fragment_ecdc_table_continent.html diff --git a/src/covid19/blueprints/europe/templates/europe/fragments/fragment_europe_table_country.html b/src/covid19/blueprints/ecdc/templates/europe/fragments/fragment_ecdc_table_country.html similarity index 100% rename from src/covid19/blueprints/europe/templates/europe/fragments/fragment_europe_table_country.html rename to src/covid19/blueprints/ecdc/templates/europe/fragments/fragment_ecdc_table_country.html diff --git a/src/covid19/blueprints/europe/templates/europe/fragments/fragment_europe_table_data.html b/src/covid19/blueprints/ecdc/templates/europe/fragments/fragment_ecdc_table_data.html similarity index 100% rename from src/covid19/blueprints/europe/templates/europe/fragments/fragment_europe_table_data.html rename to src/covid19/blueprints/ecdc/templates/europe/fragments/fragment_ecdc_table_data.html diff --git a/src/covid19/blueprints/europe/templates/europe/fragments/fragment_europe_table_data_imported.html b/src/covid19/blueprints/ecdc/templates/europe/fragments/fragment_ecdc_table_data_imported.html similarity index 100% rename from src/covid19/blueprints/europe/templates/europe/fragments/fragment_europe_table_data_imported.html rename to src/covid19/blueprints/ecdc/templates/europe/fragments/fragment_ecdc_table_data_imported.html diff --git a/src/covid19/blueprints/europe/templates/europe/fragments/fragment_europe_table_date_reported.html b/src/covid19/blueprints/ecdc/templates/europe/fragments/fragment_ecdc_table_date_reported.html similarity index 100% rename from src/covid19/blueprints/europe/templates/europe/fragments/fragment_europe_table_date_reported.html rename to src/covid19/blueprints/ecdc/templates/europe/fragments/fragment_ecdc_table_date_reported.html diff --git a/src/covid19/blueprints/rki_vaccination/vaccination_model.py b/src/covid19/blueprints/rki_vaccination/rki_vaccination_model.py similarity index 100% rename from src/covid19/blueprints/rki_vaccination/vaccination_model.py rename to src/covid19/blueprints/rki_vaccination/rki_vaccination_model.py diff --git a/src/covid19/blueprints/rki_vaccination/vaccination_model_import.py b/src/covid19/blueprints/rki_vaccination/rki_vaccination_model_import.py similarity index 100% rename from src/covid19/blueprints/rki_vaccination/vaccination_model_import.py rename to src/covid19/blueprints/rki_vaccination/rki_vaccination_model_import.py diff --git a/src/covid19/blueprints/rki_vaccination/vaccination_service.py b/src/covid19/blueprints/rki_vaccination/rki_vaccination_service.py similarity index 100% rename from src/covid19/blueprints/rki_vaccination/vaccination_service.py rename to src/covid19/blueprints/rki_vaccination/rki_vaccination_service.py diff --git a/src/covid19/blueprints/rki_vaccination/vaccination_service_config.py b/src/covid19/blueprints/rki_vaccination/rki_vaccination_service_config.py similarity index 100% rename from src/covid19/blueprints/rki_vaccination/vaccination_service_config.py rename to src/covid19/blueprints/rki_vaccination/rki_vaccination_service_config.py diff --git a/src/covid19/blueprints/rki_vaccination/vaccination_service_download.py b/src/covid19/blueprints/rki_vaccination/rki_vaccination_service_download.py similarity index 100% rename from src/covid19/blueprints/rki_vaccination/vaccination_service_download.py rename to src/covid19/blueprints/rki_vaccination/rki_vaccination_service_download.py diff --git a/src/covid19/blueprints/rki_vaccination/vaccination_service_import.py b/src/covid19/blueprints/rki_vaccination/rki_vaccination_service_import.py similarity index 100% rename from src/covid19/blueprints/rki_vaccination/vaccination_service_import.py rename to src/covid19/blueprints/rki_vaccination/rki_vaccination_service_import.py diff --git a/src/covid19/blueprints/rki_vaccination/vaccination_service_update.py b/src/covid19/blueprints/rki_vaccination/rki_vaccination_service_update.py similarity index 100% rename from src/covid19/blueprints/rki_vaccination/vaccination_service_update.py rename to src/covid19/blueprints/rki_vaccination/rki_vaccination_service_update.py diff --git a/src/covid19/blueprints/rki_vaccination/vaccination_views.py b/src/covid19/blueprints/rki_vaccination/rki_vaccination_views.py similarity index 100% rename from src/covid19/blueprints/rki_vaccination/vaccination_views.py rename to src/covid19/blueprints/rki_vaccination/rki_vaccination_views.py -- GitLab