diff options
author | Herbert Eiselt <herbert.eiselt@highstreet-technologies.com> | 2019-02-28 17:10:18 +0100 |
---|---|---|
committer | Herbert Eiselt <herbert.eiselt@highstreet-technologies.com> | 2019-02-28 17:10:46 +0100 |
commit | e91c316e653979d96c43fd107895be80b33832fc (patch) | |
tree | 13d40239d4588a5d3eda9467ad7ef112a16ae9d6 /sdnr/wt/devicemanager/provider/src/main/resources | |
parent | 49b155ec687cdf58fb51fe8245a2f5f4582b68f0 (diff) |
junit tests devicemanager
test cases added and improved
Change-Id: I3f0a6ca238e61ad140a3086504d4f21792b986e9
Issue-ID: SDNC-672
Signed-off-by: Herbert Eiselt <herbert.eiselt@highstreet-technologies.com>
Diffstat (limited to 'sdnr/wt/devicemanager/provider/src/main/resources')
-rw-r--r-- | sdnr/wt/devicemanager/provider/src/main/resources/elasticsearch/index/sdnevents/sdneventsMapping.json | 325 |
1 files changed, 168 insertions, 157 deletions
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" + } + } + } + } +} |