Added Controller configuration
[nonrtric.git] / policy-agent / src / test / resources / test_application_configuration_with_dmaap_config.json
index c945360..6d6cdce 100644 (file)
@@ -1,39 +1,47 @@
 {
-   "config": {
-      "//description": "Application configuration",
-      "ric": [
+   "config":{
+      "controller":[
          {
-            "name": "ric1",
-            "baseUrl": "http://localhost:8080/",
-            "managedElementIds": [
+          "name":"controller1",
+          "baseUrl":"http://localhost:8083/",
+          "userName":"user",
+          "password":"password"
+        }
+      ],
+      "ric":[
+         {
+            "name":"ric1",
+            "controller": "controller1",
+            "baseUrl":"http://localhost:8083/",
+            "managedElementIds":[
                "kista_1",
                "kista_2"
             ]
          },
          {
-            "name": "ric2",
-            "baseUrl": "http://localhost:8081/",
-            "managedElementIds": [
+            "name":"ric2",
+            "baseUrl":"http://localhost:8085/",
+            "managedElementIds":[
                "kista_3",
                "kista_4"
             ]
          }
-      ]
-   },
-   "streams_publishes": {
-      "dmaap_publisher": {
-         "type": "message_router",
-         "dmaap_info": {
-            "topic_url": "http://admin:admin@localhost:6845/events/A1-POLICY-AGENT-WRITE"
+      ],
+      "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"
+            }
          }
-      }
-   },
-   "streams_subscribes": {
-      "dmaap_subscriber": {
-         "dmaap_info": {
-            "topic_url": "http://admin:admin@localhost:6845/events/A1-POLICY-AGENT-READ/users/policy-agent"
-         },
-         "type": "message_router"
       }
    }
-}
\ No newline at end of file
+}