diff options
author | Jim Hahn <jrh3@att.com> | 2019-04-10 12:08:53 -0400 |
---|---|---|
committer | Jim Hahn <jrh3@att.com> | 2019-04-10 12:42:18 -0400 |
commit | 1da30647745a9d3dfa744cacef56400c2aaeab03 (patch) | |
tree | 6c2606d4f5ce5a4d2c6aa16d12c9df95dd63beab /main/src/test/resources | |
parent | b793c0cedf08d44de56073d24256567f50dcd1c3 (diff) |
Add junit tests for PdpGroupDeleteProvider
Change-Id: Id744a7d49b9fb608ba3379dd43bcbd6a0297891f
Issue-ID: POLICY-1541
Signed-off-by: Jim Hahn <jrh3@att.com>
Diffstat (limited to 'main/src/test/resources')
-rw-r--r-- | main/src/test/resources/simpleDeploy/undeploy.json | 35 | ||||
-rw-r--r-- | main/src/test/resources/simpleDeploy/undeployMakeUpdaterGroupNotFound.json | 30 |
2 files changed, 65 insertions, 0 deletions
diff --git a/main/src/test/resources/simpleDeploy/undeploy.json b/main/src/test/resources/simpleDeploy/undeploy.json new file mode 100644 index 00000000..8f89cafc --- /dev/null +++ b/main/src/test/resources/simpleDeploy/undeploy.json @@ -0,0 +1,35 @@ +{ + "name": "groupA", + "version": "200.2.3", + "pdpGroupState": "ACTIVE", + "pdpSubgroups": [ + { + "pdpType": "pdpTypeA", + "supportedPolicyTypes": [ + { + "name": "typeA", + "version": "100.2.3" + } + ], + "pdpInstances": [ + { + "instanceId": "pdpA" + } + ], + "policies": [ + { + "name": "policyA", + "version": "1.2.300" + }, + { + "name": "policyA", + "version": "1.2.3" + }, + { + "name": "policyB", + "version": "1.2.3" + } + ] + } + ] +} diff --git a/main/src/test/resources/simpleDeploy/undeployMakeUpdaterGroupNotFound.json b/main/src/test/resources/simpleDeploy/undeployMakeUpdaterGroupNotFound.json new file mode 100644 index 00000000..b7d8d777 --- /dev/null +++ b/main/src/test/resources/simpleDeploy/undeployMakeUpdaterGroupNotFound.json @@ -0,0 +1,30 @@ +{ + "name": "groupA", + "version": "200.2.3", + "pdpSubgroups": [ + { + "pdpType": "pdpTypeA", + "supportedPolicyTypes": [ + { + "name": "typeA", + "version": "100.2.3" + } + ], + "pdpInstances": [ + { + "instanceId": "pdpA" + } + ], + "policies": [ + { + "name": "policyA", + "version": "1.2.300" + }, + { + "name": "policyB", + "version": "1.2.3" + } + ] + } + ] +} |