3 # ============LICENSE_START=======================================================
5 # ================================================================================
6 # Copyright (C) 2018 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
12 # http://www.apache.org/licenses/LICENSE-2.0
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=========================================================
22 source ${SCRIPTS}/common_functions.sh
24 COMPOSE_PREFIX=${COMPOSE_PROJECT_NAME:-dockercompose}
25 export COMPOSE_PROJECT_NAME=$COMPOSE_PREFIX
26 echo "COMPOSE_PROJECT_NAME=$COMPOSE_PROJECT_NAME"
27 echo "COMPOSE_PREFIX=$COMPOSE_PREFIX"
29 source ${WORKSPACE}/scripts/dmaap-datarouter/datarouter-launch.sh
30 # Launch DR. If true is passed, 2 subscriber containers are also deployed, else false.
34 source ${WORKSPACE}/scripts/dmaap-buscontroller/dmaapbc-launch.sh
35 dmaapbc_launch ${DRPS_IP}
36 DMAAPBC_IP=${DMAAP_BC_IP}
38 echo "DRPS_IP=$DRPS_IP DMAAPBC_IP=$DMAAPBC_IP"
40 # Pass any variables required by Robot test suites in ROBOT_VARIABLES
41 ROBOT_VARIABLES="-v DRPS_IP:${DRPS_IP} -v DMAAPBC_IP:${DMAAPBC_IP}"
43 ${WORKSPACE}/scripts/dmaap-buscontroller/dmaapbc-init.sh ${DMAAPBC_IP}