diff options
author | Jorge Hernandez <jh1730@att.com> | 2017-10-09 21:26:57 -0500 |
---|---|---|
committer | Jorge Hernandez <jh1730@att.com> | 2017-10-09 21:26:57 -0500 |
commit | ac26fe1e0e4e3e982886825c0084018a7042c6f5 (patch) | |
tree | 1cf653dd960ea16223949ff3601895f917e0f867 /policy-pe/do-start.sh | |
parent | 54c5a68a26f0d84dd447cd9c2467fea21d68fa94 (diff) |
ensure policies are not pushed until drools is up
Change-Id: I6706fb126ea60abdfb0c540d07b305b8305d0b65
Issue-ID: POLICY-295
Signed-off-by: Jorge Hernandez <jh1730@att.com>
Diffstat (limited to 'policy-pe/do-start.sh')
-rw-r--r-- | policy-pe/do-start.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/policy-pe/do-start.sh b/policy-pe/do-start.sh index 49ddf257..ab8e5a19 100644 --- a/policy-pe/do-start.sh +++ b/policy-pe/do-start.sh @@ -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 |