summaryrefslogtreecommitdiffstats
path: root/main/src/test/resources/parameters
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-05-27 17:19:46 -0500
commit9e627229dad4b56fd626f0b2813eb5b63e9a27a2 (patch)
tree08e862ce8132d4cf2aa1ef1519711b2448a24aa7 /main/src/test/resources/parameters
parent47c4b4bf0940aa56bbf43b1ff7edc018b538019e (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 Signed-off-by: jhh <jorge.hernandez-herrero@att.com> Change-Id: Ib53bc14ee6b9471ab48f5a792b4283db3ed53b93 Signed-off-by: jhh <jorge.hernandez-herrero@att.com>
Diffstat (limited to 'main/src/test/resources/parameters')
-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": []
+ }
+ ]
+ }
+ ]
+}