Dominic Lunanuova | 9dc8b5f | 2018-04-14 01:33:15 +0000 | [diff] [blame] | 1 | #!/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: |
| 25 | source ${WORKSPACE}/test/csit/scripts/dmaap-message-router/dmaap-mr-launch.sh |
| 26 | dmaap_mr_launch |
| 27 | MRC_IP=${IP} |
| 28 | |
| 29 | source ${WORKSPACE}/test/csit/scripts/dmaap-buscontroller/start-mock.sh |
Dominic Lunanuova | 5a2d897 | 2018-04-17 20:59:12 +0000 | [diff] [blame] | 30 | #start_mock "aaf" |
Dominic Lunanuova | 9dc8b5f | 2018-04-14 01:33:15 +0000 | [diff] [blame] | 31 | AAF_IP=${IP} |
| 32 | start_mock "drps" |
| 33 | DRPS_IP=${IP} |
| 34 | |
| 35 | source ${WORKSPACE}/test/csit/scripts/dmaap-buscontroller/dmaapbc-launch.sh |
| 36 | dmaapbc_launch $AAF_IP $MRC_IP $DRPS_IP |
| 37 | DMAAPBC_IP=${IP} |
| 38 | |
| 39 | |
| 40 | echo "AAF_IP=$AAF_IP MRC_IP=$MRC_IP DRPS_IP=$DRPS_IP DMAAPBC_IP=$DMAAPBC_IP" |
| 41 | |
| 42 | # Pass any variables required by Robot test suites in ROBOT_VARIABLES |
| 43 | ROBOT_VARIABLES="-v AAF_IP:${AAF_IP} -v MRC_IP:${MRC_IP} -v DRPS_IP:${DRPS_IP} -v DMAAPBC_IP:${DMAAPBC_IP}" |
| 44 | |