diff options
author | Stone, Avi (as206k) <as206k@att.com> | 2018-04-12 16:36:39 +0300 |
---|---|---|
committer | Stone, Avi (as206k) <as206k@att.com> | 2018-04-12 16:36:39 +0300 |
commit | 9b2ceb347a3371819fcad6bbe2268203afecaf4e (patch) | |
tree | fbb5ea2c147d71dfeeec0882b215423e7b7206b4 /public/cypress/fixtures | |
parent | 72dc8e3298d3e4315cdd9717b778671cb0b625bc (diff) |
DCAE-D fe initial commit
DCAE-D fe initial commit
Change-Id: Ica8ccb7c7ef769c969664d1e168d205eb9fc67f2
Issue-ID: SDC-1218
Signed-off-by: Stone, Avi (as206k) <as206k@att.com>
Diffstat (limited to 'public/cypress/fixtures')
-rw-r--r-- | public/cypress/fixtures/TranslateSimpleCopy.json | 26 | ||||
-rw-r--r-- | public/cypress/fixtures/createMcRes.json | 972 | ||||
-rw-r--r-- | public/cypress/fixtures/doneSaveSimpleCopy.json | 21 | ||||
-rw-r--r-- | public/cypress/fixtures/example.json | 5 | ||||
-rw-r--r-- | public/cypress/fixtures/getMCMock.json | 628 | ||||
-rw-r--r-- | public/cypress/fixtures/igorCreateMcRes.json | 1960 | ||||
-rw-r--r-- | public/cypress/fixtures/importVfcmt.json | 93 | ||||
-rw-r--r-- | public/cypress/fixtures/list-events-by-version.json | 29 | ||||
-rw-r--r-- | public/cypress/fixtures/monitoringComponentsMock.json | 123 | ||||
-rw-r--r-- | public/cypress/fixtures/serviceDdl.json | 24 | ||||
-rw-r--r-- | public/cypress/fixtures/syslogTargetTree.json | 239 | ||||
-rw-r--r-- | public/cypress/fixtures/templateMock.json | 15 | ||||
-rw-r--r-- | public/cypress/fixtures/vfniMock.json | 12 |
13 files changed, 4147 insertions, 0 deletions
diff --git a/public/cypress/fixtures/TranslateSimpleCopy.json b/public/cypress/fixtures/TranslateSimpleCopy.json new file mode 100644 index 0000000..1099de7 --- /dev/null +++ b/public/cypress/fixtures/TranslateSimpleCopy.json @@ -0,0 +1,26 @@ +{ + "processing": [ + { + "phase": "snmp_map", + "processors": [ + { + "array": "varbinds", + "datacolumn": "varbind_value", + "keycolumn": "varbind_oid", + "class": "SnmpConvertor" + }, + { "phase": "sto2", "class": "RunPhase" } + ] + }, + { + "phase": "sto2", + "processors": [ + { "updates": { "event.commonEventHeader.domain": "a" }, "class": "Set" } + ] + }, + { + "phase": "sto2", + "processors": [{ "phase": "map_publish", "class": "RunPhase" }] + } + ] +} diff --git a/public/cypress/fixtures/createMcRes.json b/public/cypress/fixtures/createMcRes.json new file mode 100644 index 0000000..ada82bc --- /dev/null +++ b/public/cypress/fixtures/createMcRes.json @@ -0,0 +1,972 @@ +{ + "vfcmt":{ + "uuid": "6d436c07-8006-4335-8c84-d65b4740f8d6" + }, + "cdump": { + "cid": "47908e78-9893-4f18-b767-ea7131dd8de7", + "version": 0, + "nodes": [ + { + "name": "map", + "description": + "/sdc/v1/catalog/resources/e45ec9d7-01df-4cb1-896f-aff2a6ca5a8b/artifacts/6134d7c8-f9af-4562-bf8d-e60039ec58bb", + "id": "e45ec9d7-01df-4cb1-896f-aff2a6ca5a8b", + "nid": "n.1517823219961.0", + "capabilities": [ + { + "name": "stream_subscribe_0", + "type": { + "name": "dcae.capabilities.stream.subscribe", + "id": "template.yaml/dcae.capabilities.stream.subscribe" + }, + "properties": [ + { + "assignment": { "value": "Map_input" }, + "name": "format", + "type": "string" + }, + { + "assignment": { "value": "IGNORE" }, + "name": "route", + "type": "string" + }, + { + "assignment": { "value": "1.0.0" }, + "name": "version", + "type": "string" + } + ] + }, + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + } + } + ], + "requirements": [ + { + "capability": { + "name": "dcae.capabilities.stream.subscribe", + "id": "template.yaml/dcae.capabilities.stream.subscribe" + }, + "node_filter": { + "capabilities": [ + { + "dcae.capabilities.stream.subscribe": { + "properties": [ + { "format": [{ "equal": "VES_specification" }] }, + { "version": [{ "equal": "5.28.4" }] } + ] + } + } + ] + }, + "name": "stream_publish_0", + "relationship": { "type": "dcae.relationships.rework_connected_to" } + }, + { + "capability": { + "name": "dcae.capabilities.cdapHost", + "id": "template.yaml/dcae.capabilities.cdapHost" + }, + "name": "host", + "relationship": { + "type": "dcae.relationships.component_contained_in" + } + }, + { + "capability": { + "name": "dcae.capabilities.composition.host", + "id": "template.yaml/dcae.capabilities.composition.host" + }, + "name": "composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": "tosca.nodes.Root", + "capability": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + }, + "name": "dependency", + "relationship": { "type": "tosca.relationships.DependsOn" } + } + ], + "properties": [ + { + "assignment": { + "value": { + "get_input": "mappingType" + } + }, + "name": "Type1", + "description": + "CSV to VES mapping, from the file to generate multiple events or single event", + "type": "string", + "constraints": [ + { + "valid_values": ["single", "multiple"] + } + ] + }, + { + "assignment": { + "value": "multiple" + }, + "name": "mappingType", + "description": + "CSV to VES mapping, from the file to generate multiple events or single event", + "type": "string", + "constraints": [ + { + "valid_values": ["single", "multiple"] + } + ] + }, + { + "assignment": { + "value": + "com.att.gfp.dcae.eventProcessor.Catalog,com.att.ecomp.dcae.eventproc.cdap.common.processors.Catalog" + }, + "name": "defaultCatalogs", + "type": "string" + }, + { + "assignment": { "value": { "get_input": "defaultObjects" } }, + "name": "defaultObjects", + "type": "string" + }, + { + "assignment": { "value": "Map Microservice" }, + "name": "description", + "type": "string" + }, + { + "assignment": { "value": { "get_input": "dmaapConsumerGrp" } }, + "name": "dmaapConsumerGrp", + "type": "string" + }, + { + "assignment": { "value": "" }, + "name": "eventFactory", + "type": "string" + }, + { + "assignment": { + "value": + "{\"processing\":[{\"phase\":\"snmp_map\",\"filter\":{\"class\":\"StartsWith\",\"string\":\"${notify OID}\",\"value\":\".1.3.6.1.4.1.26878.200.2\"},\"processors\":[{\"class\":\"SnmpConvertor\",\"array\":\"varbinds\",\"keycolumn\":\"varbind_oid\",\"datacolumn\":\"varbind_value\"},{\"class\":\"RunPhase\",\"phase\":\"vPCRF_MOGParsingPhase\"}]},{\"phase\":\"vPCRF_MOGParsingPhase\",\"processors\":[{\"class\":\"MapAlarmValues\",\"field\":\"_1_3_6_1_4_1_26878_100_1_1_9\",\"toField\":\"eventGroup\",\"map\":{\"LinkDown\":\"LinkUp_Down\",\"LinkUp\":\"LinkUp_Down\",\"HIGH CPU USAGE Alert\":\"HighCpuUsageAlert-Clear\",\"HIGH CPU USAGE Clear\":\"HighCpuUsageAlert-Clear\",\"ProcessDown\":\"ProcessUp-Down\",\"ProcessUp\":\"ProcessUp-Down\",\"HighLoadAlert\":\"HighLoadAlert-Clear\",\"HighLoadClear\":\"HighLoadAlert-Clear\",\"DiskFullAlert\":\"DiskFullAlert-Clear\",\"DiskFullClear\":\"DiskFullAlert-Clear\",\"LowSwapAlert\":\"LowMemoryAlert-Clear\",\"LowSwapClear\":\"LowMemoryAlert-Clear\",\"LowMemoryAlert\":\"LowMemoryAlert-Clear\",\"LowMemoryClear\":\"LowMemoryAlert-Clear\",\"ApplicationStartError\":\"ApplicationStartError\",\"LicenseUsageThresholdExceeded \":\"LicenseUsageThresholdExceeded \",\"LicensedSessionCreation\":\"LicensedSessionCreation\",\"InvalidLicense\":\"InvalidLicense\",\"PoliciesNotConfigured\":\"PoliciesNotConfigured\",\"DiameterAllPeersDown\":\"DiameterAllPeersUp-Down\",\"DiameterAllPeersUp\":\"DiameterAllPeersUp-Down\",\"HA Failover\":\"HAFailover\",\"GR Failover\":\"GRFailover\",\"All DB Member of replica set Down\":\"AllDBMemberReplicaSetUp-Down\",\"All DB Member of replica set Up\":\"AllDBMemberReplicaSetUp-Down\",\"No Primary DB Member Found\":\"PrimaryDBMemberFound-NotFound\",\"Primary DB Member Found\":\"PrimaryDBMemberFound-NotFound\",\"Secondary DB Member Down\":\"SecondaryDBMemberUp-Down\",\"Secondary DB Member Up\":\"SecondaryDBMemberUp-Down\",\"Arbiter Down\":\"ArbiterUp-Down\",\"Arbiter Up\":\"ArbiterUp-Down\",\"DB resync is needed\":\"DBResyncNeeded-NotNeeded\",\"DB resync is not needed\":\"DBResyncNeeded-NotNeeded\",\"Config Server Down\":\"ConfigServerUp-Down\",\"Config Server Up\":\"ConfigServerUp-Down\",\"VM Down\":\"VMUp-Down\",\"VM Up\":\"VMUp-Down\",\"QNS Process Down\":\"QNSProcessUp-Down\",\"QNS Process Up\":\"QNSProcessUp-Down\",\"VirtualInterface Down\":\"VirtualInterfaceUp-Down\",\"VirtualInterface Up\":\"VirtualInterfaceUp-Down\",\"MemcachedConnectError\":\"MemcachedConnectError\",\"PolicyConfiguration\":\"PolicyConfiguration\",\"DiameterPeerDown\":\"DiameterPeerDown\",\"DeveloperMode\":\"DeveloperMode\",\"ZeroMQConnectionError\":\"ZeroMQConnectionError\",\"Admin User Logged In\":\"AdminUserLoggedIn\"}},{\"class\":\"Set\",\"updates\":{\"event.commonEventHeader.domain\":\"fault\",\"event.commonEventHeader.version\":3,\"event.faultFields.faultFieldsVersion\":2.0,\"event.faultFields.vfStatus\":\"Active\",\"event.commonEventHeader.priority\":\"Normal\",\"event.commonEventHeader.sequence\":0,\"event.faultFields.alarmCondition\":\"${_1_3_6_1_4_1_26878_100_1_1_9}\",\"event.faultFields.alarmAdditionalInformation[0].name\":\"EventGroup\",\"event.faultFields.alarmAdditionalInformation[0].value\":\"${eventGroup}\",\"event.faultFields.alarmAdditionalInformation[1].name\":\"OID1\",\"event.faultFields.alarmAdditionalInformation[1].value\":\"${varbinds[0].varbind_value}\"}},{\"class\":\"Set\",\"updates\":{\"event.commonEventHeader.startEpochMicrosec\":\"%{now.ms}\"}},{\"class\":\"MapAlarmValues\",\"field\":\"_1_3_6_1_4_1_26878_100_1_4\",\"default\":\"WARNING\",\"toField\":\"event.faultFields.eventSeverity\",\"map\":{\"0\":\"CRITICAL\",\"1\":\"CRITICAL\",\"2\":\"MAJOR\",\"3\":\"MAJOR\",\"4\":\"MINOR\",\"5\":\"WARNING\",\"6\":\"WARNING\",\"7\":\"WARNING\",\"8\":\"WARNING\",\"9\":\"NORMAL\"}},{\"class\":\"MapAlarmValues\",\"field\":\"_1_3_6_1_4_1_26878_100_1_3\",\"default\":\"\",\"toField\":\"event.faultFields.specificProblem\",\"map\":{\"0\":\"Hardware\",\"1\":\"Networking\",\"2\":\"Virtualization\",\"3\":\"Operating System\",\"4\":\"Application\",\"5\":\"Process\"}},{\"class\":\"Set\",\"updates\":{\"event.commonEventHeader.lastEpochMicrosec\":\"${event.commonEventHeader.startEpochMicrosec}\"}},{\"class\":\"ConvertFieldTypes\",\"updates\":{\"event.commonEventHeader.startEpochMicrosec\":\"long\",\"event.commonEventHeader.lastEpochMicrosec\":\"long\"}}]},{\"phase\":\"vPCRF_MOGParsingPhase\",\"filter\":{\"class\":\"OneOf\",\"field\":\"_1_3_6_1_4_1_26878_100_1_1_9\",\"values\":[\"DiskFullAlert\",\"LowSwapAlert\",\"LowMemoryAlert\"]},\"processors\":[{\"class\":\"Set\",\"updates\":{\"event.faultFields.eventSeverity\":\"MAJOR\"}}]},{\"phase\":\"vPCRF_MOGParsingPhase\",\"filter\":{\"class\":\"Contains\",\"string\":\"${_1_3_6_1_4_1_26878_100_1_1_10}\",\"value\":\"mog\"},\"processors\":[{\"class\":\"ExtractText\",\"field\":\"event.commonEventHeader.sourceName\",\"value\":\"${_1_3_6_1_4_1_26878_100_1_1_10}\",\"regex\":\"([^:]*):.*\"},{\"class\":\"Set\",\"updates\":{\"event.faultFields.eventSourceType\":\"vMOG\",\"event.commonEventHeader.functionalRole\":\"vMoG\",\"event.commonEventHeader.eventType\":\"vMoG_Alarms\",\"event.commonEventHeader.eventId\":\"${event.commonEventHeader.sourceName}_${eventGroup}\",\"event.commonEventHeader.eventName\":\"NA\"}}]},{\"phase\":\"vPCRF_MOGParsingPhase\",\"filter\":{\"class\":\"Not\",\"filter\":{\"class\":\"Contains\",\"string\":\"${_1_3_6_1_4_1_26878_100_1_1_10}\",\"value\":\"mog\"}},\"processors\":[{\"class\":\"Set\",\"updates\":{\"event.commonEventHeader.sourceName\":\"${agent address}\",\"event.faultFields.eventSourceType\":\"vPCRF\",\"event.commonEventHeader.functionalRole\":\"vPCRF\",\"event.commonEventHeader.eventType\":\"PCRF_Alarms\",\"event.commonEventHeader.eventId\":\"${agent address}_${eventGroup}\",\"event.commonEventHeader.reportingEntityName\":\"${event.commonEventHeader.sourceName}\"}}]},{\"phase\":\"vPCRF_MOGParsingPhase\",\"filter\":{\"class\":\"Contains\",\"string\":\"${_1_3_6_1_4_1_26878_100_1_1_7}\",\"value\":\"mogx\"},\"processors\":[{\"class\":\"Set\",\"updates\":{\"event.faultFields.alarmCondition\":\"${_1_3_6_1_4_1_26878_100_1_1_10}\",\"event.faultFields.specificProblem\":\"${_1_3_6_1_4_1_26878_100_1_1_9}\",\"event.commonEventHeader.reportingEntityName\":\"${event.commonEventHeader.sourceName}\"}},{\"class\":\"RunPhase\",\"phase\":\"vPCRF_MOGX_ParsingPhase\"},{\"class\":\"Set\",\"updates\":{\"event.commonEventHeader.eventId\":\"${event.commonEventHeader.sourceName}_${eventGroup}_${eventKey}\"}}]},{\"phase\":\"vPCRF_MOGX_ParsingPhase\",\"filter\":{\"class\":\"OneOf\",\"field\":\"_1_3_6_1_4_1_26878_100_1_1_9\",\"values\":[\"LinkDown\",\"LinkUp\"]},\"processors\":[{\"class\":\"ExtractText\",\"field\":\"eventKey\",\"value\":\"${_1_3_6_1_4_1_26878_100_1_1_10}\",\"regex\":\".* (.*)\"}]},{\"phase\":\"vPCRF_MOGX_ParsingPhase\",\"filter\":{\"class\":\"OneOf\",\"field\":\"_1_3_6_1_4_1_26878_100_1_1_9\",\"values\":[\"ProcessDown\",\"ProcessUp\"]},\"processors\":[{\"class\":\"ExtractText\",\"field\":\"eventKey\",\"value\":\"${_1_3_6_1_4_1_26878_100_1_1_10}\",\"regex\":\".*:(.*) process.*\"}]},{\"phase\":\"vPCRF_MOGX_ParsingPhase\",\"filter\":{\"class\":\"OneOf\",\"field\":\"_1_3_6_1_4_1_26878_100_1_1_9\",\"values\":[\"DiskFullAlert\",\"DiskFullClear\"]},\"processors\":[{\"class\":\"ExtractText\",\"field\":\"eventKey\",\"value\":\"${_1_3_6_1_4_1_26878_100_1_1_10}\",\"regex\":\".*:(.*):.*\"}]},{\"phase\":\"vPCRF_MOGX_ParsingPhase\",\"filter\":{\"class\":\"OneOf\",\"field\":\"_1_3_6_1_4_1_26878_100_1_1_9\",\"values\":[\"QNS Process Down\",\"QNS Process Up\"]},\"processors\":[{\"class\":\"ExtractText\",\"field\":\"eventKey\",\"value\":\"${_1_3_6_1_4_1_26878_100_1_1_10}\",\"regex\":\".*:(.*) server on .*\"}]},{\"phase\":\"vPCRF_MOGX_ParsingPhase\",\"filter\":{\"class\":\"OneOf\",\"field\":\"_1_3_6_1_4_1_26878_100_1_1_9\",\"values\":[\"DiameterPeerDown\"]},\"processors\":[{\"class\":\"ExtractText\",\"field\":\"eventKey\",\"value\":\"${_1_3_6_1_4_1_26878_100_1_1_10}\",\"regex\":\".* (.*) [R/r]ealm.*\"}]},{\"phase\":\"vPCRF_MOGX_ParsingPhase\",\"filter\":{\"class\":\"OneOf\",\"field\":\"_1_3_6_1_4_1_26878_100_1_1_9\",\"values\":[\"DiameterAllPeersDown\"]},\"processors\":[{\"class\":\"ExtractText\",\"field\":\"eventKey\",\"value\":\"${_1_3_6_1_4_1_26878_100_1_1_10}\",\"regex\":\".*Realm: (.*):[^:]*peers.*\"}]},{\"phase\":\"vPCRF_MOGX_ParsingPhase\",\"filter\":{\"class\":\"OneOf\",\"field\":\"_1_3_6_1_4_1_26878_100_1_1_9\",\"values\":[\"VirtualInterface Down\"]},\"processors\":[{\"class\":\"ExtractText\",\"field\":\"eventKey\",\"value\":\"${_1_3_6_1_4_1_26878_100_1_1_10}\",\"regex\":\".*onnect (.*). Not reachable\"}]},{\"phase\":\"vPCRF_MOGX_ParsingPhase\",\"filter\":{\"class\":\"OneOf\",\"field\":\"_1_3_6_1_4_1_26878_100_1_1_9\",\"values\":[\"VirtualInterface Up\"]},\"processors\":[{\"class\":\"ExtractText\",\"field\":\"eventKey\",\"value\":\"${_1_3_6_1_4_1_26878_100_1_1_10}\",\"regex\":\".*: (.*) is up\"}]},{\"phase\":\"vPCRF_MOGX_ParsingPhase\",\"filter\":{\"class\":\"OneOf\",\"field\":\"_1_3_6_1_4_1_26878_100_1_1_9\",\"values\":[\"GR Failover\"]},\"processors\":[{\"class\":\"ExtractText\",\"field\":\"eventKey\",\"value\":\"${_1_3_6_1_4_1_26878_100_1_1_10}\",\"regex\":\".*: (Geo Failover done from .*) of .*\"}]},{\"phase\":\"vPCRF_MOGX_ParsingPhase\",\"filter\":{\"class\":\"OneOf\",\"field\":\"_1_3_6_1_4_1_26878_100_1_1_9\",\"values\":[\"Arbiter Down\",\"Arbiter Up\"]},\"processors\":[{\"class\":\"ExtractText\",\"field\":\"eventKey\",\"value\":\"${_1_3_6_1_4_1_26878_100_1_1_10}\",\"regex\":\".* Arbiter (.*) is .*\"}]},{\"phase\":\"vPCRF_MOGX_ParsingPhase\",\"filter\":{\"class\":\"OneOf\",\"field\":\"_1_3_6_1_4_1_26878_100_1_1_9\",\"values\":[\"All DB Member of replica set Down\",\"All DB Member of replica set Up\"]},\"processors\":[{\"class\":\"ExtractText\",\"field\":\"eventKey\",\"value\":\"${_1_3_6_1_4_1_26878_100_1_1_10}\",\"regex\":\".* All DB members of replica set (.*) are .*\"}]},{\"phase\":\"vPCRF_MOGX_ParsingPhase\",\"filter\":{\"class\":\"OneOf\",\"field\":\"_1_3_6_1_4_1_26878_100_1_1_9\",\"values\":[\"No Primary DB Member Found\",\"Primary DB Member Found\"]},\"processors\":[{\"class\":\"ExtractText\",\"field\":\"eventKey\",\"value\":\"${_1_3_6_1_4_1_26878_100_1_1_10}\",\"regex\":\".* Replica-set (.*)\"}]},{\"phase\":\"vPCRF_MOGX_ParsingPhase\",\"filter\":{\"class\":\"OneOf\",\"field\":\"_1_3_6_1_4_1_26878_100_1_1_9\",\"values\":[\"DB Member Down\",\"DB Member Up\"]},\"processors\":[{\"class\":\"ExtractText\",\"field\":\"eventKey\",\"value\":\"${_1_3_6_1_4_1_26878_100_1_1_10}\",\"regex\":\".* (DB.Member .*) of SET .*\"}]},{\"phase\":\"vPCRF_MOGX_ParsingPhase\",\"filter\":{\"class\":\"OneOf\",\"field\":\"_1_3_6_1_4_1_26878_100_1_1_9\",\"values\":[\"Secondary DB Member Down\",\"Secondary DB Member Up\"]},\"processors\":[{\"class\":\"ExtractText\",\"field\":\"eventKey\",\"value\":\"${_1_3_6_1_4_1_26878_100_1_1_10}\",\"regex\":\".*Secondary (DB.*) is.*\"}]},{\"phase\":\"vPCRF_MOGX_ParsingPhase\",\"filter\":{\"class\":\"OneOf\",\"field\":\"_1_3_6_1_4_1_26878_100_1_1_9\",\"values\":[\"DB Resync is needed\",\"DB Resync is not needed\"]},\"processors\":[{\"class\":\"ExtractText\",\"field\":\"eventKey\",\"value\":\"${_1_3_6_1_4_1_26878_100_1_1_10}\",\"regex\":\".* member (.*:[0-9]+).*$\"}]},{\"phase\":\"vPCRF_MOGX_ParsingPhase\",\"filter\":{\"class\":\"OneOf\",\"field\":\"_1_3_6_1_4_1_26878_100_1_1_9\",\"values\":[\"ZeroMQConnectionError\"]},\"processors\":[{\"class\":\"ExtractText\",\"field\":\"eventKey\",\"value\":\"${_1_3_6_1_4_1_26878_100_1_1_10}\",\"regex\":\".* for (tcp.*)\"}]},{\"phase\":\"vPCRF_MOGParsingPhase\",\"processors\":[{\"class\":\"Clear\",\"fields\":[\"community len\",\"cambria.partition\",\"notify OID\",\"notify OID len\",\"epoch_serno\",\"protocol version\",\"agent name\",\"trap category\",\"community\",\"time received\",\"agent address\",\"varbinds\"]},{\"class\":\"ClearNoneStandardFields\",\"reservedFields\":[\"event\",\"parserType\"]},{\"class\":\"LogEvent\",\"title\":\"UCSNMPEvent-vPCRF_MOG_Parser_Output\",\"logName\":\"com.att.gfp.dcae.eventProcessor.output\",\"logLevel\":\"DEBUG\"},{\"class\":\"LogText\",\"logLevel\":\"INFO\",\"logText\":\"Finished_vPCRF_MOGParsingPhase Mapping Phase\"},{\"class\":\"RunPhase\",\"phase\":\"map_publish\"}]}]}" + }, + "name": "json", + "type": "string" + }, + { + "assignment": { "value": { "get_input": "monitorThreads" } }, + "name": "monitorThreads", + "type": "string" + }, + { + "assignment": { "value": "mapMS" }, + "name": "name", + "type": "string" + }, + { + "assignment": { "value": "snmp_map" }, + "name": "phases.snmp_map.phaseName", + "type": "string" + }, + { + "assignment": { "value": ".*snmp.*" }, + "name": "phases.snmp_map.streamPattern", + "type": "string" + }, + { + "assignment": { "value": "syslog_map" }, + "name": "phases.syslog_map.phaseName", + "type": "string" + }, + { + "assignment": { "value": ".*syslog.*" }, + "name": "phases.syslog_map.streamPattern", + "type": "string" + }, + { + "assignment": { + "value": + "{\"phase\":\"map_publish\",\"processors\":[{\"class\":\"EventProcessorMetric\",\"metric\":\"out.events\"},{\"class\":\"SendEvent\",\"channel\":\"DCAE-MAP-EVENT-OUT\"}]}" + }, + "name": "postConfig", + "type": "string" + }, + { + "assignment": { "value": "vnfTypes.*" }, + "name": "ruleKeyPattern", + "type": "string" + }, + { + "assignment": { + "value": + "[{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"MOD\",\"INT\":\"INT\",\"HSEV\":\"header-SEV \",\"SEVDES\":\"Syslog-Severity\"},\"filter\":{\"${Priority}\":\"$Priority\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"1\",\"INT\":\"0\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Alert: action must be taken immediately\"},\"filter\":{\"${Priority}\":\"1\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"2\",\"INT\":\"0\",\"HSEV\":\"MAJOR\",\"SEVDES\":\"Critical: critical conditions\"},\"filter\":{\"${Priority}\":\"2\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"3\",\"INT\":\"0\",\"HSEV\":\"MINOR\",\"SEVDES\":\"Error: error conditions\"},\"filter\":{\"${Priority}\":\"3\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"4\",\"INT\":\"0\",\"HSEV\":\"WARNING\",\"SEVDES\":\"Warning: warning conditions\"},\"filter\":{\"${Priority}\":\"4\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"5\",\"INT\":\"0\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Notice: normal but significant condition\"},\"filter\":{\"${Priority}\":\"5\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"6\",\"INT\":\"0\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Informational: informational messages\"},\"filter\":{\"${Priority}\":\"6\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"7\",\"INT\":\"0\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Debug: debug-level messages\"},\"filter\":{\"${Priority}\":\"7\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"0\",\"INT\":\"1\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Emergency: system is unusable\"},\"filter\":{\"${Priority}\":\"8\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"1\",\"INT\":\"1\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Alert: action must be taken immediately\"},\"filter\":{\"${Priority}\":\"9\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"2\",\"INT\":\"1\",\"HSEV\":\"MAJOR\",\"SEVDES\":\"Critical: critical conditions\"},\"filter\":{\"${Priority}\":\"10\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"3\",\"INT\":\"1\",\"HSEV\":\"MINOR\",\"SEVDES\":\"Error: error conditions\"},\"filter\":{\"${Priority}\":\"11\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"4\",\"INT\":\"1\",\"HSEV\":\"WARNING\",\"SEVDES\":\"Warning: warning conditions\"},\"filter\":{\"${Priority}\":\"12\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"5\",\"INT\":\"1\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Notice: normal but significant condition\"},\"filter\":{\"${Priority}\":\"13\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"6\",\"INT\":\"1\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Informational: informational messages\"},\"filter\":{\"${Priority}\":\"14\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"7\",\"INT\":\"1\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Debug: debug-level messages\"},\"filter\":{\"${Priority}\":\"15\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"0\",\"INT\":\"2\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Emergency: system is unusable\"},\"filter\":{\"${Priority}\":\"16\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"1\",\"INT\":\"2\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Alert: action must be taken immediately\"},\"filter\":{\"${Priority}\":\"17\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"2\",\"INT\":\"2\",\"HSEV\":\"MAJOR\",\"SEVDES\":\"Critical: critical conditions\"},\"filter\":{\"${Priority}\":\"18\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"3\",\"INT\":\"2\",\"HSEV\":\"MINOR\",\"SEVDES\":\"Error: error conditions\"},\"filter\":{\"${Priority}\":\"19\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"4\",\"INT\":\"2\",\"HSEV\":\"WARNING\",\"SEVDES\":\"Warning: warning conditions\"},\"filter\":{\"${Priority}\":\"20\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"5\",\"INT\":\"2\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Notice: normal but significant condition\"},\"filter\":{\"${Priority}\":\"21\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"6\",\"INT\":\"2\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Informational: informational messages\"},\"filter\":{\"${Priority}\":\"22\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"7\",\"INT\":\"2\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Debug: debug-level messages\"},\"filter\":{\"${Priority}\":\"23\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"0\",\"INT\":\"3\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Emergency: system is unusable\"},\"filter\":{\"${Priority}\":\"24\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"1\",\"INT\":\"3\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Alert: action must be taken immediately\"},\"filter\":{\"${Priority}\":\"25\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"2\",\"INT\":\"3\",\"HSEV\":\"MAJOR\",\"SEVDES\":\"Critical: critical conditions\"},\"filter\":{\"${Priority}\":\"26\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"3\",\"INT\":\"3\",\"HSEV\":\"MINOR\",\"SEVDES\":\"Error: error conditions\"},\"filter\":{\"${Priority}\":\"27\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"4\",\"INT\":\"3\",\"HSEV\":\"WARNING\",\"SEVDES\":\"Warning: warning conditions\"},\"filter\":{\"${Priority}\":\"28\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"5\",\"INT\":\"3\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Notice: normal but significant condition\"},\"filter\":{\"${Priority}\":\"29\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"6\",\"INT\":\"3\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Informational: informational messages\"},\"filter\":{\"${Priority}\":\"30\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"7\",\"INT\":\"3\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Debug: debug-level messages\"},\"filter\":{\"${Priority}\":\"31\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"0\",\"INT\":\"4\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Emergency: system is unusable\"},\"filter\":{\"${Priority}\":\"32\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"1\",\"INT\":\"4\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Alert: action must be taken immediately\"},\"filter\":{\"${Priority}\":\"33\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"2\",\"INT\":\"4\",\"HSEV\":\"MAJOR\",\"SEVDES\":\"Critical: critical conditions\"},\"filter\":{\"${Priority}\":\"34\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"3\",\"INT\":\"4\",\"HSEV\":\"MINOR\",\"SEVDES\":\"Error: error conditions\"},\"filter\":{\"${Priority}\":\"35\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"4\",\"INT\":\"4\",\"HSEV\":\"WARNING\",\"SEVDES\":\"Warning: warning conditions\"},\"filter\":{\"${Priority}\":\"36\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"5\",\"INT\":\"4\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Notice: normal but significant condition\"},\"filter\":{\"${Priority}\":\"37\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"6\",\"INT\":\"4\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Informational: informational messages\"},\"filter\":{\"${Priority}\":\"38\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"7\",\"INT\":\"4\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Debug: debug-level messages\"},\"filter\":{\"${Priority}\":\"39\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"0\",\"INT\":\"5\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Emergency: system is unusable\"},\"filter\":{\"${Priority}\":\"40\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"1\",\"INT\":\"5\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Alert: action must be taken immediately\"},\"filter\":{\"${Priority}\":\"41\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"2\",\"INT\":\"5\",\"HSEV\":\"MAJOR\",\"SEVDES\":\"Critical: critical conditions\"},\"filter\":{\"${Priority}\":\"42\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"3\",\"INT\":\"5\",\"HSEV\":\"MINOR\",\"SEVDES\":\"Error: error conditions\"},\"filter\":{\"${Priority}\":\"43\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"4\",\"INT\":\"5\",\"HSEV\":\"WARNING\",\"SEVDES\":\"Warning: warning conditions\"},\"filter\":{\"${Priority}\":\"44\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"5\",\"INT\":\"5\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Notice: normal but significant condition\"},\"filter\":{\"${Priority}\":\"45\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"6\",\"INT\":\"5\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Informational: informational messages\"},\"filter\":{\"${Priority}\":\"46\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"7\",\"INT\":\"5\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Debug: debug-level messages\"},\"filter\":{\"${Priority}\":\"47\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"0\",\"INT\":\"6\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Emergency: system is unusable\"},\"filter\":{\"${Priority}\":\"48\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"1\",\"INT\":\"6\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Alert: action must be taken immediately\"},\"filter\":{\"${Priority}\":\"49\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"2\",\"INT\":\"6\",\"HSEV\":\"MAJOR\",\"SEVDES\":\"Critical: critical conditions\"},\"filter\":{\"${Priority}\":\"50\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"3\",\"INT\":\"6\",\"HSEV\":\"MINOR\",\"SEVDES\":\"Error: error conditions\"},\"filter\":{\"${Priority}\":\"51\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"4\",\"INT\":\"6\",\"HSEV\":\"WARNING\",\"SEVDES\":\"Warning: warning conditions\"},\"filter\":{\"${Priority}\":\"52\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"5\",\"INT\":\"6\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Notice: normal but significant condition\"},\"filter\":{\"${Priority}\":\"53\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"6\",\"INT\":\"6\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Informational: informational messages\"},\"filter\":{\"${Priority}\":\"54\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"7\",\"INT\":\"6\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Debug: debug-level messages\"},\"filter\":{\"${Priority}\":\"55\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"0\",\"INT\":\"7\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Emergency: system is unusable\"},\"filter\":{\"${Priority}\":\"56\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"1\",\"INT\":\"7\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Alert: action must be taken immediately\"},\"filter\":{\"${Priority}\":\"57\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"2\",\"INT\":\"7\",\"HSEV\":\"MAJOR\",\"SEVDES\":\"Critical: critical conditions\"},\"filter\":{\"${Priority}\":\"58\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"3\",\"INT\":\"7\",\"HSEV\":\"MINOR\",\"SEVDES\":\"Error: error conditions\"},\"filter\":{\"${Priority}\":\"59\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"4\",\"INT\":\"7\",\"HSEV\":\"WARNING\",\"SEVDES\":\"Warning: warning conditions\"},\"filter\":{\"${Priority}\":\"60\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"5\",\"INT\":\"7\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Notice: normal but significant condition\"},\"filter\":{\"${Priority}\":\"61\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"6\",\"INT\":\"7\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Informational: informational messages\"},\"filter\":{\"${Priority}\":\"62\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"7\",\"INT\":\"7\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Debug: debug-level messages\"},\"filter\":{\"${Priority}\":\"63\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"0\",\"INT\":\"8\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Emergency: system is unusable\"},\"filter\":{\"${Priority}\":\"64\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"1\",\"INT\":\"8\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Alert: action must be taken immediately\"},\"filter\":{\"${Priority}\":\"65\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"2\",\"INT\":\"8\",\"HSEV\":\"MAJOR\",\"SEVDES\":\"Critical: critical conditions\"},\"filter\":{\"${Priority}\":\"66\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"3\",\"INT\":\"8\",\"HSEV\":\"MINOR\",\"SEVDES\":\"Error: error conditions\"},\"filter\":{\"${Priority}\":\"67\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"4\",\"INT\":\"8\",\"HSEV\":\"WARNING\",\"SEVDES\":\"Warning: warning conditions\"},\"filter\":{\"${Priority}\":\"68\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"5\",\"INT\":\"8\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Notice: normal but significant condition\"},\"filter\":{\"${Priority}\":\"69\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"6\",\"INT\":\"8\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Informational: informational messages\"},\"filter\":{\"${Priority}\":\"70\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"7\",\"INT\":\"8\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Debug: debug-level messages\"},\"filter\":{\"${Priority}\":\"71\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"0\",\"INT\":\"9\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Emergency: system is unusable\"},\"filter\":{\"${Priority}\":\"72\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"1\",\"INT\":\"9\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Alert: action must be taken immediately\"},\"filter\":{\"${Priority}\":\"73\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"2\",\"INT\":\"9\",\"HSEV\":\"MAJOR\",\"SEVDES\":\"Critical: critical conditions\"},\"filter\":{\"${Priority}\":\"74\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"3\",\"INT\":\"9\",\"HSEV\":\"MINOR\",\"SEVDES\":\"Error: error conditions\"},\"filter\":{\"${Priority}\":\"75\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"4\",\"INT\":\"9\",\"HSEV\":\"WARNING\",\"SEVDES\":\"Warning: warning conditions\"},\"filter\":{\"${Priority}\":\"76\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"5\",\"INT\":\"9\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Notice: normal but significant condition\"},\"filter\":{\"${Priority}\":\"77\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"6\",\"INT\":\"9\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Informational: informational messages\"},\"filter\":{\"${Priority}\":\"78\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"7\",\"INT\":\"9\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Debug: debug-level messages\"},\"filter\":{\"${Priority}\":\"79\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"0\",\"INT\":\"10\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Emergency: system is unusable\"},\"filter\":{\"${Priority}\":\"80\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"1\",\"INT\":\"10\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Alert: action must be taken immediately\"},\"filter\":{\"${Priority}\":\"81\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"2\",\"INT\":\"10\",\"HSEV\":\"MAJOR\",\"SEVDES\":\"Critical: critical conditions\"},\"filter\":{\"${Priority}\":\"82\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"3\",\"INT\":\"10\",\"HSEV\":\"MINOR\",\"SEVDES\":\"Error: error conditions\"},\"filter\":{\"${Priority}\":\"83\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"4\",\"INT\":\"10\",\"HSEV\":\"WARNING\",\"SEVDES\":\"Warning: warning conditions\"},\"filter\":{\"${Priority}\":\"84\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"5\",\"INT\":\"10\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Notice: normal but significant condition\"},\"filter\":{\"${Priority}\":\"85\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"6\",\"INT\":\"10\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Informational: informational messages\"},\"filter\":{\"${Priority}\":\"86\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"7\",\"INT\":\"10\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Debug: debug-level messages\"},\"filter\":{\"${Priority}\":\"87\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"0\",\"INT\":\"11\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Emergency: system is unusable\"},\"filter\":{\"${Priority}\":\"88\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"1\",\"INT\":\"11\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Alert: action must be taken immediately\"},\"filter\":{\"${Priority}\":\"89\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"2\",\"INT\":\"11\",\"HSEV\":\"MAJOR\",\"SEVDES\":\"Critical: critical conditions\"},\"filter\":{\"${Priority}\":\"90\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"3\",\"INT\":\"11\",\"HSEV\":\"MINOR\",\"SEVDES\":\"Error: error conditions\"},\"filter\":{\"${Priority}\":\"91\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"4\",\"INT\":\"11\",\"HSEV\":\"WARNING\",\"SEVDES\":\"Warning: warning conditions\"},\"filter\":{\"${Priority}\":\"92\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"5\",\"INT\":\"11\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Notice: normal but significant condition\"},\"filter\":{\"${Priority}\":\"93\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"6\",\"INT\":\"11\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Informational: informational messages\"},\"filter\":{\"${Priority}\":\"94\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"7\",\"INT\":\"11\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Debug: debug-level messages\"},\"filter\":{\"${Priority}\":\"95\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"0\",\"INT\":\"12\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Emergency: system is unusable\"},\"filter\":{\"${Priority}\":\"96\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"1\",\"INT\":\"12\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Alert: action must be taken immediately\"},\"filter\":{\"${Priority}\":\"97\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"2\",\"INT\":\"12\",\"HSEV\":\"MAJOR\",\"SEVDES\":\"Critical: critical conditions\"},\"filter\":{\"${Priority}\":\"98\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"3\",\"INT\":\"12\",\"HSEV\":\"MINOR\",\"SEVDES\":\"Error: error conditions\"},\"filter\":{\"${Priority}\":\"99\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"4\",\"INT\":\"12\",\"HSEV\":\"WARNING\",\"SEVDES\":\"Warning: warning conditions\"},\"filter\":{\"${Priority}\":\"100\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"5\",\"INT\":\"12\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Notice: normal but significant condition\"},\"filter\":{\"${Priority}\":\"101\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"6\",\"INT\":\"12\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Informational: informational messages\"},\"filter\":{\"${Priority}\":\"102\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"7\",\"INT\":\"12\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Debug: debug-level messages\"},\"filter\":{\"${Priority}\":\"103\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"0\",\"INT\":\"13\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Emergency: system is unusable\"},\"filter\":{\"${Priority}\":\"104\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"1\",\"INT\":\"13\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Alert: action must be taken immediately\"},\"filter\":{\"${Priority}\":\"105\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"2\",\"INT\":\"13\",\"HSEV\":\"MAJOR\",\"SEVDES\":\"Critical: critical conditions\"},\"filter\":{\"${Priority}\":\"106\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"3\",\"INT\":\"13\",\"HSEV\":\"MINOR\",\"SEVDES\":\"Error: error conditions\"},\"filter\":{\"${Priority}\":\"107\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"4\",\"INT\":\"13\",\"HSEV\":\"WARNING\",\"SEVDES\":\"Warning: warning conditions\"},\"filter\":{\"${Priority}\":\"108\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"5\",\"INT\":\"13\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Notice: normal but significant condition\"},\"filter\":{\"${Priority}\":\"109\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"6\",\"INT\":\"13\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Informational: informational messages\"},\"filter\":{\"${Priority}\":\"110\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"7\",\"INT\":\"13\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Debug: debug-level messages\"},\"filter\":{\"${Priority}\":\"111\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"0\",\"INT\":\"14\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Emergency: system is unusable\"},\"filter\":{\"${Priority}\":\"112\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"1\",\"INT\":\"14\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Alert: action must be taken immediately\"},\"filter\":{\"${Priority}\":\"113\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"2\",\"INT\":\"14\",\"HSEV\":\"MAJOR\",\"SEVDES\":\"Critical: critical conditions\"},\"filter\":{\"${Priority}\":\"114\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"3\",\"INT\":\"14\",\"HSEV\":\"MINOR\",\"SEVDES\":\"Error: error conditions\"},\"filter\":{\"${Priority}\":\"115\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"4\",\"INT\":\"14\",\"HSEV\":\"WARNING\",\"SEVDES\":\"Warning: warning conditions\"},\"filter\":{\"${Priority}\":\"116\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"5\",\"INT\":\"14\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Notice: normal but significant condition\"},\"filter\":{\"${Priority}\":\"117\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"6\",\"INT\":\"14\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Informational: informational messages\"},\"filter\":{\"${Priority}\":\"118\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"7\",\"INT\":\"14\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Debug: debug-level messages\"},\"filter\":{\"${Priority}\":\"119\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"0\",\"INT\":\"15\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Emergency: system is unusable\"},\"filter\":{\"${Priority}\":\"120\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"1\",\"INT\":\"15\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Alert: action must be taken immediately\"},\"filter\":{\"${Priority}\":\"121\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"2\",\"INT\":\"15\",\"HSEV\":\"MAJOR\",\"SEVDES\":\"Critical: critical conditions\"},\"filter\":{\"${Priority}\":\"122\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"3\",\"INT\":\"15\",\"HSEV\":\"MINOR\",\"SEVDES\":\"Error: error conditions\"},\"filter\":{\"${Priority}\":\"123\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"4\",\"INT\":\"15\",\"HSEV\":\"WARNING\",\"SEVDES\":\"Warning: warning conditions\"},\"filter\":{\"${Priority}\":\"124\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"5\",\"INT\":\"15\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Notice: normal but significant condition\"},\"filter\":{\"${Priority}\":\"125\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"6\",\"INT\":\"15\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Informational: informational messages\"},\"filter\":{\"${Priority}\":\"126\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"7\",\"INT\":\"15\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Debug: debug-level messages\"},\"filter\":{\"${Priority}\":\"127\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"0\",\"INT\":\"16\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Emergency: system is unusable\"},\"filter\":{\"${Priority}\":\"128\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"1\",\"INT\":\"16\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Alert: action must be taken immediately\"},\"filter\":{\"${Priority}\":\"129\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"2\",\"INT\":\"16\",\"HSEV\":\"MAJOR\",\"SEVDES\":\"Critical: critical conditions\"},\"filter\":{\"${Priority}\":\"130\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"3\",\"INT\":\"16\",\"HSEV\":\"MINOR\",\"SEVDES\":\"Error: error conditions\"},\"filter\":{\"${Priority}\":\"131\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"4\",\"INT\":\"16\",\"HSEV\":\"WARNING\",\"SEVDES\":\"Warning: warning conditions\"},\"filter\":{\"${Priority}\":\"132\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"5\",\"INT\":\"16\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Notice: normal but significant condition\"},\"filter\":{\"${Priority}\":\"133\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"6\",\"INT\":\"16\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Informational: informational messages\"},\"filter\":{\"${Priority}\":\"134\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"7\",\"INT\":\"16\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Debug: debug-level messages\"},\"filter\":{\"${Priority}\":\"135\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"0\",\"INT\":\"17\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Emergency: system is unusable\"},\"filter\":{\"${Priority}\":\"136\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"1\",\"INT\":\"17\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Alert: action must be taken immediately\"},\"filter\":{\"${Priority}\":\"137\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"2\",\"INT\":\"17\",\"HSEV\":\"MAJOR\",\"SEVDES\":\"Critical: critical conditions\"},\"filter\":{\"${Priority}\":\"138\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"3\",\"INT\":\"17\",\"HSEV\":\"MINOR\",\"SEVDES\":\"Error: error conditions\"},\"filter\":{\"${Priority}\":\"139\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"4\",\"INT\":\"17\",\"HSEV\":\"WARNING\",\"SEVDES\":\"Warning: warning conditions\"},\"filter\":{\"${Priority}\":\"140\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"5\",\"INT\":\"17\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Notice: normal but significant condition\"},\"filter\":{\"${Priority}\":\"141\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"6\",\"INT\":\"17\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Informational: informational messages\"},\"filter\":{\"${Priority}\":\"142\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"7\",\"INT\":\"17\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Debug: debug-level messages\"},\"filter\":{\"${Priority}\":\"143\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"0\",\"INT\":\"18\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Emergency: system is unusable\"},\"filter\":{\"${Priority}\":\"144\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"1\",\"INT\":\"18\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Alert: action must be taken immediately\"},\"filter\":{\"${Priority}\":\"145\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"2\",\"INT\":\"18\",\"HSEV\":\"MAJOR\",\"SEVDES\":\"Critical: critical conditions\"},\"filter\":{\"${Priority}\":\"146\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"3\",\"INT\":\"18\",\"HSEV\":\"MINOR\",\"SEVDES\":\"Error: error conditions\"},\"filter\":{\"${Priority}\":\"147\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"4\",\"INT\":\"18\",\"HSEV\":\"WARNING\",\"SEVDES\":\"Warning: warning conditions\"},\"filter\":{\"${Priority}\":\"148\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"5\",\"INT\":\"18\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Notice: normal but significant condition\"},\"filter\":{\"${Priority}\":\"149\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"6\",\"INT\":\"18\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Informational: informational messages\"},\"filter\":{\"${Priority}\":\"150\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"7\",\"INT\":\"18\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Debug: debug-level messages\"},\"filter\":{\"${Priority}\":\"151\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"0\",\"INT\":\"19\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Emergency: system is unusable\"},\"filter\":{\"${Priority}\":\"152\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"1\",\"INT\":\"19\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Alert: action must be taken immediately\"},\"filter\":{\"${Priority}\":\"153\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"2\",\"INT\":\"19\",\"HSEV\":\"MAJOR\",\"SEVDES\":\"Critical: critical conditions\"},\"filter\":{\"${Priority}\":\"154\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"3\",\"INT\":\"19\",\"HSEV\":\"MINOR\",\"SEVDES\":\"Error: error conditions\"},\"filter\":{\"${Priority}\":\"155\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"4\",\"INT\":\"19\",\"HSEV\":\"WARNING\",\"SEVDES\":\"Warning: warning conditions\"},\"filter\":{\"${Priority}\":\"156\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"5\",\"INT\":\"19\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Notice: normal but significant condition\"},\"filter\":{\"${Priority}\":\"157\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"6\",\"INT\":\"19\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Informational: informational messages\"},\"filter\":{\"${Priority}\":\"158\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"7\",\"INT\":\"19\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Debug: debug-level messages\"},\"filter\":{\"${Priority}\":\"159\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"0\",\"INT\":\"20\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Emergency: system is unusable\"},\"filter\":{\"${Priority}\":\"160\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"1\",\"INT\":\"20\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Alert: action must be taken immediately\"},\"filter\":{\"${Priority}\":\"161\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"2\",\"INT\":\"20\",\"HSEV\":\"MAJOR\",\"SEVDES\":\"Critical: critical conditions\"},\"filter\":{\"${Priority}\":\"162\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"3\",\"INT\":\"20\",\"HSEV\":\"MINOR\",\"SEVDES\":\"Error: error conditions\"},\"filter\":{\"${Priority}\":\"163\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"4\",\"INT\":\"20\",\"HSEV\":\"WARNING\",\"SEVDES\":\"Warning: warning conditions\"},\"filter\":{\"${Priority}\":\"164\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"5\",\"INT\":\"20\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Notice: normal but significant condition\"},\"filter\":{\"${Priority}\":\"165\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"6\",\"INT\":\"20\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Informational: informational messages\"},\"filter\":{\"${Priority}\":\"166\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"7\",\"INT\":\"20\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Debug: debug-level messages\"},\"filter\":{\"${Priority}\":\"167\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"0\",\"INT\":\"21\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Emergency: system is unusable\"},\"filter\":{\"${Priority}\":\"168\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"1\",\"INT\":\"21\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Alert: action must be taken immediately\"},\"filter\":{\"${Priority}\":\"169\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"2\",\"INT\":\"21\",\"HSEV\":\"MAJOR\",\"SEVDES\":\"Critical: critical conditions\"},\"filter\":{\"${Priority}\":\"170\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"3\",\"INT\":\"21\",\"HSEV\":\"MINOR\",\"SEVDES\":\"Error: error conditions\"},\"filter\":{\"${Priority}\":\"171\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"4\",\"INT\":\"21\",\"HSEV\":\"WARNING\",\"SEVDES\":\"Warning: warning conditions\"},\"filter\":{\"${Priority}\":\"172\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"5\",\"INT\":\"21\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Notice: normal but significant condition\"},\"filter\":{\"${Priority}\":\"173\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"6\",\"INT\":\"21\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Informational: informational messages\"},\"filter\":{\"${Priority}\":\"174\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"7\",\"INT\":\"21\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Debug: debug-level messages\"},\"filter\":{\"${Priority}\":\"175\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"0\",\"INT\":\"22\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Emergency: system is unusable\"},\"filter\":{\"${Priority}\":\"176\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"1\",\"INT\":\"22\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Alert: action must be taken immediately\"},\"filter\":{\"${Priority}\":\"177\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"2\",\"INT\":\"22\",\"HSEV\":\"MAJOR\",\"SEVDES\":\"Critical: critical conditions\"},\"filter\":{\"${Priority}\":\"178\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"3\",\"INT\":\"22\",\"HSEV\":\"MINOR\",\"SEVDES\":\"Error: error conditions\"},\"filter\":{\"${Priority}\":\"179\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"4\",\"INT\":\"22\",\"HSEV\":\"WARNING\",\"SEVDES\":\"Warning: warning conditions\"},\"filter\":{\"${Priority}\":\"180\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"5\",\"INT\":\"22\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Notice: normal but significant condition\"},\"filter\":{\"${Priority}\":\"181\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"6\",\"INT\":\"22\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Informational: informational messages\"},\"filter\":{\"${Priority}\":\"182\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"7\",\"INT\":\"22\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Debug: debug-level messages\"},\"filter\":{\"${Priority}\":\"183\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"0\",\"INT\":\"23\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Emergency: system is unusable\"},\"filter\":{\"${Priority}\":\"184\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"1\",\"INT\":\"23\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Alert: action must be taken immediately\"},\"filter\":{\"${Priority}\":\"185\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"2\",\"INT\":\"23\",\"HSEV\":\"MAJOR\",\"SEVDES\":\"Critical: critical conditions\"},\"filter\":{\"${Priority}\":\"186\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"3\",\"INT\":\"23\",\"HSEV\":\"MINOR\",\"SEVDES\":\"Error: error conditions\"},\"filter\":{\"${Priority}\":\"187\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"4\",\"INT\":\"23\",\"HSEV\":\"WARNING\",\"SEVDES\":\"Warning: warning conditions\"},\"filter\":{\"${Priority}\":\"188\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"5\",\"INT\":\"23\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Notice: normal but significant condition\"},\"filter\":{\"${Priority}\":\"189\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"6\",\"INT\":\"23\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Informational: informational messages\"},\"filter\":{\"${Priority}\":\"190\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"7\",\"INT\":\"23\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Debug: debug-level messages\"},\"filter\":{\"${Priority}\":\"191\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"0\",\"INT\":\"24\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Emergency: system is unusable\"},\"filter\":{\"${Priority}\":\"192\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"1\",\"INT\":\"24\",\"HSEV\":\"CRITICAL\",\"SEVDES\":\"Alert: action must be taken immediately\"},\"filter\":{\"${Priority}\":\"193\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"2\",\"INT\":\"24\",\"HSEV\":\"MAJOR\",\"SEVDES\":\"Critical: critical conditions\"},\"filter\":{\"${Priority}\":\"194\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"3\",\"INT\":\"24\",\"HSEV\":\"MINOR\",\"SEVDES\":\"Error: error conditions\"},\"filter\":{\"${Priority}\":\"195\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"4\",\"INT\":\"24\",\"HSEV\":\"WARNING\",\"SEVDES\":\"Warning: warning conditions\"},\"filter\":{\"${Priority}\":\"196\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"5\",\"INT\":\"24\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Notice: normal but significant condition\"},\"filter\":{\"${Priority}\":\"197\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"6\",\"INT\":\"24\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Informational: informational messages\"},\"filter\":{\"${Priority}\":\"198\"}},{\"key\":\"syslogLookup\",\"value\":{\"MOD\":\"7\",\"INT\":\"23\",\"HSEV\":\"NORMAL\",\"SEVDES\":\"Debug: debug-level messages\"},\"filter\":{\"${Priority}\":\"199\"}}]" + }, + "name": "settings", + "type": "string" + }, + { + "assignment": { "value": "False" }, + "name": "startNoChannels", + "type": "string" + }, + { + "default": "cdap_broker", + "assignment": { + "value": { "get_input": "connected_broker_dns_name" } + }, + "name": "connected_broker_dns_name", + "type": "string", + "required": true + }, + { "name": "jar_url", "type": "string", "required": true }, + { + "assignment": { + "value": { + "get_property": ["SELF", "composition", "location_id"] + } + }, + "name": "location_id", + "type": "string", + "required": true + }, + { + "name": "service_component_type", + "type": "string", + "required": true + } + ], + "typeinfo": { + "itemId": + "e45ec9d7-01df-4cb1-896f-aff2a6ca5a8b/tosca.dcae.nodes.cdapApp.Map", + "requirements": [ + { + "node": { + "name": "dcae.capabilities.stream.subscribe", + "id": + "e45ec9d7-01df-4cb1-896f-aff2a6ca5a8b/dcae.capabilities.stream.subscribe" + }, + "capability": { + "name": "dcae.capabilities.stream.subscribe", + "id": + "e45ec9d7-01df-4cb1-896f-aff2a6ca5a8b/dcae.capabilities.stream.subscribe" + }, + "name": "stream_publish_0", + "id": "e45ec9d7-01df-4cb1-896f-aff2a6ca5a8b/stream_publish_0", + "relationship": { + "type": "dcae.relationships.rework_connected_to" + } + }, + { + "node": { + "name": "dcae.capabilities.cdapHost", + "id": + "e45ec9d7-01df-4cb1-896f-aff2a6ca5a8b/dcae.capabilities.cdapHost" + }, + "capability": { + "name": "dcae.capabilities.cdapHost", + "id": + "e45ec9d7-01df-4cb1-896f-aff2a6ca5a8b/dcae.capabilities.cdapHost" + }, + "name": "host", + "id": "e45ec9d7-01df-4cb1-896f-aff2a6ca5a8b/host", + "relationship": { + "type": "dcae.relationships.component_contained_in" + } + }, + { + "node": { + "name": "dcae.capabilities.composition.host", + "id": + "e45ec9d7-01df-4cb1-896f-aff2a6ca5a8b/dcae.capabilities.composition.host" + }, + "capability": { + "name": "dcae.capabilities.composition.host", + "id": + "e45ec9d7-01df-4cb1-896f-aff2a6ca5a8b/dcae.capabilities.composition.host" + }, + "name": "composition", + "id": "e45ec9d7-01df-4cb1-896f-aff2a6ca5a8b/composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": { + "name": "tosca.capabilities.Node", + "id": + "e45ec9d7-01df-4cb1-896f-aff2a6ca5a8b/tosca.capabilities.Node" + }, + "capability": { + "name": "tosca.capabilities.Node", + "id": + "e45ec9d7-01df-4cb1-896f-aff2a6ca5a8b/tosca.capabilities.Node" + }, + "name": "dependency", + "id": "e45ec9d7-01df-4cb1-896f-aff2a6ca5a8b/dependency", + "relationship": { "type": "tosca.relationships.DependsOn" } + } + ], + "capabilities": [ + { + "name": "stream_subscribe_0", + "type": { + "name": "dcae.capabilities.stream.subscribe", + "id": + "e45ec9d7-01df-4cb1-896f-aff2a6ca5a8b/dcae.capabilities.stream.subscribe" + } + }, + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": + "e45ec9d7-01df-4cb1-896f-aff2a6ca5a8b/tosca.capabilities.Node" + } + } + ], + "catalogId": 0, + "catalog": "http://135.91.225.81:8080", + "hierarchy": [ + { + "name": "tosca.dcae.nodes.cdapApp", + "id": + "e45ec9d7-01df-4cb1-896f-aff2a6ca5a8b/tosca.dcae.nodes.cdapApp" + }, + { + "name": "tosca.dcae.nodes.Root", + "id": "e45ec9d7-01df-4cb1-896f-aff2a6ca5a8b/tosca.dcae.nodes.Root" + }, + { + "name": "tosca.nodes.Root", + "description": + "The TOSCA Node Type all other TOSCA base Node Types derive from", + "id": "e45ec9d7-01df-4cb1-896f-aff2a6ca5a8b/tosca.nodes.Root" + } + ], + "name": "tosca.dcae.nodes.cdapApp.Map", + "id": 0 + }, + "type": { "name": "tosca.dcae.nodes.cdapApp.Map" } + }, + { + "name": "supplement", + "description": + "/sdc/v1/catalog/resources/30d0b4f4-efc5-424a-9d26-6d7843a0971d/artifacts/2d68c4e3-a4ab-46b3-ae3b-2a593fa97ded", + "id": "30d0b4f4-efc5-424a-9d26-6d7843a0971d", + "nid": "n.1517823224030.1", + "capabilities": [ + { + "name": "stream_subscribe_0", + "type": { + "name": "dcae.capabilities.stream.subscribe", + "id": "template.yaml/dcae.capabilities.stream.subscribe" + }, + "properties": [ + { + "assignment": { "value": "VES_specification" }, + "name": "format", + "type": "string" + }, + { + "assignment": { "value": "IGNORE" }, + "name": "route", + "type": "string" + }, + { + "assignment": { "value": "5.28.4" }, + "name": "version", + "type": "string" + } + ] + }, + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + } + } + ], + "requirements": [ + { + "capability": { + "name": "dcae.capabilities.stream.subscribe", + "id": "template.yaml/dcae.capabilities.stream.subscribe" + }, + "node_filter": { + "capabilities": [ + { + "dcae.capabilities.stream.subscribe": { + "properties": [ + { "format": [{ "equal": "VES_specification" }] }, + { "version": [{ "equal": "5.28.4" }] } + ] + } + } + ] + }, + "name": "stream_publish_0", + "relationship": { "type": "dcae.relationships.rework_connected_to" } + }, + { + "capability": { + "name": "dcae.capabilities.cdapHost", + "id": "template.yaml/dcae.capabilities.cdapHost" + }, + "name": "host", + "relationship": { + "type": "dcae.relationships.component_contained_in" + } + }, + { + "capability": { + "name": "dcae.capabilities.composition.host", + "id": "template.yaml/dcae.capabilities.composition.host" + }, + "name": "composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": "tosca.nodes.Root", + "capability": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + }, + "name": "dependency", + "relationship": { "type": "tosca.relationships.DependsOn" } + } + ], + "properties": [ + { + "assignment": { + "value": + "com.att.gfp.dcae.eventProcessor.Catalog,com.att.ecomp.dcae.eventproc.cdap.common.processors.Catalog" + }, + "name": "defaultCatalogs", + "type": "string" + }, + { + "assignment": { "value": { "get_input": "defaultObjects" } }, + "name": "defaultObjects", + "type": "string" + }, + { + "assignment": { "value": "Supplement Microservice" }, + "name": "description", + "type": "string" + }, + { + "assignment": { "value": { "get_input": "dmaapConsumerGrp" } }, + "name": "dmaapConsumerGrp", + "type": "string" + }, + { + "assignment": { "value": "" }, + "name": "eventFactory", + "type": "string" + }, + { + "assignment": { + "value": + "{\"processing\":[{\"phase\":\"supplement\",\"filter\":{\"class\":\"OneOf\",\"field\":\"event.commonEventHeader.eventType\",\"values\":[\"vPCRF_Alarms\",\"vMoG_Alarms\",\"applicationVnf\",\"GuestOS_Alarms\",\"Control\"]},\"processors\":[{\"class\":\"DateFormatter\",\"value\":\"${event.commonEventHeader.startEpochMicrosec}\",\"fromFormat\":\"#ms\",\"fromTz\":\"GMT\",\"toField\":\"event.commonEventHeader.internalHeaderFields.firstDatetime\",\"toFormat\":\"EEE,ddMMMyyyyHH:mm:ssZ\",\"toTz\":\"GMT\"},{\"class\":\"DateFormatter\",\"value\":\"${event.commonEventHeader.lastEpochMicrosec}\",\"fromFormat\":\"#ms\",\"fromTz\":\"GMT\",\"toField\":\"event.commonEventHeader.internalHeaderFields.lastDatetime\",\"toFormat\":\"EEE,ddMMMyyyyHH:mm:ssZ\",\"toTz\":\"GMT\"},{\"class\":\"DateFormatter\",\"value\":\"%{now.ms}\",\"fromFormat\":\"#ms\",\"fromTz\":\"GMT\",\"toField\":\"event.commonEventHeader.internalHeaderFields.collectorTimeStamp\",\"toFormat\":\"EEE,ddMMMyyyyHH:mm:ssZ\",\"toTz\":\"GMT\"},{\"class\":\"Set\",\"updates\":{\"event.commonEventHeader.internalHeaderFields.internalHeaderFieldsVersion\":\"9.9\",\"event.commonEventHeader.internalHeaderFields.eventTag\":\"${hp.tag}\"}}]},{\"phase\":\"supplement\",\"processors\":[{\"class\":\"RunPhase\",\"phase\":\"supplement_publish\"}]},{\"phase\":\"ves_supplement\",\"filter\":{\"class\":\"OneOf\",\"field\":\"event.commonEventHeader.eventType\",\"values\":[\"vIRC_Alarms\"]},\"processors\":[{\"class\":\"RunPhase\",\"phase\":\"supplement_publish\"}]}]}" + }, + "name": "json", + "type": "string" + }, + { + "assignment": { "value": { "get_input": "monitorThreads" } }, + "name": "monitorThreads", + "type": "string" + }, + { + "assignment": { "value": "supplementMS" }, + "name": "name", + "type": "string" + }, + { + "assignment": { "value": "supplement" }, + "name": "phases.supplement.phaseName", + "type": "string" + }, + { + "assignment": { "value": ".*supplement-in.*" }, + "name": "phases.supplement.streamPattern", + "type": "string" + }, + { + "assignment": { "value": "ves_supplement" }, + "name": "phases.ves_supplement.phaseName", + "type": "string" + }, + { + "assignment": { "value": ".*sec-fault.*" }, + "name": "phases.ves_supplement.streamPattern", + "type": "string" + }, + { + "assignment": { + "value": + "{\"phase\":\"supplement_publish\",\"processors\":[{\"class\":\"EventProcessorMetric\",\"metric\":\"out.events\"},{\"class\":\"SendEvent\",\"channel\":\"DCAE-SUPPLEMENT-EVENT-OUT\"}]}" + }, + "name": "postConfig", + "type": "string" + }, + { + "assignment": { "value": "vnfTypes.*" }, + "name": "ruleKeyPattern", + "type": "string" + }, + { + "assignment": { "value": "False" }, + "name": "startNoChannels", + "type": "string" + }, + { + "default": "cdap_broker", + "assignment": { + "value": { "get_input": "connected_broker_dns_name" } + }, + "name": "connected_broker_dns_name", + "type": "string", + "required": true + }, + { "name": "jar_url", "type": "string", "required": true }, + { + "assignment": { + "value": { + "get_property": ["SELF", "composition", "location_id"] + } + }, + "name": "location_id", + "type": "string", + "required": true + }, + { + "name": "service_component_type", + "type": "string", + "required": true + } + ], + "typeinfo": { + "itemId": + "30d0b4f4-efc5-424a-9d26-6d7843a0971d/tosca.dcae.nodes.cdapApp.Supplement", + "requirements": [ + { + "node": { + "name": "dcae.capabilities.stream.subscribe", + "id": + "30d0b4f4-efc5-424a-9d26-6d7843a0971d/dcae.capabilities.stream.subscribe" + }, + "capability": { + "name": "dcae.capabilities.stream.subscribe", + "id": + "30d0b4f4-efc5-424a-9d26-6d7843a0971d/dcae.capabilities.stream.subscribe" + }, + "name": "stream_publish_0", + "id": "30d0b4f4-efc5-424a-9d26-6d7843a0971d/stream_publish_0", + "relationship": { + "type": "dcae.relationships.rework_connected_to" + } + }, + { + "node": { + "name": "dcae.capabilities.cdapHost", + "id": + "30d0b4f4-efc5-424a-9d26-6d7843a0971d/dcae.capabilities.cdapHost" + }, + "capability": { + "name": "dcae.capabilities.cdapHost", + "id": + "30d0b4f4-efc5-424a-9d26-6d7843a0971d/dcae.capabilities.cdapHost" + }, + "name": "host", + "id": "30d0b4f4-efc5-424a-9d26-6d7843a0971d/host", + "relationship": { + "type": "dcae.relationships.component_contained_in" + } + }, + { + "node": { + "name": "dcae.capabilities.composition.host", + "id": + "30d0b4f4-efc5-424a-9d26-6d7843a0971d/dcae.capabilities.composition.host" + }, + "capability": { + "name": "dcae.capabilities.composition.host", + "id": + "30d0b4f4-efc5-424a-9d26-6d7843a0971d/dcae.capabilities.composition.host" + }, + "name": "composition", + "id": "30d0b4f4-efc5-424a-9d26-6d7843a0971d/composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": { + "name": "tosca.capabilities.Node", + "id": + "30d0b4f4-efc5-424a-9d26-6d7843a0971d/tosca.capabilities.Node" + }, + "capability": { + "name": "tosca.capabilities.Node", + "id": + "30d0b4f4-efc5-424a-9d26-6d7843a0971d/tosca.capabilities.Node" + }, + "name": "dependency", + "id": "30d0b4f4-efc5-424a-9d26-6d7843a0971d/dependency", + "relationship": { "type": "tosca.relationships.DependsOn" } + } + ], + "capabilities": [ + { + "name": "stream_subscribe_0", + "type": { + "name": "dcae.capabilities.stream.subscribe", + "id": + "30d0b4f4-efc5-424a-9d26-6d7843a0971d/dcae.capabilities.stream.subscribe" + } + }, + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": + "30d0b4f4-efc5-424a-9d26-6d7843a0971d/tosca.capabilities.Node" + } + } + ], + "catalogId": 0, + "catalog": "http://135.91.225.81:8080", + "hierarchy": [ + { + "name": "tosca.dcae.nodes.cdapApp", + "id": + "30d0b4f4-efc5-424a-9d26-6d7843a0971d/tosca.dcae.nodes.cdapApp" + }, + { + "name": "tosca.dcae.nodes.Root", + "id": "30d0b4f4-efc5-424a-9d26-6d7843a0971d/tosca.dcae.nodes.Root" + }, + { + "name": "tosca.nodes.Root", + "description": + "The TOSCA Node Type all other TOSCA base Node Types derive from", + "id": "30d0b4f4-efc5-424a-9d26-6d7843a0971d/tosca.nodes.Root" + } + ], + "name": "tosca.dcae.nodes.cdapApp.Supplement", + "id": 0 + }, + "type": { "name": "tosca.dcae.nodes.cdapApp.Supplement" } + }, + { + "name": "enrich", + "description": + "/sdc/v1/catalog/resources/8743b27b-f01e-4b17-a306-37efd42983d0/artifacts/c96f3ffd-516c-470b-ab7c-ced64fb244f0", + "id": "8743b27b-f01e-4b17-a306-37efd42983d0", + "nid": "n.1517823228454.2", + "capabilities": [ + { + "name": "stream_subscribe_0", + "type": { + "name": "dcae.capabilities.stream.subscribe", + "id": "template.yaml/dcae.capabilities.stream.subscribe" + }, + "properties": [ + { + "assignment": { "value": "VES_specification" }, + "name": "format", + "type": "string" + }, + { + "assignment": { "value": "IGNORE" }, + "name": "route", + "type": "string" + }, + { + "assignment": { "value": "5.28.4" }, + "name": "version", + "type": "string" + } + ] + }, + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + } + } + ], + "requirements": [ + { + "capability": { + "name": "dcae.capabilities.stream.subscribe", + "id": "template.yaml/dcae.capabilities.stream.subscribe" + }, + "node_filter": { + "capabilities": [ + { + "dcae.capabilities.stream.subscribe": { + "properties": [ + { "format": [{ "equal": "VES_specification" }] }, + { "version": [{ "equal": "5.28.4" }] } + ] + } + } + ] + }, + "name": "stream_publish_0", + "relationship": { "type": "dcae.relationships.rework_connected_to" } + }, + { + "capability": { + "name": "dcae.capabilities.cdapHost", + "id": "template.yaml/dcae.capabilities.cdapHost" + }, + "name": "host", + "relationship": { + "type": "dcae.relationships.component_contained_in" + } + }, + { + "capability": { + "name": "dcae.capabilities.composition.host", + "id": "template.yaml/dcae.capabilities.composition.host" + }, + "name": "composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": "tosca.nodes.Root", + "capability": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + }, + "name": "dependency", + "relationship": { "type": "tosca.relationships.DependsOn" } + } + ], + "properties": [ + { + "assignment": { + "value": + "com.att.ecomp.dcae.eventproc.cdap.common.processors.Catalog,com.att.sa.highlandPark.topoTools.HpTopoDbObjectCatalog,com.att.sa.highlandPark.topoTools.HpTopoDbProcessors,com.att.gfp.dcae.eventProcessor.Catalog" + }, + "name": "defaultCatalogs", + "type": "string" + }, + { + "assignment": { "value": { "get_input": "defaultObjects" } }, + "name": "defaultObjects", + "type": "string" + }, + { + "assignment": { "value": "Enrich Microservice" }, + "name": "description", + "type": "string" + }, + { + "assignment": { "value": { "get_input": "dmaapConsumerGrp" } }, + "name": "dmaapConsumerGrp", + "type": "string" + }, + { + "assignment": { "value": "" }, + "name": "eventFactory", + "type": "string" + }, + { + "assignment": { + "value": + "{\"processing\":[{\"phase\":\"enrich\",\"filter\":{\"class\":\"Assigned\",\"field\":\"event.commonEventHeader.sourceName\",\"emtpyIsAssigned\":false},\"processors\":[{\"class\":\"StringTransform\",\"value\":\"${event.commonEventHeader.sourceName}\",\"toField\":\"searchString\",\"targetCase\":\"lower\"},{\"class\":\"EventProcessorMetric\",\"metric\":\"in.events\"},{\"class\":\"LogText\",\"logLevel\":\"WARN\",\"logText\":\"Alarm_EnrichmentStartingfor${hp.tag}\"},{\"class\":\"TopoSearch\",\"searchField\":\"oid\",\"searchValue\":\"${searchString}\",\"updates\":{\"event.commonEventHeader.sourceName\":\"${ptnii_name}\",\"event.commonEventHeader.sourceId\":\"${vserver_id}\",\"event.commonEventHeader.reportingEntityName\":\"${vnf_name}\",\"event.commonEventHeader.reportingEntityId\":\"${vnf_id}\",\"event.commonEventHeader.internalHeaderFields.equipmentType\":\"${equip_type}\",\"event.commonEventHeader.internalHeaderFields.provStatus\":\"${prov_status}\",\"event.commonEventHeader.internalHeaderFields.inMaint\":\"${in_maint}\",\"event.commonEventHeader.internalHeaderFields.tenantName\":\"${tenant_name}\",\"event.commonEventHeader.internalHeaderFields.eventSourceHostname\":\"${hostname}\",\"isEnriched\":true}},{\"class\":\"Set\",\"updates\":{\"event.preCorrelationAging\":\"${preCorrelationAging}\",\"event.prepublishAging\":\"${prepublishAging}\"}},{\"class\":\"Clear\",\"fields\":[\"searchString\"]},{\"class\":\"RunPhase\",\"phase\":\"enrich_publish\"}]}]}" + }, + "name": "json", + "type": "string" + }, + { + "assignment": { "value": { "get_input": "monitorThreads" } }, + "name": "monitorThreads", + "type": "string" + }, + { + "assignment": { "value": "enrichMS" }, + "name": "name", + "type": "string" + }, + { + "assignment": { "value": "enrich" }, + "name": "phases.enrich.phaseName", + "type": "string" + }, + { + "assignment": { "value": ".*" }, + "name": "phases.enrich.streamPattern", + "type": "string" + }, + { + "assignment": { + "value": + "{\"phase\":\"enrich_publish\",\"processors\":[{\"class\":\"EventProcessorMetric\",\"metric\":\"out.events\"},{\"class\":\"SendEvent\",\"channel\":\"DCAE-ENRICH-EVENT-OUT\"}]}" + }, + "name": "postConfig", + "type": "string" + }, + { + "assignment": { "value": "vnfTypes.*" }, + "name": "ruleKeyPattern", + "type": "string" + }, + { + "assignment": { "value": "False" }, + "name": "startNoChannels", + "type": "string" + }, + { + "default": "cdap_broker", + "assignment": { + "value": { "get_input": "connected_broker_dns_name" } + }, + "name": "connected_broker_dns_name", + "type": "string", + "required": true + }, + { "name": "jar_url", "type": "string", "required": true }, + { + "assignment": { + "value": { + "get_property": ["SELF", "composition", "location_id"] + } + }, + "name": "location_id", + "type": "string", + "required": true + }, + { + "name": "service_component_type", + "type": "string", + "required": true + } + ], + "typeinfo": { + "itemId": + "8743b27b-f01e-4b17-a306-37efd42983d0/tosca.dcae.nodes.cdapApp.Enrich", + "requirements": [ + { + "node": { + "name": "dcae.capabilities.stream.subscribe", + "id": + "8743b27b-f01e-4b17-a306-37efd42983d0/dcae.capabilities.stream.subscribe" + }, + "capability": { + "name": "dcae.capabilities.stream.subscribe", + "id": + "8743b27b-f01e-4b17-a306-37efd42983d0/dcae.capabilities.stream.subscribe" + }, + "name": "stream_publish_0", + "id": "8743b27b-f01e-4b17-a306-37efd42983d0/stream_publish_0", + "relationship": { + "type": "dcae.relationships.rework_connected_to" + } + }, + { + "node": { + "name": "dcae.capabilities.cdapHost", + "id": + "8743b27b-f01e-4b17-a306-37efd42983d0/dcae.capabilities.cdapHost" + }, + "capability": { + "name": "dcae.capabilities.cdapHost", + "id": + "8743b27b-f01e-4b17-a306-37efd42983d0/dcae.capabilities.cdapHost" + }, + "name": "host", + "id": "8743b27b-f01e-4b17-a306-37efd42983d0/host", + "relationship": { + "type": "dcae.relationships.component_contained_in" + } + }, + { + "node": { + "name": "dcae.capabilities.composition.host", + "id": + "8743b27b-f01e-4b17-a306-37efd42983d0/dcae.capabilities.composition.host" + }, + "capability": { + "name": "dcae.capabilities.composition.host", + "id": + "8743b27b-f01e-4b17-a306-37efd42983d0/dcae.capabilities.composition.host" + }, + "name": "composition", + "id": "8743b27b-f01e-4b17-a306-37efd42983d0/composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": { + "name": "tosca.capabilities.Node", + "id": + "8743b27b-f01e-4b17-a306-37efd42983d0/tosca.capabilities.Node" + }, + "capability": { + "name": "tosca.capabilities.Node", + "id": + "8743b27b-f01e-4b17-a306-37efd42983d0/tosca.capabilities.Node" + }, + "name": "dependency", + "id": "8743b27b-f01e-4b17-a306-37efd42983d0/dependency", + "relationship": { "type": "tosca.relationships.DependsOn" } + } + ], + "capabilities": [ + { + "name": "stream_subscribe_0", + "type": { + "name": "dcae.capabilities.stream.subscribe", + "id": + "8743b27b-f01e-4b17-a306-37efd42983d0/dcae.capabilities.stream.subscribe" + } + }, + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": + "8743b27b-f01e-4b17-a306-37efd42983d0/tosca.capabilities.Node" + } + } + ], + "catalogId": 0, + "catalog": "http://135.91.225.81:8080", + "hierarchy": [ + { + "name": "tosca.dcae.nodes.cdapApp", + "id": + "8743b27b-f01e-4b17-a306-37efd42983d0/tosca.dcae.nodes.cdapApp" + }, + { + "name": "tosca.dcae.nodes.Root", + "id": "8743b27b-f01e-4b17-a306-37efd42983d0/tosca.dcae.nodes.Root" + }, + { + "name": "tosca.nodes.Root", + "description": + "The TOSCA Node Type all other TOSCA base Node Types derive from", + "id": "8743b27b-f01e-4b17-a306-37efd42983d0/tosca.nodes.Root" + } + ], + "name": "tosca.dcae.nodes.cdapApp.Enrich", + "id": 0 + }, + "type": { "name": "tosca.dcae.nodes.cdapApp.Enrich" } + } + ], + "relations": [], + "inputs": [], + "outputs": [] + } +} diff --git a/public/cypress/fixtures/doneSaveSimpleCopy.json b/public/cypress/fixtures/doneSaveSimpleCopy.json new file mode 100644 index 0000000..e377e8c --- /dev/null +++ b/public/cypress/fixtures/doneSaveSimpleCopy.json @@ -0,0 +1,21 @@ +{ + "version": "4.1", + "eventType": "syslogFields", + "description": "newRule", + "uid": "f620724b-7170-43e1-8a8b-55e98cabe658", + "phase": "sto2", + "condition": null, + "actions": [ + { + "actionType": "copy", + "from": { + "regex": "", + "state": "closed", + "values": [{ "value": "" }, { "value": "" }], + "value": "a" + }, + "target": "event.commonEventHeader.domain", + "id": "296bcdd0-1d20-11e8-a96d-298fbe0cb0fd" + } + ] +} diff --git a/public/cypress/fixtures/example.json b/public/cypress/fixtures/example.json new file mode 100644 index 0000000..da18d93 --- /dev/null +++ b/public/cypress/fixtures/example.json @@ -0,0 +1,5 @@ +{ + "name": "Using fixtures to represent data", + "email": "hello@cypress.io", + "body": "Fixtures are a great way to mock data for responses to routes" +}
\ No newline at end of file diff --git a/public/cypress/fixtures/getMCMock.json b/public/cypress/fixtures/getMCMock.json new file mode 100644 index 0000000..602d2e0 --- /dev/null +++ b/public/cypress/fixtures/getMCMock.json @@ -0,0 +1,628 @@ +{ + "vfcmt": { + "uuid": "06c7d927-4e2f-47e1-a29d-b6ed229ebc0a", + "name": "vosk007", + "description": "the name is vosk, eran vosk", + "vfiName": "LiavSrv", + "flowType": "SNMP" + }, + "cdump": { + "cid": "47908e78-9893-4f18-b767-ea7131dd8de7", + "version": 0, + "nodes": [ + { + "name": "supplement", + "description": + "/sdc/v1/catalog/resources/30d0b4f4-efc5-424a-9d26-6d7843a0971d/artifacts/2d68c4e3-a4ab-46b3-ae3b-2a593fa97ded", + "id": "30d0b4f4-efc5-424a-9d26-6d7843a0971d", + "nid": "n.1517823224030.1", + "capabilities": [ + { + "name": "stream_subscribe_0", + "type": { + "name": "dcae.capabilities.stream.subscribe", + "id": "template.yaml/dcae.capabilities.stream.subscribe" + }, + "properties": [ + { + "assignment": { "value": "VES_specification" }, + "name": "format", + "type": "string" + }, + { + "assignment": { "value": "IGNORE" }, + "name": "route", + "type": "string" + }, + { + "assignment": { "value": "5.28.4" }, + "name": "version", + "type": "string" + } + ] + }, + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + } + } + ], + "requirements": [ + { + "capability": { + "name": "dcae.capabilities.stream.subscribe", + "id": "template.yaml/dcae.capabilities.stream.subscribe" + }, + "node_filter": { + "capabilities": [ + { + "dcae.capabilities.stream.subscribe": { + "properties": [ + { "format": [{ "equal": "VES_specification" }] }, + { "version": [{ "equal": "5.28.4" }] } + ] + } + } + ] + }, + "name": "stream_publish_0", + "relationship": { "type": "dcae.relationships.rework_connected_to" } + }, + { + "capability": { + "name": "dcae.capabilities.cdapHost", + "id": "template.yaml/dcae.capabilities.cdapHost" + }, + "name": "host", + "relationship": { + "type": "dcae.relationships.component_contained_in" + } + }, + { + "capability": { + "name": "dcae.capabilities.composition.host", + "id": "template.yaml/dcae.capabilities.composition.host" + }, + "name": "composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": "tosca.nodes.Root", + "capability": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + }, + "name": "dependency", + "relationship": { "type": "tosca.relationships.DependsOn" } + } + ], + "properties": [ + { + "assignment": { + "value": + "com.att.gfp.dcae.eventProcessor.Catalog,com.att.ecomp.dcae.eventproc.cdap.common.processors.Catalog" + }, + "name": "defaultCatalogs", + "type": "string" + }, + { + "assignment": { "value": { "get_input": "defaultObjects" } }, + "name": "defaultObjects", + "type": "string" + }, + { + "assignment": { "value": "Supplement Microservice" }, + "name": "description", + "type": "string" + }, + { + "assignment": { "value": { "get_input": "dmaapConsumerGrp" } }, + "name": "dmaapConsumerGrp", + "type": "string" + }, + { + "assignment": { "value": "" }, + "name": "eventFactory", + "type": "string" + }, + { + "assignment": { + "value": + "{\"processing\":[{\"phase\":\"supplement\",\"filter\":{\"class\":\"OneOf\",\"field\":\"event.commonEventHeader.eventType\",\"values\":[\"vPCRF_Alarms\",\"vMoG_Alarms\",\"applicationVnf\",\"GuestOS_Alarms\",\"Control\"]},\"processors\":[{\"class\":\"DateFormatter\",\"value\":\"${event.commonEventHeader.startEpochMicrosec}\",\"fromFormat\":\"#ms\",\"fromTz\":\"GMT\",\"toField\":\"event.commonEventHeader.internalHeaderFields.firstDatetime\",\"toFormat\":\"EEE,ddMMMyyyyHH:mm:ssZ\",\"toTz\":\"GMT\"},{\"class\":\"DateFormatter\",\"value\":\"${event.commonEventHeader.lastEpochMicrosec}\",\"fromFormat\":\"#ms\",\"fromTz\":\"GMT\",\"toField\":\"event.commonEventHeader.internalHeaderFields.lastDatetime\",\"toFormat\":\"EEE,ddMMMyyyyHH:mm:ssZ\",\"toTz\":\"GMT\"},{\"class\":\"DateFormatter\",\"value\":\"%{now.ms}\",\"fromFormat\":\"#ms\",\"fromTz\":\"GMT\",\"toField\":\"event.commonEventHeader.internalHeaderFields.collectorTimeStamp\",\"toFormat\":\"EEE,ddMMMyyyyHH:mm:ssZ\",\"toTz\":\"GMT\"},{\"class\":\"Set\",\"updates\":{\"event.commonEventHeader.internalHeaderFields.internalHeaderFieldsVersion\":\"9.9\",\"event.commonEventHeader.internalHeaderFields.eventTag\":\"${hp.tag}\"}}]},{\"phase\":\"supplement\",\"processors\":[{\"class\":\"RunPhase\",\"phase\":\"supplement_publish\"}]},{\"phase\":\"ves_supplement\",\"filter\":{\"class\":\"OneOf\",\"field\":\"event.commonEventHeader.eventType\",\"values\":[\"vIRC_Alarms\"]},\"processors\":[{\"class\":\"RunPhase\",\"phase\":\"supplement_publish\"}]}]}" + }, + "name": "json", + "type": "string" + }, + { + "assignment": { "value": { "get_input": "monitorThreads" } }, + "name": "monitorThreads", + "type": "string" + }, + { + "assignment": { "value": "supplementMS" }, + "name": "name", + "type": "string" + }, + { + "assignment": { "value": "supplement" }, + "name": "phases.supplement.phaseName", + "type": "string" + }, + { + "assignment": { "value": ".*supplement-in.*" }, + "name": "phases.supplement.streamPattern", + "type": "string" + }, + { + "assignment": { "value": "ves_supplement" }, + "name": "phases.ves_supplement.phaseName", + "type": "string" + }, + { + "assignment": { "value": ".*sec-fault.*" }, + "name": "phases.ves_supplement.streamPattern", + "type": "string" + }, + { + "assignment": { + "value": + "{\"phase\":\"supplement_publish\",\"processors\":[{\"class\":\"EventProcessorMetric\",\"metric\":\"out.events\"},{\"class\":\"SendEvent\",\"channel\":\"DCAE-SUPPLEMENT-EVENT-OUT\"}]}" + }, + "name": "postConfig", + "type": "string" + }, + { + "assignment": { "value": "vnfTypes.*" }, + "name": "ruleKeyPattern", + "type": "string" + }, + { + "assignment": { "value": "False" }, + "name": "startNoChannels", + "type": "string" + }, + { + "default": "cdap_broker", + "assignment": { + "value": { "get_input": "connected_broker_dns_name" } + }, + "name": "connected_broker_dns_name", + "type": "string", + "required": true + }, + { "name": "jar_url", "type": "string", "required": true }, + { + "assignment": { + "value": { + "get_property": ["SELF", "composition", "location_id"] + } + }, + "name": "location_id", + "type": "string", + "required": true + }, + { + "name": "service_component_type", + "type": "string", + "required": true + } + ], + "typeinfo": { + "itemId": + "30d0b4f4-efc5-424a-9d26-6d7843a0971d/tosca.dcae.nodes.cdapApp.Supplement", + "requirements": [ + { + "node": { + "name": "dcae.capabilities.stream.subscribe", + "id": + "30d0b4f4-efc5-424a-9d26-6d7843a0971d/dcae.capabilities.stream.subscribe" + }, + "capability": { + "name": "dcae.capabilities.stream.subscribe", + "id": + "30d0b4f4-efc5-424a-9d26-6d7843a0971d/dcae.capabilities.stream.subscribe" + }, + "name": "stream_publish_0", + "id": "30d0b4f4-efc5-424a-9d26-6d7843a0971d/stream_publish_0", + "relationship": { + "type": "dcae.relationships.rework_connected_to" + } + }, + { + "node": { + "name": "dcae.capabilities.cdapHost", + "id": + "30d0b4f4-efc5-424a-9d26-6d7843a0971d/dcae.capabilities.cdapHost" + }, + "capability": { + "name": "dcae.capabilities.cdapHost", + "id": + "30d0b4f4-efc5-424a-9d26-6d7843a0971d/dcae.capabilities.cdapHost" + }, + "name": "host", + "id": "30d0b4f4-efc5-424a-9d26-6d7843a0971d/host", + "relationship": { + "type": "dcae.relationships.component_contained_in" + } + }, + { + "node": { + "name": "dcae.capabilities.composition.host", + "id": + "30d0b4f4-efc5-424a-9d26-6d7843a0971d/dcae.capabilities.composition.host" + }, + "capability": { + "name": "dcae.capabilities.composition.host", + "id": + "30d0b4f4-efc5-424a-9d26-6d7843a0971d/dcae.capabilities.composition.host" + }, + "name": "composition", + "id": "30d0b4f4-efc5-424a-9d26-6d7843a0971d/composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": { + "name": "tosca.capabilities.Node", + "id": + "30d0b4f4-efc5-424a-9d26-6d7843a0971d/tosca.capabilities.Node" + }, + "capability": { + "name": "tosca.capabilities.Node", + "id": + "30d0b4f4-efc5-424a-9d26-6d7843a0971d/tosca.capabilities.Node" + }, + "name": "dependency", + "id": "30d0b4f4-efc5-424a-9d26-6d7843a0971d/dependency", + "relationship": { "type": "tosca.relationships.DependsOn" } + } + ], + "capabilities": [ + { + "name": "stream_subscribe_0", + "type": { + "name": "dcae.capabilities.stream.subscribe", + "id": + "30d0b4f4-efc5-424a-9d26-6d7843a0971d/dcae.capabilities.stream.subscribe" + } + }, + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": + "30d0b4f4-efc5-424a-9d26-6d7843a0971d/tosca.capabilities.Node" + } + } + ], + "catalogId": 0, + "catalog": "http://135.91.225.81:8080", + "hierarchy": [ + { + "name": "tosca.dcae.nodes.cdapApp", + "id": + "30d0b4f4-efc5-424a-9d26-6d7843a0971d/tosca.dcae.nodes.cdapApp" + }, + { + "name": "tosca.dcae.nodes.Root", + "id": "30d0b4f4-efc5-424a-9d26-6d7843a0971d/tosca.dcae.nodes.Root" + }, + { + "name": "tosca.nodes.Root", + "description": + "The TOSCA Node Type all other TOSCA base Node Types derive from", + "id": "30d0b4f4-efc5-424a-9d26-6d7843a0971d/tosca.nodes.Root" + } + ], + "name": "tosca.dcae.nodes.cdapApp.Supplement", + "id": 0 + }, + "type": { "name": "tosca.dcae.nodes.cdapApp.Supplement" } + }, + { + "name": "enrich", + "description": + "/sdc/v1/catalog/resources/8743b27b-f01e-4b17-a306-37efd42983d0/artifacts/c96f3ffd-516c-470b-ab7c-ced64fb244f0", + "id": "8743b27b-f01e-4b17-a306-37efd42983d0", + "nid": "n.1517823228454.2", + "capabilities": [ + { + "name": "stream_subscribe_0", + "type": { + "name": "dcae.capabilities.stream.subscribe", + "id": "template.yaml/dcae.capabilities.stream.subscribe" + }, + "properties": [ + { + "assignment": { "value": "VES_specification" }, + "name": "format", + "type": "string" + }, + { + "assignment": { "value": "IGNORE" }, + "name": "route", + "type": "string" + }, + { + "assignment": { "value": "5.28.4" }, + "name": "version", + "type": "string" + } + ] + }, + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + } + } + ], + "requirements": [ + { + "capability": { + "name": "dcae.capabilities.stream.subscribe", + "id": "template.yaml/dcae.capabilities.stream.subscribe" + }, + "node_filter": { + "capabilities": [ + { + "dcae.capabilities.stream.subscribe": { + "properties": [ + { "format": [{ "equal": "VES_specification" }] }, + { "version": [{ "equal": "5.28.4" }] } + ] + } + } + ] + }, + "name": "stream_publish_0", + "relationship": { "type": "dcae.relationships.rework_connected_to" } + }, + { + "capability": { + "name": "dcae.capabilities.cdapHost", + "id": "template.yaml/dcae.capabilities.cdapHost" + }, + "name": "host", + "relationship": { + "type": "dcae.relationships.component_contained_in" + } + }, + { + "capability": { + "name": "dcae.capabilities.composition.host", + "id": "template.yaml/dcae.capabilities.composition.host" + }, + "name": "composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": "tosca.nodes.Root", + "capability": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + }, + "name": "dependency", + "relationship": { "type": "tosca.relationships.DependsOn" } + } + ], + "properties": [ + { + "assignment": { + "value": + "com.att.ecomp.dcae.eventproc.cdap.common.processors.Catalog,com.att.sa.highlandPark.topoTools.HpTopoDbObjectCatalog,com.att.sa.highlandPark.topoTools.HpTopoDbProcessors,com.att.gfp.dcae.eventProcessor.Catalog" + }, + "name": "defaultCatalogs", + "type": "string" + }, + { + "assignment": { "value": { "get_input": "defaultObjects" } }, + "name": "defaultObjects", + "type": "string" + }, + { + "assignment": { "value": "Enrich Microservice" }, + "name": "description", + "type": "string" + }, + { + "assignment": { "value": { "get_input": "dmaapConsumerGrp" } }, + "name": "dmaapConsumerGrp", + "type": "string" + }, + { + "assignment": { "value": "" }, + "name": "eventFactory", + "type": "string" + }, + { + "assignment": { + "value": + "{\"processing\":[{\"phase\":\"enrich\",\"filter\":{\"class\":\"Assigned\",\"field\":\"event.commonEventHeader.sourceName\",\"emtpyIsAssigned\":false},\"processors\":[{\"class\":\"StringTransform\",\"value\":\"${event.commonEventHeader.sourceName}\",\"toField\":\"searchString\",\"targetCase\":\"lower\"},{\"class\":\"EventProcessorMetric\",\"metric\":\"in.events\"},{\"class\":\"LogText\",\"logLevel\":\"WARN\",\"logText\":\"Alarm_EnrichmentStartingfor${hp.tag}\"},{\"class\":\"TopoSearch\",\"searchField\":\"oid\",\"searchValue\":\"${searchString}\",\"updates\":{\"event.commonEventHeader.sourceName\":\"${ptnii_name}\",\"event.commonEventHeader.sourceId\":\"${vserver_id}\",\"event.commonEventHeader.reportingEntityName\":\"${vnf_name}\",\"event.commonEventHeader.reportingEntityId\":\"${vnf_id}\",\"event.commonEventHeader.internalHeaderFields.equipmentType\":\"${equip_type}\",\"event.commonEventHeader.internalHeaderFields.provStatus\":\"${prov_status}\",\"event.commonEventHeader.internalHeaderFields.inMaint\":\"${in_maint}\",\"event.commonEventHeader.internalHeaderFields.tenantName\":\"${tenant_name}\",\"event.commonEventHeader.internalHeaderFields.eventSourceHostname\":\"${hostname}\",\"isEnriched\":true}},{\"class\":\"Set\",\"updates\":{\"event.preCorrelationAging\":\"${preCorrelationAging}\",\"event.prepublishAging\":\"${prepublishAging}\"}},{\"class\":\"Clear\",\"fields\":[\"searchString\"]},{\"class\":\"RunPhase\",\"phase\":\"enrich_publish\"}]}]}" + }, + "name": "json", + "type": "string" + }, + { + "assignment": { "value": { "get_input": "monitorThreads" } }, + "name": "monitorThreads", + "type": "string" + }, + { + "assignment": { "value": "enrichMS" }, + "name": "name", + "type": "string" + }, + { + "assignment": { "value": "enrich" }, + "name": "phases.enrich.phaseName", + "type": "string" + }, + { + "assignment": { "value": ".*" }, + "name": "phases.enrich.streamPattern", + "type": "string" + }, + { + "assignment": { + "value": + "{\"phase\":\"enrich_publish\",\"processors\":[{\"class\":\"EventProcessorMetric\",\"metric\":\"out.events\"},{\"class\":\"SendEvent\",\"channel\":\"DCAE-ENRICH-EVENT-OUT\"}]}" + }, + "name": "postConfig", + "type": "string" + }, + { + "assignment": { "value": "vnfTypes.*" }, + "name": "ruleKeyPattern", + "type": "string" + }, + { + "assignment": { "value": "False" }, + "name": "startNoChannels", + "type": "string" + }, + { + "default": "cdap_broker", + "assignment": { + "value": { "get_input": "connected_broker_dns_name" } + }, + "name": "connected_broker_dns_name", + "type": "string", + "required": true + }, + { "name": "jar_url", "type": "string", "required": true }, + { + "assignment": { + "value": { + "get_property": ["SELF", "composition", "location_id"] + } + }, + "name": "location_id", + "type": "string", + "required": true + }, + { + "name": "service_component_type", + "type": "string", + "required": true + } + ], + "typeinfo": { + "itemId": + "8743b27b-f01e-4b17-a306-37efd42983d0/tosca.dcae.nodes.cdapApp.Enrich", + "requirements": [ + { + "node": { + "name": "dcae.capabilities.stream.subscribe", + "id": + "8743b27b-f01e-4b17-a306-37efd42983d0/dcae.capabilities.stream.subscribe" + }, + "capability": { + "name": "dcae.capabilities.stream.subscribe", + "id": + "8743b27b-f01e-4b17-a306-37efd42983d0/dcae.capabilities.stream.subscribe" + }, + "name": "stream_publish_0", + "id": "8743b27b-f01e-4b17-a306-37efd42983d0/stream_publish_0", + "relationship": { + "type": "dcae.relationships.rework_connected_to" + } + }, + { + "node": { + "name": "dcae.capabilities.cdapHost", + "id": + "8743b27b-f01e-4b17-a306-37efd42983d0/dcae.capabilities.cdapHost" + }, + "capability": { + "name": "dcae.capabilities.cdapHost", + "id": + "8743b27b-f01e-4b17-a306-37efd42983d0/dcae.capabilities.cdapHost" + }, + "name": "host", + "id": "8743b27b-f01e-4b17-a306-37efd42983d0/host", + "relationship": { + "type": "dcae.relationships.component_contained_in" + } + }, + { + "node": { + "name": "dcae.capabilities.composition.host", + "id": + "8743b27b-f01e-4b17-a306-37efd42983d0/dcae.capabilities.composition.host" + }, + "capability": { + "name": "dcae.capabilities.composition.host", + "id": + "8743b27b-f01e-4b17-a306-37efd42983d0/dcae.capabilities.composition.host" + }, + "name": "composition", + "id": "8743b27b-f01e-4b17-a306-37efd42983d0/composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": { + "name": "tosca.capabilities.Node", + "id": + "8743b27b-f01e-4b17-a306-37efd42983d0/tosca.capabilities.Node" + }, + "capability": { + "name": "tosca.capabilities.Node", + "id": + "8743b27b-f01e-4b17-a306-37efd42983d0/tosca.capabilities.Node" + }, + "name": "dependency", + "id": "8743b27b-f01e-4b17-a306-37efd42983d0/dependency", + "relationship": { "type": "tosca.relationships.DependsOn" } + } + ], + "capabilities": [ + { + "name": "stream_subscribe_0", + "type": { + "name": "dcae.capabilities.stream.subscribe", + "id": + "8743b27b-f01e-4b17-a306-37efd42983d0/dcae.capabilities.stream.subscribe" + } + }, + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": + "8743b27b-f01e-4b17-a306-37efd42983d0/tosca.capabilities.Node" + } + } + ], + "catalogId": 0, + "catalog": "http://135.91.225.81:8080", + "hierarchy": [ + { + "name": "tosca.dcae.nodes.cdapApp", + "id": + "8743b27b-f01e-4b17-a306-37efd42983d0/tosca.dcae.nodes.cdapApp" + }, + { + "name": "tosca.dcae.nodes.Root", + "id": "8743b27b-f01e-4b17-a306-37efd42983d0/tosca.dcae.nodes.Root" + }, + { + "name": "tosca.nodes.Root", + "description": + "The TOSCA Node Type all other TOSCA base Node Types derive from", + "id": "8743b27b-f01e-4b17-a306-37efd42983d0/tosca.nodes.Root" + } + ], + "name": "tosca.dcae.nodes.cdapApp.Enrich", + "id": 0 + }, + "type": { "name": "tosca.dcae.nodes.cdapApp.Enrich" } + } + ], + "relations": [], + "inputs": [], + "outputs": [] + } +} diff --git a/public/cypress/fixtures/igorCreateMcRes.json b/public/cypress/fixtures/igorCreateMcRes.json new file mode 100644 index 0000000..4bca081 --- /dev/null +++ b/public/cypress/fixtures/igorCreateMcRes.json @@ -0,0 +1,1960 @@ +{ + "uuid": "6d436c07-8006-4335-8c84-d65b4740f8d6", + "cdump": { + "cid": "95222b23-df17-454d-84b0-d4667357b380", + "flowType": "SNMP", + "version": 0, + "nodes": [ + { + "requirements": [ + { + "capability": { + "name": "dcae.capabilities.dockerHost", + "id": "template.yaml/dcae.capabilities.dockerHost" + }, + "name": "host", + "relationship": { + "type": "dcae.relationships.component_contained_in" + } + }, + { + "capability": { + "name": "dcae.capabilities.composition.host", + "id": "template.yaml/dcae.capabilities.composition.host" + }, + "name": "composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": "tosca.nodes.Root", + "capability": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + }, + "name": "dependency", + "relationship": { + "type": "tosca.relationships.DependsOn" + } + } + ], + "capabilities": [ + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + } + } + ], + "name": "fm_poller", + "description": + "/sdc/v1/catalog/resources/c8db6f9b-6173-4d7d-bd25-c20bfc154daa/artifacts/66b05681-a407-4e46-9239-86f245c68b81", + "type": { + "name": "tosca.dcae.nodes.dockerApp.fm_poller" + }, + "properties": [ + { + "assignment": { + "value": "ciscoRouter" + }, + "name": "DeviceCategory", + "type": "string", + "constraints": [ + { + "valid_values": [ + "ciscoSwitch", + "ciscoRouter", + "juniperSwitch", + "juniperRouter" + ] + } + ], + "value": "ciscoRouter" + }, + { + "assignment": { + "value": "/opt/app/discovery/seed" + }, + "name": "DeviceToWalkJson", + "type": "string", + "value": "/opt/app/discovery/seed" + }, + { + "assignment": { + "value": { + "get_input": "DisoveryInterval" + } + }, + "name": "DisoveryInterval", + "type": "string", + "value": { + "get_input": "DisoveryInterval" + } + }, + { + "assignment": { + "value": { + "get_input": "FlatironHost" + } + }, + "name": "FlatironHost", + "type": "string", + "value": { + "get_input": "FlatironHost" + } + }, + { + "assignment": { + "value": { + "get_input": "FlatironScope" + } + }, + "name": "FlatironScope", + "type": "string", + "value": { + "get_input": "FlatironScope" + } + }, + { + "assignment": { + "value": "/opt/app/discovery/curloutput" + }, + "name": "SeedFilePath", + "type": "string", + "value": "/opt/app/discovery/curloutput" + }, + { + "assignment": { + "value": + "/opt/app/topologyCollector/TopologyCollector-1.0.0/conf/app_config.json" + }, + "name": "app_config_file", + "type": "string", + "value": + "/opt/app/topologyCollector/TopologyCollector-1.0.0/conf/app_config.json" + }, + { + "assignment": { + "value": + "/opt/app/topologyCollector/TopologyCollector-1.0.0/data/ciscorouteroids" + }, + "name": "ciscorouter", + "type": "string", + "value": + "/opt/app/topologyCollector/TopologyCollector-1.0.0/data/ciscorouteroids" + }, + { + "assignment": { + "value": + "/opt/app/topologyCollector/TopologyCollector-1.0.0/data/ciscoswitchoids" + }, + "name": "ciscoswitch", + "type": "string", + "value": + "/opt/app/topologyCollector/TopologyCollector-1.0.0/data/ciscoswitchoids" + }, + { + "assignment": { + "value": { + "get_input": "clientUri" + } + }, + "name": "clientUri", + "type": "string", + "value": { + "get_input": "clientUri" + } + }, + { + "assignment": { + "value": { + "get_input": "dcae_service_location" + } + }, + "name": "dcae_service_location", + "type": "string", + "value": { + "get_input": "dcae_service_location" + } + }, + { + "assignment": { + "value": "rv1-dis / rv1-mib" + }, + "name": "dcae_target_type", + "type": "string", + "constraints": [ + { + "valid_values": [ + "rv1-dis / rv1-mib", + "rv2- dis / rv2-mib", + "rv3- dis / rv3-mib", + "rv4- dis / rv4-mib", + "rv5- dis / rv5-mib", + "rv6- dis / rv6-mib", + "rv7- dis / rv7-mib", + "me6- dis / me6- mib" + ] + } + ], + "value": "rv1-dis / rv1-mib" + }, + { + "assignment": { + "value": + "/opt/app/topologyCollector/TopologyCollector-1.0.0/data/defaultoids" + }, + "name": "default", + "type": "string", + "value": + "/opt/app/topologyCollector/TopologyCollector-1.0.0/data/defaultoids" + }, + { + "assignment": { + "value": "" + }, + "name": "dmaapSeedFilePath", + "type": "string" + }, + { + "assignment": { + "value": + "/opt/app/topologyCollector/TopologyCollector-1.0.0/conf/dmaap_config.json" + }, + "name": "dmaap_conf_file", + "type": "string", + "value": + "/opt/app/topologyCollector/TopologyCollector-1.0.0/conf/dmaap_config.json" + }, + { + "assignment": { + "value": + "/opt/app/topologyCollector/TopologyCollector-1.0.0/conf/dti_config.json" + }, + "name": "dti_config_file", + "type": "string", + "value": + "/opt/app/topologyCollector/TopologyCollector-1.0.0/conf/dti_config.json" + }, + { + "assignment": { + "value": { + "get_input": "environment" + } + }, + "name": "environment", + "type": "string", + "value": { + "get_input": "environment" + } + }, + { + "assignment": { + "value": + "/opt/app/topologyCollector/TopologyCollector-1.0.0/data/juniperrouteroids" + }, + "name": "juniperrouter", + "type": "string", + "value": + "/opt/app/topologyCollector/TopologyCollector-1.0.0/data/juniperrouteroids" + }, + { + "assignment": { + "value": + "/opt/app/topologyCollector/TopologyCollector-1.0.0/data/juniperswitchoids" + }, + "name": "juniperswitch", + "type": "string", + "value": + "/opt/app/topologyCollector/TopologyCollector-1.0.0/data/juniperswitchoids" + }, + { + "assignment": { + "value": "/opt/app/discovery/outdata" + }, + "name": "outdata", + "type": "string", + "value": "/opt/app/discovery/outdata" + }, + { + "name": "image", + "type": "string", + "required": true + }, + { + "assignment": { + "value": { + "get_property": ["SELF", "composition", "location_id"] + } + }, + "name": "location_id", + "type": "string", + "required": true, + "value": { + "get_property": ["SELF", "composition", "location_id"] + } + }, + { + "name": "service_component_type", + "type": "string", + "required": true + } + ], + "typeinfo": { + "itemId": + "c8db6f9b-6173-4d7d-bd25-c20bfc154daa/tosca.dcae.nodes.dockerApp.fm_poller", + "requirements": [ + { + "node": { + "name": "dcae.capabilities.dockerHost", + "id": + "c8db6f9b-6173-4d7d-bd25-c20bfc154daa/dcae.capabilities.dockerHost" + }, + "capability": { + "name": "dcae.capabilities.dockerHost", + "id": + "c8db6f9b-6173-4d7d-bd25-c20bfc154daa/dcae.capabilities.dockerHost" + }, + "name": "host", + "id": "c8db6f9b-6173-4d7d-bd25-c20bfc154daa/host", + "relationship": { + "type": "dcae.relationships.component_contained_in" + } + }, + { + "node": { + "name": "dcae.capabilities.composition.host", + "id": + "c8db6f9b-6173-4d7d-bd25-c20bfc154daa/dcae.capabilities.composition.host" + }, + "capability": { + "name": "dcae.capabilities.composition.host", + "id": + "c8db6f9b-6173-4d7d-bd25-c20bfc154daa/dcae.capabilities.composition.host" + }, + "name": "composition", + "id": "c8db6f9b-6173-4d7d-bd25-c20bfc154daa/composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": { + "name": "tosca.capabilities.Node", + "id": + "c8db6f9b-6173-4d7d-bd25-c20bfc154daa/tosca.capabilities.Node" + }, + "capability": { + "name": "tosca.capabilities.Node", + "id": + "c8db6f9b-6173-4d7d-bd25-c20bfc154daa/tosca.capabilities.Node" + }, + "name": "dependency", + "id": "c8db6f9b-6173-4d7d-bd25-c20bfc154daa/dependency", + "relationship": { + "type": "tosca.relationships.DependsOn" + } + } + ], + "capabilities": [ + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": + "c8db6f9b-6173-4d7d-bd25-c20bfc154daa/tosca.capabilities.Node" + } + } + ], + "catalogId": 0, + "catalog": "https://zldcrdm2sdc4cbe01.3f1a87.rdm2.tci.att.com:8443", + "hierarchy": [ + { + "name": "tosca.dcae.nodes.dockerApp", + "id": + "c8db6f9b-6173-4d7d-bd25-c20bfc154daa/tosca.dcae.nodes.dockerApp" + }, + { + "name": "tosca.dcae.nodes.Root", + "id": "c8db6f9b-6173-4d7d-bd25-c20bfc154daa/tosca.dcae.nodes.Root" + }, + { + "name": "tosca.nodes.Root", + "description": + "The TOSCA Node Type all other TOSCA base Node Types derive from", + "id": "c8db6f9b-6173-4d7d-bd25-c20bfc154daa/tosca.nodes.Root" + } + ], + "name": "tosca.dcae.nodes.dockerApp.fm_poller", + "id": 0 + }, + "id": "c8db6f9b-6173-4d7d-bd25-c20bfc154daa", + "nid": "n.1519543437108.0", + "ndata": { + "name": "n.1519543437108.0", + "label": "fm_poller", + "x": 1642, + "y": 417, + "px": 1641, + "py": 416, + "ports": [], + "radius": 30 + } + }, + { + "requirements": [ + { + "occurrences": [0, "UNBOUNDED"], + "node": "tosca.nodes.Root", + "capability": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + }, + "name": "dependency", + "relationship": { + "type": "tosca.relationships.DependsOn" + } + } + ], + "capabilities": [ + { + "name": "policy", + "type": { + "name": "dcae.capabilities.policy", + "id": "template.yaml/dcae.capabilities.policy" + } + }, + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + } + } + ], + "name": "policy_0", + "description": + "/sdc/v1/catalog/resources/3c473efc-57fc-4a47-b3fc-190bd3b02bd2/artifacts/a04ce19c-6d71-44b7-9483-baa74d050fdb", + "type": { + "name": "tosca.dcae.nodes.policy" + }, + "properties": [ + { + "name": "policy_id", + "type": "string", + "required": true + }, + { + "assignment": { + "value": "policy.nodes.cdap.tca.hi.lo.app" + }, + "name": "policy_name", + "type": "string", + "value": "policy.nodes.cdap.tca.hi.lo.app" + } + ], + "typeinfo": { + "itemId": + "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/tosca.dcae.nodes.policy", + "requirements": [ + { + "occurrences": [0, "UNBOUNDED"], + "node": { + "name": "tosca.capabilities.Node", + "id": + "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/tosca.capabilities.Node" + }, + "capability": { + "name": "tosca.capabilities.Node", + "id": + "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/tosca.capabilities.Node" + }, + "name": "dependency", + "id": "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/dependency", + "relationship": { + "type": "tosca.relationships.DependsOn" + } + } + ], + "capabilities": [ + { + "name": "policy", + "type": { + "name": "dcae.capabilities.policy", + "id": + "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/dcae.capabilities.policy" + } + }, + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": + "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/tosca.capabilities.Node" + } + } + ], + "catalogId": 0, + "catalog": "https://zldcrdm2sdc4cbe01.3f1a87.rdm2.tci.att.com:8443", + "hierarchy": [ + { + "name": "tosca.dcae.nodes.Root", + "id": "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/tosca.dcae.nodes.Root" + }, + { + "name": "tosca.nodes.Root", + "description": + "The TOSCA Node Type all other TOSCA base Node Types derive from", + "id": "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/tosca.nodes.Root" + } + ], + "name": "tosca.dcae.nodes.policy", + "id": 0 + }, + "id": "3c473efc-57fc-4a47-b3fc-190bd3b02bd2", + "nid": "n.1519546229982.0", + "ndata": { + "name": "n.1519546229982.0", + "label": "policy_0", + "x": 1432, + "y": 324, + "px": 1431, + "py": 323, + "ports": [], + "radius": 30 + } + }, + { + "requirements": [ + { + "node": "topic0", + "capability": { + "name": "dcae.capabilities.dmmap.topic", + "id": "template.yaml/dcae.capabilities.dmmap.topic" + }, + "name": "stream_subscribe_0", + "relationship": { + "type": "dcae.relationships.subscribe_to_events" + } + }, + { + "node": "topic1", + "capability": { + "name": "dcae.capabilities.dmmap.topic", + "id": "template.yaml/dcae.capabilities.dmmap.topic" + }, + "name": "stream_publish_0", + "relationship": { + "type": "dcae.relationships.publish_events" + } + }, + { + "node": "policy_0", + "capability": { + "name": "dcae.capabilities.policy", + "id": "template.yaml/dcae.capabilities.policy" + }, + "name": "policy", + "relationship": { + "type": "cloudify.relationships.depends_on" + } + }, + { + "capability": { + "name": "dcae.capabilities.cdapHost", + "id": "template.yaml/dcae.capabilities.cdapHost" + }, + "name": "host", + "relationship": { + "type": "dcae.relationships.component_contained_in" + } + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": "tosca.nodes.Root", + "capability": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + }, + "name": "dependency", + "relationship": { + "type": "tosca.relationships.DependsOn" + } + } + ], + "capabilities": [ + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + } + } + ], + "name": "tcaSpec", + "description": + "/sdc/v1/catalog/resources/3c473efc-57fc-4a47-b3fc-190bd3b02bd2/artifacts/a04ce19c-6d71-44b7-9483-baa74d050fdb", + "type": { + "name": "tosca.dcae.nodes.cdapApp.tcaSpec" + }, + "properties": [ + { + "assignment": { + "value": "123.123.123.123" + }, + "name": "aaiEnrichmentHost", + "type": "string", + "value": "123.123.123.123" + }, + { + "assignment": { + "value": "true" + }, + "name": "aaiEnrichmentIgnoreSSLCertificateErrors", + "type": "string", + "value": "true" + }, + { + "assignment": { + "value": "8443" + }, + "name": "aaiEnrichmentPortNumber", + "type": "string", + "value": "8443" + }, + { + "assignment": { + "value": "https" + }, + "name": "aaiEnrichmentProtocol", + "type": "string", + "value": "https" + }, + { + "assignment": { + "value": "http://username:password@proxyhost.com:8080" + }, + "name": "aaiEnrichmentProxyURL", + "type": "string", + "value": "http://username:password@proxyhost.com:8080" + }, + { + "assignment": { + "value": "DCAE" + }, + "name": "aaiEnrichmentUserName", + "type": "string", + "value": "DCAE" + }, + { + "assignment": { + "value": "DCAE" + }, + "name": "aaiEnrichmentUserPassword", + "type": "string", + "value": "DCAE" + }, + { + "assignment": { + "value": "/aai/v11/search/nodes-query" + }, + "name": "aaiVMEnrichmentAPIPath", + "type": "string", + "value": "/aai/v11/search/nodes-query" + }, + { + "assignment": { + "value": "/aai/v11/network/generic-vnfs/generic-vnf" + }, + "name": "aaiVNFEnrichmentAPIPath", + "type": "string", + "value": "/aai/v11/network/generic-vnfs/generic-vnf" + }, + { + "assignment": { + "value": "DCAE Analytics Threshold Crossing Alert Application" + }, + "name": "appDescription", + "type": "string", + "value": "DCAE Analytics Threshold Crossing Alert Application" + }, + { + "assignment": { + "value": "dcae-tca" + }, + "name": "appName", + "type": "string", + "value": "dcae-tca" + }, + { + "assignment": { + "value": "true" + }, + "name": "enableAAIEnrichment", + "type": "string", + "value": "true" + }, + { + "assignment": { + "value": "false" + }, + "name": "enableAlertCEFFormat", + "type": "string", + "value": "false" + }, + { + "assignment": { + "value": "application/json" + }, + "name": "publisherContentType", + "type": "string", + "value": "application/json" + }, + { + "assignment": { + "value": "1" + }, + "name": "publisherMaxBatchSize", + "type": "string", + "value": "1" + }, + { + "assignment": { + "value": "100000" + }, + "name": "publisherMaxRecoveryQueueSize", + "type": "string", + "value": "100000" + }, + { + "assignment": { + "value": "20000" + }, + "name": "publisherPollingInterval", + "type": "string", + "value": "20000" + }, + { + "assignment": { + "value": "OpenDCAE-c12" + }, + "name": "subscriberConsumerGroup", + "type": "string", + "value": "OpenDCAE-c12" + }, + { + "assignment": { + "value": "c12" + }, + "name": "subscriberConsumerId", + "type": "string", + "value": "c12" + }, + { + "assignment": { + "value": "application/json" + }, + "name": "subscriberContentType", + "type": "string", + "value": "application/json" + }, + { + "assignment": { + "value": "-1" + }, + "name": "subscriberMessageLimit", + "type": "string", + "value": "-1" + }, + { + "assignment": { + "value": "30000" + }, + "name": "subscriberPollingInterval", + "type": "string", + "value": "30000" + }, + { + "assignment": { + "value": "-1" + }, + "name": "subscriberTimeoutMS", + "type": "string", + "value": "-1" + }, + { + "assignment": { + "value": "TCAAlertsAbatementTable" + }, + "name": "tcaAlertsAbatementTableName", + "type": "string", + "value": "TCAAlertsAbatementTable" + }, + { + "assignment": { + "value": "1728000" + }, + "name": "tcaAlertsAbatementTableTTLSeconds", + "type": "string", + "value": "1728000" + }, + { + "assignment": { + "value": "TCASubscriberOutputStream" + }, + "name": "tcaSubscriberOutputStreamName", + "type": "string", + "value": "TCASubscriberOutputStream" + }, + { + "assignment": { + "value": "TCAVESAlertsTable" + }, + "name": "tcaVESAlertsTableName", + "type": "string", + "value": "TCAVESAlertsTable" + }, + { + "assignment": { + "value": "1728000" + }, + "name": "tcaVESAlertsTableTTLSeconds", + "type": "string", + "value": "1728000" + }, + { + "assignment": { + "value": "TCAVESMessageStatusTable" + }, + "name": "tcaVESMessageStatusTableName", + "type": "string", + "value": "TCAVESMessageStatusTable" + }, + { + "assignment": { + "value": "86400" + }, + "name": "tcaVESMessageStatusTableTTLSeconds", + "type": "string", + "value": "86400" + }, + { + "assignment": { + "value": + "{\"domain\":\"measurementsForVfScaling\",\"metricsPerEventName\":[{\"eventName\":\"Mfvs_eNodeB_RANKPI\",\"controlLoopSchemaType\":\"VNF\",\"policyScope\":\"resource=vFirewall;type=configuration\",\"policyName\":\"configuration.dcae.microservice.tca.xml\",\"policyVersion\":\"v0.0.1\",\"thresholds\":[{\"closedLoopControlName\":\"CL-FRWL-LOW-TRAFFIC-SIG-d925ed73-8231-4d02-9545-db4e101f88f8\",\"closedLoopEventStatus\":\"ONSET\",\"version\":\"1.0.2\",\"fieldPath\":\"$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated\",\"thresholdValue\":4000,\"direction\":\"LESS_OR_EQUAL\",\"severity\":\"MAJOR\"},{\"closedLoopControlName\":\"CL-FRWL-HIGH-TRAFFIC-SIG-EA36FE84-9342-5E13-A656-EC5F21309A09\",\"closedLoopEventStatus\":\"ONSET\",\"version\":\"1.0.2\",\"fieldPath\":\"$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated\",\"thresholdValue\":20000,\"direction\":\"GREATER_OR_EQUAL\",\"severity\":\"CRITICAL\"},{\"closedLoopControlName\":\"CL-FRWL-HIGH-TRAFFIC-SIG-EA36FE84-9342-5E13-A656-EC5F21309A09\",\"closedLoopEventStatus\":\"ABATED\",\"version\":\"1.0.2\",\"fieldPath\":\"$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated\",\"thresholdValue\":0,\"direction\":\"EQUAL\",\"severity\":\"CRITICAL\"}]},{\"eventName\":\"vLoadBalancer\",\"controlLoopSchemaType\":\"VNF\",\"policyScope\":\"resource=vLoadBalancer;type=configuration\",\"policyName\":\"configuration.dcae.microservice.tca.xml\",\"policyVersion\":\"v0.0.1\",\"thresholds\":[{\"closedLoopControlName\":\"CL-LBAL-LOW-TRAFFIC-SIG-FB480F95-A453-6F24-B767-FD703241AB1A\",\"closedLoopEventStatus\":\"ONSET\",\"version\":\"1.0.2\",\"fieldPath\":\"$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated\",\"thresholdValue\":500,\"direction\":\"LESS_OR_EQUAL\",\"severity\":\"MAJOR\"},{\"closedLoopControlName\":\"CL-LBAL-LOW-TRAFFIC-SIG-0C5920A6-B564-8035-C878-0E814352BC2B\",\"closedLoopEventStatus\":\"ONSET\",\"version\":\"1.0.2\",\"fieldPath\":\"$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated\",\"thresholdValue\":5000,\"direction\":\"GREATER_OR_EQUAL\",\"severity\":\"CRITICAL\"}]}]}" + }, + "name": "tca_policy", + "type": "string", + "value": + "{\"domain\":\"measurementsForVfScaling\",\"metricsPerEventName\":[{\"eventName\":\"Mfvs_eNodeB_RANKPI\",\"controlLoopSchemaType\":\"VNF\",\"policyScope\":\"resource=vFirewall;type=configuration\",\"policyName\":\"configuration.dcae.microservice.tca.xml\",\"policyVersion\":\"v0.0.1\",\"thresholds\":[{\"closedLoopControlName\":\"CL-FRWL-LOW-TRAFFIC-SIG-d925ed73-8231-4d02-9545-db4e101f88f8\",\"closedLoopEventStatus\":\"ONSET\",\"version\":\"1.0.2\",\"fieldPath\":\"$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated\",\"thresholdValue\":4000,\"direction\":\"LESS_OR_EQUAL\",\"severity\":\"MAJOR\"},{\"closedLoopControlName\":\"CL-FRWL-HIGH-TRAFFIC-SIG-EA36FE84-9342-5E13-A656-EC5F21309A09\",\"closedLoopEventStatus\":\"ONSET\",\"version\":\"1.0.2\",\"fieldPath\":\"$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated\",\"thresholdValue\":20000,\"direction\":\"GREATER_OR_EQUAL\",\"severity\":\"CRITICAL\"},{\"closedLoopControlName\":\"CL-FRWL-HIGH-TRAFFIC-SIG-EA36FE84-9342-5E13-A656-EC5F21309A09\",\"closedLoopEventStatus\":\"ABATED\",\"version\":\"1.0.2\",\"fieldPath\":\"$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated\",\"thresholdValue\":0,\"direction\":\"EQUAL\",\"severity\":\"CRITICAL\"}]},{\"eventName\":\"vLoadBalancer\",\"controlLoopSchemaType\":\"VNF\",\"policyScope\":\"resource=vLoadBalancer;type=configuration\",\"policyName\":\"configuration.dcae.microservice.tca.xml\",\"policyVersion\":\"v0.0.1\",\"thresholds\":[{\"closedLoopControlName\":\"CL-LBAL-LOW-TRAFFIC-SIG-FB480F95-A453-6F24-B767-FD703241AB1A\",\"closedLoopEventStatus\":\"ONSET\",\"version\":\"1.0.2\",\"fieldPath\":\"$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated\",\"thresholdValue\":500,\"direction\":\"LESS_OR_EQUAL\",\"severity\":\"MAJOR\"},{\"closedLoopControlName\":\"CL-LBAL-LOW-TRAFFIC-SIG-0C5920A6-B564-8035-C878-0E814352BC2B\",\"closedLoopEventStatus\":\"ONSET\",\"version\":\"1.0.2\",\"fieldPath\":\"$.event.measurementsForVfScalingFields.vNicPerformanceArray[*].receivedBroadcastPacketsAccumulated\",\"thresholdValue\":5000,\"direction\":\"GREATER_OR_EQUAL\",\"severity\":\"CRITICAL\"}]}]}" + }, + { + "assignment": { + "value": "2" + }, + "name": "thresholdCalculatorFlowletInstances", + "type": "string", + "value": "2" + }, + { + "default": "cdap_broker", + "assignment": { + "value": { + "get_input": "connected_broker_dns_name" + } + }, + "name": "connected_broker_dns_name", + "type": "string", + "required": true, + "value": { + "get_input": "connected_broker_dns_name" + } + }, + { + "name": "jar_url", + "type": "string", + "required": true + }, + { + "name": "service_component_type", + "type": "string", + "required": true + } + ], + "typeinfo": { + "itemId": + "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/tosca.dcae.nodes.cdapApp.tcaSpec", + "requirements": [ + { + "node": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/dcae.capabilities.dmmap.topic" + }, + "capability": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/dcae.capabilities.dmmap.topic" + }, + "name": "stream_subscribe_0", + "id": "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/stream_subscribe_0", + "relationship": { + "type": "dcae.relationships.subscribe_to_events" + } + }, + { + "node": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/dcae.capabilities.dmmap.topic" + }, + "capability": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/dcae.capabilities.dmmap.topic" + }, + "name": "stream_publish_0", + "id": "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/stream_publish_0", + "relationship": { + "type": "dcae.relationships.publish_events" + } + }, + { + "node": { + "name": "dcae.capabilities.policy", + "id": + "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/dcae.capabilities.policy" + }, + "capability": { + "name": "dcae.capabilities.policy", + "id": + "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/dcae.capabilities.policy" + }, + "name": "policy", + "id": "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/policy", + "relationship": { + "type": "cloudify.relationships.depends_on" + } + }, + { + "node": { + "name": "dcae.capabilities.cdapHost", + "id": + "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/dcae.capabilities.cdapHost" + }, + "capability": { + "name": "dcae.capabilities.cdapHost", + "id": + "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/dcae.capabilities.cdapHost" + }, + "name": "host", + "id": "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/host", + "relationship": { + "type": "dcae.relationships.component_contained_in" + } + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": { + "name": "tosca.capabilities.Node", + "id": + "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/tosca.capabilities.Node" + }, + "capability": { + "name": "tosca.capabilities.Node", + "id": + "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/tosca.capabilities.Node" + }, + "name": "dependency", + "id": "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/dependency", + "relationship": { + "type": "tosca.relationships.DependsOn" + } + } + ], + "capabilities": [ + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": + "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/tosca.capabilities.Node" + } + } + ], + "catalogId": 0, + "catalog": "https://zldcrdm2sdc4cbe01.3f1a87.rdm2.tci.att.com:8443", + "hierarchy": [ + { + "name": "tosca.dcae.nodes.cdapApp", + "id": + "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/tosca.dcae.nodes.cdapApp" + }, + { + "name": "tosca.dcae.nodes.Root", + "id": "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/tosca.dcae.nodes.Root" + }, + { + "name": "tosca.nodes.Root", + "description": + "The TOSCA Node Type all other TOSCA base Node Types derive from", + "id": "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/tosca.nodes.Root" + } + ], + "name": "tosca.dcae.nodes.cdapApp.tcaSpec", + "id": 0 + }, + "id": "3c473efc-57fc-4a47-b3fc-190bd3b02bd2", + "nid": "n.1519546229993.1", + "ndata": { + "name": "n.1519546229993.1", + "label": "tcaSpec", + "x": 1482, + "y": 340.0928478067284, + "px": 1481, + "py": 339.0928478067284, + "ports": [], + "radius": 30 + } + }, + { + "requirements": [ + { + "capability": { + "name": "dcae.capabilities.composition.host", + "id": "template.yaml/dcae.capabilities.composition.host" + }, + "name": "composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": "tosca.nodes.Root", + "capability": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + }, + "name": "dependency", + "relationship": { + "type": "tosca.relationships.DependsOn" + } + } + ], + "capabilities": [ + { + "name": "topic", + "type": { + "name": "dcae.capabilities.dmmap.topic", + "id": "template.yaml/dcae.capabilities.dmmap.topic" + }, + "properties": [ + { + "assignment": { + "value": { + "get_property": ["SELF", "aaf_password"] + } + }, + "name": "aaf_password", + "type": "string" + }, + { + "assignment": { + "value": { + "get_property": ["SELF", "aaf_username"] + } + }, + "name": "aaf_username", + "type": "string" + }, + { + "assignment": { + "value": { + "get_property": ["SELF", "client_role"] + } + }, + "name": "client_role", + "type": "string" + }, + { + "assignment": { + "value": { + "get_property": ["SELF", "location"] + } + }, + "name": "location", + "type": "string" + }, + { + "assignment": { + "value": { + "get_property": ["SELF", "node_name"] + } + }, + "name": "node_name", + "type": "string" + }, + { + "assignment": { + "value": { + "get_property": ["SELF", "topic_name"] + } + }, + "name": "topic_name", + "type": "string" + } + ] + }, + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + } + } + ], + "name": "topic0", + "description": + "/sdc/v1/catalog/resources/3c473efc-57fc-4a47-b3fc-190bd3b02bd2/artifacts/a04ce19c-6d71-44b7-9483-baa74d050fdb", + "type": { + "name": "tosca.dcae.nodes.dmaap.topic" + }, + "properties": [ + { + "assignment": { + "value": { + "get_input": "topic0_aaf_password" + } + }, + "name": "aaf_password", + "type": "string", + "value": { + "get_input": "topic0_aaf_password" + } + }, + { + "assignment": { + "value": { + "get_input": "topic0_aaf_username" + } + }, + "name": "aaf_username", + "type": "string", + "value": { + "get_input": "topic0_aaf_username" + } + }, + { + "assignment": { + "value": { + "get_input": "topic0_client_role" + } + }, + "name": "client_role", + "type": "string", + "value": { + "get_input": "topic0_client_role" + } + }, + { + "assignment": { + "value": { + "get_property": ["SELF", "composition", "location_id"] + } + }, + "name": "location", + "type": "string", + "value": { + "get_property": ["SELF", "composition", "location_id"] + } + }, + { + "assignment": { + "value": "__GET_NODE_NAME__" + }, + "name": "node_name", + "type": "string", + "value": "__GET_NODE_NAME__" + }, + { + "assignment": { + "value": "" + }, + "name": "topic_name", + "type": "string" + } + ], + "typeinfo": { + "itemId": + "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/tosca.dcae.nodes.dmaap.topic", + "requirements": [ + { + "node": { + "name": "dcae.capabilities.composition.host", + "id": + "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/dcae.capabilities.composition.host" + }, + "capability": { + "name": "dcae.capabilities.composition.host", + "id": + "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/dcae.capabilities.composition.host" + }, + "name": "composition", + "id": "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": { + "name": "tosca.capabilities.Node", + "id": + "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/tosca.capabilities.Node" + }, + "capability": { + "name": "tosca.capabilities.Node", + "id": + "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/tosca.capabilities.Node" + }, + "name": "dependency", + "id": "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/dependency", + "relationship": { + "type": "tosca.relationships.DependsOn" + } + } + ], + "capabilities": [ + { + "name": "topic", + "type": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/dcae.capabilities.dmmap.topic" + } + }, + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": + "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/tosca.capabilities.Node" + } + } + ], + "catalogId": 0, + "catalog": "https://zldcrdm2sdc4cbe01.3f1a87.rdm2.tci.att.com:8443", + "hierarchy": [ + { + "name": "tosca.dcae.nodes.Root", + "id": "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/tosca.dcae.nodes.Root" + }, + { + "name": "tosca.nodes.Root", + "description": + "The TOSCA Node Type all other TOSCA base Node Types derive from", + "id": "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/tosca.nodes.Root" + } + ], + "name": "tosca.dcae.nodes.dmaap.topic", + "id": 0 + }, + "id": "3c473efc-57fc-4a47-b3fc-190bd3b02bd2", + "nid": "n.1519546230003.2", + "ndata": { + "name": "n.1519546230003.2", + "label": "topic0", + "x": 1532, + "y": 359.82099057536396, + "px": 1531, + "py": 358.82099057536396, + "ports": [], + "radius": 30 + } + }, + { + "requirements": [ + { + "capability": { + "name": "dcae.capabilities.composition.host", + "id": "template.yaml/dcae.capabilities.composition.host" + }, + "name": "composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": "tosca.nodes.Root", + "capability": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + }, + "name": "dependency", + "relationship": { + "type": "tosca.relationships.DependsOn" + } + } + ], + "capabilities": [ + { + "name": "topic", + "type": { + "name": "dcae.capabilities.dmmap.topic", + "id": "template.yaml/dcae.capabilities.dmmap.topic" + }, + "properties": [ + { + "assignment": { + "value": { + "get_property": ["SELF", "aaf_password"] + } + }, + "name": "aaf_password", + "type": "string" + }, + { + "assignment": { + "value": { + "get_property": ["SELF", "aaf_username"] + } + }, + "name": "aaf_username", + "type": "string" + }, + { + "assignment": { + "value": { + "get_property": ["SELF", "client_role"] + } + }, + "name": "client_role", + "type": "string" + }, + { + "assignment": { + "value": { + "get_property": ["SELF", "location"] + } + }, + "name": "location", + "type": "string" + }, + { + "assignment": { + "value": { + "get_property": ["SELF", "node_name"] + } + }, + "name": "node_name", + "type": "string" + }, + { + "assignment": { + "value": { + "get_property": ["SELF", "topic_name"] + } + }, + "name": "topic_name", + "type": "string" + } + ] + }, + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + } + } + ], + "name": "topic1", + "description": + "/sdc/v1/catalog/resources/3c473efc-57fc-4a47-b3fc-190bd3b02bd2/artifacts/a04ce19c-6d71-44b7-9483-baa74d050fdb", + "type": { + "name": "tosca.dcae.nodes.dmaap.topic" + }, + "properties": [ + { + "assignment": { + "value": { + "get_input": "topic1_aaf_password" + } + }, + "name": "aaf_password", + "type": "string", + "value": { + "get_input": "topic1_aaf_password" + } + }, + { + "assignment": { + "value": { + "get_input": "topic1_aaf_username" + } + }, + "name": "aaf_username", + "type": "string", + "value": { + "get_input": "topic1_aaf_username" + } + }, + { + "assignment": { + "value": { + "get_input": "topic1_client_role" + } + }, + "name": "client_role", + "type": "string", + "value": { + "get_input": "topic1_client_role" + } + }, + { + "assignment": { + "value": { + "get_property": ["SELF", "composition", "location_id"] + } + }, + "name": "location", + "type": "string", + "value": { + "get_property": ["SELF", "composition", "location_id"] + } + }, + { + "assignment": { + "value": "__GET_NODE_NAME__" + }, + "name": "node_name", + "type": "string", + "value": "__GET_NODE_NAME__" + }, + { + "assignment": { + "value": "" + }, + "name": "topic_name", + "type": "string" + } + ], + "typeinfo": { + "itemId": + "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/tosca.dcae.nodes.dmaap.topic", + "requirements": [ + { + "node": { + "name": "dcae.capabilities.composition.host", + "id": + "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/dcae.capabilities.composition.host" + }, + "capability": { + "name": "dcae.capabilities.composition.host", + "id": + "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/dcae.capabilities.composition.host" + }, + "name": "composition", + "id": "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": { + "name": "tosca.capabilities.Node", + "id": + "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/tosca.capabilities.Node" + }, + "capability": { + "name": "tosca.capabilities.Node", + "id": + "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/tosca.capabilities.Node" + }, + "name": "dependency", + "id": "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/dependency", + "relationship": { + "type": "tosca.relationships.DependsOn" + } + } + ], + "capabilities": [ + { + "name": "topic", + "type": { + "name": "dcae.capabilities.dmmap.topic", + "id": + "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/dcae.capabilities.dmmap.topic" + } + }, + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": + "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/tosca.capabilities.Node" + } + } + ], + "catalogId": 0, + "catalog": "https://zldcrdm2sdc4cbe01.3f1a87.rdm2.tci.att.com:8443", + "hierarchy": [ + { + "name": "tosca.dcae.nodes.Root", + "id": "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/tosca.dcae.nodes.Root" + }, + { + "name": "tosca.nodes.Root", + "description": + "The TOSCA Node Type all other TOSCA base Node Types derive from", + "id": "3c473efc-57fc-4a47-b3fc-190bd3b02bd2/tosca.nodes.Root" + } + ], + "name": "tosca.dcae.nodes.dmaap.topic", + "id": 0 + }, + "id": "3c473efc-57fc-4a47-b3fc-190bd3b02bd2", + "nid": "n.1519546230015.3", + "ndata": { + "name": "n.1519546230015.3", + "label": "topic1", + "x": 1582, + "y": 364.5060542566447, + "px": 1581, + "py": 363.5060542566447, + "ports": [], + "radius": 30 + } + }, + { + "requirements": [ + { + "capability": { + "name": "dcae.capabilities.dockerHost", + "id": "template.yaml/dcae.capabilities.dockerHost" + }, + "name": "host", + "relationship": { + "type": "dcae.relationships.component_contained_in" + } + }, + { + "capability": { + "name": "dcae.capabilities.composition.host", + "id": "template.yaml/dcae.capabilities.composition.host" + }, + "name": "composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": "tosca.nodes.Root", + "capability": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + }, + "name": "dependency", + "relationship": { + "type": "tosca.relationships.DependsOn" + } + } + ], + "capabilities": [ + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": "template.yaml/tosca.capabilities.Node" + } + } + ], + "name": "fm_poller", + "description": + "/sdc/v1/catalog/resources/c8db6f9b-6173-4d7d-bd25-c20bfc154daa/artifacts/66b05681-a407-4e46-9239-86f245c68b81", + "type": { + "name": "tosca.dcae.nodes.dockerApp.fm_poller" + }, + "properties": [ + { + "assignment": { + "value": "ciscoRouter" + }, + "name": "DeviceCategory", + "type": "string", + "constraints": [ + { + "valid_values": [ + "ciscoSwitch", + "ciscoRouter", + "juniperSwitch", + "juniperRouter" + ] + } + ], + "value": "ciscoRouter" + }, + { + "assignment": { + "value": "/opt/app/discovery/seed" + }, + "name": "DeviceToWalkJson", + "type": "string", + "value": "/opt/app/discovery/seed" + }, + { + "assignment": { + "value": { + "get_input": "DisoveryInterval" + } + }, + "name": "DisoveryInterval", + "type": "string", + "value": { + "get_input": "DisoveryInterval" + } + }, + { + "assignment": { + "value": { + "get_input": "FlatironHost" + } + }, + "name": "FlatironHost", + "type": "string", + "value": { + "get_input": "FlatironHost" + } + }, + { + "assignment": { + "value": { + "get_input": "FlatironScope" + } + }, + "name": "FlatironScope", + "type": "string", + "value": { + "get_input": "FlatironScope" + } + }, + { + "assignment": { + "value": "/opt/app/discovery/curloutput" + }, + "name": "SeedFilePath", + "type": "string", + "value": "/opt/app/discovery/curloutput" + }, + { + "assignment": { + "value": + "/opt/app/topologyCollector/TopologyCollector-1.0.0/conf/app_config.json" + }, + "name": "app_config_file", + "type": "string", + "value": + "/opt/app/topologyCollector/TopologyCollector-1.0.0/conf/app_config.json" + }, + { + "assignment": { + "value": + "/opt/app/topologyCollector/TopologyCollector-1.0.0/data/ciscorouteroids" + }, + "name": "ciscorouter", + "type": "string", + "value": + "/opt/app/topologyCollector/TopologyCollector-1.0.0/data/ciscorouteroids" + }, + { + "assignment": { + "value": + "/opt/app/topologyCollector/TopologyCollector-1.0.0/data/ciscoswitchoids" + }, + "name": "ciscoswitch", + "type": "string", + "value": + "/opt/app/topologyCollector/TopologyCollector-1.0.0/data/ciscoswitchoids" + }, + { + "assignment": { + "value": { + "get_input": "clientUri" + } + }, + "name": "clientUri", + "type": "string", + "value": { + "get_input": "clientUri" + } + }, + { + "assignment": { + "value": { + "get_input": "dcae_service_location" + } + }, + "name": "dcae_service_location", + "type": "string", + "value": { + "get_input": "dcae_service_location" + } + }, + { + "assignment": { + "value": "rv1-dis / rv1-mib" + }, + "name": "dcae_target_type", + "type": "string", + "constraints": [ + { + "valid_values": [ + "rv1-dis / rv1-mib", + "rv2- dis / rv2-mib", + "rv3- dis / rv3-mib", + "rv4- dis / rv4-mib", + "rv5- dis / rv5-mib", + "rv6- dis / rv6-mib", + "rv7- dis / rv7-mib", + "me6- dis / me6- mib" + ] + } + ], + "value": "rv1-dis / rv1-mib" + }, + { + "assignment": { + "value": + "/opt/app/topologyCollector/TopologyCollector-1.0.0/data/defaultoids" + }, + "name": "default", + "type": "string", + "value": + "/opt/app/topologyCollector/TopologyCollector-1.0.0/data/defaultoids" + }, + { + "assignment": { + "value": "" + }, + "name": "dmaapSeedFilePath", + "type": "string" + }, + { + "assignment": { + "value": + "/opt/app/topologyCollector/TopologyCollector-1.0.0/conf/dmaap_config.json" + }, + "name": "dmaap_conf_file", + "type": "string", + "value": + "/opt/app/topologyCollector/TopologyCollector-1.0.0/conf/dmaap_config.json" + }, + { + "assignment": { + "value": + "/opt/app/topologyCollector/TopologyCollector-1.0.0/conf/dti_config.json" + }, + "name": "dti_config_file", + "type": "string", + "value": + "/opt/app/topologyCollector/TopologyCollector-1.0.0/conf/dti_config.json" + }, + { + "assignment": { + "value": { + "get_input": "environment" + } + }, + "name": "environment", + "type": "string", + "value": { + "get_input": "environment" + } + }, + { + "assignment": { + "value": + "/opt/app/topologyCollector/TopologyCollector-1.0.0/data/juniperrouteroids" + }, + "name": "juniperrouter", + "type": "string", + "value": + "/opt/app/topologyCollector/TopologyCollector-1.0.0/data/juniperrouteroids" + }, + { + "assignment": { + "value": + "/opt/app/topologyCollector/TopologyCollector-1.0.0/data/juniperswitchoids" + }, + "name": "juniperswitch", + "type": "string", + "value": + "/opt/app/topologyCollector/TopologyCollector-1.0.0/data/juniperswitchoids" + }, + { + "assignment": { + "value": "/opt/app/discovery/outdata" + }, + "name": "outdata", + "type": "string", + "value": "/opt/app/discovery/outdata" + }, + { + "name": "image", + "type": "string", + "required": true + }, + { + "assignment": { + "value": { + "get_property": ["SELF", "composition", "location_id"] + } + }, + "name": "location_id", + "type": "string", + "required": true, + "value": { + "get_property": ["SELF", "composition", "location_id"] + } + }, + { + "name": "service_component_type", + "type": "string", + "required": true + } + ], + "typeinfo": { + "itemId": + "c8db6f9b-6173-4d7d-bd25-c20bfc154daa/tosca.dcae.nodes.dockerApp.fm_poller", + "requirements": [ + { + "node": { + "name": "dcae.capabilities.dockerHost", + "id": + "c8db6f9b-6173-4d7d-bd25-c20bfc154daa/dcae.capabilities.dockerHost" + }, + "capability": { + "name": "dcae.capabilities.dockerHost", + "id": + "c8db6f9b-6173-4d7d-bd25-c20bfc154daa/dcae.capabilities.dockerHost" + }, + "name": "host", + "id": "c8db6f9b-6173-4d7d-bd25-c20bfc154daa/host", + "relationship": { + "type": "dcae.relationships.component_contained_in" + } + }, + { + "node": { + "name": "dcae.capabilities.composition.host", + "id": + "c8db6f9b-6173-4d7d-bd25-c20bfc154daa/dcae.capabilities.composition.host" + }, + "capability": { + "name": "dcae.capabilities.composition.host", + "id": + "c8db6f9b-6173-4d7d-bd25-c20bfc154daa/dcae.capabilities.composition.host" + }, + "name": "composition", + "id": "c8db6f9b-6173-4d7d-bd25-c20bfc154daa/composition" + }, + { + "occurrences": [0, "UNBOUNDED"], + "node": { + "name": "tosca.capabilities.Node", + "id": + "c8db6f9b-6173-4d7d-bd25-c20bfc154daa/tosca.capabilities.Node" + }, + "capability": { + "name": "tosca.capabilities.Node", + "id": + "c8db6f9b-6173-4d7d-bd25-c20bfc154daa/tosca.capabilities.Node" + }, + "name": "dependency", + "id": "c8db6f9b-6173-4d7d-bd25-c20bfc154daa/dependency", + "relationship": { + "type": "tosca.relationships.DependsOn" + } + } + ], + "capabilities": [ + { + "name": "feature", + "type": { + "name": "tosca.capabilities.Node", + "id": + "c8db6f9b-6173-4d7d-bd25-c20bfc154daa/tosca.capabilities.Node" + } + } + ], + "catalogId": 0, + "catalog": "https://zldcrdm2sdc4cbe01.3f1a87.rdm2.tci.att.com:8443", + "hierarchy": [ + { + "name": "tosca.dcae.nodes.dockerApp", + "id": + "c8db6f9b-6173-4d7d-bd25-c20bfc154daa/tosca.dcae.nodes.dockerApp" + }, + { + "name": "tosca.dcae.nodes.Root", + "id": "c8db6f9b-6173-4d7d-bd25-c20bfc154daa/tosca.dcae.nodes.Root" + }, + { + "name": "tosca.nodes.Root", + "description": + "The TOSCA Node Type all other TOSCA base Node Types derive from", + "id": "c8db6f9b-6173-4d7d-bd25-c20bfc154daa/tosca.nodes.Root" + } + ], + "name": "tosca.dcae.nodes.dockerApp.fm_poller", + "id": 0 + }, + "id": "c8db6f9b-6173-4d7d-bd25-c20bfc154daa", + "nid": "n.1519638059958.3", + "ndata": { + "name": "n.1519638059958.3", + "label": "fm_poller", + "x": 757, + "y": 533, + "px": 756, + "py": 532, + "ports": [], + "radius": 30 + } + } + ], + "relations": [ + { + "rid": "lnk.1519638491147.0", + "n1": "n.1519546229993.1", + "name1": "tcaSpec", + "n2": "n.1519546230003.2", + "name2": "topic0", + "meta": { + "n1": "n.1519546229993.1", + "n2": "n.1519546230003.2", + "p1": "stream_subscribe_0", + "p2": "topic", + "relationship": ["tcaSpec", null, "stream_subscribe_0"] + } + }, + { + "rid": "lnk.1519638491150.1", + "n1": "n.1519546229993.1", + "name1": "tcaSpec", + "n2": "n.1519546230015.3", + "name2": "topic1", + "meta": { + "n1": "n.1519546229993.1", + "n2": "n.1519546230015.3", + "p1": "stream_publish_0", + "p2": "topic", + "relationship": ["tcaSpec", null, "stream_publish_0"] + } + }, + { + "rid": "lnk.1519638491156.2", + "n1": "n.1519546229993.1", + "name1": "tcaSpec", + "n2": "n.1519546229982.0", + "name2": "policy_0", + "meta": { + "n1": "n.1519546229993.1", + "n2": "n.1519546229982.0", + "p1": "policy", + "p2": "policy", + "relationship": ["tcaSpec", null, "policy"] + } + } + ], + "inputs": [], + "outputs": [] + } +} diff --git a/public/cypress/fixtures/importVfcmt.json b/public/cypress/fixtures/importVfcmt.json new file mode 100644 index 0000000..6da0d60 --- /dev/null +++ b/public/cypress/fixtures/importVfcmt.json @@ -0,0 +1,93 @@ +[ + { + "uuid": "cb06b8a9-c7e0-4451-a941-89fc338303c9", + "invariantUUID": "8c341465-43bb-44a9-b5f0-356e6a2a855f", + "name": "LiavSprint10.3", + "version": "0.1", + "toscaModelURL": + "/sdc/v1/catalog/resources/cb06b8a9-c7e0-4451-a941-89fc338303c9/toscaModel", + "lastUpdaterUserId": "le056g", + "category": "Template", + "lifecycleState": "NOT_CERTIFIED_CHECKIN", + "subCategory": "Monitoring Template", + "resourceType": "VFCMT" + }, + { + "uuid": "eef4a0c8-8a52-4d09-bdbd-f68dfd835ee3", + "invariantUUID": "d8003bd6-de41-4910-b38d-a357de25a61a", + "name": "teSt.__.monitoring---TempLATE.Rsnq", + "version": "0.1", + "toscaModelURL": + "/sdc/v1/catalog/resources/eef4a0c8-8a52-4d09-bdbd-f68dfd835ee3/toscaModel", + "lastUpdaterUserId": "cs0008", + "category": "Template", + "lifecycleState": "NOT_CERTIFIED_CHECKIN", + "subCategory": "Monitoring Template", + "resourceType": "VFCMT" + }, + { + "uuid": "f34758c9-f0e8-4b18-993a-0c1b48c5885a", + "invariantUUID": "7a96b209-0598-4df7-9313-48234b6e731b", + "name": "teSt.__.monitoring---TempLATE.Yh5k", + "version": "2.0", + "toscaModelURL": + "/sdc/v1/catalog/resources/f34758c9-f0e8-4b18-993a-0c1b48c5885a/toscaModel", + "lastUpdaterUserId": "cs0008", + "category": "Template", + "lifecycleState": "CERTIFIED", + "subCategory": "Monitoring Template", + "resourceType": "VFCMT" + }, + { + "uuid": "22473d26-d0bd-4c1b-84c1-20e539fb7556", + "invariantUUID": "5feeebf4-d4e9-44bc-9f17-10703af44da7", + "name": "CI-fJc9mhvlrfdx6qeCI", + "version": "0.1", + "toscaModelURL": + "/sdc/v1/catalog/resources/22473d26-d0bd-4c1b-84c1-20e539fb7556/toscaModel", + "lastUpdaterUserId": "cs0008", + "category": "Template", + "lifecycleState": "NOT_CERTIFIED_CHECKIN", + "subCategory": "Monitoring Template", + "resourceType": "VFCMT" + }, + { + "uuid": "dc588160-b1ca-4219-b790-bd8eda9332c1", + "invariantUUID": "e23ac861-1ba3-4acc-a1bd-ea297c51f1da", + "name": "teSt.__.monitoring---TempLATE.Fv2x", + "version": "1.0", + "toscaModelURL": + "/sdc/v1/catalog/resources/dc588160-b1ca-4219-b790-bd8eda9332c1/toscaModel", + "lastUpdaterUserId": "cs0008", + "category": "Template", + "lifecycleState": "CERTIFIED", + "subCategory": "Monitoring Template", + "resourceType": "VFCMT" + }, + { + "uuid": "cdb18942-e769-4361-9e89-96b06d13b138", + "invariantUUID": "fc8c40aa-f67c-4386-92b1-fbc652b8d3dc", + "name": "CIba71c93f4299", + "version": "0.3", + "toscaModelURL": + "/sdc/v1/catalog/resources/cdb18942-e769-4361-9e89-96b06d13b138/toscaModel", + "lastUpdaterUserId": "cs0008", + "category": "Template", + "lifecycleState": "NOT_CERTIFIED_CHECKIN", + "subCategory": "Monitoring Template", + "resourceType": "VFCMT" + }, + { + "uuid": "d9a5372c-2127-4b83-9aed-17e5b041cb45", + "invariantUUID": "3decd698-451b-405f-93ca-dcdf1dfd525e", + "name": "teSt.__.monitoring---TempLATE.Sgno", + "version": "0.2", + "toscaModelURL": + "/sdc/v1/catalog/resources/d9a5372c-2127-4b83-9aed-17e5b041cb45/toscaModel", + "lastUpdaterUserId": "cs0008", + "category": "Template", + "lifecycleState": "NOT_CERTIFIED_CHECKIN", + "subCategory": "Monitoring Template", + "resourceType": "VFCMT" + } +] diff --git a/public/cypress/fixtures/list-events-by-version.json b/public/cypress/fixtures/list-events-by-version.json new file mode 100644 index 0000000..0a07af0 --- /dev/null +++ b/public/cypress/fixtures/list-events-by-version.json @@ -0,0 +1,29 @@ +[ + { + "version": "4.1", + "eventTypes": [ + "syslogFields", + "thresholdCrossingAlertFields", + "measurementsForVfScalingFields", + "mobileFlowFields", + "otherFields", + "stateChangeFields", + "faultFields" + ] + }, + { + "version": "5.3", + "eventTypes": [ + "syslogFields", + "thresholdCrossingAlertFields", + "voiceQualityFields", + "heartbeatFields", + "measurementsForVfScalingFields", + "sipSignalingFields", + "mobileFlowFields", + "otherFields", + "stateChangeFields", + "faultFields" + ] + } +] diff --git a/public/cypress/fixtures/monitoringComponentsMock.json b/public/cypress/fixtures/monitoringComponentsMock.json new file mode 100644 index 0000000..ab34688 --- /dev/null +++ b/public/cypress/fixtures/monitoringComponentsMock.json @@ -0,0 +1,123 @@ +{ + "monitoringComponents": [ + { + "uuid": "cba37ed8-94e1-406f-b4f5-b5edbc31ac85", + "name": "CIe4d5a9b271d6", + "version": "0.2", + "lastUpdaterUserId": "cs0008", + "description": "description", + "status": "not submitted", + "vfiName": "vfb53dd48360ff4fa2b66e6ceb1961bd9b0" + }, + { + "uuid": "64471437-8feb-40d9-a8b0-9407a81dd5c0", + "name": "teSt.__.monitoring---TempLATE.6hnc", + "version": "1.0", + "lastUpdaterUserId": "cs0008", + "description": "description", + "status": "submitted", + "vfiName": "dump0" + }, + { + "uuid": "64471437-8feb-40d9-a8b0-9407a81dd5c0", + "name": "teSt.__.monitoring---TempLATE.6hnc", + "version": "1.0", + "lastUpdaterUserId": "cs0008", + "description": "description", + "status": "submitted", + "vfiName": "dump0" + }, + { + "uuid": "cba37ed8-94e1-406f-b4f5-b5edbc31ac85", + "name": "CIe4d5a9b271d6", + "version": "0.2", + "lastUpdaterUserId": "cs0008", + "description": "description", + "status": "not submitted", + "vfiName": "vfb53dd48360ff4fa2b66e6ceb1961bd9b0" + }, + { + "uuid": "64471437-8feb-40d9-a8b0-9407a81dd5c0", + "name": "teSt.__.monitoring---TempLATE.6hnc", + "version": "1.0", + "lastUpdaterUserId": "cs0008", + "description": "description", + "status": "submitted", + "vfiName": "dump0" + }, + { + "uuid": "64471437-8feb-40d9-a8b0-9407a81dd5c0", + "name": "teSt.__.monitoring---TempLATE.6hnc", + "version": "1.0", + "lastUpdaterUserId": "cs0008", + "description": "description", + "status": "submitted", + "vfiName": "dump0" + }, + { + "uuid": "cba37ed8-94e1-406f-b4f5-b5edbc31ac85", + "name": "CIe4d5a9b271d6", + "version": "0.2", + "lastUpdaterUserId": "cs0008", + "description": "description", + "status": "not submitted", + "vfiName": "vfb53dd48360ff4fa2b66e6ceb1961bd9b0" + }, + { + "uuid": "64471437-8feb-40d9-a8b0-9407a81dd5c0", + "name": "teSt.__.monitoring---TempLATE.6hnc", + "version": "1.0", + "lastUpdaterUserId": "cs0008", + "description": "description", + "status": "submitted", + "vfiName": "dump0" + }, + { + "uuid": "64471437-8feb-40d9-a8b0-9407a81dd5c0", + "name": "teSt.__.monitoring---TempLATE.6hnc", + "version": "1.0", + "lastUpdaterUserId": "cs0008", + "description": "description", + "status": "submitted", + "vfiName": "dump0" + }, + { + "uuid": "cba37ed8-94e1-406f-b4f5-b5edbc31ac85", + "name": "CIe4d5a9b271d6", + "version": "0.2", + "lastUpdaterUserId": "cs0008", + "description": "description", + "status": "not submitted", + "vfiName": "vfb53dd48360ff4fa2b66e6ceb1961bd9b0" + }, + { + "uuid": "64471437-8feb-40d9-a8b0-9407a81dd5c0", + "name": "teSt.__.monitoring---TempLATE.6hnc", + "version": "1.0", + "lastUpdaterUserId": "cs0008", + "description": "description", + "status": "submitted", + "vfiName": "dump0" + }, + { + "uuid": "64471437-8feb-40d9-a8b0-9407a81dd5c0", + "name": "teSt.__.monitoring---TempLATE.6hnc", + "version": "1.0", + "lastUpdaterUserId": "cs0008", + "description": "description", + "status": "submitted", + "vfiName": "dump0" + } + ], + "unavailable": [ + { + "uuid": "111111-1111111-1111111", + "name": null, + "version": null, + "lastUpdaterUserId": null, + "description": null, + "status": "unavailable", + "vfiName": "dump0" + } + ] +}
\ No newline at end of file diff --git a/public/cypress/fixtures/serviceDdl.json b/public/cypress/fixtures/serviceDdl.json new file mode 100644 index 0000000..a0a05bc --- /dev/null +++ b/public/cypress/fixtures/serviceDdl.json @@ -0,0 +1,24 @@ +{ + "uuid": "06c7d927-4e2f-47e1-a29d-b6ed229ebc0a", + "invariantUUID": "424b2457-d0fc-4b73-aaf6-d809f402aff5", + "name": "ciService669277f472b0", + "version": "0.1", + "toscaModelURL": + "/sdc/v1/catalog/services/06c7d927-4e2f-47e1-a29d-b6ed229ebc0a/toscaModel", + "lastUpdaterUserId": "cs0008", + "category": "Mobility", + "lifecycleState": "NOT_CERTIFIED_CHECKOUT", + "distributionStatus": "DISTRIBUTION_NOT_APPROVED", + "lastUpdaterFullName": "Idan Agam", + "resources": [ + { + "resourceInstanceName": "LiavSrv", + "resourceName": "ciResVF4e28237d8f08", + "resourceInvariantUUID": "c36512c2-7938-4dce-ab9e-8884c9cb1fb0", + "resourceVersion": "0.1", + "resoucreType": "VF", + "resourceUUID": "bce6b896-c086-450c-a023-86c1129de7e8", + "artifacts": null + } + ] +} diff --git a/public/cypress/fixtures/syslogTargetTree.json b/public/cypress/fixtures/syslogTargetTree.json new file mode 100644 index 0000000..a6b73b4 --- /dev/null +++ b/public/cypress/fixtures/syslogTargetTree.json @@ -0,0 +1,239 @@ +[ + { + "name": "commonEventHeader", + "children": [ + { + "name": "domain", + "children": null, + "isRequired": true, + "requiredChildren": null, + "id": "event.commonEventHeader.domain" + }, + { + "name": "eventId", + "children": null, + "isRequired": true, + "requiredChildren": null, + "id": "event.commonEventHeader.eventId" + }, + { + "name": "eventType", + "children": null, + "isRequired": false, + "requiredChildren": null, + "id": "event.commonEventHeader.eventType" + }, + { + "name": "functionalRole", + "children": null, + "isRequired": true, + "requiredChildren": null, + "id": "event.commonEventHeader.functionalRole" + }, + { + "name": "internalHeaderFields", + "children": null, + "isRequired": false, + "requiredChildren": null, + "id": "event.commonEventHeader.internalHeaderFields" + }, + { + "name": "lastEpochMicrosec", + "children": null, + "isRequired": true, + "requiredChildren": null, + "id": "event.commonEventHeader.lastEpochMicrosec" + }, + { + "name": "priority", + "children": null, + "isRequired": true, + "requiredChildren": null, + "id": "event.commonEventHeader.priority" + }, + { + "name": "reportingEntityId", + "children": null, + "isRequired": false, + "requiredChildren": null, + "id": "event.commonEventHeader.reportingEntityId" + }, + { + "name": "reportingEntityName", + "children": null, + "isRequired": true, + "requiredChildren": null, + "id": "event.commonEventHeader.reportingEntityName" + }, + { + "name": "sequence", + "children": null, + "isRequired": true, + "requiredChildren": null, + "id": "event.commonEventHeader.sequence" + }, + { + "name": "sourceId", + "children": null, + "isRequired": false, + "requiredChildren": null, + "id": "event.commonEventHeader.sourceId" + }, + { + "name": "sourceName", + "children": null, + "isRequired": true, + "requiredChildren": null, + "id": "event.commonEventHeader.sourceName" + }, + { + "name": "startEpochMicrosec", + "children": null, + "isRequired": true, + "requiredChildren": null, + "id": "event.commonEventHeader.startEpochMicrosec" + }, + { + "name": "version", + "children": null, + "isRequired": false, + "requiredChildren": null, + "id": "event.commonEventHeader.version" + } + ], + "isRequired": false, + "requiredChildren": [ + "domain", + "eventId", + "functionalRole", + "lastEpochMicrosec", + "priority", + "reportingEntityName", + "sequence", + "sourceName", + "startEpochMicrosec" + ], + "id": "event.commonEventHeader" + }, + { + "name": "syslogFields", + "children": [ + { + "name": "additionalFields", + "children": [ + { + "name": "name", + "children": null, + "isRequired": true, + "requiredChildren": null, + "id": "event.syslogFields.additionalFields[].name" + }, + { + "name": "value", + "children": null, + "isRequired": true, + "requiredChildren": null, + "id": "event.syslogFields.additionalFields[].value" + } + ], + "isRequired": false, + "requiredChildren": ["name", "value"], + "id": "event.syslogFields.additionalFields[]" + }, + { + "name": "eventSourceHost", + "children": null, + "isRequired": false, + "requiredChildren": null, + "id": "event.syslogFields.eventSourceHost" + }, + { + "name": "eventSourceType", + "children": null, + "isRequired": true, + "requiredChildren": null, + "id": "event.syslogFields.eventSourceType" + }, + { + "name": "syslogFacility", + "children": null, + "isRequired": false, + "requiredChildren": null, + "id": "event.syslogFields.syslogFacility" + }, + { + "name": "syslogFieldsVersion", + "children": null, + "isRequired": false, + "requiredChildren": null, + "id": "event.syslogFields.syslogFieldsVersion" + }, + { + "name": "syslogMsg", + "children": null, + "isRequired": true, + "requiredChildren": null, + "id": "event.syslogFields.syslogMsg" + }, + { + "name": "syslogPri", + "children": null, + "isRequired": false, + "requiredChildren": null, + "id": "event.syslogFields.syslogPri" + }, + { + "name": "syslogProc", + "children": null, + "isRequired": false, + "requiredChildren": null, + "id": "event.syslogFields.syslogProc" + }, + { + "name": "syslogProcId", + "children": null, + "isRequired": false, + "requiredChildren": null, + "id": "event.syslogFields.syslogProcId" + }, + { + "name": "syslogSData", + "children": null, + "isRequired": false, + "requiredChildren": null, + "id": "event.syslogFields.syslogSData" + }, + { + "name": "syslogSdId", + "children": null, + "isRequired": false, + "requiredChildren": null, + "id": "event.syslogFields.syslogSdId" + }, + { + "name": "syslogSev", + "children": null, + "isRequired": false, + "requiredChildren": null, + "id": "event.syslogFields.syslogSev" + }, + { + "name": "syslogTag", + "children": null, + "isRequired": true, + "requiredChildren": null, + "id": "event.syslogFields.syslogTag" + }, + { + "name": "syslogVer", + "children": null, + "isRequired": false, + "requiredChildren": null, + "id": "event.syslogFields.syslogVer" + } + ], + "isRequired": false, + "requiredChildren": ["eventSourceType", "syslogMsg", "syslogTag"], + "id": "event.syslogFields" + } +] diff --git a/public/cypress/fixtures/templateMock.json b/public/cypress/fixtures/templateMock.json new file mode 100644 index 0000000..b8fff17 --- /dev/null +++ b/public/cypress/fixtures/templateMock.json @@ -0,0 +1,15 @@ +[ + { + "uuid": "2a67bbb6-3457-4bb6-baef-e3bc5f1fd9b7", + "invariantUUID": "cb594fb6-c9e7-42c1-bef9-7a1873325986", + "name": "AviStone1234", + "version": "1.0", + "toscaModelURL": + "/sdc/v1/catalog/resources/2a67bbb6-3457-4bb6-baef-e3bc5f1fd9b7/toscaModel", + "lastUpdaterUserId": "cs0008", + "category": "Template", + "lifecycleState": "CERTIFIED", + "subCategory": "Base Monitoring Template", + "resourceType": "VFCMT" + } +] diff --git a/public/cypress/fixtures/vfniMock.json b/public/cypress/fixtures/vfniMock.json new file mode 100644 index 0000000..cb4a91b --- /dev/null +++ b/public/cypress/fixtures/vfniMock.json @@ -0,0 +1,12 @@ +[ + { + "uuid": "d31bc895-d908-4e62-9e81-77fd52e13632", + "invariantUUID": "4b8e8dde-8f18-42f4-86c7-3e2f9bc163b4", + "name": "LiavSrv", + "version": "0.3", + "lastUpdaterUserId": "af3193", + "category": "Mobility", + "lifecycleState": "NOT_CERTIFIED_CHECKIN", + "distributionStatus": "DISTRIBUTION_NOT_APPROVED" + } +] |