YongchaoWu | f309b1b | 2020-01-22 13:24:48 +0100 | [diff] [blame] | 1 | #!/usr/bin/env bash |
| 2 | |
maximesson | f217fff | 2020-04-09 15:16:04 +0200 | [diff] [blame] | 3 | TC_ONELINE_DESCR="dockerirze the test, setup docker container for Policy Agent, cbs, consul, Near-RT RIC simulator" |
YongchaoWu | f309b1b | 2020-01-22 13:24:48 +0100 | [diff] [blame] | 4 | |
YongchaoWu | 21f17bb | 2020-03-05 12:44:08 +0100 | [diff] [blame] | 5 | . ../common/testcase_common.sh $1 $2 $3 |
YongchaoWu | f309b1b | 2020-01-22 13:24:48 +0100 | [diff] [blame] | 6 | |
| 7 | #### TEST BEGIN #### |
| 8 | |
| 9 | clean_containers |
| 10 | |
YongchaoWu | 4e489b0 | 2020-02-24 09:18:16 +0100 | [diff] [blame] | 11 | start_ric_simulator |
| 12 | |
| 13 | prepare_consul_config |
| 14 | |
YongchaoWu | f309b1b | 2020-01-22 13:24:48 +0100 | [diff] [blame] | 15 | start_simulators |
| 16 | |
| 17 | consul_config_app "../simulator-group/consul_cbs/config.json" |
| 18 | |
BjornMagnussonXA | 80a9200 | 2020-03-19 14:31:06 +0100 | [diff] [blame] | 19 | start_control_panel |
YongchaoWu | 21f17bb | 2020-03-05 12:44:08 +0100 | [diff] [blame] | 20 | |
| 21 | start_sdnc |
| 22 | |
YongchaoWu | f309b1b | 2020-01-22 13:24:48 +0100 | [diff] [blame] | 23 | start_policy_agent |
| 24 | |
| 25 | check_policy_agent_logs |
| 26 | |
| 27 | #### TEST COMPLETE #### |
| 28 | |
| 29 | store_logs END |