Instrumental | 4ad4763 | 2018-07-13 15:49:26 -0500 | [diff] [blame] | 1 | #!/bin/bash |
Instrumental | 7a1817b | 2018-11-05 11:11:15 -0600 | [diff] [blame] | 2 | ######### |
| 3 | # ============LICENSE_START==================================================== |
| 4 | # org.onap.aaf |
| 5 | # =========================================================================== |
| 6 | # Copyright (c) 2017 AT&T Intellectual Property. All rights reserved. |
| 7 | # =========================================================================== |
| 8 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 9 | # you may not use this file except in compliance with the License. |
| 10 | # You may obtain a copy of the License at |
| 11 | # |
| 12 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 13 | # |
| 14 | # Unless required by applicable law or agreed to in writing, software |
| 15 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 16 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 17 | # See the License for the specific language governing permissions and |
| 18 | # limitations under the License. |
| 19 | # ============LICENSE_END==================================================== |
| 20 | # |
Instrumental | 12f7f46 | 2018-04-23 15:43:47 -0500 | [diff] [blame] | 21 | # Pull in Props |
| 22 | . ./d.props |
Instrumental | 4d7da3d | 2018-04-06 08:22:42 -0500 | [diff] [blame] | 23 | |
Instrumental | 9405361 | 2018-10-08 11:27:18 -0500 | [diff] [blame] | 24 | DOCKER=${DOCKER:=docker} |
| 25 | |
Instrumental | 4d7da3d | 2018-04-06 08:22:42 -0500 | [diff] [blame] | 26 | if [ "$1" == "" ]; then |
Instrumental | e44d2f7 | 2018-08-16 17:22:45 -0500 | [diff] [blame] | 27 | AAF_COMPONENTS=$(cat components) |
Instrumental | 4d7da3d | 2018-04-06 08:22:42 -0500 | [diff] [blame] | 28 | else |
Instrumental | 4ad4763 | 2018-07-13 15:49:26 -0500 | [diff] [blame] | 29 | AAF_COMPONENTS="$@" |
Instrumental | 4d7da3d | 2018-04-06 08:22:42 -0500 | [diff] [blame] | 30 | fi |
| 31 | |
| 32 | for AAF_COMPONENT in ${AAF_COMPONENTS}; do |
Instrumental | 9405361 | 2018-10-08 11:27:18 -0500 | [diff] [blame] | 33 | $DOCKER start aaf_$AAF_COMPONENT |
Instrumental | 4d7da3d | 2018-04-06 08:22:42 -0500 | [diff] [blame] | 34 | done |