diff options
author | Jorge Hernandez <jorge.hernandez-herrero@att.com> | 2019-04-08 12:22:50 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-04-08 12:22:50 +0000 |
commit | eb7127ac85b3df30a09277721a5f9271033843e7 (patch) | |
tree | 7636432e289e6ebfbe95ca17faa262aff99d9a9e /models-pdp/src/test/resources | |
parent | 99e1be6032444088e35c98e290ac4c5e4e0ab601 (diff) | |
parent | dd92e0c9ad7049a713c363d1c52e29237c07df62 (diff) |
Merge "Add unit test for PDP groups"
Diffstat (limited to 'models-pdp/src/test/resources')
-rw-r--r-- | models-pdp/src/test/resources/testdata/PdpGroupsNoPDPs.json | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/models-pdp/src/test/resources/testdata/PdpGroupsNoPDPs.json b/models-pdp/src/test/resources/testdata/PdpGroupsNoPDPs.json new file mode 100644 index 000000000..e37b6c5a6 --- /dev/null +++ b/models-pdp/src/test/resources/testdata/PdpGroupsNoPDPs.json @@ -0,0 +1,35 @@ +{ + "groups": [ + { + "name": "TestPdpGroup", + "version": "1.2.3", + "description": "group description", + "pdpGroupState": "ACTIVE", + "properties": { + "groupProperty0": "Value of Group Property 0" + }, + "pdpSubgroups": [ + { + "pdpType": "APEX", + "supportedPolicyTypes": [ + { + "name": "onap.policies.controlloop.Operational", + "version": "1.0.0" + } + ], + "policies": [ + { + "name": "onap.policies.controlloop.Operational.apex.sampledomain", + "version": "1.0.0" + } + ], + "currentInstanceCount": 0, + "desiredInstanceCount": 5, + "properties": { + "subgroupProperty0": "Value of sub Group Property 0" + } + } + ] + } + ] +}
\ No newline at end of file |