blob: d5c77b0bded8a6978b467010dff80004fc5fbfdc [file] [log] [blame]
dglFromAtt62b8b122018-03-03 11:57:29 -05001#!/bin/bash
2#
3# ============LICENSE_START=======================================================
4# org.onap.dmaap
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
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#
21#
22
23
24# Place the scripts in run order:
25source ${WORKSPACE}/test/csit/scripts/dmaap-buscontroller/start-mock.sh
26start_mock "aaf"
27AAF_IP=${IP}
28start_mock "mrc" 3904
29MRC_IP=${IP}
30start_mock "drps"
31DRPS_IP=${IP}
32
33source ${WORKSPACE}/test/csit/scripts/dmaap-buscontroller/dmaapbc-launch.sh
34dmaapbc_launch $AAF_IP $MRC_IP $DRPS_IP
35DMAAPBC_IP=${IP}
36
37
38echo "AAF_IP=$AAF_IP MRC_IP=$MRC_IP DRPS_IP=$DRPS_IP DMAAPBC_IP=$DMAAPBC_IP"
39
40# Pass any variables required by Robot test suites in ROBOT_VARIABLES
41ROBOT_VARIABLES="-v AAF_IP:${AAF_IP} -v MRC_IP:${MRC_IP} -v DRPS_IP:${DRPS_IP} -v DMAAPBC_IP:${DMAAPBC_IP}"
42
Dominic Lunanuovadb5f9892018-04-20 18:54:47 +000043set -x
44${WORKSPACE}/test/csit/scripts/dmaap-buscontroller/dmaapbc-init.sh ${DMAAPBC_IP} ${DRPS_IP} ${MRC_IP}
45set +x