diff options
author | 2019-11-06 12:19:33 -0500 | |
---|---|---|
committer | 2019-11-06 15:52:56 -0500 | |
commit | a3bf3134c01d979cebc94f5b2c915cfa400a9a72 (patch) | |
tree | fdb7488ae7e79ab6b130927a81463cf379346084 /main/src/test/resources/simpleDeploy/deployPoliciesWildCard.json | |
parent | 43f8999d3f94e23231bc3cbb45089d8541c4f2cf (diff) |
Support policy types with wild-cards
Allow supported policy types to end with ".*", which causes the prefix
to be matched when new policies are deployed. This entailed updates
in three areas:
- when a subgroup is added via the group api
- when a subgroup is updated via the group api
- when a policy is deployed via the simple api
Issue-ID: POLICY-1636
Signed-off-by: Jim Hahn <jrh3@att.com>
Change-Id: I4ae15971481ce5b2042b5d6fdfd16e11ad099c50
Signed-off-by: Jim Hahn <jrh3@att.com>
Diffstat (limited to 'main/src/test/resources/simpleDeploy/deployPoliciesWildCard.json')
-rw-r--r-- | main/src/test/resources/simpleDeploy/deployPoliciesWildCard.json | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/main/src/test/resources/simpleDeploy/deployPoliciesWildCard.json b/main/src/test/resources/simpleDeploy/deployPoliciesWildCard.json new file mode 100644 index 00000000..9e43af02 --- /dev/null +++ b/main/src/test/resources/simpleDeploy/deployPoliciesWildCard.json @@ -0,0 +1,25 @@ +{ + "groups": [ + { + "name": "groupA", + "version": "200.2.3", + "pdpSubgroups": [ + { + "pdpType": "pdpTypeB", + "supportedPolicyTypes": [ + { + "name": "some.*", + "version": "2.3.4" + } + ], + "pdpInstances": [ + { + "instanceId": "pdpB" + } + ], + "policies": [] + } + ] + } + ] +} |