Schemas used by HWxpp 89/2889/1
authorsjana <sj492a@att.com>
Fri, 20 Mar 2020 05:19:01 +0000 (01:19 -0400)
committersjana <sj492a@att.com>
Fri, 20 Mar 2020 05:19:01 +0000 (01:19 -0400)
Issue-ID: RICAPP-63

Signed-off-by: sjana <sj492a@att.com>
Change-Id: Id47341268a83ba2512039c3f06d5de144713fa79

schemas/hwxapp-policy.json [new file with mode: 0644]
schemas/hwxapp-ves.json [new file with mode: 0644]

diff --git a/schemas/hwxapp-policy.json b/schemas/hwxapp-policy.json
new file mode 100644 (file)
index 0000000..6f322ea
--- /dev/null
@@ -0,0 +1,22 @@
+{
+    "downstream_policy_message": {
+        "policy_type_id":21000,
+        "operation":"CREATE",
+        "policy_instance_id":"Hello-world",
+        "payload":{
+            "class":12,
+            "enforce":true,
+            "window_length":20,
+            "blocking_rate":20,
+            "trigger_threshold":10
+        }
+    },
+
+    "notify_policy_message": {
+        "policy_instance_id":"Hello-world",
+        "policy_type_id":21000,
+        "status":"OK",
+        "handler_id":"HWxAPP1234"
+    }
+}
+
diff --git a/schemas/hwxapp-ves.json b/schemas/hwxapp-ves.json
new file mode 100644 (file)
index 0000000..7bbf969
--- /dev/null
@@ -0,0 +1,30 @@
+{
+    
+    "metrics": {
+       "event": {
+           "commonEventHeader": {
+               "startEpochMicrosec": 1542231546086613,
+               "eventId": "HW Requests",
+               "eventType": "HW Request Rate",
+               "priority": "Normal",
+               "version": "4.0.1",
+               "reportingEntityName": "HW xAPP",
+               "sequence": 0,
+               "domain": "measurement",
+               "lastEpochMicrosec": 1542231556086613,
+               "eventName": "Measurement_vGMUX",
+               "sourceName": "hw-xapp",
+               "vesEventListenerVersion": "7.0.1"
+           },
+           "measurementFields": {
+               "additionalFields":{
+                   "Class Id":1,
+                   "HW Request Count":"100",
+                    "HW Accept Count":"10"
+               },
+               "measurementInterval":60,
+               "measurementFieldsVersion":"4.0"
+           }
+       }
+    }
+}