diff options
author | rameshiyer27 <ramesh.murugan.iyer@est.tech> | 2023-09-22 15:46:30 +0100 |
---|---|---|
committer | Ramesh Murugan Iyer <ramesh.murugan.iyer@est.tech> | 2023-09-27 13:49:20 +0000 |
commit | 5a92f5dc2d2066635d59a0b986ec77487198a821 (patch) | |
tree | 4ea39827c5cbc183b4e52c2d28f051b2ceedae90 /runtime-acm/src/test/resources | |
parent | 3398b96f53bd1c5f9926a88db996abbbfe1da500 (diff) |
Allow customisation in element and composition names in TOSCA
User defined values can be provided in the spring properties file
for runtime-acm. The same values will be expected from the TOSCA template.
If not configured in application properties, default values will be used.
Issue-ID: POLICY-4827
Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech>
Change-Id: I17bfe811c2531c65e90679e95de9732129b54898
Diffstat (limited to 'runtime-acm/src/test/resources')
-rw-r--r-- | runtime-acm/src/test/resources/application-test.yaml | 3 | ||||
-rw-r--r-- | runtime-acm/src/test/resources/parameters/TestParameters.json | 5 |
2 files changed, 8 insertions, 0 deletions
diff --git a/runtime-acm/src/test/resources/application-test.yaml b/runtime-acm/src/test/resources/application-test.yaml index e6fed2475..aa4044534 100644 --- a/runtime-acm/src/test/resources/application-test.yaml +++ b/runtime-acm/src/test/resources/application-test.yaml @@ -38,3 +38,6 @@ runtime: servers: - localhost topic: POLICY-ACRUNTIME-PARTICIPANT + acmParameters: + acElementName: org.onap.policy.clamp.acm.AutomationCompositionElement + acNodeType: org.onap.policy.clamp.acm.AutomationComposition diff --git a/runtime-acm/src/test/resources/parameters/TestParameters.json b/runtime-acm/src/test/resources/parameters/TestParameters.json index c44e92e4d..92e81d29e 100644 --- a/runtime-acm/src/test/resources/parameters/TestParameters.json +++ b/runtime-acm/src/test/resources/parameters/TestParameters.json @@ -40,5 +40,10 @@ "topicCommInfrastructure": "dmaap" } ] + }, + "acmParameters": { + "toscaElementName": "org.onap.policy.clamp.acm.AutomationCompositionElement", + "toscaCompositionName": "org.onap.policy.clamp.acm.AutomationComposition" } + } |