diff --git a/ingestor/ingestor.py b/ingestor/ingestor.py index c8c6ce3..27f1819 100644 --- a/ingestor/ingestor.py +++ b/ingestor/ingestor.py @@ -66,14 +66,14 @@ class Ingestor: connection_string=self.mongo_connection_string, database=self.mongo_database, logger=self.logger, - project_name="OPC_INGESTOR" + project_name="opc_ingestor" ) self.metadata = { 'model_id': '-', 'model_name': '-', - 'workflow_name': 'OPC_INGESTOR', - 'schema_name': 'OPC_INGESTOR', + 'workflow_name': 'opc_ingestor', + 'schema_name': 'opc_ingestor', 'pod_id': self.pod_id, } self.ingestor_manager = None diff --git a/tests/unit/test_ingestor.py b/tests/unit/test_ingestor.py index 215e0fc..5faccfa 100644 --- a/tests/unit/test_ingestor.py +++ b/tests/unit/test_ingestor.py @@ -49,8 +49,8 @@ def test___init__(notification_handler, getenv): assert ingestor.metadata == { "model_id": "-", "model_name": "-", - "workflow_name": "OPC_INGESTOR", - "schema_name": "OPC_INGESTOR", + "workflow_name": "opc_ingestor", + "schema_name": "opc_ingestor", "pod_id": "localhost1" } @@ -58,7 +58,7 @@ def test___init__(notification_handler, getenv): connection_string="mongodb://sientia:sientia@localhost:27017", database="sientia", logger=ingestor.logger, - project_name="OPC_INGESTOR" + project_name="opc_ingestor" )