aboutsummaryrefslogtreecommitdiffstats
path: root/config/pe/push-policies.sh
diff options
context:
space:
mode:
authorITSERVICES\rb7147 <rb7147@att.com>2017-05-09 13:54:45 -0400
committerITSERVICES\rb7147 <rb7147@att.com>2017-05-09 15:23:41 -0400
commitb150ebac50287476676b67a84aff996fc738ee7b (patch)
tree67ef0e6e264a243c724300ceee7631d015c6538e /config/pe/push-policies.sh
parent687f2fc263e76180b85401e60eadd82520504148 (diff)
Policy 1707 Docker script changes
Change-Id: I765e2badf48d4f7554de2a6ea037289e3f76e512 Signed-off-by: ITSERVICES\rb7147 <rb7147@att.com>
Diffstat (limited to 'config/pe/push-policies.sh')
-rw-r--r--config/pe/push-policies.sh16
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'