Prepare for csit 60/2460/1
authorYongchaoWu <yongchao.wu@est.tech>
Mon, 10 Feb 2020 10:50:04 +0000 (11:50 +0100)
committeryongchao <yongchao.wu@est.tech>
Mon, 10 Feb 2020 10:52:44 +0000 (11:52 +0100)
change remote tag to latest
modify consul configuration

Issue-ID: NONRTRIC-115
Signed-off-by: YongchaoWu <yongchao.wu@est.tech>
Change-Id: Id65809bb9e5c8ee1fcffa91c4ad8b2980d20d442

near-rt-ric-simulator/common/testcase_common.sh
near-rt-ric-simulator/simulator-group/consul_cbs/config.json

index ae6563d..dfca543 100755 (executable)
@@ -10,7 +10,7 @@ echo "Test case started as: ${BASH_SOURCE[$i+1]} "$1
 STARTED_POLICY_AGENT="" #Policy agent app names added to this var to keep track of started container in the script
 START_ARG=$1
 IMAGE_TAG="1.0.0-SNAPSHOT"
-IMAGE_TAG_REMOTE="1.0.0"
+IMAGE_TAG_REMOTE="latest"
 
 if [ $# -lt 1 ] || [ $# -gt 2 ]; then
        echo "Expected arg: local  | remote  "
index 4dc0f6c..16975ca 100644 (file)
@@ -1,13 +1,28 @@
 {
-  "//description": "Application configuration",
-  "ric": [
-    {
-      "name": "ric3",
-      "baseUrl": "http://ric3:8085/",
-      "managedElementIds": [
-        "kista_5",
-        "kista_6"
-      ]
-    }
-  ]
+      "ric":[
+         {
+            "name":"ric3",
+            "baseUrl":"http://ric3:8085/",
+            "managedElementIds":[
+               "kista_1",
+               "kista_2"
+            ]
+         }
+      ],
+      "streams_publishes":{
+         "dmaap_publisher":{
+            "type":"message_router",
+            "dmaap_info":{
+               "topic_url":"http://admin:admin@localhost:6845/events/A1-POLICY-AGENT-WRITE"
+            }
+         }
+      },
+      "streams_subscribes":{
+         "dmaap_subscriber":{
+            "type":"message_router",
+            "dmaap_info":{
+               "topic_url":"http://admin:admin@localhost:6845/events/A1-POLICY-AGENT-READ/users/policy-agent"
+            }
+         }
+      }
 }