ensure policies are not pushed until drools is up 79/17779/1
authorJorge Hernandez <jh1730@att.com>
Tue, 10 Oct 2017 02:26:57 +0000 (21:26 -0500)
committerJorge Hernandez <jh1730@att.com>
Tue, 10 Oct 2017 02:26:57 +0000 (21:26 -0500)
Change-Id: I6706fb126ea60abdfb0c540d07b305b8305d0b65
Issue-ID: POLICY-295
Signed-off-by: Jorge Hernandez <jh1730@att.com>
policy-pe/do-start.sh

index 49ddf25..ab8e5a1 100644 (file)
@@ -77,7 +77,7 @@ fi
 
 policy.sh start
 
-# on pap, wait for pap, pdp, brmsgw, and nexus up,
+# on pap, wait for pap, pdp, brmsgw, nexus and drools up,
 # then push the initial default policies
 if [[ $container == pap ]]; then
        ./wait-for-port.sh pap 9091
@@ -85,6 +85,7 @@ if [[ $container == pap ]]; then
        # brmsgw doesn't have a REST API, so check for JMX port instead
        ./wait-for-port.sh brmsgw 9989
        ./wait-for-port.sh nexus 8081
+       ./wait-for-port.sh drools 6969
        # wait addional 1 minute for all processes to get fully initialized and synched up
        sleep 60
        bash -xv config/push-policies.sh