diff options
Diffstat (limited to 'main/src/test/resources')
4 files changed, 52 insertions, 24 deletions
diff --git a/main/src/test/resources/e2e/createGroups.json b/main/src/test/resources/e2e/createGroups.json index 1c8774be..1630a8d5 100644 --- a/main/src/test/resources/e2e/createGroups.json +++ b/main/src/test/resources/e2e/createGroups.json @@ -29,12 +29,7 @@ "version": "1.0.0" } ], - "policies": [ - { - "name": "onap.restart.tca", - "version": "1.0.0" - } - ] + "policies": [] }, { "pdpType": "pdpTypeB", diff --git a/main/src/test/resources/e2e/createNewGroups.json b/main/src/test/resources/e2e/createNewGroups.json new file mode 100644 index 00000000..45339322 --- /dev/null +++ b/main/src/test/resources/e2e/createNewGroups.json @@ -0,0 +1,48 @@ +{ + "groups": [ + { + "name": "newGroup1", + "pdpGroupState": "ACTIVE", + "properties": { + "hello": "world" + }, + "pdpSubgroups": [ + { + "pdpType": "pdpTypeA", + "desiredInstanceCount": 2, + "properties": {}, + "pdpInstances": [], + "supportedPolicyTypes": [ + { + "name": "onap.policies.monitoring.cdap.tca.hi.lo.app", + "version": "1.0.0" + } + ], + "policies": [] + } + ] + }, + { + "name": "newGroup2", + "pdpGroupState": "ACTIVE", + "properties": { + "hello": "world" + }, + "pdpSubgroups": [ + { + "pdpType": "pdpTypeB", + "desiredInstanceCount": 2, + "properties": {}, + "pdpInstances": [], + "supportedPolicyTypes": [ + { + "name": "onap.policies.monitoring.cdap.tca.hi.lo.app", + "version": "1.0.0" + } + ], + "policies": [] + } + ] + } + ] +} diff --git a/main/src/test/resources/simpleDeploy/createGroups.json b/main/src/test/resources/simpleDeploy/createGroups.json index 59c4eb87..daef17b7 100644 --- a/main/src/test/resources/simpleDeploy/createGroups.json +++ b/main/src/test/resources/simpleDeploy/createGroups.json @@ -26,12 +26,7 @@ "instanceId": "pdpA" } ], - "policies": [ - { - "name": "policyA", - "version": "1.2.3" - } - ] + "policies": [] } ] } diff --git a/main/src/test/resources/simpleDeploy/createGroupsDelSub.json b/main/src/test/resources/simpleDeploy/createGroupsDelSub.json index cba308ec..bcaa1c1f 100644 --- a/main/src/test/resources/simpleDeploy/createGroupsDelSub.json +++ b/main/src/test/resources/simpleDeploy/createGroupsDelSub.json @@ -26,12 +26,7 @@ "instanceId": "pdpA" } ], - "policies": [ - { - "name": "policyA", - "version": "1.2.3" - } - ] + "policies": [] }, { "pdpType": "pdpTypeB", @@ -51,12 +46,7 @@ "instanceId": "pdpD" } ], - "policies": [ - { - "name": "policyA", - "version": "1.2.3" - } - ] + "policies": [] } ] } |