summaryrefslogtreecommitdiffstats
path: root/main/src/test/resources/simpleDeploy
diff options
context:
space:
mode:
authorJorge Hernandez <jorge.hernandez-herrero@att.com>2019-06-05 12:46:29 +0000
committerGerrit Code Review <gerrit@onap.org>2019-06-05 12:46:29 +0000
commitee3bea2552f89babf1b0e0ada286cc36bc6af105 (patch)
tree5e59bd704d5d11b63953862a1097b907ee484b33 /main/src/test/resources/simpleDeploy
parent6615ef003958266c2b687dd63fa010b7779643a6 (diff)
parent23b2730941fff26082de9e8a308e1a29758c96a5 (diff)
Merge "Undeploy policies when subgroup is deleted"
Diffstat (limited to 'main/src/test/resources/simpleDeploy')
-rw-r--r--main/src/test/resources/simpleDeploy/createGroupsDelSub.json64
1 files changed, 64 insertions, 0 deletions
diff --git a/main/src/test/resources/simpleDeploy/createGroupsDelSub.json b/main/src/test/resources/simpleDeploy/createGroupsDelSub.json
new file mode 100644
index 00000000..cba308ec
--- /dev/null
+++ b/main/src/test/resources/simpleDeploy/createGroupsDelSub.json
@@ -0,0 +1,64 @@
+{
+ "groups": [
+ {
+ "name": "groupA",
+ "version": "200.2.3",
+ "description": "my description",
+ "pdpGroupState": "ACTIVE",
+ "properties": {
+ "hello": "world"
+ },
+ "pdpSubgroups": [
+ {
+ "pdpType": "pdpTypeA",
+ "desiredInstanceCount": 1,
+ "properties": {
+ "abc": "def"
+ },
+ "supportedPolicyTypes": [
+ {
+ "name": "typeA",
+ "version": "100.2.3"
+ }
+ ],
+ "pdpInstances": [
+ {
+ "instanceId": "pdpA"
+ }
+ ],
+ "policies": [
+ {
+ "name": "policyA",
+ "version": "1.2.3"
+ }
+ ]
+ },
+ {
+ "pdpType": "pdpTypeB",
+ "desiredInstanceCount": 1,
+ "currentInstanceCount": 22,
+ "supportedPolicyTypes": [
+ {
+ "name": "typeA",
+ "version": "100.2.3"
+ }
+ ],
+ "pdpInstances": [
+ {
+ "instanceId": "pdpB"
+ },
+ {
+ "instanceId": "pdpD"
+ }
+ ],
+ "policies": [
+ {
+ "name": "policyA",
+ "version": "1.2.3"
+ }
+ ]
+ }
+ ]
+ }
+ ]
+}