Details
-
Task
-
Status: Closed
-
Medium
-
Resolution: Not Done
-
None
-
None
Description
Current :
When multiple policies are deployed using PAP batch deployment API ( policy/pap/v1/pdps/deployments/batch ), if one of the policies deployment fails, the API responds with :
Error Code : 400 Bad request
Error Message :
{
"errorDetails": "\"groups\" INVALID, item has status INVALID\n \"groups\" INVALID, item has status INVALID\n \"group\" INVALID, item has status INVALID\n \"deploymentSubgroups\" INVALID, item has status INVALID\n \"group\" INVALID, item has status INVALID\n \"policies\" INVALID, item has status INVALID\n item \"item\" value \"null\" INVALID, null"
{color:#de350b}}
Expected :
When multiple policies are deployed using PAP batch deployment API, if one of the policies deployment fails, the API should respond with details of the deployed policies and undeployed policies or state that the deployment was partially successful.
Attachments
Issue Links
- clones
-
POLICY-2682 Change Policy OOM charts logback.xml to add STDOUT
-
- Closed
-
- is cloned by
-
POLICY-2712 Apex-PDP multi policy deployment failure logging changes
-
- Closed
-