From 492a5ddfdd09ce0a046a61abd6e76a69d9cf477a Mon Sep 17 00:00:00 2001 From: xuegao Date: Fri, 21 Feb 2020 15:28:30 +0100 Subject: 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 --- .../resources/tosca/pdp-group-policy-payload.json | 36 ++++++++++++++++------ 1 file changed, 27 insertions(+), 9 deletions(-) (limited to 'src/test/resources') diff --git a/src/test/resources/tosca/pdp-group-policy-payload.json b/src/test/resources/tosca/pdp-group-policy-payload.json index ad3a5b4c..93a85457 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 -- cgit 1.2.3-korg