From 02b647931f05c7775b02f128dc8c2a2d223bbdf6 Mon Sep 17 00:00:00 2001 From: vitor-aignosi Date: Fri, 19 Sep 2025 08:56:40 -0300 Subject: [PATCH] SIENTIAPDE-1222 Enhance OPC server configuration in orchestrator_functions.py - Added optional fields for certificate paths in the build_tag_config function to improve security configuration flexibility. --- orchestrator/utils/orchestrator_functions.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/orchestrator/utils/orchestrator_functions.py b/orchestrator/utils/orchestrator_functions.py index fe2fc26..79f1070 100644 --- a/orchestrator/utils/orchestrator_functions.py +++ b/orchestrator/utils/orchestrator_functions.py @@ -282,6 +282,9 @@ def build_tag_config(tag: dict[str, Any], slot_config: dict[str, Any], "name": server_name, "url": opc_servers[server_id]['url'], "server_uri": opc_servers[server_id]['uri'], + "cert_path": opc_servers[server_id].get('cert_path', None), + "private_key_path": opc_servers[server_id].get('private_key_path', None), + "server_cert_path": opc_servers[server_id].get('server_cert_path', None), "tags": {} } for name, spec in opc_servers[server_id].get('security_spec', {}).items():