+ {
+ "id": "2d033da139fb379e",
+ "type": "comment",
+ "z": "51e83a0892da060e",
+ "name": "from OpenFronthaul Management-Plane",
+ "info": "",
+ "x": 820,
+ "y": 380,
+ "wires": []
+ },
+ {
+ "id": "456597d0477d239f",
+ "type": "inject",
+ "z": "51e83a0892da060e",
+ "name": "o-ran-file-management:file-download-event",
+ "props": [
+ {
+ "p": "payload"
+ },
+ {
+ "p": "topic",
+ "vt": "str"
+ }
+ ],
+ "repeat": "",
+ "crontab": "",
+ "once": false,
+ "onceDelay": 0.1,
+ "topic": "o-ran-file-management:file-download-event",
+ "payload": "",
+ "payloadType": "date",
+ "x": 840,
+ "y": 420,
+ "wires": [
+ [
+ "f40d1d16c7044edc",
+ "b5533c10604af5a6"
+ ]
+ ]
+ },
+ {
+ "id": "f40d1d16c7044edc",
+ "type": "function",
+ "z": "51e83a0892da060e",
+ "name": "vesStndDefindBody",
+ "func": "const eventTime = new Date(msg.payload).toISOString();\nmsg.payload = {\n schemaReference: 'https://gerrit.o-ran-sc.org/r/gitweb?p=scp/oam/modeling.git;a=blob_plain;f=data-model/yang/published/o-ran/ru-fh/o-ran-file-management.yang#components/schemas/ofhm-event-stream',\n stndDefinedFieldsVersion: '1.0',\n data: {\n 'ietf:notification': {\n 'eventTime': eventTime,\n 'o-ran-file-management:file-download-event': {\n 'local-logical-file-path': 'o-ran/log',\n 'remote-file-path': 'ftpes://username@ftpes.oam.smo.o-ran-sc/downloads',\n 'status': 'FAILURE',\n 'reject-reason': 'FTPes Server not reachable.'\n }\n }\n }\n};\nmsg.topic = 'stndDefinedFields';\nreturn msg;",
+ "outputs": 1,
+ "noerr": 0,
+ "initialize": "",
+ "finalize": "",
+ "libs": [],
+ "x": 1170,
+ "y": 420,
+ "wires": [
+ [
+ "f65b1c13e0243ef6"
+ ]
+ ]
+ },
+ {
+ "id": "3d8f8180f204d804",
+ "type": "inject",
+ "z": "51e83a0892da060e",
+ "name": "o-ran-file-management:file-upload-notification",
+ "props": [
+ {
+ "p": "payload"
+ },
+ {
+ "p": "topic",
+ "vt": "str"
+ }
+ ],
+ "repeat": "",
+ "crontab": "",
+ "once": false,
+ "onceDelay": 0.1,
+ "topic": "o-ran-file-management:file-upload-notification",
+ "payload": "",
+ "payloadType": "date",
+ "x": 850,
+ "y": 460,
+ "wires": [
+ [
+ "d473bf42d8169599",
+ "b5533c10604af5a6"
+ ]
+ ]
+ },
+ {
+ "id": "d473bf42d8169599",
+ "type": "function",
+ "z": "51e83a0892da060e",
+ "name": "vesStndDefindBody",
+ "func": "const eventTime = new Date(msg.payload).toISOString();\nmsg.payload = {\n schemaReference: 'https://gerrit.o-ran-sc.org/r/gitweb?p=scp/oam/modeling.git;a=blob_plain;f=data-model/yang/published/o-ran/ru-fh/o-ran-file-management.yang#components/schemas/ofhm-event-stream',\n stndDefinedFieldsVersion: '1.0',\n data: {\n 'ietf:notification': {\n 'eventTime': eventTime,\n 'o-ran-file-management:file-upload-notification': {\n 'local-logical-file-path': 'o-ran/log',\n 'remote-file-path': 'ftpes://username@ftpes.oam.smo.o-ran-sc/downloads',\n 'status': 'FAILURE',\n 'reject-reason': 'FTPes Server not reachable.'\n }\n }\n }\n};\nmsg.topic = 'stndDefinedFields';\nreturn msg;",
+ "outputs": 1,
+ "noerr": 0,
+ "initialize": "",
+ "finalize": "",
+ "libs": [],
+ "x": 1170,
+ "y": 460,
+ "wires": [
+ [
+ "f65b1c13e0243ef6"
+ ]
+ ]
+ },