From: xg353y Date: Tue, 17 Apr 2018 12:24:17 +0000 (+0200) Subject: Rollback policy scope X-Git-Tag: v2.0.0~43 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=4189d7f46b9467871a4b5019280eb6d780380eee;p=clamp.git 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 --- diff --git a/src/main/resources/clds/templates/tca-policy-template.json b/src/main/resources/clds/templates/tca-policy-template.json index 275b6a4c..b3369a32 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 275b6a4c..559aacb2 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 a04e2239..bbe9ca6b 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",