Update example-xapp
[ric-plt/xapp-frame.git] / examples / config / config-file.json
diff --git a/examples/config/config-file.json b/examples/config/config-file.json
new file mode 100755 (executable)
index 0000000..e9f412a
--- /dev/null
@@ -0,0 +1,38 @@
+{
+    "local": {
+        "host": ":8080"
+    },
+    "logger": {
+        "level": 3
+    },
+    "db": {        
+        "namespace": "sdl",
+        "waitForSdl": true
+    },
+    "controls": {
+        "subscriptionActive": true
+    },
+    "rmr": {
+       "protPort": "tcp:4560",
+       "maxSize": 65536,
+       "numWorkers": 1,
+       "rxMessages": ["RIC_SUB_RESP", "RIC_SUB_FAILURE", "RIC_SUB_DEL_RESP", "RIC_INDICATION"],
+       "txMessages": ["RIC_SUB_REQ", "RIC_SUB_DEL_REQ", "RIC_SGNB_ADDITION_REQ", "RIC_SGNB_ADDITION_ACK"]
+    },
+    "metrics": [
+        {
+            "objectName": "UEEventStreamingCounters",
+            "objectInstance": "SgNBAdditionRequest",
+            "name": "ricxapp_ExampleXapp_SgNBAdditionRequest",
+            "type": "counter",
+            "description": "The total number of SG addition request events processed"
+        },
+        {
+            "objectName": "UEEventStreamingCounters",
+            "objectInstance": "SgNBAdditionRequestAcknowledge",
+            "name": "ricxapp_ExampleXapp_SgNBAdditionRequestAcknowledge",
+            "type": "counter",
+            "description": "The total number of SG addition request acknowledge events"
+        }
+    ]
+}