From 6a590028db1460ba8eb7f168a7ad74db2eb65d81 Mon Sep 17 00:00:00 2001 From: rameshiyer27 Date: Tue, 3 Oct 2023 15:06:27 +0100 Subject: Add configurable acm parameters in docker and helm charts Issue-ID: POLICY-4830 Signed-off-by: rameshiyer27 Change-Id: I41841cb6811973e40c27e3e434d2d2f83c71e1af --- compose/config/clamp/AcRuntimeParameters.yaml | 3 +++ .../resources/config/acRuntimeParameters.yaml | 3 +++ helm/policy/components/policy-clamp-runtime-acm/values.yaml | 4 ++++ 3 files changed, 10 insertions(+) diff --git a/compose/config/clamp/AcRuntimeParameters.yaml b/compose/config/clamp/AcRuntimeParameters.yaml index ac1310c2..dc9a9846 100644 --- a/compose/config/clamp/AcRuntimeParameters.yaml +++ b/compose/config/clamp/AcRuntimeParameters.yaml @@ -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: diff --git a/helm/policy/components/policy-clamp-runtime-acm/resources/config/acRuntimeParameters.yaml b/helm/policy/components/policy-clamp-runtime-acm/resources/config/acRuntimeParameters.yaml index 98b6a76c..1e567f45 100755 --- a/helm/policy/components/policy-clamp-runtime-acm/resources/config/acRuntimeParameters.yaml +++ b/helm/policy/components/policy-clamp-runtime-acm/resources/config/acRuntimeParameters.yaml @@ -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: diff --git a/helm/policy/components/policy-clamp-runtime-acm/values.yaml b/helm/policy/components/policy-clamp-runtime-acm/values.yaml index e1669bfb..4966a9b6 100644 --- a/helm/policy/components/policy-clamp-runtime-acm/values.yaml +++ b/helm/policy/components/policy-clamp-runtime-acm/values.yaml @@ -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 -- cgit 1.2.3-korg