-
Story
-
Resolution: Done
-
Medium
-
None
-
None
-
None
Provide ability to be able to push and unpush multiple policies in one API invocation.
Multiple policies can be specified as comma delimited list in parameter "policyName" of PushPolicy/DeletePolicy API.
_"policyName":"PolicyName1,PolicyName2,...,PolicyName"
If they are of different PolicyTypes, they can be specified as comma delimited list in parameter "policyType" of PushPolicy/DeletePolicy API.
The order should match the order of policyNames.
"policyType":"PolicyType1, PolicyType2,...,PolicyType"
If any policy fails validation, none of the policies get pushed/unpushed.
PushPolicy:
One Policy Push
{ "pdpGroup":"default", "policyName":"com.testBase1", "policyType":"Base" }
Multiple Policies push of same PolicyType
{ "pdpGroup":"default", "policyName":"com.testBase1,com.testBase2,com.testBase3", "policyType":"Base" }
Or
{ "pdpGroup":"default", "policyName":"com.testBase1,com.testBase2,com.testBase3", "policyType":"Base,Base,Base" }
Multiple Policies Push of different PolicyType
{ "pdpGroup":"default", "policyName":"comypush2.testBaseB,compush2.testMs1,compush2.testBrms1", "policyType":"Base,MicroService,BRMS_PARAM" }
DeletePolicy (unpush):
One Policy unpush
{ "policyName":"com.testDelete", "policyType":"Base", "policyComponent":"PDP", "pdpGroup":"Default" }
Multiple Policies unpush of same PolicyType
{ "policyName":"com.testDelete1,com.testDelete2", "policyType":"Base", "policyComponent":"PDP", "pdpGroup":"Default" }
Or
{ "policyName":"com.testDelete1,com.testDelete2", "policyType":"Base,Base", "policyComponent":"PDP", "pdpGroup":"Default" }
Multiple policies unpush of different policyType
{ "policyName":"com.testDelete1,com.testMs", "policyType":"Base,MicroService", "policyComponent":"PDP", "pdpGroup":"Default" }
1.
|
add CSIT support for the changes in this API | Closed | ah999m |