diff options
Diffstat (limited to 'config/pe/push-policies.sh')
-rw-r--r-- | config/pe/push-policies.sh | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/config/pe/push-policies.sh b/config/pe/push-policies.sh index 957156ed..414e2e5b 100644 --- a/config/pe/push-policies.sh +++ b/config/pe/push-policies.sh @@ -12,7 +12,7 @@ curl -X PUT --header 'Content-Type: application/json' --header 'Accept: text/pla "policyName": "vFirewall", "policyScope": "com", "policyType": "MicroService" -}' 'http://pypdp:8480/PyPDPServer/pushPolicy' +}' 'http://pdp:8081/pdp/api/pushPolicy' sleep 2 @@ -21,7 +21,7 @@ curl -X PUT --header 'Content-Type: application/json' --header 'Accept: text/pla "policyName": "vLoadBalancer", "policyScope": "com", "policyType": "MicroService" -}' 'http://pypdp:8480/PyPDPServer/pushPolicy' +}' 'http://pdp:8081/pdp/api/pushPolicy' sleep 2 curl -X PUT --header 'Content-Type: application/json' --header 'Accept: text/plain' --header 'ClientAuth: cHl0aG9uOnRlc3Q=' --header 'Authorization: Basic dGVzdHJlc3Q6M2MwbXBVI2gwMUBOMWMz' --header 'Environment: TEST' -d '{ @@ -29,7 +29,7 @@ curl -X PUT --header 'Content-Type: application/json' --header 'Accept: text/pla "policyName": "BRMSParamvLBDemoPolicy", "policyScope": "com", "policyType": "BRMS_Param" -}' 'http://pypdp:8480/PyPDPServer/pushPolicy' +}' 'http://pdp:8081/pdp/api/pushPolicy' sleep 2 @@ -38,7 +38,7 @@ curl -X PUT --header 'Content-Type: application/json' --header 'Accept: text/pla "policyName": "BRMSParamvFWDemoPolicy", "policyScope": "com", "policyType": "BRMS_Param" -}' 'http://pypdp:8480/PyPDPServer/pushPolicy' +}' 'http://pdp:8081/pdp/api/pushPolicy' sleep 2 @@ -46,7 +46,7 @@ curl -X DELETE --header 'Content-Type: application/json' --header 'Accept: text/ "pdpGroup": "default", "policyComponent": "PDP", "policyName": "com.Config_BRMS_Param_BRMSParamvFWDemoPolicy.1.xml" -}' 'http://pypdp:8480/PyPDPServer/deletePolicy' +}' 'http://pdp:8081/pdp/api/deletePolicy' @@ -54,7 +54,7 @@ curl -X DELETE --header 'Content-Type: application/json' --header 'Accept: text/ "pdpGroup": "default", "policyComponent": "PDP", "policyName": "com.Config_BRMS_Param_BRMSParamvLBDemoPolicy.1.xml" -}' 'http://pypdp:8480/PyPDPServer/deletePolicy' +}' 'http://pdp:8081/pdp/api/deletePolicy' sleep 2 curl -X PUT --header 'Content-Type: application/json' --header 'Accept: text/plain' --header 'ClientAuth: cHl0aG9uOnRlc3Q=' --header 'Authorization: Basic dGVzdHJlc3Q6M2MwbXBVI2gwMUBOMWMz' --header 'Environment: TEST' -d '{ @@ -62,7 +62,7 @@ curl -X PUT --header 'Content-Type: application/json' --header 'Accept: text/pla "policyName": "BRMSParamvLBDemoPolicy", "policyScope": "com", "policyType": "BRMS_Param" -}' 'http://pypdp:8480/PyPDPServer/pushPolicy' +}' 'http://pdp:8081/pdp/api/pushPolicy' sleep 2 @@ -71,5 +71,5 @@ curl -X PUT --header 'Content-Type: application/json' --header 'Accept: text/pla "policyName": "BRMSParamvFWDemoPolicy", "policyScope": "com", "policyType": "BRMS_Param" -}' 'http://pypdp:8480/PyPDPServer/pushPolicy' +}' 'http://pdp:8081/pdp/api/pushPolicy' |