aboutsummaryrefslogtreecommitdiffstats
path: root/config/pe/push-policies.sh
diff options
context:
space:
mode:
Diffstat (limited to 'config/pe/push-policies.sh')
-rwxr-xr-xconfig/pe/push-policies.sh17
1 files changed, 15 insertions, 2 deletions
diff --git a/config/pe/push-policies.sh b/config/pe/push-policies.sh
index 20e0bfaa..90c60e79 100755
--- a/config/pe/push-policies.sh
+++ b/config/pe/push-policies.sh
@@ -1,4 +1,17 @@
#! /bin/bash
+# Copyright 2018 AT&T Intellectual Property. All rights reserved
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
#########################################Upload BRMS Param Template##########################################
@@ -229,7 +242,7 @@ curl -v --silent -X PUT --header 'Content-Type: application/json' --header 'Acce
"policyType": "MicroService"
}' 'http://pdp:8081/pdp/api/pushPolicy'
-sleep 2
+sleep 10
echo "pushPolicy : PUT : com.MicroServicevDNS"
curl -v --silent -X PUT --header 'Content-Type: application/json' --header 'Accept: text/plain' --header 'ClientAuth: cHl0aG9uOnRlc3Q=' --header 'Authorization: Basic dGVzdHBkcDphbHBoYTEyMw==' --header 'Environment: TEST' -d '{
@@ -238,7 +251,7 @@ curl -v --silent -X PUT --header 'Content-Type: application/json' --header 'Acce
"policyType": "MicroService"
}' 'http://pdp:8081/pdp/api/pushPolicy'
-sleep 2
+sleep 10
echo "pushPolicy : PUT : com.MicroServicevCPE"
curl -v --silent -X PUT --header 'Content-Type: application/json' --header 'Accept: text/plain' --header 'ClientAuth: cHl0aG9uOnRlc3Q=' --header 'Authorization: Basic dGVzdHBkcDphbHBoYTEyMw==' --header 'Environment: TEST' -d '{