From b57e3cdc1fddd6eab96d787116ae5aa274a39ccf Mon Sep 17 00:00:00 2001
From: thomaswoehlke <thomas.woehlke@gmail.com>
Date: Wed, 26 May 2021 19:23:39 +0200
Subject: [PATCH] Refactoring: vaccination

---
 src/config.py                                             | 2 +-
 .../blueprints/data_rki/rki_service_update.py             | 8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/config.py b/src/config.py
index d537674e..ae7ed797 100644
--- a/src/config.py
+++ b/src/config.py
@@ -7,7 +7,7 @@ CELERY_LOG_REDIRECT = '1'
 CELERY_LOG_REDIRECT_LEVEL = 'INFO'
 SQLALCHEMY_DATABASE_USER = 'covid19data'
 SQLALCHEMY_DATABASE_PW = 'covid19datapwd'
-SQLALCHEMY_DATABASE_HOST = 'localhost'
+SQLALCHEMY_DATABASE_HOST = 'tw-asus7'
 SQLALCHEMY_DATABASE_DB = 'covid19data'
 CACHE_TYPE = 'MemcachedCache'
 CACHE_MEMCACHED_SERVERS = '127.0.0.1:11211'
diff --git a/src/flask_covid19/blueprints/data_rki/rki_service_update.py b/src/flask_covid19/blueprints/data_rki/rki_service_update.py
index edb50f5d..dd567e0e 100644
--- a/src/flask_covid19/blueprints/data_rki/rki_service_update.py
+++ b/src/flask_covid19/blueprints/data_rki/rki_service_update.py
@@ -59,8 +59,8 @@ class RkiServiceUpdateFull(RkiServiceUpdateBase):
         app.logger.info("------------------------------------------------------------")
         return self
 
-    def __full_update_date_reported(self):
-        app.logger.info(" RkiServiceUpdateFull.__full_update_date_reported [begin]")
+    def __full_update_meldedatum(self):
+        app.logger.info(" RkiServiceUpdateFull.__full_update_meldedatum [begin]")
         app.logger.info("------------------------------------------------------------")
         RkiMeldedatum.delete_all()
         i = 0
@@ -78,7 +78,7 @@ class RkiServiceUpdateFull(RkiServiceUpdateBase):
         for output in output_lines:
             app.logger.info(output)
         app.logger.info("")
-        app.logger.info(" RkiServiceUpdateFull.__full_update_date_reported [done]")
+        app.logger.info(" RkiServiceUpdateFull.__full_update_meldedatum [done]")
         app.logger.info("------------------------------------------------------------")
         return self
 
@@ -266,7 +266,7 @@ class RkiServiceUpdateFull(RkiServiceUpdateBase):
     def full_update_dimension_tables(self):
         self.__clean_fact_table()
         self.__clean_dimension_tables()
-        self.__full_update_date_reported()
+        self.__full_update_meldedatum()
         self.__full_update_date_datenstand()
         self.__full_update_date_ref_datum()
         self.__full_update_altersgruppe()
-- 
GitLab