aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/test/resources/parameters/PapDbGroup1.json
diff options
context:
space:
mode:
authorjhh <jorge.hernandez-herrero@att.com>2021-05-27 14:41:11 -0500
committerjhh <jorge.hernandez-herrero@att.com>2021-06-01 18:40:43 -0500
commitbf715b07b8b3e4381b31ec46fc17a9d4b0c7047f (patch)
treea8c8c4ee389f2d82318ff9f68b74a3c6e1b54570 /main/src/test/resources/parameters/PapDbGroup1.json
parent3c86cf520f0a928750676dbd3e6c7f3bd52327af (diff)
support external configuration of pdp groups
- modify policy-pap.sh to optionally provision a custom group if such a file is present. Issue-ID: POLICY-3331 Change-Id: Ib53bc14ee6b9471ab48f5a792b4283db3ed53b93 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Diffstat (limited to 'main/src/test/resources/parameters/PapDbGroup1.json')
-rw-r--r--main/src/test/resources/parameters/PapDbGroup1.json36
1 files changed, 36 insertions, 0 deletions
diff --git a/main/src/test/resources/parameters/PapDbGroup1.json b/main/src/test/resources/parameters/PapDbGroup1.json
new file mode 100644
index 00000000..9a967448
--- /dev/null
+++ b/main/src/test/resources/parameters/PapDbGroup1.json
@@ -0,0 +1,36 @@
+{
+ "groups": [
+ {
+ "name": "group1",
+ "version": "1.0.0",
+ "description": "group 1",
+ "pdpGroupState": "ACTIVE",
+ "pdpSubgroups": [
+ {
+ "pdpType": "T1",
+ "supportedPolicyTypes": [
+ {
+ "name": "t1",
+ "version": "1.0.0"
+ }
+ ],
+ "currentInstanceCount": 0,
+ "desiredInstanceCount": 1,
+ "policies": []
+ },
+ {
+ "pdpType": "T2",
+ "supportedPolicyTypes": [
+ {
+ "name": "t2",
+ "version": "1.0.0"
+ }
+ ],
+ "currentInstanceCount": 0,
+ "desiredInstanceCount": 1,
+ "policies": []
+ }
+ ]
+ }
+ ]
+}