From e91c316e653979d96c43fd107895be80b33832fc Mon Sep 17 00:00:00 2001 From: Herbert Eiselt Date: Thu, 28 Feb 2019 17:10:18 +0100 Subject: junit tests devicemanager test cases added and improved Change-Id: I3f0a6ca238e61ad140a3086504d4f21792b986e9 Issue-ID: SDNC-672 Signed-off-by: Herbert Eiselt --- .../index/sdnevents/sdneventsMapping.json | 325 +++++++++++---------- 1 file changed, 168 insertions(+), 157 deletions(-) (limited to 'sdnr/wt/devicemanager/provider/src/main/resources/elasticsearch/index/sdnevents/sdneventsMapping.json') diff --git a/sdnr/wt/devicemanager/provider/src/main/resources/elasticsearch/index/sdnevents/sdneventsMapping.json b/sdnr/wt/devicemanager/provider/src/main/resources/elasticsearch/index/sdnevents/sdneventsMapping.json index 25cabedfc..83b7ffdaa 100644 --- a/sdnr/wt/devicemanager/provider/src/main/resources/elasticsearch/index/sdnevents/sdneventsMapping.json +++ b/sdnr/wt/devicemanager/provider/src/main/resources/elasticsearch/index/sdnevents/sdneventsMapping.json @@ -1,157 +1,168 @@ -{ - "mappings": { - "faultlog": { - "properties": { - "fault": { - "properties": { - "nodeName": { - "index": "not_analyzed", - "type": "string" - }, - "severity": { - "index": "not_analyzed", - "type": "string" - }, - "timeStamp": { - "index": "not_analyzed", - "type": "string" - }, - "problem": { - "index": "not_analyzed", - "type": "string" - }, - "counter": { - "index": "not_analyzed", - "type": "string" - }, - "objectId": { - "index": "not_analyzed", - "type": "string" - } - } - } - } - }, - "faultcurrent": { - "properties": { - "faultCurrent": { - "properties": { - "nodeName": { - "index": "not_analyzed", - "type": "string" - }, - "severity": { - "index": "not_analyzed", - "type": "string" - }, - "timeStamp": { - "index": "not_analyzed", - "type": "string" - }, - "problem": { - "index": "not_analyzed", - "type": "string" - }, - "counter": { - "index": "not_analyzed", - "type": "string" - }, - "objectId": { - "index": "not_analyzed", - "type": "string" - } - } - } - } - }, - "eventlog": { - "properties": { - "event": { - "properties": { - "nodeName": { - "index": "not_analyzed", - "type": "string" - }, - "timeStamp": { - "index": "not_analyzed", - "type": "string" - }, - "newValue": { - "index": "not_analyzed", - "type": "string" - }, - "attributeName": { - "index": "not_analyzed", - "type": "string" - }, - "counter": { - "index": "not_analyzed", - "type": "string" - }, - "objectId": { - "index": "not_analyzed", - "type": "string" - } - } - } - } - }, - - "inventorytoplevel": { - "properties": { - "uuidList": { - "index": "not_analyzed", - "type": "string" - }, - "mountpoint": { - "index": "not_analyzed", - "type": "string" - } - } - }, - "inventoryequipment": { - "properties": { - "date": { - "index": "not_analyzed", - "type": "string" - }, - "modelIdentifier": { - "index": "not_analyzed", - "type": "string" - }, - "partTypeId": { - "index": "not_analyzed", - "type": "string" - }, - "serial": { - "index": "not_analyzed", - "type": "string" - }, - "typeName": { - "index": "not_analyzed", - "type": "string" - }, - "description": { - "index": "not_analyzed", - "type": "string" - }, - "uuid": { - "index": "not_analyzed", - "type": "string" - }, - "version": { - "index": "not_analyzed", - "type": "string" - }, - "containedHolder": { - "index": "not_analyzed", - "type": "string" - }, - "mountpoint": { - "index": "not_analyzed", - "type": "string" - } - } - } - } -} +{ + "mappings": { + "faultlog": { + "properties": { + "fault": { + "properties": { + "nodeName": { + "index": "not_analyzed", + "type": "string" + }, + "severity": { + "index": "not_analyzed", + "type": "string" + }, + "timeStamp": { + "index": "not_analyzed", + "type": "string" + }, + "problem": { + "index": "not_analyzed", + "type": "string" + }, + "counter": { + "index": "not_analyzed", + "type": "string" + }, + "objectId": { + "index": "not_analyzed", + "type": "string" + } + } + } + } + }, + "faultcurrent": { + "properties": { + "faultCurrent": { + "properties": { + "nodeName": { + "index": "not_analyzed", + "type": "string" + }, + "severity": { + "index": "not_analyzed", + "type": "string" + }, + "timeStamp": { + "index": "not_analyzed", + "type": "string" + }, + "problem": { + "index": "not_analyzed", + "type": "string" + }, + "counter": { + "index": "not_analyzed", + "type": "string" + }, + "objectId": { + "index": "not_analyzed", + "type": "string" + } + } + } + } + }, + "eventlog": { + "properties": { + "event": { + "properties": { + "nodeName": { + "index": "not_analyzed", + "type": "string" + }, + "timeStamp": { + "index": "not_analyzed", + "type": "string" + }, + "newValue": { + "index": "not_analyzed", + "type": "string" + }, + "attributeName": { + "index": "not_analyzed", + "type": "string" + }, + "counter": { + "index": "not_analyzed", + "type": "string" + }, + "objectId": { + "index": "not_analyzed", + "type": "string" + } + } + } + } + }, + + "inventorytoplevel": { + "properties": { + "uuidList": { + "index": "not_analyzed", + "type": "string" + }, + "mountpoint": { + "index": "not_analyzed", + "type": "string" + } + } + }, + "inventoryequipment": { + "properties": { + "date": { + "index": "not_analyzed", + "type": "string" + }, + "modelIdentifier": { + "index": "not_analyzed", + "type": "string" + }, + "manufacturerIdentifier": { + "index": "not_analyzed", + "type": "string" + }, + "typeName": { + "index": "not_analyzed", + "type": "string" + }, + "description": { + "index": "not_analyzed", + "type": "string" + }, + "uuid": { + "index": "not_analyzed", + "type": "string" + }, + "version": { + "index": "not_analyzed", + "type": "string" + }, + "parentUuid": { + "index": "not_analyzed", + "type": "string" + }, + "containedHolder": { + "index": "not_analyzed", + "type": "string" + }, + "mountpoint": { + "index": "not_analyzed", + "type": "string" + }, + "treeLevel": { + "type": "long" + }, + "partTypeId": { + "index": "not_analyzed", + "type": "string" + }, + "serial": { + "index": "not_analyzed", + "type": "string" + } + } + } + } +} -- cgit 1.2.3-korg