summaryrefslogtreecommitdiffstats
path: root/src/test/resources/tosca/pdp-group-policy-payload.json
diff options
context:
space:
mode:
authorxuegao <xg353y@intl.att.com>2020-02-21 15:28:30 +0100
committersebdet <sebastien.determe@intl.att.com>2020-03-03 01:43:10 -0800
commit492a5ddfdd09ce0a046a61abd6e76a69d9cf477a (patch)
tree8ddda219ddf698166109b10fc3d60fa7ce044f3a /src/test/resources/tosca/pdp-group-policy-payload.json
parentd2a4df0b62b6a32c42bac45b4bee344016faa8fb (diff)
Rework the activate pdp group payload
Rework the payload which triggers the activate pdp group policy API based on the new requirement. Issue-ID: CLAMP-646 Change-Id: I9bd7e3f2d1907c7e22c5435c792910b8245780b2 Signed-off-by: xuegao <xg353y@intl.att.com>
Diffstat (limited to 'src/test/resources/tosca/pdp-group-policy-payload.json')
-rw-r--r--src/test/resources/tosca/pdp-group-policy-payload.json36
1 files changed, 27 insertions, 9 deletions
diff --git a/src/test/resources/tosca/pdp-group-policy-payload.json b/src/test/resources/tosca/pdp-group-policy-payload.json
index ad3a5b4c3..93a85457a 100644
--- a/src/test/resources/tosca/pdp-group-policy-payload.json
+++ b/src/test/resources/tosca/pdp-group-policy-payload.json
@@ -1,16 +1,34 @@
{
- "policies": [
+ "groups": [
{
- "policy-id": "GuardOpPolicyTest"
+ "name": "pdpGroup2",
+ "deploymentSubgroups": [
+ {
+ "pdpType": "pdpSubgroup2",
+ "action": "POST",
+ "policies": [
+ {
+ "name": "onap.policies.controlloop.Operational",
+ "version": "1.0.0"
+ }
+ ]
+ }
+ ]
},
{
- "policy-id": "guard.minmax.new"
- },
- {
- "policy-id": "guard.frequency.new"
- },
- {
- "policy-id": "configPolicyTest"
+ "name": "pdpGroup1",
+ "deploymentSubgroups": [
+ {
+ "pdpType": "pdpSubgroup1",
+ "action": "POST",
+ "policies": [
+ {
+ "name": "onap.policies.monitoring.test",
+ "version": "1.0.0"
+ }
+ ]
+ }
+ ]
}
]
} \ No newline at end of file