summaryrefslogtreecommitdiffstats
path: root/models-pdp/src/test/resources
diff options
context:
space:
mode:
authorJorge Hernandez <jorge.hernandez-herrero@att.com>2019-04-08 12:22:50 +0000
committerGerrit Code Review <gerrit@onap.org>2019-04-08 12:22:50 +0000
commiteb7127ac85b3df30a09277721a5f9271033843e7 (patch)
tree7636432e289e6ebfbe95ca17faa262aff99d9a9e /models-pdp/src/test/resources
parent99e1be6032444088e35c98e290ac4c5e4e0ab601 (diff)
parentdd92e0c9ad7049a713c363d1c52e29237c07df62 (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.json35
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