SIENTIAPDE-1148

refactor: update temporal configuration and refactor Activities class to support multiple namespaces for improved orchestration
This commit is contained in:
2025-07-11 10:34:40 -03:00
parent d84b721798
commit 7f9efa579a
6 changed files with 247 additions and 162 deletions

View File

@@ -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')
}