From 9fbb2c4ed57dbdf9137bbd62f9925e177f940dd3 Mon Sep 17 00:00:00 2001 From: Herbert Eiselt Date: Mon, 18 Feb 2019 18:49:32 +0100 Subject: Increase Test coverage Increase Test coverage over 50 for SDN-R devicemanager Change-Id: I03eb5887d955abdfd4bdefa58c79c7f5356c9401 Issue-ID: SDNC-650 Signed-off-by: Herbert Eiselt --- .../modelDescription/G.874.1-ForMicrowave.json | 546 +++++++++++++++++++++ 1 file changed, 546 insertions(+) create mode 100644 sdnr/wt/devicemanager/provider/src/test/resources/elasticsearch/index/mwtn/modelDescription/G.874.1-ForMicrowave.json (limited to 'sdnr/wt/devicemanager/provider/src/test/resources/elasticsearch/index/mwtn/modelDescription/G.874.1-ForMicrowave.json') diff --git a/sdnr/wt/devicemanager/provider/src/test/resources/elasticsearch/index/mwtn/modelDescription/G.874.1-ForMicrowave.json b/sdnr/wt/devicemanager/provider/src/test/resources/elasticsearch/index/mwtn/modelDescription/G.874.1-ForMicrowave.json new file mode 100644 index 000000000..5c5daa757 --- /dev/null +++ b/sdnr/wt/devicemanager/provider/src/test/resources/elasticsearch/index/mwtn/modelDescription/G.874.1-ForMicrowave.json @@ -0,0 +1,546 @@ +{ + "schema-information": { + "OTN_CurrentData": { + "id": "OTN_CurrentData", + "uml-id": "_OxyHAOGJEeGhaeLtr7IxXg", + "uml-type": "uml:Class", + "is-read-only": false, + "description": [ + "This object class is an abstract class from which the OTN layer-specific CurrentData object classes are inherited. This object class is a subclass of the Q.822 CurrentData object class, which in turn is a subclass of X.739 Scanner object class. It inherits the following attributes: scannerId, operationalState, granularityPeriod, administrativeState, suspectIntervalFlag, elapsedTime, observedObjectClass, and observedObjectInstance." + ] + }, + "timestamp": { + "id": "timestamp", + "uml-id": "_bGwfoOGJEeGhaeLtr7IxXg", + "uml-type": "ownedAttribute", + "type": "_X-HZUNwbEeGoneTbGt8X0A", + "order-number": 1, + "is-read-only": false, + "description": [ + "The timestamp associated with when the current data was collected." + ] + }, + "OTN_HistoryData": { + "id": "OTN_HistoryData", + "uml-id": "_dQ2mYOGOEeGhaeLtr7IxXg", + "uml-type": "uml:Class", + "is-read-only": false, + "description": [ + "This object class is an abstract class from which the OTN layer-specific HistoryData object classes are inherited." + ] + }, + "«Q.822»-CurrentData": { + "id": "«Q.822»-CurrentData", + "uml-id": "_M8IDMceIEeSfd5vyUJsimg", + "uml-type": "uml:Class", + "is-read-only": false + }, + "suspectIntervalFlag": { + "id": "suspectIntervalFlag", + "uml-id": "_M8IDNceIEeSfd5vyUJsimg", + "uml-type": "ownedAttribute", + "type": "pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#Boolean", + "order-number": 1, + "is-read-only": false, + "description": [ + "This attribute is used to indicate that the performance data for the current period may not be reliable. Some reasons for this to occur are:- Suspect data were detected by the actual resource doing data collection.- Transition of the administrativeState attribute to/from the 'lock' state.- Transition of the operationalState to/from the 'disabled' state.- Scheduler setting that inhibits the collection function.- The performance counters were reset during the interval.- The currentData (or subclass) object instance was created during the monitoring period." + ] + }, + "elapsedTime": { + "id": "elapsedTime", + "uml-id": "_M8IDOMeIEeSfd5vyUJsimg", + "uml-type": "ownedAttribute", + "type": "pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#Integer", + "order-number": 2, + "is-read-only": false + }, + "«Q.822»-HistoryData": { + "id": "«Q.822»-HistoryData", + "uml-id": "_M8IDVMeIEeSfd5vyUJsimg", + "uml-type": "uml:Class", + "is-read-only": false + }, + "historyDataId": { + "id": "historyDataId", + "uml-id": "_M8IDWMeIEeSfd5vyUJsimg", + "uml-type": "ownedAttribute", + "type": "pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#String", + "order-number": 1, + "is-read-only": false, + "is-key": 1 + }, + "periodEndTime": { + "id": "periodEndTime", + "uml-id": "_M8IDWceIEeSfd5vyUJsimg", + "uml-type": "ownedAttribute", + "type": "../OnfModel-CoreModel/CoreModel.uml#_oGqi1lLNEeO75dO39GbF8Q", + "order-number": 2, + "is-read-only": false + }, + "«X.739»-Scanner": { + "id": "«X.739»-Scanner", + "uml-id": "_7wb90ceIEeSfd5vyUJsimg", + "uml-type": "uml:Class", + "is-read-only": false + }, + "scannerId": { + "id": "scannerId", + "uml-id": "_7wb91ceIEeSfd5vyUJsimg", + "uml-type": "ownedAttribute", + "type": "pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#String", + "order-number": 1, + "is-read-only": false, + "is-key": 1 + }, + "granularityPeriod": { + "id": "granularityPeriod", + "uml-id": "_M8IDWseIEeSfd5vyUJsimg", + "uml-type": "ownedAttribute", + "type": "_Y6WUEEamEeabNPX3o7rjtw", + "order-number": 2, + "is-read-only": false + }, + "administrativeState": { + "id": "administrativeState", + "uml-id": "_7wb92seIEeSfd5vyUJsimg", + "uml-type": "ownedAttribute", + "type": "../OnfModel-CoreModel/CoreModel.uml#_KSKOYLEuEeSZUdYfPSdgew", + "order-number": 3, + "is-read-only": false + }, + "«X.721»-Top": { + "id": "«X.721»-Top", + "uml-id": "_BMJ0EceTEeS6-cawxfHpnA", + "uml-type": "uml:Class", + "is-read-only": false, + "description": [ + "This is the top level of managed object class hierarchy and every other managed object class is a specialization of either this generic class (top) or a specialization of subclass of top. The parameter miscellaneousError is to be used when a processing failure has occurred and the error condition encountered does not match any of object's defined specific error types." + ] + }, + "objectClass": { + "id": "objectClass", + "uml-id": "_BMJ0FceTEeS6-cawxfHpnA", + "uml-type": "ownedAttribute", + "type": "_ltGzFMeUEeS6-cawxfHpnA", + "order-number": 1, + "is-read-only": false, + "description": [ + "ObjectClass ::= CHOICE{ globalForm [0] OBJECT IDENTIFIER, localForm [1] INTEGER}" + ] + }, + "nameBinding": { + "id": "nameBinding", + "uml-id": "_BMJ0F8eTEeS6-cawxfHpnA", + "uml-type": "ownedAttribute", + "type": "_ltGzFMeUEeS6-cawxfHpnA", + "order-number": 2, + "is-read-only": false + }, + "DateAndTime": { + "id": "DateAndTime", + "uml-id": "_X-HZUNwbEeGoneTbGt8X0A", + "uml-type": "uml:DataType", + "description": [ + "This primitive type defines the date and time according to the following structure: yyyyMMddhhmmss.s[Z|{+|-}HHMm] where: yyyy 0000 .. 9999 year MM 01 .. 12 month dd 01 .. 31 day hh 00 .. 23 hour mm 00 .. 59 minute ss 00 .. 59 second s .0 .. .9 tenth of second (set to .0 if EMS or NE cannot support this granularity) Z Z indicates UTC (rather than local time) {+|-} + or - delta from UTC HH 00 .. 23 time zone difference in hours Mm 00 .. 59 time zone difference in minutes." + ] + }, + "_5G6YQOo-EeCjNNLZCc6mew": { + "id": "Directionality", + "uml-id": "_5G6YQOo-EeCjNNLZCc6mew", + "enum": [ + "SINK", + "SOURCE", + "BIDIRECTIONAL" + ], + "is-read-only": false, + "description": [ + "The enumeration with the options for directionality of the termination point." + ] + }, + "_rU8aMOpfEeCjNNLZCc6mew": { + "id": "GccAccess", + "uml-id": "_rU8aMOpfEeCjNNLZCc6mew", + "enum": [ + "GCC1", + "GCC2", + "GCC1_AND_GCC2" + ], + "is-read-only": false, + "description": [ + "This enumeration indicates the GCC access represented by the entity." + ] + }, + "_W7-1oOpiEeCjNNLZCc6mew": { + "id": "OperationalState", + "uml-id": "_W7-1oOpiEeCjNNLZCc6mew", + "enum": [ + "ENABLED", + "DISABLED" + ], + "is-read-only": false, + "description": [ + "The list of valid operational states for the connection." + ] + }, + "_g0zCsOsDEeCjNNLZCc6mew": { + "id": "OperType", + "uml-id": "_g0zCsOsDEeCjNNLZCc6mew", + "enum": [ + "REVERTIVE", + "NON-REVERTIVE" + ], + "is-read-only": [ + "The operation type associated with the protection mechanism (either non-revertive or revertive)." + ] + }, + "_Jl09gOsKEeCjNNLZCc6mew": { + "id": "ExtCmdOperation", + "uml-id": "_Jl09gOsKEeCjNNLZCc6mew", + "enum": [ + "EXERCISE", + "MANUAL_SWITCH", + "FORCED_SWITCH", + "LOCKOUT", + "RELEASE_OF_MANUAL_SWITCH", + "RELEASE_OF_FORCED_SWITCH", + "RELEASE_OF_LOCKOUT" + ], + "is-read-only": false, + "description": [ + "This enumeration contains the options for the actions that instruct the protection system for performing specific protection switching operations." + ] + }, + "_bwxBQOw5EeCjNNLZCc6mew": { + "id": "AdministrativeState", + "uml-id": "_bwxBQOw5EeCjNNLZCc6mew", + "enum": [ + "UNLOCKED", + "LOCKED", + "SHUTTING_DOWN" + ], + "is-read-only": false, + "description": [ + "For more information on Administrative State, See ITU-T Recs. X.731 and M.3100." + ] + }, + "_ChQ5oOw-EeCjNNLZCc6mew": { + "id": "OCTk_NimKBitRate", + "uml-id": "_ChQ5oOw-EeCjNNLZCc6mew", + "enum": [ + "2.5_G", + "10_G", + "40_G", + "100_G" + ], + "is-read-only": false, + "description": [ + "Provides an enumeration with the meaning of each k value." + ] + }, + "_ZBtyUOw_EeCjNNLZCc6mew": { + "id": "TimDetMo", + "uml-id": "_ZBtyUOw_EeCjNNLZCc6mew", + "enum": [ + "DAPI", + "SAPI", + "BOTH" + ], + "is-read-only": false, + "description": [ + "List of modes for trace identifier mismatch detection." + ] + }, + "_HF864OxAEeCjNNLZCc6mew": { + "id": "OCTk_NimProblemList", + "uml-id": "_HF864OxAEeCjNNLZCc6mew", + "enum": [ + "LOS_P", + "OCI", + "SSF_P", + "SSF_O", + "SSF", + "TIM", + "DEG", + "BDI" + ], + "is-read-only": false, + "description": [ + "The valid list of problems for the entity." + ] + }, + "_WPoNoO3eEeCjNNLZCc6mew": { + "id": "TcmMonitoring", + "uml-id": "_WPoNoO3eEeCjNNLZCc6mew", + "enum": [ + "INTRUSIVE", + "NON-INTRUSIVE" + ], + "is-read-only": false, + "description": [ + "Monitoring types for the tandem connection monitoring function." + ] + }, + "_OI-7wO6QEeCjNNLZCc6mew": { + "id": "TcmMode", + "uml-id": "_OI-7wO6QEeCjNNLZCc6mew", + "enum": [ + "OPERATIONAL", + "TRANSPARENT", + "MONITOR" + ], + "is-read-only": false, + "description": [ + "List of value modes for the sink side of the tandem connection monitoring function." + ] + }, + "_ZnM8cO6ZEeCjNNLZCc6mew": { + "id": "OPSMnk_TtpKBitRate", + "uml-id": "_ZnM8cO6ZEeCjNNLZCc6mew", + "enum": [ + "40_G", + "100_G" + ], + "is-read-only": false, + "description": [ + "Provides an enumeration with the meaning of each k value." + ] + }, + "_pV-F8O6aEeCjNNLZCc6mew": { + "id": "OPSMnk_TtpProblemList", + "uml-id": "_pV-F8O6aEeCjNNLZCc6mew", + "enum": [ + "LOS", + "LOL" + ], + "is-read-only": false, + "description": [ + "The valid list of problems for the entity." + ] + }, + "_QW1SYO6bEeCjNNLZCc6mew": { + "id": "OPSn_TtpProblemList", + "uml-id": "_QW1SYO6bEeCjNNLZCc6mew", + "enum": [ + "LOS" + ], + "is-read-only": false, + "description": [ + "The valid list of problems for the entity." + ] + }, + "_o-oukO6bEeCjNNLZCc6mew": { + "id": "OTM-n_KBitRates", + "uml-id": "_o-oukO6bEeCjNNLZCc6mew", + "enum": [ + "2.5_G", + "10_G", + "40_G", + "2.5_10_G", + "10_40_G", + "2.5_10_40_G" + ], + "is-read-only": false, + "description": [ + "Provides an enumeration with the meaning of each k value." + ] + }, + "_KRCG4O6dEeCjNNLZCc6mew": { + "id": "DomainInterface", + "uml-id": "_KRCG4O6dEeCjNNLZCc6mew", + "enum": [ + "INTRA_DOMAIN", + "INTER_DOMAIN" + ], + "is-read-only": false, + "description": [ + "This enumeration provides the options for the interface associated with OTMn." + ] + }, + "_EOPyIO6qEeCjNNLZCc6mew": { + "id": "OTM-n_OpticalReach", + "uml-id": "_EOPyIO6qEeCjNNLZCc6mew", + "enum": [ + "INTRA_OFFICE", + "SHORTHAUL", + "LONGHAUL" + ], + "is-read-only": false, + "description": [ + "The valid options for reach of the optical cable." + ] + }, + "_6Bt3QO6qEeCjNNLZCc6mew": { + "id": "AprStatus", + "uml-id": "_6Bt3QO6qEeCjNNLZCc6mew", + "enum": [ + "ON", + "OFF" + ], + "is-read-only": false, + "description": [ + "The enumeration of the options for the Automatic Power Reduction Status." + ] + }, + "_FLzNQO6vEeCjNNLZCc6mew": { + "id": "OTSn_TtpProblemList", + "uml-id": "_FLzNQO6vEeCjNNLZCc6mew", + "enum": [ + "BDI_P", + "BDI_O", + "BDI", + "TIM", + "LOS_P", + "LOS_O", + "LOS" + ], + "is-read-only": false, + "description": [ + "The valid list of problems for the entity." + ] + }, + "_NAElYO6wEeCjNNLZCc6mew": { + "id": "OTUk_CtpAdaptation", + "uml-id": "_NAElYO6wEeCjNNLZCc6mew", + "enum": [ + "REGULAR", + "NONE", + "VENDOR_SPECIFIC", + "FUNCTIONALLY_STANDARDIZED" + ], + "is-read-only": false, + "description": [ + "The adaptation options for OTUk_ConnectionTermationPoints." + ] + }, + "_wgRHcO6wEeCjNNLZCc6mew": { + "id": "OTUk_CtpKBitRate", + "uml-id": "_wgRHcO6wEeCjNNLZCc6mew", + "enum": [ + "2.5_G", + "10_G", + "40_G", + "100_G" + ], + "is-read-only": false, + "description": [ + "Provides an enumeration with the meaning of each k value." + ] + }, + "_6Y_gEO6wEeCjNNLZCc6mew": { + "id": "OTUk_CtpProblemList", + "uml-id": "_6Y_gEO6wEeCjNNLZCc6mew", + "enum": [ + "LOF", + "AIS", + "LOM" + ], + "is-read-only": false, + "description": [ + "The valid list of problems for the entity." + ] + }, + "_xHNWMO6xEeCjNNLZCc6mew": { + "id": "OTUk_TtpProblemList", + "uml-id": "_xHNWMO6xEeCjNNLZCc6mew", + "enum": [ + "TIM", + "DEG", + "BDI", + "SSF" + ], + "is-read-only": false, + "description": [ + "The valid list of problems for the entity." + ] + }, + "_KRQ3MK8KEeG_zYhfU3oMYg": { + "id": "MonitoredDirection", + "uml-id": "_KRQ3MK8KEeG_zYhfU3oMYg", + "enum": [ + "SINK", + "SOURCE" + ], + "is-read-only": false, + "description": [ + "The enumeration with the options for directionality for nonintrusive monitoring." + ] + }, + "_qBme4LuYEeGeqZLpdvU3BA": { + "id": "DegThrType", + "uml-id": "_qBme4LuYEeGeqZLpdvU3BA", + "enum": [ + "PERCENTAGE", + "NUMBER_ERRORED_BLOCKS" + ], + "is-read-only": false, + "description": [ + "

The value of the threshold can be provisioned in terms of number of errored blocks or in terms of percentage of errored blocks. For percentage-based specification, in order to support provision of less than 1%, the specification consists of two fields. The first field indicates the granularity of percentage. For examples, in 1%, in 0.1%, or in 0.01%, etc. The second field indicates the multiple of the granularity. For number of errored block based, the value is a positive integer.

" + ] + }, + "_Parz8NwAEeGoneTbGt8X0A": { + "id": "LinkType", + "uml-id": "_Parz8NwAEeGoneTbGt8X0A", + "enum": [ + "DWDM", + "CWDM", + "NO_WDM" + ], + "is-read-only": false + }, + "_V1TuANwAEeGoneTbGt8X0A": { + "id": "ApplicationIdentifierType", + "uml-id": "_V1TuANwAEeGoneTbGt8X0A", + "enum": [ + "STANDARD", + "PROPRIETARY" + ], + "is-read-only": false + }, + "_yt7S4PzgEeG3u-aQKIiCtg": { + "id": "ApsChannel", + "uml-id": "_yt7S4PzgEeG3u-aQKIiCtg", + "enum": [ + "PATH", + "TCM1", + "TCM2", + "TCM3", + "TCM4", + "TCM5", + "TCM6", + "SECTION" + ], + "is-read-only": false + }, + "_LG3yQOVVEeKyU85eduW_rA": { + "id": "DelayMeasurementRole", + "uml-id": "_LG3yQOVVEeKyU85eduW_rA", + "enum": [ + "CONTROLLER", + "RESPONDER" + ], + "is-read-only": false + }, + "_7fy9sJSCEeOLxKCUIYtzCg": { + "id": "ResizeOperationType", + "uml-id": "_7fy9sJSCEeOLxKCUIYtzCg", + "enum": [ + "INCREASE_BW", + "DECREASE_BW" + ], + "is-read-only": false + }, + "_Y6WUEEamEeabNPX3o7rjtw": { + "id": "GranularityPeriodType", + "uml-id": "_Y6WUEEamEeabNPX3o7rjtw", + "enum": [ + "UNKNOWN", + "PERIOD_15MIN", + "PERIOD_24HOURS" + ], + "is-read-only": false, + "description": [ + "The enumeration with the options for granularity period of the performance data." + ] + } + } +} \ No newline at end of file -- cgit 1.2.3-korg