Skip to content
Snippets Groups Projects
Commit 913f5eeb authored by thomaswoehlke's avatar thomaswoehlke
Browse files

Refactoring: vaccination

parent 237aa5d0
No related branches found
No related tags found
1 merge request!162Refactoring 2021 05 20 start
...@@ -153,7 +153,7 @@ ...@@ -153,7 +153,7 @@
* ------------------------------------- * -------------------------------------
* Fixed #90 refactor VaccinationService to new method scheme introduced 07.02.2021 * Fixed #90 refactor VaccinationService to new method scheme introduced 07.02.2021
* Fixed #98 refactor RkiVaccinationServiceDownload to new method scheme introduced 07.02.2021 * Fixed #98 refactor RkiVaccinationServiceDownload to new method scheme introduced 07.02.2021
* Fixed #99 refactor RkiVaccinationServiceImport to new method scheme introduced 07.02.2021 * Fixed #99 refactor VaccinationServiceImport to new method scheme introduced 07.02.2021
* Fixed #100 refactor RkiVaccinationServiceUpdate to new method scheme introduced 07.02.2021 * Fixed #100 refactor RkiVaccinationServiceUpdate to new method scheme introduced 07.02.2021
* ------------------------------------- * -------------------------------------
* Fixed #87 change to: Vaccination.datum many to one VaccinationDateReported * Fixed #87 change to: Vaccination.datum many to one VaccinationDateReported
......
...@@ -3,7 +3,7 @@ from flask import flash ...@@ -3,7 +3,7 @@ from flask import flash
from database import app from database import app
from flask_covid19.blueprints.app_all.all_config import BlueprintConfig from flask_covid19.blueprints.app_all.all_config import BlueprintConfig
from flask_covid19.blueprints.app_all.all_service_download import BlueprintDownloadService from flask_covid19.blueprints.app_all.all_service_download import BlueprintDownloadService
from flask_covid19.blueprints.data_vaccination.vaccination_service_import import RkiVaccinationServiceImport from flask_covid19.blueprints.data_vaccination.vaccination_service_import import VaccinationServiceImport
from flask_covid19.blueprints.data_vaccination.vaccination_service_update import RkiVaccinationServiceUpdate from flask_covid19.blueprints.data_vaccination.vaccination_service_update import RkiVaccinationServiceUpdate
from flask_covid19.blueprints.data_vaccination.vaccination_service_update import RkiVaccinationServiceUpdateFull from flask_covid19.blueprints.data_vaccination.vaccination_service_update import RkiVaccinationServiceUpdateFull
...@@ -16,7 +16,7 @@ class VaccinationService: ...@@ -16,7 +16,7 @@ class VaccinationService:
self.__database = database self.__database = database
self.cfg = BlueprintConfig.create_config_for_rki_vaccination() self.cfg = BlueprintConfig.create_config_for_rki_vaccination()
self.service_download = BlueprintDownloadService(database, self.cfg) self.service_download = BlueprintDownloadService(database, self.cfg)
self.service_import = RkiVaccinationServiceImport(database, self.cfg) self.service_import = VaccinationServiceImport(database, self.cfg)
self.service_update = RkiVaccinationServiceUpdate(database, self.cfg) self.service_update = RkiVaccinationServiceUpdate(database, self.cfg)
self.service_update_full = RkiVaccinationServiceUpdateFull(database, self.cfg) self.service_update_full = RkiVaccinationServiceUpdateFull(database, self.cfg)
app.logger.debug("------------------------------------------------------------") app.logger.debug("------------------------------------------------------------")
......
...@@ -9,7 +9,7 @@ from flask_covid19.blueprints.data_vaccination.vaccination_model import Vaccinat ...@@ -9,7 +9,7 @@ from flask_covid19.blueprints.data_vaccination.vaccination_model import Vaccinat
from flask_covid19.blueprints.data_vaccination.vaccination_model_import import VaccinationImport, VaccinationFlat from flask_covid19.blueprints.data_vaccination.vaccination_model_import import VaccinationImport, VaccinationFlat
class RkiVaccinationServiceImport: class VaccinationServiceImport:
def __init__(self, database, config: BlueprintConfig): def __init__(self, database, config: BlueprintConfig):
app.logger.debug("------------------------------------------------------------") app.logger.debug("------------------------------------------------------------")
app.logger.debug(" Vaccination Service Import [init]") app.logger.debug(" Vaccination Service Import [init]")
......
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