summaryrefslogtreecommitdiffstats
path: root/models-pdp/src/test/resources/testdata/PdpGroupsNoPDPs.json
diff options
context:
space:
mode:
authorliamfallon <liam.fallon@est.tech>2019-04-08 05:27:08 +0000
committerliamfallon <liam.fallon@est.tech>2019-04-08 05:27:08 +0000
commitdd92e0c9ad7049a713c363d1c52e29237c07df62 (patch)
tree4c99624b21f5a66a9fb3901dbaeca8eb8d2dab43 /models-pdp/src/test/resources/testdata/PdpGroupsNoPDPs.json
parent82699a970d5f06c6dc1391d8beb0efe76bf84089 (diff)
Add unit test for PDP groups
Unit test for the JPA concepts in models-pdp. Issue-ID: POLICY-1095 Change-Id: Id33626f3789da45e36935edf564003651e9ce7c4 Signed-off-by: liamfallon <liam.fallon@est.tech>
Diffstat (limited to 'models-pdp/src/test/resources/testdata/PdpGroupsNoPDPs.json')
-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