summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorxg353y <xg353y@intl.att.com>2018-04-17 14:24:17 +0200
committerxg353y <xg353y@intl.att.com>2018-04-17 14:24:17 +0200
commit4189d7f46b9467871a4b5019280eb6d780380eee (patch)
tree961aaa6e1fbf478829a45cd7ff86289792826a28
parent39b4c05acbd6cf28febc694c9575bc63df3d17a6 (diff)
Rollback policy scope
Rollback the policy scope under configBody and set it to CLAMP Issue-ID: CLAMP-153 Change-Id: I2446839329d367ad031852a9c0a33f7b29741740 Signed-off-by: xg353y <xg353y@intl.att.com>
-rw-r--r--src/main/resources/clds/templates/tca-policy-template.json1
-rw-r--r--src/test/resources/clds/templates/tca-policy-template.json1
-rw-r--r--src/test/resources/example/tca-policy-req/tca-policy-expected.json1
3 files changed, 3 insertions, 0 deletions
diff --git a/src/main/resources/clds/templates/tca-policy-template.json b/src/main/resources/clds/templates/tca-policy-template.json
index 275b6a4c3..b3369a329 100644
--- a/src/main/resources/clds/templates/tca-policy-template.json
+++ b/src/main/resources/clds/templates/tca-policy-template.json
@@ -4,6 +4,7 @@
"location": "SampleServiceLocation",
"configName": "SampleConfigName",
"uuid": "test",
+ "policyScope":"CLAMP",
"templateVersion": "OpenSource.version.1",
"policyName": "MicroService",
"description": "MicroService Policy",
diff --git a/src/test/resources/clds/templates/tca-policy-template.json b/src/test/resources/clds/templates/tca-policy-template.json
index 275b6a4c3..559aacb29 100644
--- a/src/test/resources/clds/templates/tca-policy-template.json
+++ b/src/test/resources/clds/templates/tca-policy-template.json
@@ -4,6 +4,7 @@
"location": "SampleServiceLocation",
"configName": "SampleConfigName",
"uuid": "test",
+ "policyScope": "CLAMP",
"templateVersion": "OpenSource.version.1",
"policyName": "MicroService",
"description": "MicroService Policy",
diff --git a/src/test/resources/example/tca-policy-req/tca-policy-expected.json b/src/test/resources/example/tca-policy-req/tca-policy-expected.json
index a04e2239a..bbe9ca6bd 100644
--- a/src/test/resources/example/tca-policy-req/tca-policy-expected.json
+++ b/src/test/resources/example/tca-policy-req/tca-policy-expected.json
@@ -4,6 +4,7 @@
"location": "SampleServiceLocation",
"configName": "SampleConfigName",
"uuid": "test",
+ "policyScope": "CLAMP",
"templateVersion": "OpenSource.version.1",
"policyName": "example_model01.ClosedLoop_FRWL_SIG_fad4dcae_e498_11e6_852e_0050568c4ccf_TCA_1jy9to4",
"description": "MicroService Policy",