From: Instrumental Date: Fri, 19 Oct 2018 18:59:24 +0000 (-0500) Subject: mod cass.props.init X-Git-Tag: 2.1.7~29 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F44%2F70844%2F1;p=aaf%2Fauthz.git mod cass.props.init Issue-ID: AAF-435 Change-Id: If2e9a62df3d104f337c64da02626e3756104bdbd Signed-off-by: Instrumental --- diff --git a/auth/docker/cass.props.init b/auth/docker/cass.props.init index 75127424..7f7258fa 100644 --- a/auth/docker/cass.props.init +++ b/auth/docker/cass.props.init @@ -1,7 +1,7 @@ #!/bin/bash # Use for assigning to /etc/hosts, when DNS doesn't have Cassandra FQDN -CASS_HOST=cass.aaf.osaaf.org: +CASS_HOST=aaf_cass #### # Detailed Cassandra Environmental Variables diff --git a/auth/docker/drun.sh b/auth/docker/drun.sh index 45b5893f..4a6b1c77 100644 --- a/auth/docker/drun.sh +++ b/auth/docker/drun.sh @@ -35,15 +35,15 @@ for AAF_COMPONENT in ${AAF_COMPONENTS}; do case "$AAF_COMPONENT" in "service") PORTMAP="8100:8100" - LINKS="--link aaf_cass:cassandra --add-host=$CASS_HOST" + LINKS="--link aaf_cass:cassandra " ;; "locate") PORTMAP="8095:8095" - LINKS="--link aaf_cass:cassandra --add-host=$CASS_HOST" + LINKS="--link aaf_cass:cassandra " ;; "oauth") PORTMAP="8140:8140" - LINKS="--link aaf_cass:cassandra --add-host=$CASS_HOST" + LINKS="--link aaf_cass:cassandra " ;; "gui") PORTMAP="8200:8200" @@ -51,7 +51,7 @@ for AAF_COMPONENT in ${AAF_COMPONENTS}; do "cm") PORTMAP="8150:8150" LINKS="--link aaf_cass:cassandra " - LINKS="--link aaf_cass:cassandra --add-host=$CASS_HOST" + LINKS="--link aaf_cass:cassandra " ;; "hello") PORTMAP="8130:8130"