summaryrefslogtreecommitdiffstats
path: root/config/pe/push-policies.sh
diff options
context:
space:
mode:
Diffstat (limited to 'config/pe/push-policies.sh')
-rw-r--r--config/pe/push-policies.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/config/pe/push-policies.sh b/config/pe/push-policies.sh
index 35bce2ba..bd841f15 100644
--- a/config/pe/push-policies.sh
+++ b/config/pe/push-policies.sh
@@ -47,7 +47,8 @@ echo "pushPolicy : DELETE : com.BRMSParamvFWDemoPolicy.1.xml"
curl -v --silent -X DELETE --header 'Content-Type: application/json' --header 'Accept: text/plain' --header 'ClientAuth: cHl0aG9uOnRlc3Q=' --header 'Authorization: Basic dGVzdHBkcDphbHBoYTEyMw==' --header 'Environment: TEST' -d '{
"pdpGroup": "default",
"policyComponent": "PDP",
-"policyName": "com.Config_BRMS_Param_BRMSParamvFWDemoPolicy.1.xml"
+"policyName": "com.BRMSParamvFWDemoPolicy",
+"policyType": "BRMS_Param"
}' 'http://pdp:8081/pdp/api/deletePolicy'
@@ -57,7 +58,8 @@ echo "pushPolicy : DELETE : com.BRMSParamvLBDemoPolicy.1.xml"
curl -v --silent -X DELETE --header 'Content-Type: application/json' --header 'Accept: text/plain' --header 'ClientAuth: cHl0aG9uOnRlc3Q=' --header 'Authorization: Basic dGVzdHBkcDphbHBoYTEyMw==' --header 'Environment: TEST' -d '{
"pdpGroup": "default",
"policyComponent": "PDP",
-"policyName": "com.Config_BRMS_Param_BRMSParamvLBDemoPolicy.1.xml"
+"policyName": "com.BRMSParamvLBDemoPolicy",
+"policyType": "BRMS_Param"
}' 'http://pdp:8081/pdp/api/deletePolicy'
sleep 2