Create template for notifyHeartbeat 51/9351/1
authordemx8as6 <martin.skorupski@highstreet-technologies.com>
Fri, 21 Oct 2022 12:41:52 +0000 (14:41 +0200)
committerdemx8as6 <martin.skorupski@highstreet-technologies.com>
Fri, 21 Oct 2022 12:41:57 +0000 (14:41 +0200)
- json template
- the unit for heartbeatNtfPeriod is "s" according to 3GPP TS 28.622

IssueID: 293
Change-Id: Ieb02fa22bc231f23ad70956c5604c2a516c46be9
Signed-off-by: demx8as6 <martin.skorupski@highstreet-technologies.com>
code/client-scripts-ves-v7/json/templates/stndDefined-heartbeat.json [new file with mode: 0644]

diff --git a/code/client-scripts-ves-v7/json/templates/stndDefined-heartbeat.json b/code/client-scripts-ves-v7/json/templates/stndDefined-heartbeat.json
new file mode 100644 (file)
index 0000000..34e302c
--- /dev/null
@@ -0,0 +1,36 @@
+{
+  "event": {
+    "commonEventHeader": {
+      "domain": "@domain@",
+      "eventId": "@eventId@",
+      "eventName": "@domain@_@eventType@_heartbeat",
+      "eventType": "@eventType@_heartbeat",
+      "sequence": 0,
+      "priority": "Low",
+      "reportingEntityId": "",
+      "reportingEntityName": "@controllerName@",
+      "sourceId": "",
+      "sourceName": "@pnfId@",
+      "startEpochMicrosec": "@timestamp@",
+      "lastEpochMicrosec": "@timestamp@",
+      "nfNamingCode": "@type@",
+      "nfVendorName": "@vendor@",
+      "timeZoneOffset": "+00:00",
+      "version": "4.1",
+      "stndDefinedNamespace": "3GPP-Heartbeat",
+      "vesEventListenerVersion": "7.2.1"
+    },
+    "stndDefinedFields": {
+      "schemaReference": "https://forge.3gpp.org/rep/sa5/MnS/-/raw/Rel-16/OpenAPI/TS28532_HeartbeatNtf.yaml#components/schemas/NotifyHeartbeat",
+      "data": {
+        "href": "href1",
+        "notificationId": 0,
+        "notificationType": "notifyHeartbeat",
+        "eventTime": "@eventTime@",
+        "systemDN": "xyz",
+        "heartbeatNtfPeriod": 120
+      },
+      "stndDefinedFieldsVersion": "1.0"
+    }
+  }
+}
\ No newline at end of file