Support for NOMA + some minor code refactoring
[ric-plt/alarm-go.git] / config / config-file.json
index f24f818..73a6c92 100755 (executable)
         "maxSize": 1024,
         "numWorkers": 1
     },
-    "promAlertManager": {
-        "address": "elfkp-prometheus-alertmanager:9093",
-        "baseUrl": "/api/v2",
-        "schemes": "http",
-        "alertInterval": 30000
-    },
-    "alarmDefinitions": [
-        {
-            "specificProblem": 1234,
-            "Text": "Connection to DBAAS server lost"
+    "controls": {
+        "promAlertManager": {
+            "address": "elfkp-prometheus-alertmanager:9093",
+            "baseUrl": "/api/v2",
+            "schemes": "http",
+            "alertInterval": 30000
         },
-        {
-            "specificProblem": 1235,
-            "Text": "Distribution of internal routing table failed due to timeout"
+        "noma": {
+            "enabled": false,
+            "host": "http://service-ricplt-noma-http:8087",
+            "alarmUrl": "ric/v1/noma/alarms"
         },
-        {
-            "specificProblem": 1236,
-            "Text": "E2 connection to gNB lost"
-        }
-    ]
+        "maxActiveAlarms": 5000,
+        "maxAlarmHistory": 20000
+    }
 }