Add configurable acm parameters in docker and helm charts 87/136087/1
authorrameshiyer27 <ramesh.murugan.iyer@est.tech>
Tue, 3 Oct 2023 14:06:27 +0000 (15:06 +0100)
committerrameshiyer27 <ramesh.murugan.iyer@est.tech>
Tue, 3 Oct 2023 14:16:34 +0000 (15:16 +0100)
Issue-ID: POLICY-4830
Signed-off-by: rameshiyer27 <ramesh.murugan.iyer@est.tech>
Change-Id: I41841cb6811973e40c27e3e434d2d2f83c71e1af

compose/config/clamp/AcRuntimeParameters.yaml
helm/policy/components/policy-clamp-runtime-acm/resources/config/acRuntimeParameters.yaml
helm/policy/components/policy-clamp-runtime-acm/values.yaml

index ac1310c..dc9a984 100644 (file)
@@ -59,6 +59,9 @@ runtime:
           - ${topicServer:message-router}
         topicCommInfrastructure: dmaap
         useHttps: false
+  acmParameters:
+    toscaElementName: org.onap.policy.clamp.acm.AutomationCompositionElement
+    toscaCompositionName: org.onap.policy.clamp.acm.AutomationComposition
 
 management:
   endpoints:
index 98b6a76..1e567f4 100755 (executable)
@@ -91,6 +91,9 @@ runtime:
           - ${topicServer:message-router}
         topicCommInfrastructure: dmaap
         useHttps: false
+  acmParameters:
+    toscaElementName: {{ .Values.customNaming.toscaElementName }}
+    toscaCompositionName: {{ .Values.customNaming.toscaCompositionName }}
 
 # If Strimzi Kafka to be used for communication, replace clampAutomationCompositionTopics configuration with below
 #  topicParameterGroup:
index e1669bf..4966a9b 100644 (file)
@@ -114,3 +114,7 @@ serviceAccount:
   nameOverride: policy-clamp-runtime-acm
   roles:
     - read
+
+customNaming:
+  toscaElementName: org.onap.policy.clamp.acm.AutomationCompositionElement
+  toscaCompositionName: org.onap.policy.clamp.acm.AutomationComposition