X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=test%2Fauto-test%2FFTC10.sh;h=625346b73a6b6b620bd3c5eaf0712f80966f829d;hb=663566c28930429775ea9921f0e32ddf5253da28;hp=567faccbf74555a1c9ee0083136ca2f52cfb325a;hpb=d289079b1b15286e994bc29b98cd732fc32fb06f;p=nonrtric.git diff --git a/test/auto-test/FTC10.sh b/test/auto-test/FTC10.sh index 567faccb..625346b7 100755 --- a/test/auto-test/FTC10.sh +++ b/test/auto-test/FTC10.sh @@ -20,7 +20,7 @@ TC_ONELINE_DESCR="Basic use case, register service, create/update policy, delete policy, de-register service using both STD and OSC interface while mixing REST and Dmaap" #App names to include in the test when running docker, space separated list -DOCKER_INCLUDED_IMAGES="CBS CONSUL CP CR MR PA RICSIM NGW" +DOCKER_INCLUDED_IMAGES="CBS CONSUL CP CR MR PA RICSIM NGW KUBEPROXY" #App names to include in the test when running kubernetes, space separated list KUBE_INCLUDED_IMAGES=" MR CR PA RICSIM CP KUBEPROXY NGW" @@ -61,9 +61,7 @@ use_agent_rest_http clean_environment -if [ $RUNMODE == "KUBE" ]; then - start_kube_proxy -fi +start_kube_proxy start_ric_simulators ricsim_g1 3 OSC_2.1.0 @@ -123,14 +121,14 @@ fi # Create policies if [ "$PMS_VERSION" == "V2" ]; then - notificationurl=$CR_SERVICE_PATH"/test" + notificationurl=$CR_SERVICE_APP_PATH"/test" else notificationurl="" fi use_agent_rest_http -api_put_service 201 "service1" 3600 "$CR_SERVICE_PATH/1" +api_put_service 201 "service1" 3600 "$CR_SERVICE_APP_PATH/1" api_put_policy 201 "service1" ricsim_g1_1 1 2000 NOTRANSIENT $notificationurl testdata/OSC/pi1_template.json 1 @@ -175,7 +173,7 @@ fi #Update policies use_agent_rest_http -api_put_service 200 "service1" 3600 "$CR_SERVICE_PATH/1" +api_put_service 200 "service1" 3600 "$CR_SERVICE_APP_PATH/1" api_put_policy 200 "service1" ricsim_g1_1 1 2000 NOTRANSIENT $notificationurl testdata/OSC/pi1_template.json 1