aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrameshiyer27 <ramesh.murugan.iyer@est.tech>2023-10-03 15:06:27 +0100
committerrameshiyer27 <ramesh.murugan.iyer@est.tech>2023-10-03 15:16:34 +0100
commit6a590028db1460ba8eb7f168a7ad74db2eb65d81 (patch)
treea5fc9f07b5d4ed9f2962192563690eac443cea45
parent43a40e17bdb36015d1f54835ec794c43ed41ba0a (diff)
Add configurable acm parameters in docker and helm charts
Issue-ID: POLICY-4830 Signed-off-by: rameshiyer27 <ramesh.murugan.iyer@est.tech> Change-Id: I41841cb6811973e40c27e3e434d2d2f83c71e1af
-rw-r--r--compose/config/clamp/AcRuntimeParameters.yaml3
-rwxr-xr-xhelm/policy/components/policy-clamp-runtime-acm/resources/config/acRuntimeParameters.yaml3
-rw-r--r--helm/policy/components/policy-clamp-runtime-acm/values.yaml4
3 files changed, 10 insertions, 0 deletions
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