aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--misc/dmaapbc9
1 files changed, 9 insertions, 0 deletions
diff --git a/misc/dmaapbc b/misc/dmaapbc
index b473598..3dcef4a 100644
--- a/misc/dmaapbc
+++ b/misc/dmaapbc
@@ -163,6 +163,15 @@ init() {
return
fi
+ #loop on get /dmaap until we get a good response to indicate other provisioning can continue
+ rc=999
+ while [ $rc != "200 ]
+ do
+ sleep 10
+ rc=`curl -s -w "%{http_code}" -X GET -H "Content-Type: application/json" http://dmaap-bc:8080/webapi/dmaap`
+ echo "get dmaap response=${rc}"
+ done
+
cd $CONFIGMAP_ROOT
# order is important in this next list
for uri in dmaap dcaeLocations mr_clusters topics feeds