X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=solution%2Fintegration%2Fsmo%2Fnon-rt-ric%2Fdata%2FprepareDmaapMsg.sh;fp=solution%2Fintegration%2Fsmo%2Fnon-rt-ric%2Fdata%2FprepareDmaapMsg.sh;h=0a65a2e08f8f90c121b87e11bb7b75b5791f3c20;hb=aed5eb433948f14ebd08550b6ec16fef5c7008f4;hp=eebaf013b8d35eddb96af032e24b08c1ffa8ef1f;hpb=042bee399326844b04ecd4721be6a1af8332e9f2;p=oam.git diff --git a/solution/integration/smo/non-rt-ric/data/prepareDmaapMsg.sh b/solution/integration/smo/non-rt-ric/data/prepareDmaapMsg.sh index eebaf01..0a65a2e 100755 --- a/solution/integration/smo/non-rt-ric/data/prepareDmaapMsg.sh +++ b/solution/integration/smo/non-rt-ric/data/prepareDmaapMsg.sh @@ -79,10 +79,10 @@ echo -e "\n" for i in {1..12}; do echo "policy types from policy agent:" - curlString="curl -skw %{http_code} $httpx://localhost:8091/policy_types" + curlString="curl -skw %{http_code} $httpx://localhost:8091/a1-policy/v2/policy-types" res=$($curlString) echo "$res" - expect="[\"1\",\"2\"]200" + expect="{\"policytype_ids\":[\"1\",\"2\"]}200" if [ "$res" == "$expect" ]; then echo -e "\n" break;