diff --git a/docs/BACKLOG.md b/docs/BACKLOG.md index 2cf8797923331a631262f2c942b1a8b2493001d0..f57ee48fd57d57b91bb8bc4a278bfa6ffb3f807f 100644 --- a/docs/BACKLOG.md +++ b/docs/BACKLOG.md @@ -153,7 +153,7 @@ * ------------------------------------- * 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 #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 #87 change to: Vaccination.datum many to one VaccinationDateReported diff --git a/src/flask_covid19/blueprints/data_vaccination/vaccination_service.py b/src/flask_covid19/blueprints/data_vaccination/vaccination_service.py index 9c0fc8cd50293ec19bee570dfc58f03a464030cd..b033a5d7cf74d7da2506205d6399c47f699c5020 100644 --- a/src/flask_covid19/blueprints/data_vaccination/vaccination_service.py +++ b/src/flask_covid19/blueprints/data_vaccination/vaccination_service.py @@ -3,7 +3,7 @@ from flask import flash from database import app 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.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 RkiVaccinationServiceUpdateFull @@ -16,7 +16,7 @@ class VaccinationService: self.__database = database self.cfg = BlueprintConfig.create_config_for_rki_vaccination() 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_full = RkiVaccinationServiceUpdateFull(database, self.cfg) app.logger.debug("------------------------------------------------------------") diff --git a/src/flask_covid19/blueprints/data_vaccination/vaccination_service_import.py b/src/flask_covid19/blueprints/data_vaccination/vaccination_service_import.py index b1d352653cd31e79c91e4e64483473c6d790b10c..77fd504ec410b38c8ddda28a0fda74fab212d2e9 100644 --- a/src/flask_covid19/blueprints/data_vaccination/vaccination_service_import.py +++ b/src/flask_covid19/blueprints/data_vaccination/vaccination_service_import.py @@ -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 -class RkiVaccinationServiceImport: +class VaccinationServiceImport: def __init__(self, database, config: BlueprintConfig): app.logger.debug("------------------------------------------------------------") app.logger.debug(" Vaccination Service Import [init]")