X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=test%2Fauto-test%2FstartMR.sh;h=823a72ec106a4e1d14b620b401aface09c976da3;hb=f83c362e67d25a464b80faf6d8363ccacacc5ebb;hp=d2d0e9a8b2de6d906b09dcdc940eeaaab80e8b9a;hpb=a28a4ad261601976c345425692116e5d7250b810;p=nonrtric.git diff --git a/test/auto-test/startMR.sh b/test/auto-test/startMR.sh index d2d0e9a8..823a72ec 100755 --- a/test/auto-test/startMR.sh +++ b/test/auto-test/startMR.sh @@ -17,14 +17,13 @@ # ============LICENSE_END================================================= # - TC_ONELINE_DESCR="Starts DMAAP MR" #App names to include in the test when running docker, space separated list -DOCKER_INCLUDED_IMAGES="MR DMAAPMR KUBEPROXY" +DOCKER_INCLUDED_IMAGES="MR DMAAPMR KUBEPROXY KAFKAPC" #App names to include in the test when running kubernetes, space separated list -KUBE_INCLUDED_IMAGES="MR DMAAPMR KUBEPROXY" +KUBE_INCLUDED_IMAGES="MR DMAAPMR KUBEPROXY KAFKAPC" #Prestarted app (not started by script) to include in the test when running kubernetes, space separated list KUBE_PRESTARTED_IMAGES="" @@ -34,7 +33,7 @@ KUBE_PRESTARTED_IMAGES="" CONDITIONALLY_IGNORED_IMAGES="" #Supported test environment profiles -SUPPORTED_PROFILES="ONAP-HONOLULU ONAP-ISTANBUL ORAN-D-RELEASE ORAN-E-RELEASE" +SUPPORTED_PROFILES="ORAN-F-RELEASE ORAN-G-RELEASE ORAN-H-RELEASE" #Supported run modes SUPPORTED_RUNMODES="DOCKER KUBE" @@ -47,9 +46,20 @@ setup_testenvironment clean_environment 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" + "$MR_WRITE_TOPIC" "/events" "users/mr-stub" + #\ + #"unauthenticated.dmaapadp.json" "/events" "dmaapadapterproducer/msgs" \ + #"unauthenticated.dmaapmed.json" "/events" "maapmediatorproducer/STD_Fault_Messages" + +start_kafkapc + +kafkapc_api_reset 200 + +kafkapc_api_create_topic 201 "unauthenticated.dmaapadp.json" "application/json" + +kafkapc_api_create_topic 201 "unauthenticated.dmaapmed.json" "application/json" + +dmaap_api_print_topics if [ $RUNMODE == "KUBE" ]; then :