diff options
author | Gary Wu <gary.i.wu@huawei.com> | 2018-10-02 16:46:36 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-10-02 16:46:36 +0000 |
commit | ed9df29ed6ea2ac0310cfb37318cdd5d126b85dd (patch) | |
tree | c03cbc198e78324c5f8e60b82c499790896fc65e /plans/policy/apex-pdp/setup.sh | |
parent | d33a9efbc12d3128b8d7b7427079beb74c4f84b4 (diff) | |
parent | fd98e3c936c4d3a0695dfee1af25e741bd892178 (diff) |
Merge "Change to AAF-compatible default credentials"
Diffstat (limited to 'plans/policy/apex-pdp/setup.sh')
-rw-r--r-- | plans/policy/apex-pdp/setup.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plans/policy/apex-pdp/setup.sh b/plans/policy/apex-pdp/setup.sh index 7ab5b9e2..c97072d4 100644 --- a/plans/policy/apex-pdp/setup.sh +++ b/plans/policy/apex-pdp/setup.sh @@ -21,11 +21,12 @@ docker run -d --name apex -p 12561:12561 -p 23324:23324 -it nexus3.onap.org:1000 APEX_IP=`get-instance-ip.sh apex` echo APEX IP IS ${APEX_IP} -Wait for initialization +# Wait for initialization for i in {1..10}; do curl -sS ${APEX_IP}:23324 && break echo sleep $i sleep $i done +sleep 10 ROBOT_VARIABLES="-v APEX_IP:${APEX_IP}" |