summaryrefslogtreecommitdiffstats
path: root/auth
diff options
context:
space:
mode:
authorInstrumental <jcgmisc@stl.gathman.org>2018-04-05 20:52:32 -0500
committerInstrumental <jcgmisc@stl.gathman.org>2018-04-05 20:52:41 -0500
commitdf9e827fa3ec1c7e32b5f5eb7a63a4c11f9da4a7 (patch)
treecdd1bcb33e7c3f0d24b582d895531af31280e8a6 /auth
parent6cd833478d794245708ccd448a6835a0d6d3b7ce (diff)
rm CADI Cass
Issue-ID: AAF-212 Change-Id: I72b1a5ff68ae0f9527b3d82c9a84a0660fe380ae Signed-off-by: Instrumental <jcgmisc@stl.gathman.org>
Diffstat (limited to 'auth')
-rw-r--r--auth/auth-cass/docker/dbash3
-rw-r--r--auth/auth-cmd/temp0
-rw-r--r--auth/docker/d.props13
-rw-r--r--auth/docker/dclean.sh14
-rw-r--r--auth/docker/dstop.sh12
5 files changed, 42 insertions, 0 deletions
diff --git a/auth/auth-cass/docker/dbash b/auth/auth-cass/docker/dbash
new file mode 100644
index 00000000..e10afcc0
--- /dev/null
+++ b/auth/auth-cass/docker/dbash
@@ -0,0 +1,3 @@
+#!/bin/bash dbash
+docker exec -it aaf_cass bash
+
diff --git a/auth/auth-cmd/temp b/auth/auth-cmd/temp
new file mode 100644
index 00000000..e69de29b
--- /dev/null
+++ b/auth/auth-cmd/temp
diff --git a/auth/docker/d.props b/auth/docker/d.props
new file mode 100644
index 00000000..90bc5511
--- /dev/null
+++ b/auth/docker/d.props
@@ -0,0 +1,13 @@
+# Variables for building Docker entities
+ORG=onap
+PROJECT=aaf
+DOCKER_REPOSITORY=nexus3.onap.org:10003
+VERSION=2.1.0-SNAPSHOT
+CONF_ROOT_DIR=/opt/app/osaaf
+
+# Local Env info
+HOSTNAME=meriadoc.mithril.sbc.com
+HOST_IP=172.17.0.3
+CASS_HOST="cass.aaf.osaaf.org:172.17.0.2"
+
+
diff --git a/auth/docker/dclean.sh b/auth/docker/dclean.sh
new file mode 100644
index 00000000..b14f0bcc
--- /dev/null
+++ b/auth/docker/dclean.sh
@@ -0,0 +1,14 @@
+#!/bin/bash dclean.sh
+. d.props
+
+if [ "$1" == "" ]; then
+ AAF_COMPONENTS=`ls ../aaf_${VERSION}/bin | grep -v '\.'`
+else
+ AAF_COMPONENTS=$1
+fi
+
+echo "Y" | docker container prune
+for AAF_COMPONENT in ${AAF_COMPONENTS}; do
+ docker image rm $DOCKER_REPOSITORY/$ORG/$PROJECT/aaf_$AAF_COMPONENT:${VERSION}
+done
+echo "Y" | docker image prune
diff --git a/auth/docker/dstop.sh b/auth/docker/dstop.sh
new file mode 100644
index 00000000..78088423
--- /dev/null
+++ b/auth/docker/dstop.sh
@@ -0,0 +1,12 @@
+#!/bin/bash dstop.sh
+. d.props
+
+if [ "$1" == "" ]; then
+ AAF_COMPONENTS=`ls ../aaf_${VERSION}/bin | grep -v '\.'`
+else
+ AAF_COMPONENTS=$1
+fi
+
+for AAF_COMPONENT in ${AAF_COMPONENTS}; do
+ docker stop aaf_$AAF_COMPONENT
+done