diff options
author | sebdet <sebastien.determe@intl.att.com> | 2021-04-21 00:37:56 +0200 |
---|---|---|
committer | sebdet <sebastien.determe@intl.att.com> | 2021-04-21 10:16:26 +0200 |
commit | 104c0766e075d7d3c529f4032d47594f9034afbd (patch) | |
tree | 0e54945896fdb9a21d490fc1fe37e177046b30f2 /src/test | |
parent | cd25242576022322d45186ca41bddf3161f01961 (diff) |
Fix issue in log + Pdp payload
Fix log issue that prevent the error to be reported properly + fix the pdp payload construction
Issue-ID: POLICY-3205
Signed-off-by: sebdet <sebastien.determe@intl.att.com>
Change-Id: Ic80ea4f679719378fc8134f7282b361306d797b0
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/resources/example/policy/pdp-group-multi-policies-payload.json | 30 | ||||
-rw-r--r-- | src/test/resources/example/policy/pdp-group-policy-payload.json | 14 |
2 files changed, 7 insertions, 37 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 index f8625ebbb..5e9c77f45 100644 --- a/src/test/resources/example/policy/pdp-group-multi-policies-payload.json +++ b/src/test/resources/example/policy/pdp-group-multi-policies-payload.json @@ -12,12 +12,7 @@ "version": "1.0.0" } ] - } - ] - }, - { - "name": "pdpgroup1", - "deploymentSubgroups": [ + }, { "pdpType": "pdpsubgroup1", "action": "POST", @@ -27,12 +22,7 @@ "version": "1.0.0" } ] - } - ] - }, - { - "name": "pdpgroup1", - "deploymentSubgroups": [ + }, { "pdpType": "pdpsubgroup1", "action": "POST", @@ -57,12 +47,7 @@ "version": "1.0.0" } ] - } - ] - }, - { - "name": "pdpgroup2", - "deploymentSubgroups": [ + }, { "pdpType": "pdpsubgroup2", "action": "POST", @@ -72,12 +57,7 @@ "version": "2.0.0" } ] - } - ] - }, - { - "name": "pdpgroup2", - "deploymentSubgroups": [ + }, { "pdpType": "pdpsubgroup2", "action": "DELETE", @@ -91,4 +71,4 @@ ] } ] -}
\ No newline at end of file +} diff --git a/src/test/resources/example/policy/pdp-group-policy-payload.json b/src/test/resources/example/policy/pdp-group-policy-payload.json index 44a48dacb..897fb43be 100644 --- a/src/test/resources/example/policy/pdp-group-policy-payload.json +++ b/src/test/resources/example/policy/pdp-group-policy-payload.json @@ -12,12 +12,7 @@ "version": "1.0.0" } ] - } - ] - }, - { - "name": "pdpGroup2", - "deploymentSubgroups": [ + }, { "pdpType": "pdpSubgroup2", "action": "POST", @@ -27,12 +22,7 @@ "version": "1.0.0" } ] - } - ] - }, - { - "name": "pdpGroup2", - "deploymentSubgroups": [ + }, { "pdpType": "pdpSubgroup1", "action": "POST", |