From 577247a99292445a59e86e7bfe565a58be9a538f Mon Sep 17 00:00:00 2001 From: Marcin Migdal Date: Fri, 7 Sep 2018 12:59:00 +0200 Subject: Extracting configs and schema for notifications Change-Id: Id004fdaabced8efbe6aff354db608d3d1b28a63e Issue-ID: INT-607 Signed-off-by: Marcin Migdal --- test/mocks/pnfsimulator/config/config.json | 41 ++++++++++++++++++++++-------- 1 file changed, 31 insertions(+), 10 deletions(-) (limited to 'test/mocks/pnfsimulator/config/config.json') diff --git a/test/mocks/pnfsimulator/config/config.json b/test/mocks/pnfsimulator/config/config.json index 2a67be511..6311d5ef5 100644 --- a/test/mocks/pnfsimulator/config/config.json +++ b/test/mocks/pnfsimulator/config/config.json @@ -1,24 +1,45 @@ - { "simulatorParams": { "vesServerUrl": "http://VES-HOST:VES-PORT/eventListener/v7", "testDuration": "10", "messageInterval": "1" }, - "messageParams": { - "pnf_serialNumber": "6061ZW3", - "pnf_vendorName": "Nokia", - "pnf_oamV4IpAddress": "val3", - "pnf_oamV6IpAddress": "val4", - "pnf_unitFamily": "BBU", - "pnf_modelNumber": "val6", - "pnf_softwareVersion": "val7", - "pnf_unitType": "val8", + "commonEventHeaderParams": { "eventName": "pnfRegistration_Nokia_5gDu", "nfNamingCode": "gNB", "nfcNamingCode": "oam", "sourceName": "NOK6061ZW3", "sourceId": "val13", "reportingEntityName": "NOK6061ZW3" + }, + "pnfRegistrationParams": { + "serialNumber": "6061ZW3", + "vendorName": "Nokia", + "oamV4IpAddress": "val3", + "oamV6IpAddress": "val4", + "unitFamily": "BBU", + "modelNumber": "val6", + "softwareVersion": "val7", + "unitType": "val8" + }, + "notificationParams": { + "changeIdentifier": "PM_MEAS_FILES", + "changeType": "FileReady", + "arrayOfNamedHashMap": [ + {"name": "A20161221.1031-1041.bin.gz", "hashMap": { + "location": "ftpes://192.169.0.1:22/ftp/rop/A20161224.1030-1045.bin.gz", + "compression": "gzip", + "fileformatType": "org.3GPP.32.435#measCollec", + "fileFormatVersion": "V10" + } + }, + {"name": "A20161222.1042-1102.bin.gz", "hashMap": { + "location": "ftpes://192.168.0.102:22/ftp/rop/A20161224.1045-1100.bin.gz", + "compression": "gzip", + "fileFormatType": "org.3GPP.32.435#measCollec", + "fileFormatVersion": "V10" + } + } + ] } } -- cgit 1.2.3-korg