summaryrefslogtreecommitdiffstats
path: root/policy-drools/wait-for-port.sh
diff options
context:
space:
mode:
authormmis <michael.morris@ericsson.com>2018-03-05 18:23:39 +0000
committermmis <michael.morris@ericsson.com>2018-03-05 18:37:45 +0000
commit0d85691073de0731e54a12e56b02b6b44807aa58 (patch)
treecafddbeb94e884d187a3911c7b05716ac8ff842d /policy-drools/wait-for-port.sh
parent26ad312c7232b44aa06e61beca114f305bd702d4 (diff)
Remove policy-os and policy-base images
Remove the policy-os and policy-base images in favour of including their contents directly in the policy-pdp and policy-pe images Issue-ID: POLICY-624 Change-Id: Ie4ef62d5a7fc0edb481be13891ee12cf9271674c Signed-off-by: mmis <michael.morris@ericsson.com>
Diffstat (limited to 'policy-drools/wait-for-port.sh')
-rw-r--r--policy-drools/wait-for-port.sh18
1 files changed, 0 insertions, 18 deletions
diff --git a/policy-drools/wait-for-port.sh b/policy-drools/wait-for-port.sh
deleted file mode 100644
index 10f08ded..00000000
--- a/policy-drools/wait-for-port.sh
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/bin/bash
-
-if [[ $# -ne 2 ]]; then
- echo "Usage: wait-for-port hostname port" >&2
- exit 1
-fi
-
-host=$1
-port=$2
-
-echo "Waiting for $host port $port open"
-until telnet $host $port </dev/null 2>/dev/null | grep -q '^Connected'; do
- sleep 1
-done
-
-echo "$host port $port is open"
-
-exit 0