summaryrefslogtreecommitdiffstats
path: root/src/test/resources/example
diff options
context:
space:
mode:
authorxuegao <xg353y@intl.att.com>2020-03-23 14:30:56 +0100
committerxuegao <xg353y@intl.att.com>2020-03-23 14:42:07 +0100
commit3c327c1fe313cb31dcc914dcaee7f38255240099 (patch)
tree28933daca7a06749a778d1dba06ea99872603096 /src/test/resources/example
parentc405a83ec84c2bc1c090f06f9ac6207469e09cbb (diff)
Populate deployment parameters
Create deployment parameters while creating loops. Issue-ID: CLAMP-788 Change-Id: Icb4ebc786b87468846692744f27b697734015401 Signed-off-by: xuegao <xg353y@intl.att.com>
Diffstat (limited to 'src/test/resources/example')
-rw-r--r--src/test/resources/example/sdc/expected-result/deployment-parameters-multi-blueprints.json (renamed from src/test/resources/example/sdc/expected-result/deployment-parameters.json)12
-rw-r--r--src/test/resources/example/sdc/expected-result/deployment-parameters-single-blueprint.json9
2 files changed, 15 insertions, 6 deletions
diff --git a/src/test/resources/example/sdc/expected-result/deployment-parameters.json b/src/test/resources/example/sdc/expected-result/deployment-parameters-multi-blueprints.json
index 2e10ac37e..6ebaa073f 100644
--- a/src/test/resources/example/sdc/expected-result/deployment-parameters.json
+++ b/src/test/resources/example/sdc/expected-result/deployment-parameters-multi-blueprints.json
@@ -1,11 +1,11 @@
{
"dcaeDeployParameters": {
- "testName": {
+ "testName1": {
"location_id": "",
"service_id": "",
- "policy_id": "testName"
+ "policy_id": "testName1"
},
- "testName1": {
+ "testName2": {
"aaiEnrichmentHost": "aai.onap.svc.cluster.local",
"aaiEnrichmentPort": "8443",
"enableAAIEnrichment": true,
@@ -20,9 +20,9 @@
"cbs_port": "10000",
"external_port": "32012",
"policy_model_id": "onap.policies.monitoring.cdap.tca.hi.lo.app",
- "policy_id": "testName"
+ "policy_id": "testName2"
},
- "testName2": {
+ "testName3": {
"aaiEnrichmentHost": "aai.onap.svc.cluster.local",
"aaiEnrichmentPort": "8443",
"enableAAIEnrichment": true,
@@ -37,7 +37,7 @@
"cbs_port": "10000",
"external_port": "32012",
"policy_model_id": "onap.policies.monitoring.cdap.tca.hi.lo.app",
- "policy_id": "testName"
+ "policy_id": "testName3"
}
}
} \ No newline at end of file
diff --git a/src/test/resources/example/sdc/expected-result/deployment-parameters-single-blueprint.json b/src/test/resources/example/sdc/expected-result/deployment-parameters-single-blueprint.json
new file mode 100644
index 000000000..494c2e4ff
--- /dev/null
+++ b/src/test/resources/example/sdc/expected-result/deployment-parameters-single-blueprint.json
@@ -0,0 +1,9 @@
+{
+ "dcaeDeployParameters": {
+ "loop template blueprint": {
+ "location_id": "",
+ "service_id": "",
+ "policy_id": "loop template blueprint"
+ }
+ }
+} \ No newline at end of file