X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=smo-install%2Ftest%2Fa1-validation%2Fsubscripts%2Fhealth_check.sh;h=3857b304d99cbe9d9852d5ccfd29eb0ab763f596;hb=1fd14f960d45794d4b87135ba2e2e72244987f03;hp=9f675ab9284b10da4d74bc96a128e629f7dea295;hpb=38be157e63425ffefb271f68545731cbc7ec701d;p=it%2Fdep.git diff --git a/smo-install/test/a1-validation/subscripts/health_check.sh b/smo-install/test/a1-validation/subscripts/health_check.sh index 9f675ab9..3857b304 100755 --- a/smo-install/test/a1-validation/subscripts/health_check.sh +++ b/smo-install/test/a1-validation/subscripts/health_check.sh @@ -4,7 +4,7 @@ enrichment_service_url=${1:-localhost:9082} a1_sim_OSC_url=${2:-localhost:8085} a1_sim_STD_url=${3:-localhost:8085} a1_sim_STD_v2_url=${4:-localhost:8085} -policy_agent_url=${5:-localhost:9080} +policy_agent_url=${5:-localhost:8081} a1_controller_url=${6:false} echo -e "NONRTRIC HealthCheck\n" @@ -47,7 +47,7 @@ checkStatus "curl -vskw %{http_code} http://$a1_sim_STD_v2_url/" "OK200" "SIM3" # check PMS status echo "check Policy Agent status:" -checkStatus "curl -vskw %{http_code} http://$policy_agent_url/status" "hunky dory200" "PMS" +checkStatus "curl -vskw %{http_code} http://$policy_agent_url/status" "success200" "PMS" # check ECS status echo "check Enrichment service status:"