diff options
author | 2017-05-11 03:42:25 +0000 | |
---|---|---|
committer | 2017-05-11 03:42:25 +0000 | |
commit | 76e9efbc6b836490e2166710be348f01e64011a2 (patch) | |
tree | 5009a5bd55fc74aefd942aa78a7edd85f8117213 /config/pe/push-policies.sh | |
parent | f24f4a9f7f5fc2c2ac63f95effd6f7b1332eacce (diff) | |
parent | b150ebac50287476676b67a84aff996fc738ee7b (diff) |
Merge "Policy 1707 Docker script changes"
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' |