+ "id": "391ce0bfa3b8003d",
+ "type": "inject",
+ "z": "51e83a0892da060e",
+ "d": true,
+ "name": "o-ran-beamforming:beamforming-information-update",
+ "props": [
+ {
+ "p": "payload"
+ },
+ {
+ "p": "topic",
+ "vt": "str"
+ }
+ ],
+ "repeat": "",
+ "crontab": "",
+ "once": false,
+ "onceDelay": 0.1,
+ "topic": "o-ran-beamforming:beamforming-information-update",
+ "payload": "",
+ "payloadType": "date",
+ "x": 850,
+ "y": 660,
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "966ca15e87b419f5",
+ "type": "inject",
+ "z": "51e83a0892da060e",
+ "d": true,
+ "name": "o-ran-beamforming:capability-group-beamforming-information-update",
+ "props": [
+ {
+ "p": "payload"
+ },
+ {
+ "p": "topic",
+ "vt": "str"
+ }
+ ],
+ "repeat": "",
+ "crontab": "",
+ "once": false,
+ "onceDelay": 0.1,
+ "topic": "o-ran-beamforming:capability-group-beamforming-information-update",
+ "payload": "",
+ "payloadType": "date",
+ "x": 900,
+ "y": 700,
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "243cffacec890e26",
+ "type": "inject",
+ "z": "51e83a0892da060e",
+ "d": true,
+ "name": "o-ran-beamforming:predefined-beam-tilt-offset-complete",
+ "props": [
+ {
+ "p": "payload"
+ },
+ {
+ "p": "topic",
+ "vt": "str"
+ }
+ ],
+ "repeat": "",
+ "crontab": "",
+ "once": false,
+ "onceDelay": 0.1,
+ "topic": "o-ran-beamforming:predefined-beam-tilt-offset-complete",
+ "payload": "",
+ "payloadType": "date",
+ "x": 860,
+ "y": 740,
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "843c4093e2ddd914",
+ "type": "inject",
+ "z": "51e83a0892da060e",
+ "d": true,
+ "name": "o-ran-externalio:external-input-change",
+ "props": [
+ {
+ "p": "payload"
+ },
+ {
+ "p": "topic",
+ "vt": "str"
+ }
+ ],
+ "repeat": "",
+ "crontab": "",
+ "once": false,
+ "onceDelay": 0.1,
+ "topic": "o-ran-externalio:external-input-change",
+ "payload": "",
+ "payloadType": "date",
+ "x": 810,
+ "y": 780,
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "627b31335d7e5b6f",
+ "type": "inject",
+ "z": "51e83a0892da060e",
+ "d": true,
+ "name": "o-ran-fm:alarm-notif",
+ "props": [
+ {
+ "p": "payload"
+ },
+ {
+ "p": "topic",
+ "vt": "str"
+ }
+ ],
+ "repeat": "",
+ "crontab": "",
+ "once": false,
+ "onceDelay": 0.1,
+ "topic": "o-ran-fm:alarm-notif",
+ "payload": "",
+ "payloadType": "date",
+ "x": 750,
+ "y": 900,
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "87c1e3e0e87bd7c1",
+ "type": "inject",
+ "z": "51e83a0892da060e",
+ "d": true,
+ "name": "o-ran-laa-operations:measurement-result",
+ "props": [
+ {
+ "p": "payload"
+ },
+ {
+ "p": "topic",
+ "vt": "str"
+ }
+ ],
+ "repeat": "",
+ "crontab": "",
+ "once": false,
+ "onceDelay": 0.1,
+ "topic": "o-ran-laa-operations:measurement-result",
+ "payload": "",
+ "payloadType": "date",
+ "x": 820,
+ "y": 940,
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "27d98684362bee02",
+ "type": "inject",
+ "z": "51e83a0892da060e",
+ "d": true,
+ "name": "o-ran-performance-management:measurement-result-stats",
+ "props": [
+ {
+ "p": "payload"
+ },
+ {
+ "p": "topic",
+ "vt": "str"
+ }
+ ],
+ "repeat": "",
+ "crontab": "",
+ "once": false,
+ "onceDelay": 0.1,
+ "topic": "o-ran-performance-management:measurement-result-stats",
+ "payload": "",
+ "payloadType": "date",
+ "x": 870,
+ "y": 980,
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "03292a70960f7d50",
+ "type": "inject",
+ "z": "51e83a0892da060e",
+ "d": true,
+ "name": "o-ran-software-management:activation-event",
+ "props": [
+ {
+ "p": "payload"
+ },
+ {
+ "p": "topic",
+ "vt": "str"
+ }
+ ],
+ "repeat": "",
+ "crontab": "",
+ "once": false,
+ "onceDelay": 0.1,
+ "topic": "o-ran-software-management:activation-event",
+ "payload": "",
+ "payloadType": "date",
+ "x": 830,
+ "y": 1020,
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "652dbf9c0ef73057",
+ "type": "inject",
+ "z": "51e83a0892da060e",
+ "d": true,
+ "name": "o-ran-software-management:download-event",
+ "props": [
+ {
+ "p": "payload"
+ },
+ {
+ "p": "topic",
+ "vt": "str"
+ }
+ ],
+ "repeat": "",
+ "crontab": "",
+ "once": false,
+ "onceDelay": 0.1,
+ "topic": "o-ran-software-management:download-event",
+ "payload": "",
+ "payloadType": "date",
+ "x": 830,
+ "y": 1060,
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "0636add6c6d4d5e2",
+ "type": "inject",
+ "z": "51e83a0892da060e",
+ "d": true,
+ "name": "o-ran-software-management:install-event",
+ "props": [
+ {
+ "p": "payload"
+ },
+ {
+ "p": "topic",
+ "vt": "str"
+ }
+ ],
+ "repeat": "",
+ "crontab": "",
+ "once": false,
+ "onceDelay": 0.1,
+ "topic": "o-ran-software-management:install-event",
+ "payload": "",
+ "payloadType": "date",
+ "x": 820,
+ "y": 1100,
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4c274d02a62c7565",
+ "type": "inject",
+ "z": "51e83a0892da060e",
+ "d": true,
+ "name": "o-ran-sync:gnss-state-change",
+ "props": [
+ {
+ "p": "payload"
+ },
+ {
+ "p": "topic",
+ "vt": "str"
+ }
+ ],
+ "repeat": "",
+ "crontab": "",
+ "once": false,
+ "onceDelay": 0.1,
+ "topic": "o-ran-sync:gnss-state-change",
+ "payload": "",
+ "payloadType": "date",
+ "x": 780,
+ "y": 1180,
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ad0e319d109512e7",
+ "type": "inject",
+ "z": "51e83a0892da060e",
+ "d": true,
+ "name": "o-ran-sync:ptp-state-change",
+ "props": [
+ {
+ "p": "payload"
+ },
+ {
+ "p": "topic",
+ "vt": "str"
+ }
+ ],
+ "repeat": "",
+ "crontab": "",
+ "once": false,
+ "onceDelay": 0.1,
+ "topic": "o-ran-sync:ptp-state-change",
+ "payload": "",
+ "payloadType": "date",
+ "x": 780,
+ "y": 1220,
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "de24c11aa05ce94e",
+ "type": "inject",
+ "z": "51e83a0892da060e",
+ "d": true,
+ "name": "o-ran-sync:synce-state-change",
+ "props": [
+ {
+ "p": "payload"
+ },
+ {
+ "p": "topic",
+ "vt": "str"
+ }
+ ],
+ "repeat": "",
+ "crontab": "",
+ "once": false,
+ "onceDelay": 0.1,
+ "topic": "o-ran-sync:synce-state-change",
+ "payload": "",
+ "payloadType": "date",
+ "x": 790,
+ "y": 1260,
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a9b33c01b841cc78",
+ "type": "inject",
+ "z": "51e83a0892da060e",
+ "d": true,
+ "name": "o-ran-sync:synchronization-state-change",
+ "props": [
+ {
+ "p": "payload"
+ },
+ {
+ "p": "topic",
+ "vt": "str"
+ }
+ ],
+ "repeat": "",
+ "crontab": "",
+ "once": false,
+ "onceDelay": 0.1,
+ "topic": "o-ran-sync:synchronization-state-change",
+ "payload": "",
+ "payloadType": "date",
+ "x": 820,
+ "y": 1300,
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f4a87018c664902f",
+ "type": "inject",
+ "z": "51e83a0892da060e",
+ "d": true,
+ "name": "o-ran-trace:trace-log-generated",
+ "props": [
+ {
+ "p": "payload"
+ },
+ {
+ "p": "topic",
+ "vt": "str"
+ }
+ ],
+ "repeat": "",
+ "crontab": "",
+ "once": false,
+ "onceDelay": 0.1,
+ "topic": "o-ran-trace:trace-log-generated",
+ "payload": "",
+ "payloadType": "date",
+ "x": 790,
+ "y": 1340,
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7cbe4e4faa26098b",
+ "type": "inject",
+ "z": "51e83a0892da060e",
+ "d": true,
+ "name": "o-ran-uplane-conf:rx-array-carriers-state-change",
+ "props": [
+ {
+ "p": "payload"
+ },
+ {
+ "p": "topic",
+ "vt": "str"
+ }
+ ],
+ "repeat": "",
+ "crontab": "",
+ "once": false,
+ "onceDelay": 0.1,
+ "topic": "o-ran-uplane-conf:rx-array-carriers-state-change",
+ "payload": "",
+ "payloadType": "date",
+ "x": 840,
+ "y": 1420,
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a5eeb9d399c203ca",
+ "type": "inject",
+ "z": "51e83a0892da060e",
+ "d": true,
+ "name": "o-ran-troubleshooting:troubleshooting-log-generated",
+ "props": [
+ {
+ "p": "payload"
+ },
+ {
+ "p": "topic",
+ "vt": "str"
+ }
+ ],
+ "repeat": "",
+ "crontab": "",
+ "once": false,
+ "onceDelay": 0.1,
+ "topic": "o-ran-troubleshooting:troubleshooting-log-generated",
+ "payload": "",
+ "payloadType": "date",
+ "x": 850,
+ "y": 1380,
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b9d72e03c66c78b3",
+ "type": "inject",
+ "z": "51e83a0892da060e",
+ "d": true,
+ "name": "o-ran-uplane-conf:tx-array-carriers-state-change",
+ "props": [
+ {
+ "p": "payload"
+ },
+ {
+ "p": "topic",
+ "vt": "str"
+ }
+ ],
+ "repeat": "",
+ "crontab": "",
+ "once": false,
+ "onceDelay": 0.1,
+ "topic": "o-ran-uplane-conf:tx-array-carriers-state-change",
+ "payload": "",
+ "payloadType": "date",
+ "x": 840,
+ "y": 1460,
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "bfa425cb3d578d07",
+ "type": "inject",
+ "z": "51e83a0892da060e",
+ "name": "notifyNewAlarm",
+ "props": [
+ {
+ "p": "payload"
+ },
+ {
+ "p": "topic",
+ "vt": "str"
+ }
+ ],
+ "repeat": "",
+ "crontab": "",
+ "once": false,
+ "onceDelay": 0.1,
+ "topic": "notifyNewAlarm",
+ "payload": "",
+ "payloadType": "date",
+ "x": 120,
+ "y": 620,
+ "wires": [
+ [
+ "f71ebd595a7de756",
+ "b5533c10604af5a6"
+ ]
+ ]
+ },
+ {
+ "id": "f71ebd595a7de756",
+ "type": "function",
+ "z": "51e83a0892da060e",
+ "name": "vesStndDefindBody",
+ "func": "const timeStamp = new Date(msg.payload);\nconst alarm = 'Connection Loss';\nconst severity = 'CRITICAL';\n\nmsg.payload = {\n schemaReference: 'https://forge.3gpp.org/rep/sa5/MnS/raw/Rel-18/OpenAPI/TS28532_FaultMnS.yaml#components/schemas/NotifyNewAlarm',\n stndDefinedFieldsVersion: '1.0',\n data: {\n href: global.get('os').hostname(),\n notificationId: Number(timeStamp),\n notificationType: msg.topic,\n eventTime: timeStamp.toISOString(),\n systemDN: '/',\n alarmId: alarm,\n alarmType: 'COMMUNICATIONS_ALARM',\n probableCause: alarm,\n specificProblem: alarm,\n perceivedSeverity: severity,\n backedUpStatus: true,\n backUpObject: 'xyz',\n trendIndication: 'MORE_SEVERE',\n thresholdInfo: {\n observedMeasurement: 'new',\n observedValue: 123.1\n },\n correlatedNotifications: [],\n stateChangeDefinition: [{ 'operational-state': 'DISABLED' }],\n monitoredAttributes: {\n interface: 'uuid-of-the-interface'\n },\n proposedRepairActions: 'Call the police!',\n additionalText: 'O-RAN Software Community OAM',\n additionalInformation: {\n description: 'a test alarm'\n },\n rootCauseIndicator: false\n }\n\n};\nmsg.topic = 'stndDefinedFields';\nreturn msg;",
+ "outputs": 1,
+ "noerr": 0,
+ "initialize": "",
+ "finalize": "",
+ "libs": [],
+ "x": 470,
+ "y": 620,
+ "wires": [
+ [
+ "f65b1c13e0243ef6"
+ ]
+ ]
+ },
+ {
+ "id": "82da4e47972195a4",
+ "type": "inject",
+ "z": "51e83a0892da060e",
+ "d": true,
+ "name": "notifyChangedAlarm",
+ "props": [
+ {
+ "p": "payload"
+ },
+ {
+ "p": "topic",
+ "vt": "str"
+ }
+ ],
+ "repeat": "",
+ "crontab": "",
+ "once": false,
+ "onceDelay": 0.1,
+ "topic": "notifyChangedAlarm",
+ "payload": "",
+ "payloadType": "date",
+ "x": 130,
+ "y": 660,
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a3d85c62bee11dad",
+ "type": "inject",
+ "z": "51e83a0892da060e",
+ "d": true,
+ "name": "notifyChangedAlarmGeneral",
+ "props": [
+ {
+ "p": "payload"
+ },
+ {
+ "p": "topic",
+ "vt": "str"
+ }
+ ],
+ "repeat": "",
+ "crontab": "",
+ "once": false,
+ "onceDelay": 0.1,
+ "topic": "notifyChangedAlarmGeneral",
+ "payload": "",
+ "payloadType": "date",
+ "x": 160,
+ "y": 700,
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e4651c07a56f2448",
+ "type": "inject",
+ "z": "51e83a0892da060e",
+ "d": true,
+ "name": "notifyAckStateChanged",
+ "props": [
+ {
+ "p": "payload"
+ },
+ {
+ "p": "topic",
+ "vt": "str"
+ }
+ ],
+ "repeat": "",
+ "crontab": "",
+ "once": false,
+ "onceDelay": 0.1,
+ "topic": "notifyAckStateChanged",
+ "payload": "",
+ "payloadType": "date",
+ "x": 140,
+ "y": 740,
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e949006e1b1fe0f0",
+ "type": "inject",
+ "z": "51e83a0892da060e",
+ "d": true,
+ "name": "notifyCorrelatedNotificationChanged",
+ "props": [
+ {
+ "p": "payload"
+ },
+ {
+ "p": "topic",
+ "vt": "str"
+ }
+ ],
+ "repeat": "",
+ "crontab": "",
+ "once": false,
+ "onceDelay": 0.1,
+ "topic": "notifyCorrelatedNotificationChanged",
+ "payload": "",
+ "payloadType": "date",
+ "x": 180,
+ "y": 780,
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a80169493419d5d0",
+ "type": "inject",
+ "z": "51e83a0892da060e",
+ "d": true,
+ "name": "notifyComments",
+ "props": [
+ {
+ "p": "payload"
+ },
+ {
+ "p": "topic",
+ "vt": "str"
+ }
+ ],
+ "repeat": "",
+ "crontab": "",
+ "once": false,
+ "onceDelay": 0.1,
+ "topic": "notifyComments",
+ "payload": "",
+ "payloadType": "date",
+ "x": 120,
+ "y": 820,
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9e0f49b3d9b0a5ef",
+ "type": "inject",
+ "z": "51e83a0892da060e",
+ "name": "notifyClearedAlarm",
+ "props": [
+ {
+ "p": "payload"
+ },
+ {
+ "p": "topic",
+ "vt": "str"
+ }
+ ],
+ "repeat": "",
+ "crontab": "",
+ "once": false,
+ "onceDelay": 0.1,
+ "topic": "notifyClearedAlarm",
+ "payload": "",
+ "payloadType": "date",
+ "x": 130,
+ "y": 860,
+ "wires": [
+ [
+ "69b8d53969426ebf",
+ "b5533c10604af5a6"
+ ]
+ ]
+ },
+ {
+ "id": "418d585d7406029b",
+ "type": "inject",
+ "z": "51e83a0892da060e",
+ "d": true,
+ "name": "notifyAlarmListRebuilt",
+ "props": [
+ {
+ "p": "payload"
+ },
+ {
+ "p": "topic",
+ "vt": "str"
+ }
+ ],
+ "repeat": "",
+ "crontab": "",
+ "once": false,
+ "onceDelay": 0.1,
+ "topic": "notifyAlarmListRebuilt",
+ "payload": "",
+ "payloadType": "date",
+ "x": 140,
+ "y": 900,
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f856982bb3c3a65c",
+ "type": "inject",
+ "z": "51e83a0892da060e",
+ "d": true,
+ "name": "notifyPotentialFaultyAlarmList",
+ "props": [
+ {
+ "p": "payload"
+ },
+ {
+ "p": "topic",
+ "vt": "str"
+ }
+ ],
+ "repeat": "",
+ "crontab": "",
+ "once": false,
+ "onceDelay": 0.1,
+ "topic": "notifyPotentialFaultyAlarmList",
+ "payload": "",
+ "payloadType": "date",
+ "x": 160,
+ "y": 940,
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4617f66b8940469e",
+ "type": "comment",
+ "z": "51e83a0892da060e",
+ "name": "TS28532_FaultMnS.yaml",
+ "info": "",
+ "x": 130,
+ "y": 580,
+ "wires": []
+ },
+ {
+ "id": "69b8d53969426ebf",
+ "type": "function",
+ "z": "51e83a0892da060e",
+ "name": "vesStndDefindBody",
+ "func": "const timeStamp = new Date(msg.payload);\nconst alarm = 'Connection Loss';\nconst severity = 'CRITICAL';\n\nmsg.payload = {\n schemaReference: 'https://forge.3gpp.org/rep/sa5/MnS/raw/Rel-18/OpenAPI/TS28532_FaultMnS.yaml#components/schemas/NotifyClearedAlarm',\n stndDefinedFieldsVersion: '1.0',\n data: {\n href: global.get('os').hostname(),\n notificationId: Number(timeStamp),\n notificationType: msg.topic,\n eventTime: timeStamp.toISOString(),\n systemDN: '/',\n alarmId: alarm,\n alarmType: 'COMMUNICATIONS_ALARM',\n probableCause: alarm,\n perceivedSeverity: severity,\n correlatedNotifications: [],\n clearSystemId: global.get('os').hostname()\n }\n\n};\nmsg.topic = 'stndDefinedFields';\nreturn msg;",
+ "outputs": 1,
+ "noerr": 0,
+ "initialize": "",
+ "finalize": "",
+ "libs": [],
+ "x": 470,
+ "y": 860,
+ "wires": [
+ [
+ "f65b1c13e0243ef6"
+ ]
+ ]
+ },
+ {
+ "id": "01e14b971772ee0a",
+ "type": "comment",
+ "z": "51e83a0892da060e",
+ "name": "TS28532_FileDataReportingMnS.yaml",
+ "info": "",
+ "x": 170,
+ "y": 460,
+ "wires": []
+ },
+ {
+ "id": "ea15cafd2325d76f",
+ "type": "inject",
+ "z": "51e83a0892da060e",
+ "name": "notifyFilePreparationError",
+ "props": [
+ {
+ "p": "payload"
+ },
+ {
+ "p": "topic",
+ "vt": "str"
+ }
+ ],
+ "repeat": "",
+ "crontab": "",
+ "once": false,
+ "onceDelay": 0.1,
+ "topic": "notifyFilePreparationError",
+ "payload": "",
+ "payloadType": "date",
+ "x": 150,
+ "y": 540,
+ "wires": [
+ [
+ "9f4bc0920fa3c0eb",
+ "b5533c10604af5a6"
+ ]
+ ]
+ },
+ {
+ "id": "9f4bc0920fa3c0eb",
+ "type": "function",
+ "z": "51e83a0892da060e",
+ "name": "vesStndDefindBody",
+ "func": "const timeStamp = new Date(msg.payload);\nconst startTime = new Date(Math.floor(Number(timeStamp) / 900000) * 900000);\nconst endTime = new Date(Number(startTime) + 900000);\nconst paddy = (num, padlen, padchar) => {\n const pad_char = typeof padchar !== 'undefined' ? padchar : '0';\n const pad = new Array(1 + padlen).join(pad_char);\n return (pad + num).slice(-pad.length);\n}\nconst fileStartTime = [\n paddy(startTime.getFullYear(), 4),\n paddy(startTime.getMonth() + 1, 2),\n paddy(startTime.getDate(), 2),\n '.',\n paddy(startTime.getHours(), 2),\n paddy(startTime.getMinutes(), 2),\n '+0000'\n].join('');\nconst fileEndTime = [\n paddy(endTime.getHours(), 2),\n paddy(endTime.getMinutes(), 2),\n '+0000'\n].join('');\nconst fileLocation = ['/pm-data-files/A', fileStartTime, '-', fileEndTime, '_', env.get('APP_NETWORK_FUNCTION_ID'), '.xml'].join('');\nmsg.payload = {\n schemaReference: 'https://forge.3gpp.org/rep/sa5/MnS/raw/Rel-18/OpenAPI/TS28532_FileDataReportingMnS.yaml#components/schemas/NotifyFilePreparationError',\n stndDefinedFieldsVersion: '1.0',\n data: {\n href: global.get('os').hostname(),\n notificationId: Number(startTime),\n notificationType: msg.topic,\n eventTime: timeStamp.toISOString(),\n systemDN: '/',\n fileInfoList: [\n {\n fileLocation: fileLocation,\n fileSize: 1234,\n fileReadyTime: startTime.toISOString(),\n fileExpirationTime: endTime.toISOString(),\n fileCompression: 'no',\n fileFormat: 'xml',\n fileDataType: 'Performance'\n }\n ],\n reason: 'No Measurements',\n additionalText: 'Please consult customer documentation!'\n }\n};\nmsg.topic = 'stndDefinedFields';\nreturn msg;",
+ "outputs": 1,
+ "noerr": 0,
+ "initialize": "",
+ "finalize": "",
+ "libs": [],
+ "x": 470,
+ "y": 540,
+ "wires": [
+ [
+ "f65b1c13e0243ef6"
+ ]
+ ]
+ },
+ {
+ "id": "910dfec7eb74df65",
+ "type": "inject",
+ "z": "c5746e29f53f72ce",
+ "name": "pnfRegistration",
+ "props": [
+ {
+ "p": "payload"
+ },
+ {
+ "p": "topic",
+ "vt": "str"
+ }
+ ],
+ "repeat": "60",
+ "crontab": "",
+ "once": false,
+ "onceDelay": 0.1,
+ "topic": "pnfRegistration",
+ "payload": "",
+ "payloadType": "date",
+ "x": 240,
+ "y": 80,
+ "wires": [
+ [
+ "e5f66f4bd6777ca0"
+ ]
+ ]
+ },
+ {
+ "id": "562063a080cb99d6",
+ "type": "debug",
+ "z": "c5746e29f53f72ce",
+ "name": "eventData",
+ "active": true,
+ "tosidebar": true,
+ "console": true,
+ "tostatus": true,
+ "complete": "payload",
+ "targetType": "msg",
+ "statusVal": "payload.length",
+ "statusType": "msg",
+ "x": 1170,
+ "y": 220,
+ "wires": []
+ },
+ {
+ "id": "172060688d87f510",
+ "type": "inject",
+ "z": "c5746e29f53f72ce",
+ "d": true,
+ "name": "notifyHeartbeat",
+ "props": [
+ {
+ "p": "payload"
+ },
+ {
+ "p": "topic",
+ "vt": "str"
+ }
+ ],
+ "repeat": "5",
+ "crontab": "",
+ "once": true,
+ "onceDelay": 0.1,
+ "topic": "notifyHeartbeat",
+ "payload": "",
+ "payloadType": "date",
+ "x": 230,
+ "y": 400,
+ "wires": [
+ [
+ "e5f66f4bd6777ca0"
+ ]
+ ]
+ },
+ {
+ "id": "311c3b5d3d73fc24",
+ "type": "inject",
+ "z": "c5746e29f53f72ce",
+ "name": "notifyFileReady",
+ "props": [
+ {
+ "p": "payload"
+ },
+ {
+ "p": "topic",
+ "vt": "str"
+ }
+ ],
+ "repeat": "",
+ "crontab": "",
+ "once": false,
+ "onceDelay": 0.1,
+ "topic": "notifyFileReady",
+ "payload": "",
+ "payloadType": "date",
+ "x": 240,
+ "y": 480,
+ "wires": [
+ [
+ "e5f66f4bd6777ca0"
+ ]
+ ]
+ },
+ {
+ "id": "5437e3fdfca300c9",
+ "type": "http request",
+ "z": "c5746e29f53f72ce",
+ "name": "",
+ "method": "GET",
+ "ret": "txt",
+ "paytoqs": "ignore",
+ "url": "",
+ "tls": "7b2f4859e5963695",
+ "persist": true,
+ "proxy": "",
+ "insecureHTTPParser": true,
+ "authType": "",
+ "senderr": false,
+ "headers": [],
+ "x": 850,
+ "y": 220,
+ "wires": [
+ [
+ "dc576b6355478428"
+ ]
+ ]
+ },
+ {
+ "id": "dc576b6355478428",
+ "type": "function",
+ "z": "c5746e29f53f72ce",
+ "name": "Provider",
+ "func": "const string = msg.payload;\nconst array = JSON.parse(string);\nif (Array.isArray(array)) {\n msg.payload = array.map( (item) => {\n if (typeof item === 'string' || item instanceof String) {\n return JSON.parse(item);\n }\n });\n} else {\n msg.payload = array;\n}\nglobal.set('topicData', msg.payload)\nreturn msg;",
+ "outputs": 1,
+ "noerr": 0,
+ "initialize": "",
+ "finalize": "",
+ "libs": [],
+ "x": 1020,
+ "y": 220,
+ "wires": [
+ [
+ "562063a080cb99d6"
+ ]
+ ]
+ },
+ {
+ "id": "e5f66f4bd6777ca0",
+ "type": "function",
+ "z": "c5746e29f53f72ce",
+ "name": "http-preparation",
+ "func": "const protocol = env.get('MESSAGES_PROTOCOL');\nconst host = env.get('MESSAGES_HOST');\nconst port = env.get('MESSAGES_PORT');;\nconst base = protocol + '://' + host + ':' + port;\n\nconst path = 'events';\nconst urlMapping = {\n pnfRegistration: 'unauthenticated.VES_PNFREG_OUTPUT',\n heartbeat: 'unauthenticated.SEC_HEARTBEAT_OUTPUT',\n fault: 'unauthenticated.SEC_FAULT_OUTPUT',\n o1NotifyPnfRegistration: 'unauthenticated.VES_O1_NOTIFY_PNF_REGISTRATION_OUTPUT',\n oRanScDuHelloWorldPmStreaming: 'unauthenticated.VES_O_RAN_SC_HELLO_WORLD_PM_STREAMING_OUTPUT',\n notifyHeartbeat: 'unauthenticated.SEC_3GPP_HEARTBEAT_OUTPUT',\n notifyFileReady: 'unauthenticated.VES_FILE_READY_OUTPUT',\n notifyFilePreparationError: 'unauthenticated.VES_FILE_READY_OUTPUT',\n oRanOpenfrontManagementPlane: 'unauthenticated.VES_O_RAN_SC_OPENFRONTHAUL_OUTPUT',\n notifyNewAlarm: 'unauthenticated.SEC_3GPP_FAULTSUPERVISION_OUTPUT',\n notifyChangedAlarm: 'unauthenticated.SEC_3GPP_FAULTSUPERVISION_OUTPUT',\n notifyChangedAlarmGeneral: 'unauthenticated.SEC_3GPP_FAULTSUPERVISION_OUTPUT',\n notifyAckStateChanged: 'unauthenticated.SEC_3GPP_FAULTSUPERVISION_OUTPUT',\n notifyCorrelatedNotificationChanged: 'unauthenticated.SEC_3GPP_FAULTSUPERVISION_OUTPUT',\n notifyComments: 'unauthenticated.SEC_3GPP_FAULTSUPERVISION_OUTPUT',\n notifyClearedAlarm: 'unauthenticated.SEC_3GPP_FAULTSUPERVISION_OUTPUT',\n notifyAlarmListRebuilt: 'unauthenticated.SEC_3GPP_FAULTSUPERVISION_OUTPUT',\n notifyPotentialFaultyAlarmList: 'unauthenticated.SEC_3GPP_FAULTSUPERVISION_OUTPUT'\n};\nconst longPolling = '?timeout=60000'\nconst urlTopic = urlMapping[msg.topic] || msg.topic.replace(':', '-');\nmsg.url = [base, path, urlTopic, '1', '1'].join('/') + longPolling;\nreturn msg;",
+ "outputs": 1,
+ "noerr": 0,
+ "initialize": "",
+ "finalize": "",
+ "libs": [],
+ "x": 500,
+ "y": 220,
+ "wires": [
+ [
+ "5437e3fdfca300c9"
+ ]
+ ]
+ },
+ {
+ "id": "42275e9c12f8e52b",
+ "type": "comment",
+ "z": "c5746e29f53f72ce",
+ "name": "from O-RAN-SC",
+ "info": "",
+ "x": 100,
+ "y": 220,
+ "wires": []
+ },
+ {
+ "id": "e07fa97ebc66dce0",
+ "type": "comment",
+ "z": "c5746e29f53f72ce",
+ "name": "from ONAP",
+ "info": "",
+ "x": 90,
+ "y": 40,
+ "wires": []
+ },
+ {
+ "id": "44b8c2cc138777f1",
+ "type": "comment",
+ "z": "c5746e29f53f72ce",
+ "name": "from SA5 R-18 branch",
+ "info": "",
+ "x": 120,
+ "y": 360,
+ "wires": []
+ },
+ {
+ "id": "4480e5473a65a757",
+ "type": "inject",
+ "z": "c5746e29f53f72ce",
+ "name": "oRanScDuHelloWorldPmStreaming",
+ "props": [
+ {
+ "p": "payload"
+ },
+ {
+ "p": "topic",
+ "vt": "str"
+ }
+ ],
+ "repeat": "",
+ "crontab": "",
+ "once": false,
+ "onceDelay": 0.1,
+ "topic": "oRanScDuHelloWorldPmStreaming",
+ "payload": "",
+ "payloadType": "date",
+ "x": 180,
+ "y": 300,
+ "wires": [
+ [
+ "e5f66f4bd6777ca0"
+ ]
+ ]
+ },
+ {
+ "id": "52f22ee054e5b4ac",
+ "type": "inject",
+ "z": "c5746e29f53f72ce",
+ "name": "o1NotifyPnfRegistration",
+ "props": [
+ {
+ "p": "payload"
+ },
+ {
+ "p": "topic",
+ "vt": "str"
+ }
+ ],
+ "repeat": "",
+ "crontab": "",
+ "once": false,
+ "onceDelay": 0.1,
+ "topic": "o1NotifyPnfRegistration",
+ "payload": "",
+ "payloadType": "date",
+ "x": 220,
+ "y": 260,
+ "wires": [
+ [
+ "e5f66f4bd6777ca0"
+ ]
+ ]
+ },
+ {
+ "id": "3051f52553efaaa4",
+ "type": "http request",
+ "z": "c5746e29f53f72ce",
+ "name": "",
+ "method": "GET",
+ "ret": "txt",
+ "paytoqs": "ignore",
+ "url": "",
+ "tls": "7b2f4859e5963695",
+ "persist": true,
+ "proxy": "",
+ "insecureHTTPParser": true,
+ "authType": "",
+ "senderr": false,
+ "headers": [],
+ "x": 850,
+ "y": 180,
+ "wires": [
+ [
+ "dc576b6355478428"
+ ]
+ ]
+ },
+ {
+ "id": "0acceacb99b7981a",
+ "type": "inject",
+ "z": "c5746e29f53f72ce",
+ "name": "Topics?",
+ "props": [
+ {
+ "p": "payload"
+ },
+ {
+ "p": "topic",
+ "vt": "str"
+ }
+ ],
+ "repeat": "",
+ "crontab": "",
+ "once": false,
+ "onceDelay": 0.1,
+ "topic": "topics",
+ "payload": "",
+ "payloadType": "date",
+ "x": 530,
+ "y": 180,
+ "wires": [
+ [
+ "e4ec70e46406674f"
+ ]
+ ]
+ },
+ {
+ "id": "34b7ac222692e06d",
+ "type": "comment",
+ "z": "c5746e29f53f72ce",