minor corrections 50/6150/1
authorecaiyanlinux <martin.c.yan@est.tech>
Thu, 27 May 2021 06:18:21 +0000 (14:18 +0800)
committerecaiyanlinux <martin.c.yan@est.tech>
Thu, 27 May 2021 06:18:21 +0000 (14:18 +0800)
minor corrections on tag version & misspelling

Signed-off-by: ecaiyanlinux <martin.c.yan@est.tech>
Issue-ID: NONRTRIC-507
Change-Id: I4e837ff3b6e7a292a2d58db7a1e95fd06d310d9f

docker-compose/data/prepareDmaapMsg.sh
docker-compose/ecs/docker-compose.yaml

index 503b0d2..73b07bc 100755 (executable)
@@ -69,7 +69,7 @@ curl -X PUT -skw %{http_code} $httpx://localhost:$a1_sim_OSC_port/policytype?id=
 echo -e "\n"
 
 echo "create policy type 2 to ric3:"
-curl -skw %{http_code} $httpx://localhost:$a1_sim_STD_v1_port/policytype?id=2 -X PUT -H Accept:application/json -H Content-Type:application/json -H X-Requested-With:XMLHttpRequest --data-binary @testdata/v1/policy_type.json
+curl -skw %{http_code} $httpx://localhost:$a1_sim_STD_v1_port/policytype?id=2 -X PUT -H Accept:application/json -H Content-Type:application/json -H X-Requested-With:XMLHttpRequest --data-binary @testdata/v2/policy_type.json
 echo -e "\n"
 
 for i in {1..12}; do
@@ -91,7 +91,7 @@ echo "create service 1 to policy agent via dmaap_mr:"
 curl -k -X POST -sw %{http_code} -H accept:application/json -H Content-Type:application/json "$httpx://localhost:$dmaa_mr_port/events/A1-POLICY-AGENT-READ/" --data-binary @testdata/dmaap/v1/dmaap-msg-service-create.json
 echo -e "\n"
 
-echo "ger result from mr of previous request:"
+echo "get result from mr of previous request:"
 curl -X GET "$httpx://localhost:$dmaa_mr_port/events/A1-POLICY-AGENT-WRITE/users/policy-agent?timeout=15000&limit=100" -H "accept: application/json" -H "Content-Type: application/json" | jq .
 echo -e "\n"
 
@@ -99,7 +99,7 @@ echo "create policies to ric1 & ric2 & ric3 with type1 and service1 via dmaa_mr:
 curl -k -X POST -sw %{http_code} -H accept:application/json -H Content-Type:application/json "$httpx://localhost:$dmaa_mr_port/events/A1-POLICY-AGENT-READ/" --data-binary @testdata/dmaap/v1/dmaap-msg-policy-create.json
 echo -e "\n"
 
-echo "ger result from mr of previous request:"
+echo "get result from mr of previous request:"
 curl -X GET "$httpx://localhost:$dmaa_mr_port/events/A1-POLICY-AGENT-WRITE/users/policy-agent?timeout=15000&limit=100" -H "accept: application/json" -H "Content-Type: application/json" | jq .
 echo -e "\n"
 
@@ -107,7 +107,7 @@ echo "get policy from policy agent via dmaap_mr:"
 curl -k -X POST -sw %{http_code} -H accept:application/json -H Content-Type:application/json "$httpx://localhost:$dmaa_mr_port/events/A1-POLICY-AGENT-READ/" --data-binary @testdata/dmaap/v1/dmaap-msg-policy-get.json
 echo -e "\n"
 
-echo "ger result from mr of previous request:"
+echo "get result from mr of previous request:"
 curl -X GET "$httpx://localhost:$dmaa_mr_port/events/A1-POLICY-AGENT-WRITE/users/policy-agent?timeout=15000&limit=100" -H "accept: application/json" -H "Content-Type: application/json" | jq .
 echo -e "\n"
 
@@ -116,7 +116,7 @@ echo "create service 2 to policy agent via dmaap_mr:"
 curl -k -X POST -sw %{http_code} -H accept:application/json -H Content-Type:application/json "$httpx://localhost:$dmaa_mr_port/events/A1-POLICY-AGENT-READ/" --data-binary @testdata/dmaap/v2/dmaap-msg-service-create.json
 echo -e "\n"
 
-echo "ger result from mr of previous request:"
+echo "get result from mr of previous request:"
 curl -X GET "$httpx://localhost:$dmaa_mr_port/events/A1-POLICY-AGENT-WRITE/users/policy-agent?timeout=15000&limit=100" -H "accept: application/json" -H "Content-Type: application/json" | jq .
 echo -e "\n"
 
@@ -124,7 +124,7 @@ echo "create policies to ric1 & ric2 & ric3 with type1 and service1 via dmaa_mr:
 curl -k -X POST -sw %{http_code} -H accept:application/json -H Content-Type:application/json "$httpx://localhost:$dmaa_mr_port/events/A1-POLICY-AGENT-READ/" --data-binary @testdata/dmaap/v2/dmaap-msg-policy-create.json
 echo -e "\n"
 
-echo "ger result from mr of previous request:"
+echo "get result from mr of previous request:"
 curl -X GET "$httpx://localhost:$dmaa_mr_port/events/A1-POLICY-AGENT-WRITE/users/policy-agent?timeout=15000&limit=100" -H "accept: application/json" -H "Content-Type: application/json" | jq .
 echo -e "\n"
 
@@ -132,7 +132,7 @@ echo "get policy from policy agent via dmaap_mr:"
 curl -k -X POST -sw %{http_code} -H accept:application/json -H Content-Type:application/json "$httpx://localhost:$dmaa_mr_port/events/A1-POLICY-AGENT-READ/" --data-binary @testdata/dmaap/v2/dmaap-msg-policy-get.json
 echo -e "\n"
 
-echo "ger result from mr of previous request:"
+echo "get result from mr of previous request:"
 curl -X GET "$httpx://localhost:$dmaa_mr_port/events/A1-POLICY-AGENT-WRITE/users/policy-agent?timeout=15000&limit=100" -H "accept: application/json" -H "Content-Type: application/json" | jq .
 echo -e "\n"
 
index 5cf391c..d33f329 100644 (file)
@@ -22,7 +22,7 @@ networks:
 
 services:
   ecs:
-    image: nexus3.o-ran-sc.org:10004/o-ran-sc/nonrtric-enrichment-coordinator-service:1.1.1
+    image: nexus3.o-ran-sc.org:10004/o-ran-sc/nonrtric-enrichment-coordinator-service:1.1.0
     container_name: ecs
     networks:
       default: