SIENTIAPDE-1148
refactor: update temporal configuration and refactor Activities class to support multiple namespaces for improved orchestration
This commit is contained in:
@@ -28,3 +28,12 @@ def build_couchbase_config():
|
||||
'username': getenv('COUCHBASE_USERNAME', 'sientia'),
|
||||
'password': getenv('COUCHBASE_PASSWORD', 'sientia')
|
||||
}
|
||||
|
||||
|
||||
def build_temporal_config():
|
||||
return {
|
||||
'host': getenv('TEMPORAL_HOST', 'localhost:7233'),
|
||||
'namespace': getenv('TEMPORAL_NAMESPACE', 'default'),
|
||||
'scouter_namespace': getenv('TEMPORAL_SCOUTER_NAMESPACE', 'scouter'),
|
||||
'laborious_namespace': getenv('TEMPORAL_LABORIOUS_NAMESPACE', 'laborious')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user