X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=test%2Fauto-test%2FstartMR.sh;h=d2d0e9a8b2de6d906b09dcdc940eeaaab80e8b9a;hb=98ce5dc75fc222dadaf26a8a148788b0367bf6ca;hp=ec1e062cc7784592f7b1872ceb2082e50812e140;hpb=443d4728b1930a96ca174e6940c95558f7806684;p=nonrtric.git diff --git a/test/auto-test/startMR.sh b/test/auto-test/startMR.sh index ec1e062c..d2d0e9a8 100755 --- a/test/auto-test/startMR.sh +++ b/test/auto-test/startMR.sh @@ -21,44 +21,41 @@ TC_ONELINE_DESCR="Starts DMAAP MR" #App names to include in the test when running docker, space separated list -DOCKER_INCLUDED_IMAGES="MR DMAAPMR" +DOCKER_INCLUDED_IMAGES="MR DMAAPMR KUBEPROXY" #App names to include in the test when running kubernetes, space separated list -KUBE_INCLUDED_IMAGES="CP CR MR PA RICSIM SDNC KUBEPROXY NGW" +KUBE_INCLUDED_IMAGES="MR DMAAPMR KUBEPROXY" #Prestarted app (not started by script) to include in the test when running kubernetes, space separated list KUBE_PRESTARTED_IMAGES="" #Ignore image in DOCKER_INCLUDED_IMAGES, KUBE_INCLUDED_IMAGES if #the image is not configured in the supplied env_file #Used for images not applicable to all supported profile -CONDITIONALLY_IGNORED_IMAGES="NGW" +CONDITIONALLY_IGNORED_IMAGES="" #Supported test environment profiles -SUPPORTED_PROFILES="ONAP-GUILIN ONAP-HONOLULU ORAN-CHERRY ORAN-D-RELEASE ORAN-E-RELEASE" +SUPPORTED_PROFILES="ONAP-HONOLULU ONAP-ISTANBUL ORAN-D-RELEASE ORAN-E-RELEASE" #Supported run modes SUPPORTED_RUNMODES="DOCKER KUBE" -. ../common/testcase_common.sh $@ -. ../common/agent_api_functions.sh -. ../common/consul_cbs_functions.sh -. ../common/control_panel_api_functions.sh -. ../common/controller_api_functions.sh -. ../common/cr_api_functions.sh -. ../common/mr_api_functions.sh -. ../common/ricsimulator_api_functions.sh -. ../common/http_proxy_api_functions.sh -. ../common/kube_proxy_api_functions.sh -. ../common/gateway_api_functions.sh +. ../common/testcase_common.sh $@ setup_testenvironment #### TEST BEGIN #### clean_environment -start_mr -docker kill mr-stub +start_kube_proxy +start_mr "$MR_READ_TOPIC" "/events" "users/policy-agent" \ + "$MR_WRITE_TOPIC" "/events" "users/mr-stub" \ + "unauthenticated.dmaapadp.json" "/events" "dmaapadapterproducer/msgs" \ + "unauthenticated.dmaapmed.json" "/events" "maapmediatorproducer/STD_Fault_Messages" + +if [ $RUNMODE == "KUBE" ]; then + : +else + docker kill $MR_STUB_APP_NAME +fi -print_result -