diff options
author | Instrumental <jonathan.gathman@att.com> | 2019-03-29 15:42:37 -0500 |
---|---|---|
committer | Instrumental <jonathan.gathman@att.com> | 2019-03-29 16:53:00 -0500 |
commit | aae5c072bcb4608ae87c70fd1edf7ac5b1794ccf (patch) | |
tree | 3607e74c88a9c8f054c5535b25f1781513b3acac /auth/docker/agent.sh | |
parent | 1ee8f051ba40bf4f3578952ae499dd15549a86a9 (diff) |
Refine Container Startup
Issue-ID: AAF-773
Change-Id: Ia198a11eceb9bfacafde26cde97d15949a3fe78c
Signed-off-by: Instrumental <jonathan.gathman@att.com>
Diffstat (limited to 'auth/docker/agent.sh')
-rw-r--r-- | auth/docker/agent.sh | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/auth/docker/agent.sh b/auth/docker/agent.sh index ce878f58..931249b0 100644 --- a/auth/docker/agent.sh +++ b/auth/docker/agent.sh @@ -159,10 +159,10 @@ case "$1" in aafcli) shift reset_sso - if [ -f aaf-auth-cmd-$VERSION*-full.jar ]; then - java -Dcadi_prop_files="$HOME/.aaf/sso.props" -jar aaf-auth-cmd-$VERSION*-full.jar $@ + if [ -f aaf-cadi-aaf-$VERSION-full.jar ]; then + java -Dcadi_prop_files="$HOME/.aaf/sso.props" -jar aaf-cadi-aaf-$VERSION-full.jar $@ else - echo "For local use, you need to have 'aaf-auth-cmd-$VERSION*-full.jar' (or newer)" + echo "For local use, you need to have 'aaf-cadi-aaf-$VERSION-full.jar' (or newer)" fi ;; local) @@ -185,10 +185,10 @@ case "$1" in reset_sso sso aaf_id "$DEPLOY_FQI" sso aaf_password "$DEPLOY_PASSWORD" - if [ -f aaf-auth-cmd-$VERSION*-full.jar ]; then - java -Dcadi_prop_files="$HOME/.aaf/sso.props" -cp aaf-auth-cmd-$VERSION*-full.jar org.onap.aaf.cadi.configure.Agent $CMD + if [ -f aaf-cadi-aaf-$VERSION-full.jar ]; then + java -Dcadi_prop_files="$HOME/.aaf/sso.props" -cp aaf-cadi-aaf-$VERSION-full.jar org.onap.aaf.cadi.configure.Agent $CMD else - echo "For local use, you need to have 'aaf-cadi-aaf-$VERSION*-full.jar' (or newer)" + echo "For local use, you need to have 'aaf-cadi-aaf-$VERSION-full.jar' (or newer)" fi ;; *) |