diff options
Diffstat (limited to 'src/test/resources')
-rw-r--r-- | src/test/resources/example/policy/pdp-group-multi-policies-payload.json | 94 | ||||
-rw-r--r-- | src/test/resources/example/policy/pdp-group-policy-payload.json (renamed from src/test/resources/tosca/pdp-group-policy-payload.json) | 32 |
2 files changed, 118 insertions, 8 deletions
diff --git a/src/test/resources/example/policy/pdp-group-multi-policies-payload.json b/src/test/resources/example/policy/pdp-group-multi-policies-payload.json new file mode 100644 index 000000000..f8625ebbb --- /dev/null +++ b/src/test/resources/example/policy/pdp-group-multi-policies-payload.json @@ -0,0 +1,94 @@ +{ + "groups": [ + { + "name": "pdpgroup1", + "deploymentSubgroups": [ + { + "pdpType": "pdpsubgroup1", + "action": "POST", + "policies": [ + { + "name": "policyname1", + "version": "1.0.0" + } + ] + } + ] + }, + { + "name": "pdpgroup1", + "deploymentSubgroups": [ + { + "pdpType": "pdpsubgroup1", + "action": "POST", + "policies": [ + { + "name": "policyname2", + "version": "1.0.0" + } + ] + } + ] + }, + { + "name": "pdpgroup1", + "deploymentSubgroups": [ + { + "pdpType": "pdpsubgroup1", + "action": "POST", + "policies": [ + { + "name": "policyname1", + "version": "2.0.0" + } + ] + } + ] + }, + { + "name": "pdpgroup2", + "deploymentSubgroups": [ + { + "pdpType": "pdpsubgroup2", + "action": "DELETE", + "policies": [ + { + "name": "policyname1", + "version": "1.0.0" + } + ] + } + ] + }, + { + "name": "pdpgroup2", + "deploymentSubgroups": [ + { + "pdpType": "pdpsubgroup2", + "action": "POST", + "policies": [ + { + "name": "policyname1", + "version": "2.0.0" + } + ] + } + ] + }, + { + "name": "pdpgroup2", + "deploymentSubgroups": [ + { + "pdpType": "pdpsubgroup2", + "action": "DELETE", + "policies": [ + { + "name": "policyname2", + "version": "1.0.0" + } + ] + } + ] + } + ] +}
\ No newline at end of file diff --git a/src/test/resources/tosca/pdp-group-policy-payload.json b/src/test/resources/example/policy/pdp-group-policy-payload.json index 17535ecbb..44a48dacb 100644 --- a/src/test/resources/tosca/pdp-group-policy-payload.json +++ b/src/test/resources/example/policy/pdp-group-policy-payload.json @@ -1,14 +1,14 @@ { "groups": [ { - "name": "pdpGroup1", + "name": "pdpGroup2", "deploymentSubgroups": [ { - "pdpType": "pdpSubgroup1", + "pdpType": "pdpSubgroup2", "action": "POST", "policies": [ { - "name": "configPolicyTest", + "name": "opLegacyPolicy", "version": "1.0.0" } ] @@ -23,15 +23,16 @@ "action": "POST", "policies": [ { - "name": "opLegacyPolicy", - "version": "1.0.0" - }, - { "name": "opPolicy", "version": "1.0.0" } ] - }, + } + ] + }, + { + "name": "pdpGroup2", + "deploymentSubgroups": [ { "pdpType": "pdpSubgroup1", "action": "POST", @@ -43,6 +44,21 @@ ] } ] + }, + { + "name": "pdpGroup1", + "deploymentSubgroups": [ + { + "pdpType": "pdpSubgroup1", + "action": "POST", + "policies": [ + { + "name": "configPolicyTest", + "version": "1.0.0" + } + ] + } + ] } ] }
\ No newline at end of file |