From bf715b07b8b3e4381b31ec46fc17a9d4b0c7047f Mon Sep 17 00:00:00 2001 From: jhh Date: Thu, 27 May 2021 14:41:11 -0500 Subject: 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 --- .../src/test/resources/parameters/PapDbGroup1.json | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 main/src/test/resources/parameters/PapDbGroup1.json (limited to 'main/src/test/resources/parameters/PapDbGroup1.json') 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": [] + } + ] + } + ] +} -- cgit 1.2.3-korg