summaryrefslogtreecommitdiffstats
path: root/main/src/test/resources
diff options
context:
space:
mode:
authorJim Hahn <jrh3@att.com>2019-04-10 12:08:53 -0400
committerJim Hahn <jrh3@att.com>2019-04-10 12:42:18 -0400
commit1da30647745a9d3dfa744cacef56400c2aaeab03 (patch)
tree6c2606d4f5ce5a4d2c6aa16d12c9df95dd63beab /main/src/test/resources
parentb793c0cedf08d44de56073d24256567f50dcd1c3 (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.json35
-rw-r--r--main/src/test/resources/simpleDeploy/undeployMakeUpdaterGroupNotFound.json30
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"
+ }
+ ]
+ }
+ ]
+}