From 9dde16d031ff04db2dd2ecc98773630424f7ad58 Mon Sep 17 00:00:00 2001 From: Kurt Biery Date: Thu, 13 Aug 2026 10:56:20 -0500 Subject: [PATCH 1/3] Removed the disable_connectivity_service argument from the generate_session function because we now believe that we should always include the ConnectivityService in the OKS session when we generate a DAQ configuration. --- python/daqconf/generate.py | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/python/daqconf/generate.py b/python/daqconf/generate.py index 26986e40..32849e26 100755 --- a/python/daqconf/generate.py +++ b/python/daqconf/generate.py @@ -1133,7 +1133,6 @@ def generate_session( session_name: str, op_env: str, connectivity_service_is_infrastructure_app: bool = True, - disable_connectivity_service: bool = False, ) -> None: """Simple script to create an OKS configuration file for a session. @@ -1230,11 +1229,10 @@ def generate_session( opmon_uri=opmon_svc, ) - if not disable_connectivity_service: - conn_svc_cfg = db.get_dal( - class_name="ConnectivityService", uid="local-connectivity-service-config" - ) - sessiondal.connectivity_service = conn_svc_cfg + conn_svc_cfg = db.get_dal( + class_name="ConnectivityService", uid="local-connectivity-service-config" + ) + sessiondal.connectivity_service = conn_svc_cfg db.update_dal(sessiondal) From 9f2b58cd0d0e2f73b968a63afa8df0e64ad0fd08 Mon Sep 17 00:00:00 2001 From: Kurt Biery Date: Thu, 13 Aug 2026 13:06:32 -0500 Subject: [PATCH 2/3] Removed the disable_connectivity_service argument from the generate_session function because we now believe that we should always include the ConnectivityService in the OKS session when we generate a DAQ configuration. --- python/daqconf/generate.py | 1 + 1 file changed, 1 insertion(+) diff --git a/python/daqconf/generate.py b/python/daqconf/generate.py index 32849e26..38ee7290 100755 --- a/python/daqconf/generate.py +++ b/python/daqconf/generate.py @@ -1229,6 +1229,7 @@ def generate_session( opmon_uri=opmon_svc, ) + # 13-Aug- conn_svc_cfg = db.get_dal( class_name="ConnectivityService", uid="local-connectivity-service-config" ) From ca7558970d4db8be4c4cc3f3b5cbb7f33abdb627 Mon Sep 17 00:00:00 2001 From: Kurt Biery Date: Thu, 13 Aug 2026 13:45:48 -0500 Subject: [PATCH 3/3] Added comment --- python/daqconf/generate.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python/daqconf/generate.py b/python/daqconf/generate.py index 38ee7290..05eb1e08 100755 --- a/python/daqconf/generate.py +++ b/python/daqconf/generate.py @@ -1229,7 +1229,10 @@ def generate_session( opmon_uri=opmon_svc, ) - # 13-Aug- + # 13-Aug-2026, KAB & ELF: removed the conditional execution of the following + # few lines based on the 'disable_connectivity_service' function argument. + # We believe that the ConnSvc config should always be added to the OKS Session + # when we generate a DAQ configuration with this function. conn_svc_cfg = db.get_dal( class_name="ConnectivityService", uid="local-connectivity-service-config" )