SIENTIAPDE-1199
Update Ingestor project name and metadata keys to lowercase for consistency - Changed project_name, workflow_name, and schema_name from uppercase to lowercase in Ingestor class and corresponding unit tests.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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"
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user