X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=test%2Fauto-test%2FPM_EI_DEMO.sh;h=bb33025ca8975594942bd97399350952581ed6fc;hb=de4d0f86a327469fb64645c2bcd3aeea7832ad25;hp=2bca307a0137a6fc3a4b37b5aaf201533f390025;hpb=5343c3097bd7ae1c1c8d5f0409803c0c60034805;p=nonrtric.git diff --git a/test/auto-test/PM_EI_DEMO.sh b/test/auto-test/PM_EI_DEMO.sh index 2bca307a..bb33025c 100755 --- a/test/auto-test/PM_EI_DEMO.sh +++ b/test/auto-test/PM_EI_DEMO.sh @@ -20,10 +20,10 @@ TC_ONELINE_DESCR="Preparation demo setup - policy management and enrichment information" #App names to include in the test, space separated list -INCLUDED_IMAGES="CBS CONSUL CP CR MR PA RICSIM SDNC ECS PRODSTUB" +INCLUDED_IMAGES="CBS CONSUL CP CR MR PA RICSIM SDNC ECS PRODSTUB RC" #SUPPORTED TEST ENV FILE -SUPPORTED_PROFILES="ONAP-MASTER ORAN-MASTER" +SUPPORTED_PROFILES="ONAP-MASTER ORAN-CHERRY" . ../common/testcase_common.sh $@ . ../common/agent_api_functions.sh @@ -31,6 +31,7 @@ SUPPORTED_PROFILES="ONAP-MASTER ORAN-MASTER" . ../common/ecs_api_functions.sh . ../common/prodstub_api_functions.sh . ../common/cr_api_functions.sh +. ../common/rapp_catalogue_api_functions.sh #### TEST BEGIN #### @@ -43,6 +44,7 @@ use_sdnc_https use_simulator_https use_ecs_rest_https use_prod_stub_https +use_rapp_catalogue_http # https not yet supported if [ "$PMS_VERSION" == "V2" ]; then notificationurl=$CR_PATH"/test" @@ -70,16 +72,27 @@ consul_config_app ".consul_config.json" start_policy_agent +start_rapp_catalogue + start_cr start_prod_stub start_ecs +start_rapp_catalogue + set_agent_trace set_ecs_trace + +rapp_cat_api_get_services 200 EMPTY + +rapp_cat_api_put_service 201 "Emergency-response-app" v1 "Emergency-response-app" "Emergency-response-app" + +rapp_cat_api_get_services 200 "Emergency-response-app" v1 "Emergency-response-app" "Emergency-response-app" + api_get_status 200 # Print the A1 version for STD 2.X