X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=docker-compose%2Fdata%2FprepareEcsData.sh;h=76b5a05202d2ed639abb546ef85daac7b1ff70cc;hb=7f685c3b730ce857b32bbd4bdbb214795511ec62;hp=f949f4cf941f36688e986dbb72fdf9d57d7ae872;hpb=f0a158c3c32b6547c839c559548e4e4b729802e1;p=nonrtric.git diff --git a/docker-compose/data/prepareEcsData.sh b/docker-compose/data/prepareEcsData.sh index f949f4cf..76b5a052 100755 --- a/docker-compose/data/prepareEcsData.sh +++ b/docker-compose/data/prepareEcsData.sh @@ -69,15 +69,15 @@ echo -e "\n" # Create EiJob echo "Create EiJob Of A Certain Type type1:" -curl -X PUT -skw " %{http_code}" $httpx://localhost:$ecs_port/A1-EI/v1/eitypes/type1/eijobs/job1 -H Content-Type:application/json --data-binary @testdata/ECS/EiJob.json +curl -X PUT -skw " %{http_code}" $httpx://localhost:$ecs_port/A1-EI/v1/eijobs/job1 -H Content-Type:application/json --data-binary @testdata/ECS/EiJob.json echo -e "\n" -# Get EiJobs Of A Certain Type type1 -echo "Get EiJobs Of A Certain Type type1:" -curl -X GET -skw " %{http_code}" $httpx://localhost:$ecs_port/A1-EI/v1/eitypes/type1/eijobs -H Content-Type:application/json | jq +# Get EiJobs +echo "Get EiJobs:" +curl -X GET -skw " %{http_code}" $httpx://localhost:$ecs_port/A1-EI/v1/eijobs -H Content-Type:application/json | jq echo -e "\n" # Get Individual EiJob: echo "Get Individual EiJob:" -curl -X GET -skw " %{http_code}" $httpx://localhost:$ecs_port/A1-EI/v1/eitypes/type1/eijobs/job1 -H Content-Type:application/json | jq +curl -X GET -skw " %{http_code}" $httpx://localhost:$ecs_port/A1-EI/v1/eijobs/job1 -H Content-Type:application/json | jq echo -e "\n" \ No newline at end of file