Instrumental | df9e827 | 2018-04-05 20:52:32 -0500 | [diff] [blame] | 1 | #!/bin/bash dstop.sh |
Sai Gandham | ce6a67f | 2018-04-10 14:25:35 +0000 | [diff] [blame] | 2 | ORG=onap |
| 3 | PROJECT=aaf |
| 4 | DOCKER_REPOSITORY=nexus3.onap.org:10003 |
| 5 | VERSION=2.1.0-SNAPSHOT |
Instrumental | 23a1c2e | 2018-04-11 14:13:46 -0500 | [diff] [blame] | 6 | . ./d.props |
Instrumental | df9e827 | 2018-04-05 20:52:32 -0500 | [diff] [blame] | 7 | |
| 8 | if [ "$1" == "" ]; then |
| 9 | AAF_COMPONENTS=`ls ../aaf_${VERSION}/bin | grep -v '\.'` |
| 10 | else |
| 11 | AAF_COMPONENTS=$1 |
| 12 | fi |
| 13 | |
| 14 | for AAF_COMPONENT in ${AAF_COMPONENTS}; do |
| 15 | docker stop aaf_$AAF_COMPONENT |
| 16 | done |