diff options
Diffstat (limited to 'dcae-analytics/dcae-analytics-test/src/main/resources/data/json')
15 files changed, 2126 insertions, 0 deletions
diff --git a/dcae-analytics/dcae-analytics-test/src/main/resources/data/json/aai/aai_vnf_enrichment.json b/dcae-analytics/dcae-analytics-test/src/main/resources/data/json/aai/aai_vnf_enrichment.json new file mode 100644 index 0000000..7360427 --- /dev/null +++ b/dcae-analytics/dcae-analytics-test/src/main/resources/data/json/aai/aai_vnf_enrichment.json @@ -0,0 +1,39 @@ +{ + "vnf-id": "63b31229-9a3a-444f-9159-04ce2dca3be9", + "vnf-name": "vCPEInfraVNF13", + "vnf-type": "vCPEInfraService10/vCPEInfraService10 0", + "service-id": "e8cb8968-5411-478b-906a-f28747de72cd", + "prov-status": "PREPROV", + "orchestration-status": "Created", + "in-maint": false, + "is-closed-loop-disabled": false, + "resource-version": "1504896046185", + "relationship-list": { + "relationship": [ + { + "related-to": "service-instance", + "related-link": "/aai/v11/business/customers/customer/Demonstration3/service-subscriptions/service-subscription/vCPE/service-instances/service-instance/e8feceb6-28ae-480a-bfbc-1985ce333526", + "relationship-data": [ + { + "relationship-key": "customer.global-customer-id", + "relationship-value": "Demonstration3" + }, + { + "relationship-key": "service-subscription.service-type", + "relationship-value": "vCPE" + }, + { + "relationship-key": "service-instance.service-instance-id", + "relationship-value": "e8feceb6-28ae-480a-bfbc-1985ce333526" + } + ], + "related-to-property": [ + { + "property-key": "service-instance.service-instance-name", + "property-value": "vCPEInfraSI13" + } + ] + } + ] + } +} diff --git a/dcae-analytics/dcae-analytics-test/src/main/resources/data/json/aai/aai_vserver_enrichment.json b/dcae-analytics/dcae-analytics-test/src/main/resources/data/json/aai/aai_vserver_enrichment.json new file mode 100644 index 0000000..45c8df3 --- /dev/null +++ b/dcae-analytics/dcae-analytics-test/src/main/resources/data/json/aai/aai_vserver_enrichment.json @@ -0,0 +1,10 @@ +{ + "vserver-id": "example-vserver-id-val-2", + "vserver-name": "example-vserver-name-val-2", + "vserver-name2": "example-vserver-name2-val-2", + "prov-status": "example-prov-status-val-2", + "vserver-selflink": "example-vserver-selflink-val-2", + "in-maint": true, + "is-closed-loop-disabled": true, + "resource-version": "1504912891060" +} diff --git a/dcae-analytics/dcae-analytics-test/src/main/resources/data/json/aai/aai_vserver_resource_data.json b/dcae-analytics/dcae-analytics-test/src/main/resources/data/json/aai/aai_vserver_resource_data.json new file mode 100644 index 0000000..f4a0334 --- /dev/null +++ b/dcae-analytics/dcae-analytics-test/src/main/resources/data/json/aai/aai_vserver_resource_data.json @@ -0,0 +1,8 @@ +{ + "result-data": [ + { + "resource-type": "vserver", + "resource-link": "/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/Rackspace/DFW/tenants/tenant/1031120/vservers/vserver/example-vserver-id-val-2" + } + ] +} diff --git a/dcae-analytics/dcae-analytics-test/src/main/resources/data/json/cef/cef_meesage_with_inapplicable_event_name.json b/dcae-analytics/dcae-analytics-test/src/main/resources/data/json/cef/cef_meesage_with_inapplicable_event_name.json new file mode 100644 index 0000000..773f7a4 --- /dev/null +++ b/dcae-analytics/dcae-analytics-test/src/main/resources/data/json/cef/cef_meesage_with_inapplicable_event_name.json @@ -0,0 +1,76 @@ +{ + "event": { + "commonEventHeader": { + "domain": "measurementsForVfScaling", + "eventId": "UC1-SCL01081-1492639920787", + "eventName": "testEventName", + "lastEpochMicrosec": 1492639920787, + "nfNamingCode": "ENBE", + "priority": "Normal", + "reportingEntityId": "", + "reportingEntityName": "vtc2e7admn2", + "sequence": 0, + "sourceId": "SCL01081_9B_1", + "sourceName": "SCL01081", + "startEpochMicrosec": 1492639920787, + "version": 3.0 + }, + "measurementsForVfScalingFields": { + "additionalFields": [ + { + "name": "software_version ", + "value": "version1" + }, + { + "name": "vendor ", + "value": "Ericsson " + } + ], + "additionalMeasurements": [ + { + "name": "OaaS_UC1_EricssonSleepingCell", + "arrayOfFields": [ + { + "name": "PMRAATTCBRA", + "value": "1353" + }, + { + "name": "PMRASUCCCBRA", + "value": "1351" + }, + { + "name": "PMCELLDOWNTIMEAUTO", + "value": "0" + }, + { + "name": "PMCELLDOWNTIMEMAN", + "value": "0" + }, + { + "name": "PMRRCCONNESTABATT", + "value": "297" + }, + { + "name": "PMRRCCONNESTABSUCC", + "value": "297" + } + ] + } + ], + "vNicPerformanceArray": [ + { + "receivedBroadcastPacketsAccumulated": 5000, + "receivedBroadcastPacketsDelta": 5, + "receivedDiscardedPacketsAccumulated": 12, + "receivedDiscardedPacketsDelta": 2, + "receivedErrorPacketsAccumulated": 2, + "receivedErrorPacketsDelta": 1, + "valuesAreSuspect": false, + "vNicIdentifier": "someVNicIdentifier" + } + ], + "measurementInterval": 900, + "measurementsForVfScalingVersion": 2.0 + } + } +} diff --git a/dcae-analytics/dcae-analytics-test/src/main/resources/data/json/cef/cef_message.json b/dcae-analytics/dcae-analytics-test/src/main/resources/data/json/cef/cef_message.json new file mode 100644 index 0000000..065962d --- /dev/null +++ b/dcae-analytics/dcae-analytics-test/src/main/resources/data/json/cef/cef_message.json @@ -0,0 +1,76 @@ +{ + "event": { + "commonEventHeader": { + "domain": "measurementsForVfScaling", + "eventId": "UC1-SCL01081-1492639920787", + "eventName": "Mfvs_eNodeB_RANKPI", + "lastEpochMicrosec": 1492639920787, + "nfNamingCode": "ENBE", + "priority": "Normal", + "reportingEntityId": "", + "reportingEntityName": "vtc2e7admn2", + "sequence": 0, + "sourceId": "SCL01081_9B_1", + "sourceName": "SCL01081", + "startEpochMicrosec": 1492639920787, + "version": 3.0 + }, + "measurementsForVfScalingFields": { + "additionalFields": [ + { + "name": "software_version ", + "value": "version1" + }, + { + "name": "vendor ", + "value": "Ericsson " + } + ], + "additionalMeasurements": [ + { + "name": "OaaS_UC1_EricssonSleepingCell", + "arrayOfFields": [ + { + "name": "PMRAATTCBRA", + "value": "1353" + }, + { + "name": "PMRASUCCCBRA", + "value": "1351" + }, + { + "name": "PMCELLDOWNTIMEAUTO", + "value": "0" + }, + { + "name": "PMCELLDOWNTIMEMAN", + "value": "0" + }, + { + "name": "PMRRCCONNESTABATT", + "value": "297" + }, + { + "name": "PMRRCCONNESTABSUCC", + "value": "297" + } + ] + } + ], + "vNicPerformanceArray": [ + { + "receivedBroadcastPacketsAccumulated": 5000, + "receivedBroadcastPacketsDelta": 5, + "receivedDiscardedPacketsAccumulated": 12, + "receivedDiscardedPacketsDelta": 2, + "receivedErrorPacketsAccumulated": 2, + "receivedErrorPacketsDelta": 1, + "valuesAreSuspect": false, + "vNicIdentifier": "someVNicIdentifier" + } + ], + "measurementInterval": 900, + "measurementsForVfScalingVersion": 2.0 + } + } +} diff --git a/dcae-analytics/dcae-analytics-test/src/main/resources/data/json/cef/cef_message_with_abatement.json b/dcae-analytics/dcae-analytics-test/src/main/resources/data/json/cef/cef_message_with_abatement.json new file mode 100644 index 0000000..c97df74 --- /dev/null +++ b/dcae-analytics/dcae-analytics-test/src/main/resources/data/json/cef/cef_message_with_abatement.json @@ -0,0 +1,76 @@ +{ + "event": { + "commonEventHeader": { + "domain": "measurementsForVfScaling", + "eventId": "UC1-SCL01081-1492639920787", + "eventName": "Mfvs_eNodeB_RANKPI", + "lastEpochMicrosec": 1492639920787, + "nfNamingCode": "ENBE", + "priority": "Normal", + "reportingEntityId": "", + "reportingEntityName": "vtc2e7admn2", + "sequence": 0, + "sourceId": "SCL01081_9B_1", + "sourceName": "SCL01081", + "startEpochMicrosec": 1492639920787, + "version": 3.0 + }, + "measurementsForVfScalingFields": { + "additionalFields": [ + { + "name": "software_version ", + "value": "version1" + }, + { + "name": "vendor ", + "value": "Ericsson " + } + ], + "additionalMeasurements": [ + { + "name": "OaaS_UC1_EricssonSleepingCell", + "arrayOfFields": [ + { + "name": "PMRAATTCBRA", + "value": "1353" + }, + { + "name": "PMRASUCCCBRA", + "value": "1351" + }, + { + "name": "PMCELLDOWNTIMEAUTO", + "value": "0" + }, + { + "name": "PMCELLDOWNTIMEMAN", + "value": "0" + }, + { + "name": "PMRRCCONNESTABATT", + "value": "297" + }, + { + "name": "PMRRCCONNESTABSUCC", + "value": "297" + } + ] + } + ], + "vNicPerformanceArray": [ + { + "receivedBroadcastPacketsAccumulated": 0, + "receivedBroadcastPacketsDelta": 5, + "receivedDiscardedPacketsAccumulated": 12, + "receivedDiscardedPacketsDelta": 2, + "receivedErrorPacketsAccumulated": 2, + "receivedErrorPacketsDelta": 1, + "valuesAreSuspect": false, + "vNicIdentifier": "someVNicIdentifier" + } + ], + "measurementInterval": 900, + "measurementsForVfScalingVersion": 2.0 + } + } +} diff --git a/dcae-analytics/dcae-analytics-test/src/main/resources/data/json/cef/cef_message_with_violation.json b/dcae-analytics/dcae-analytics-test/src/main/resources/data/json/cef/cef_message_with_violation.json new file mode 100644 index 0000000..c85f55b --- /dev/null +++ b/dcae-analytics/dcae-analytics-test/src/main/resources/data/json/cef/cef_message_with_violation.json @@ -0,0 +1,76 @@ +{ + "event": { + "commonEventHeader": { + "domain": "measurementsForVfScaling", + "eventId": "UC1-SCL01081-1492639920787", + "eventName": "Mfvs_eNodeB_RANKPI", + "lastEpochMicrosec": 1492639920787, + "nfNamingCode": "ENBE", + "priority": "Normal", + "reportingEntityId": "", + "reportingEntityName": "vtc2e7admn2", + "sequence": 0, + "sourceId": "SCL01081_9B_1", + "sourceName": "SCL01081", + "startEpochMicrosec": 1492639920787, + "version": 3.0 + }, + "measurementsForVfScalingFields": { + "additionalFields": [ + { + "name": "software_version ", + "value": "version1" + }, + { + "name": "vendor ", + "value": "Ericsson " + } + ], + "additionalMeasurements": [ + { + "name": "OaaS_UC1_EricssonSleepingCell", + "arrayOfFields": [ + { + "name": "PMRAATTCBRA", + "value": "1353" + }, + { + "name": "PMRASUCCCBRA", + "value": "1351" + }, + { + "name": "PMCELLDOWNTIMEAUTO", + "value": "0" + }, + { + "name": "PMCELLDOWNTIMEMAN", + "value": "0" + }, + { + "name": "PMRRCCONNESTABATT", + "value": "297" + }, + { + "name": "PMRRCCONNESTABSUCC", + "value": "297" + } + ] + } + ], + "vNicPerformanceArray": [ + { + "receivedBroadcastPacketsAccumulated": 21000, + "receivedBroadcastPacketsDelta": 5, + "receivedDiscardedPacketsAccumulated": 12, + "receivedDiscardedPacketsDelta": 2, + "receivedErrorPacketsAccumulated": 2, + "receivedErrorPacketsDelta": 1, + "valuesAreSuspect": false, + "vNicIdentifier": "someVNicIdentifier" + } + ], + "measurementInterval": 900, + "measurementsForVfScalingVersion": 2.0 + } + } +} diff --git a/dcae-analytics/dcae-analytics-test/src/main/resources/data/json/cef/cef_messages.json b/dcae-analytics/dcae-analytics-test/src/main/resources/data/json/cef/cef_messages.json new file mode 100644 index 0000000..242ab9d --- /dev/null +++ b/dcae-analytics/dcae-analytics-test/src/main/resources/data/json/cef/cef_messages.json @@ -0,0 +1,1490 @@ +[ + { + "event": { + "measurementsForVfScalingFields": { + "measurementInterval": 600, + "additionalMeasurements": [ + { + "arrayOfFields": [ + { + "name": "BS_Reset_Needed", + "value": "1" + } + ], + "name": "OaaS_UC2_ALUMetrocellBackhaul" + } + ], + "measurementsForVfScalingVersion": 2.0, + "additionalFields": [ + { + "name": "software_version", + "value": "" + }, + { + "name": "vendor", + "value": "ALU" + }, + { + "name": "datetime", + "value": "" + } + ] + }, + "commonEventHeader": { + "nfNamingCode": "MEAP", + "version": 3.0, + "sourceId": "network:FemtoCluster\/301:fclustr-301:FGroup-308:femto-34179", + "reportingEntityName": "1085190", + "startEpochMicrosec": 1493393250722, + "eventId": "UC2-BRHMALM02001-1493393250722", + "lastEpochMicrosec": 1493393250722, + "priority": "Normal", + "sequence": 0, + "sourceName": "BRHMALM02001", + "domain": "measurementsForVfScaling", + "eventName": "Mfvs_eNodeB_RANKPI", + "reportingEntityId": "" + } + } + }, + { + "event": { + "measurementsForVfScalingFields": { + "measurementInterval": 600, + "additionalMeasurements": [ + { + "arrayOfFields": [ + { + "name": "BS_Reset_Needed", + "value": "1" + } + ], + "name": "OaaS_UC2_ALUMetrocellBackhaul" + } + ], + "measurementsForVfScalingVersion": 2.0, + "additionalFields": [ + { + "name": "software_version", + "value": "" + }, + { + "name": "vendor", + "value": "ALU" + }, + { + "name": "datetime", + "value": "" + } + ] + }, + "commonEventHeader": { + "nfNamingCode": "MEAP", + "version": 3.0, + "sourceId": "network:FemtoCluster\/1:fclustr-1:FGroup-70:femto-4860", + "reportingEntityName": "75160", + "startEpochMicrosec": 1493393250717, + "eventId": "UC2-PTLDORM58217-1493393250717", + "lastEpochMicrosec": 1493393250717, + "priority": "Normal", + "sequence": 0, + "sourceName": "PTLDORM58217", + "domain": "measurementsForVfScaling", + "eventName": "Mfvs_eNodeB_RANKPI", + "reportingEntityId": "" + } + } + }, + { + "event": { + "measurementsForVfScalingFields": { + "measurementInterval": 600, + "additionalMeasurements": [ + { + "arrayOfFields": [ + { + "name": "BS_Reset_Needed", + "value": "1" + } + ], + "name": "OaaS_UC2_ALUMetrocellBackhaul" + } + ], + "measurementsForVfScalingVersion": 2.0, + "additionalFields": [ + { + "name": "software_version", + "value": "" + }, + { + "name": "vendor", + "value": "ALU" + }, + { + "name": "datetime", + "value": "" + } + ] + }, + "commonEventHeader": { + "nfNamingCode": "MEAP", + "version": 3.0, + "sourceId": "network:FemtoCluster\/1:fclustr-1:FGroup-70:femto-7558", + "reportingEntityName": "96140", + "startEpochMicrosec": 1493393250712, + "eventId": "UC2-PTLDORM58210-1493393250712", + "lastEpochMicrosec": 1493393250712, + "priority": "Normal", + "sequence": 0, + "sourceName": "PTLDORM58210", + "domain": "measurementsForVfScaling", + "eventName": "Mfvs_eNodeB_RANKPI", + "reportingEntityId": "" + } + } + }, + { + "event": { + "measurementsForVfScalingFields": { + "measurementInterval": 600, + "additionalMeasurements": [ + { + "arrayOfFields": [ + { + "name": "BS_Reset_Needed", + "value": "1" + } + ], + "name": "OaaS_UC2_ALUMetrocellBackhaul" + } + ], + "measurementsForVfScalingVersion": 2.0, + "additionalFields": [ + { + "name": "software_version", + "value": "" + }, + { + "name": "vendor", + "value": "ALU" + }, + { + "name": "datetime", + "value": "" + } + ] + }, + "commonEventHeader": { + "nfNamingCode": "MEAP", + "version": 3.0, + "sourceId": "network:FemtoCluster\/203:fclustr-203:FGroup-310:femto-37457", + "reportingEntityName": "1373204", + "startEpochMicrosec": 1493393250718, + "eventId": "UC2-BSTNVTM06013-1493393250718", + "lastEpochMicrosec": 1493393250718, + "priority": "Normal", + "sequence": 0, + "sourceName": "BSTNVTM06013", + "domain": "measurementsForVfScaling", + "eventName": "Mfvs_eNodeB_RANKPI", + "reportingEntityId": "" + } + } + }, + { + "event": { + "measurementsForVfScalingFields": { + "measurementInterval": 600, + "additionalMeasurements": [ + { + "arrayOfFields": [ + { + "name": "BS_Reset_Needed", + "value": "1" + } + ], + "name": "OaaS_UC2_ALUMetrocellBackhaul" + } + ], + "measurementsForVfScalingVersion": 2.0, + "additionalFields": [ + { + "name": "software_version", + "value": "" + }, + { + "name": "vendor", + "value": "ALU" + }, + { + "name": "datetime", + "value": "" + } + ] + }, + "commonEventHeader": { + "nfNamingCode": "MEAP", + "version": 3.0, + "sourceId": "network:FemtoCluster\/203:fclustr-203:FGroup-223:femto-39355", + "reportingEntityName": "1060176", + "startEpochMicrosec": 1493393250721, + "eventId": "UC2-BSTNVTM06103-1493393250721", + "lastEpochMicrosec": 1493393250721, + "priority": "Normal", + "sequence": 0, + "sourceName": "BSTNVTM06103", + "domain": "measurementsForVfScaling", + "eventName": "Mfvs_eNodeB_RANKPI", + "reportingEntityId": "" + } + } + }, + { + "event": { + "measurementsForVfScalingFields": { + "measurementInterval": 600, + "additionalMeasurements": [ + { + "arrayOfFields": [ + { + "name": "BS_Reset_Needed", + "value": "1" + } + ], + "name": "OaaS_UC2_ALUMetrocellBackhaul" + } + ], + "measurementsForVfScalingVersion": 2.0, + "additionalFields": [ + { + "name": "software_version", + "value": "" + }, + { + "name": "vendor", + "value": "ALU" + }, + { + "name": "datetime", + "value": "" + } + ] + }, + "commonEventHeader": { + "nfNamingCode": "MEAP", + "version": 3.0, + "sourceId": "network:FemtoCluster\/158:fclustr-158:FGroup-28:femto-30166", + "reportingEntityName": "954175", + "startEpochMicrosec": 1493393250720, + "eventId": "UC2-PITBPAM38246-1493393250720", + "lastEpochMicrosec": 1493393250720, + "priority": "Normal", + "sequence": 0, + "sourceName": "PITBPAM38246", + "domain": "measurementsForVfScaling", + "eventName": "Mfvs_eNodeB_RANKPI", + "reportingEntityId": "" + } + } + }, + { + "event": { + "measurementsForVfScalingFields": { + "measurementInterval": 600, + "additionalMeasurements": [ + { + "arrayOfFields": [ + { + "name": "BS_Reset_Needed", + "value": "1" + } + ], + "name": "OaaS_UC2_ALUMetrocellBackhaul" + } + ], + "measurementsForVfScalingVersion": 2.0, + "additionalFields": [ + { + "name": "software_version", + "value": "" + }, + { + "name": "vendor", + "value": "ALU" + }, + { + "name": "datetime", + "value": "" + } + ] + }, + "commonEventHeader": { + "nfNamingCode": "MEAP", + "version": 3.0, + "sourceId": "network:FemtoCluster\/203:fclustr-203:FGroup-223:femto-33673", + "reportingEntityName": "1060173", + "startEpochMicrosec": 1493393250723, + "eventId": "UC2-BSTNVTM06066-1493393250723", + "lastEpochMicrosec": 1493393250723, + "priority": "Normal", + "sequence": 0, + "sourceName": "BSTNVTM06066", + "domain": "measurementsForVfScaling", + "eventName": "Mfvs_eNodeB_RANKPI", + "reportingEntityId": "" + } + } + }, + { + "event": { + "measurementsForVfScalingFields": { + "measurementInterval": 600, + "additionalMeasurements": [ + { + "arrayOfFields": [ + { + "name": "BS_Reset_Needed", + "value": "1" + } + ], + "name": "OaaS_UC2_ALUMetrocellBackhaul" + } + ], + "measurementsForVfScalingVersion": 2.0, + "additionalFields": [ + { + "name": "software_version", + "value": "" + }, + { + "name": "vendor", + "value": "ALU" + }, + { + "name": "datetime", + "value": "" + } + ] + }, + "commonEventHeader": { + "nfNamingCode": "MEAP", + "version": 3.0, + "sourceId": "network:FemtoCluster\/3:fclustr-3:FGroup-47:femto-34309", + "reportingEntityName": "1185198", + "startEpochMicrosec": 1493393250724, + "eventId": "UC2-SCRMCNM29032-1493393250724", + "lastEpochMicrosec": 1493393250724, + "priority": "Normal", + "sequence": 0, + "sourceName": "SCRMCNM29032", + "domain": "measurementsForVfScaling", + "eventName": "Mfvs_eNodeB_RANKPI", + "reportingEntityId": "" + } + } + }, + { + "event": { + "measurementsForVfScalingFields": { + "measurementInterval": 600, + "additionalMeasurements": [ + { + "arrayOfFields": [ + { + "name": "BS_Reset_Needed", + "value": "1" + } + ], + "name": "OaaS_UC2_ALUMetrocellBackhaul" + } + ], + "measurementsForVfScalingVersion": 2.0, + "additionalFields": [ + { + "name": "software_version", + "value": "" + }, + { + "name": "vendor", + "value": "ALU" + }, + { + "name": "datetime", + "value": "" + } + ] + }, + "commonEventHeader": { + "nfNamingCode": "MEAP", + "version": 3.0, + "sourceId": "network:FemtoCluster\/1:fclustr-1:FGroup-70:femto-4855", + "reportingEntityName": "75138", + "startEpochMicrosec": 1493393250714, + "eventId": "UC2-PTLDORM58212-1493393250714", + "lastEpochMicrosec": 1493393250714, + "priority": "Normal", + "sequence": 0, + "sourceName": "PTLDORM58212", + "domain": "measurementsForVfScaling", + "eventName": "Mfvs_eNodeB_RANKPI", + "reportingEntityId": "" + } + } + }, + { + "event": { + "measurementsForVfScalingFields": { + "measurementInterval": 600, + "additionalMeasurements": [ + { + "arrayOfFields": [ + { + "name": "BS_Reset_Needed", + "value": "1" + } + ], + "name": "OaaS_UC2_ALUMetrocellBackhaul" + } + ], + "measurementsForVfScalingVersion": 2.0, + "additionalFields": [ + { + "name": "software_version", + "value": "" + }, + { + "name": "vendor", + "value": "ALU" + }, + { + "name": "datetime", + "value": "" + } + ] + }, + "commonEventHeader": { + "nfNamingCode": "MEAP", + "version": 3.0, + "sourceId": "network:FemtoCluster\/1:fclustr-1:FGroup-70:femto-10466", + "reportingEntityName": "133734", + "startEpochMicrosec": 1493393250715, + "eventId": "UC2-PTLDORM58925-1493393250715", + "lastEpochMicrosec": 1493393250715, + "priority": "Normal", + "sequence": 0, + "sourceName": "PTLDORM58925", + "domain": "measurementsForVfScaling", + "eventName": "Mfvs_eNodeB_RANKPI", + "reportingEntityId": "" + } + } + }, + { + "event": { + "measurementsForVfScalingFields": { + "measurementInterval": 600, + "additionalMeasurements": [ + { + "arrayOfFields": [ + { + "name": "BS_Reset_Needed", + "value": "1" + } + ], + "name": "OaaS_UC2_ALUMetrocellBackhaul" + } + ], + "measurementsForVfScalingVersion": 2.0, + "additionalFields": [ + { + "name": "software_version", + "value": "" + }, + { + "name": "vendor", + "value": "ALU" + }, + { + "name": "datetime", + "value": "" + } + ] + }, + "commonEventHeader": { + "nfNamingCode": "MEAP", + "version": 3.0, + "sourceId": "network:FemtoCluster\/201:fclustr-201:FGroup-218:femto-29721", + "reportingEntityName": "844171", + "startEpochMicrosec": 1493393250719, + "eventId": "UC2-NYCMNYM23031-1493393250719", + "lastEpochMicrosec": 1493393250719, + "priority": "Normal", + "sequence": 0, + "sourceName": "NYCMNYM23031", + "domain": "measurementsForVfScaling", + "eventName": "Mfvs_eNodeB_RANKPI", + "reportingEntityId": "" + } + } + }, + { + "event": { + "measurementsForVfScalingFields": { + "measurementInterval": 600, + "additionalMeasurements": [ + { + "arrayOfFields": [ + { + "name": "BS_Reset_Needed", + "value": "1" + } + ], + "name": "OaaS_UC2_ALUMetrocellBackhaul" + } + ], + "measurementsForVfScalingVersion": 2.0, + "additionalFields": [ + { + "name": "software_version", + "value": "" + }, + { + "name": "vendor", + "value": "ALU" + }, + { + "name": "datetime", + "value": "" + } + ] + }, + "commonEventHeader": { + "nfNamingCode": "MEAP", + "version": 3.0, + "sourceId": "network:FemtoCluster\/1:fclustr-1:FGroup-70:femto-4858", + "reportingEntityName": "75137", + "startEpochMicrosec": 1493393250715, + "eventId": "UC2-PTLDORM58215-1493393250715", + "lastEpochMicrosec": 1493393250715, + "priority": "Normal", + "sequence": 0, + "sourceName": "PTLDORM58215", + "domain": "measurementsForVfScaling", + "eventName": "Mfvs_eNodeB_RANKPI", + "reportingEntityId": "" + } + } + }, + { + "event": { + "measurementsForVfScalingFields": { + "measurementInterval": 600, + "additionalMeasurements": [ + { + "arrayOfFields": [ + { + "name": "BS_Reset_Needed", + "value": "1" + } + ], + "name": "OaaS_UC2_ALUMetrocellBackhaul" + } + ], + "measurementsForVfScalingVersion": 2.0, + "additionalFields": [ + { + "name": "software_version", + "value": "" + }, + { + "name": "vendor", + "value": "ALU" + }, + { + "name": "datetime", + "value": "" + } + ] + }, + "commonEventHeader": { + "nfNamingCode": "MEAP", + "version": 3.0, + "sourceId": "network:FemtoCluster\/1:fclustr-1:FGroup-70:femto-4852", + "reportingEntityName": "75173", + "startEpochMicrosec": 1493393250726, + "eventId": "UC2-PTLDORM58014-1493393250726", + "lastEpochMicrosec": 1493393250726, + "priority": "Normal", + "sequence": 0, + "sourceName": "PTLDORM58014", + "domain": "measurementsForVfScaling", + "eventName": "Mfvs_eNodeB_RANKPI", + "reportingEntityId": "" + } + } + }, + { + "event": { + "measurementsForVfScalingFields": { + "measurementInterval": 600, + "additionalMeasurements": [ + { + "arrayOfFields": [ + { + "name": "BS_Reset_Needed", + "value": "1" + } + ], + "name": "OaaS_UC2_ALUMetrocellBackhaul" + } + ], + "measurementsForVfScalingVersion": 2.0, + "additionalFields": [ + { + "name": "software_version", + "value": "" + }, + { + "name": "vendor", + "value": "ALU" + }, + { + "name": "datetime", + "value": "" + } + ] + }, + "commonEventHeader": { + "nfNamingCode": "MEAP", + "version": 3.0, + "sourceId": "network:FemtoCluster\/3:fclustr-3:FGroup-282:femto-36109", + "reportingEntityName": "1085174", + "startEpochMicrosec": 1493393250725, + "eventId": "UC2-SLKCUTM08059-1493393250725", + "lastEpochMicrosec": 1493393250725, + "priority": "Normal", + "sequence": 0, + "sourceName": "SLKCUTM08059", + "domain": "measurementsForVfScaling", + "eventName": "Mfvs_eNodeB_RANKPI", + "reportingEntityId": "" + } + } + }, + { + "event": { + "measurementsForVfScalingFields": { + "measurementInterval": 600, + "additionalMeasurements": [ + { + "arrayOfFields": [ + { + "name": "BS_Reset_Needed", + "value": "1" + } + ], + "name": "OaaS_UC2_ALUMetrocellBackhaul" + } + ], + "measurementsForVfScalingVersion": 2.0, + "additionalFields": [ + { + "name": "software_version", + "value": "" + }, + { + "name": "vendor", + "value": "ALU" + }, + { + "name": "datetime", + "value": "" + } + ] + }, + "commonEventHeader": { + "nfNamingCode": "MEAP", + "version": 3.0, + "sourceId": "network:FemtoCluster\/3:fclustr-3:FGroup-366:femto-37721", + "reportingEntityName": "1385173", + "startEpochMicrosec": 1493393250720, + "eventId": "UC2-SLKCUTM08083-1493393250720", + "lastEpochMicrosec": 1493393250720, + "priority": "Normal", + "sequence": 0, + "sourceName": "SLKCUTM08083", + "domain": "measurementsForVfScaling", + "eventName": "Mfvs_eNodeB_RANKPI", + "reportingEntityId": "" + } + } + }, + { + "event": { + "measurementsForVfScalingFields": { + "measurementInterval": 600, + "additionalMeasurements": [ + { + "arrayOfFields": [ + { + "name": "BS_Reset_Needed", + "value": "1" + } + ], + "name": "OaaS_UC2_ALUMetrocellBackhaul" + } + ], + "measurementsForVfScalingVersion": 2.0, + "additionalFields": [ + { + "name": "software_version", + "value": "" + }, + { + "name": "vendor", + "value": "ALU" + }, + { + "name": "datetime", + "value": "" + } + ] + }, + "commonEventHeader": { + "nfNamingCode": "MEAP", + "version": 3.0, + "sourceId": "network:FemtoCluster\/158:fclustr-158:FGroup-105:femto-33105", + "reportingEntityName": "1064173", + "startEpochMicrosec": 1493393250722, + "eventId": "UC2-STLSMOM29030-1493393250722", + "lastEpochMicrosec": 1493393250722, + "priority": "Normal", + "sequence": 0, + "sourceName": "STLSMOM29030", + "domain": "measurementsForVfScaling", + "eventName": "Mfvs_eNodeB_RANKPI", + "reportingEntityId": "" + } + } + }, + { + "event": { + "measurementsForVfScalingFields": { + "measurementInterval": 600, + "additionalMeasurements": [ + { + "arrayOfFields": [ + { + "name": "BS_Reset_Needed", + "value": "1" + } + ], + "name": "OaaS_UC2_ALUMetrocellBackhaul" + } + ], + "measurementsForVfScalingVersion": 2.0, + "additionalFields": [ + { + "name": "software_version", + "value": "" + }, + { + "name": "vendor", + "value": "ALU" + }, + { + "name": "datetime", + "value": "" + } + ] + }, + "commonEventHeader": { + "nfNamingCode": "MEAP", + "version": 3.0, + "sourceId": "network:FemtoCluster\/152:fclustr-152:FGroup-45:femto-8549", + "reportingEntityName": "165395", + "startEpochMicrosec": 1493393250727, + "eventId": "UC2-MILWWIM04202-1493393250727", + "lastEpochMicrosec": 1493393250727, + "priority": "Normal", + "sequence": 0, + "sourceName": "MILWWIM04202", + "domain": "measurementsForVfScaling", + "eventName": "Mfvs_eNodeB_RANKPI", + "reportingEntityId": "" + } + } + }, + { + "event": { + "measurementsForVfScalingFields": { + "measurementInterval": 600, + "additionalMeasurements": [ + { + "arrayOfFields": [ + { + "name": "BS_Reset_Needed", + "value": "1" + } + ], + "name": "OaaS_UC2_ALUMetrocellBackhaul" + } + ], + "measurementsForVfScalingVersion": 2.0, + "additionalFields": [ + { + "name": "software_version", + "value": "" + }, + { + "name": "vendor", + "value": "ALU" + }, + { + "name": "datetime", + "value": "" + } + ] + }, + "commonEventHeader": { + "nfNamingCode": "MEAP", + "version": 3.0, + "sourceId": "network:FemtoCluster\/3:fclustr-3:FGroup-42:femto-30554", + "reportingEntityName": "1304171", + "startEpochMicrosec": 1493393250723, + "eventId": "UC2-DNVRCOM04034-1493393250723", + "lastEpochMicrosec": 1493393250723, + "priority": "Normal", + "sequence": 0, + "sourceName": "DNVRCOM04034", + "domain": "measurementsForVfScaling", + "eventName": "Mfvs_eNodeB_RANKPI", + "reportingEntityId": "" + } + } + }, + { + "event": { + "measurementsForVfScalingFields": { + "measurementInterval": 600, + "additionalMeasurements": [ + { + "arrayOfFields": [ + { + "name": "BS_Reset_Needed", + "value": "1" + } + ], + "name": "OaaS_UC2_ALUMetrocellBackhaul" + } + ], + "measurementsForVfScalingVersion": 2.0, + "additionalFields": [ + { + "name": "software_version", + "value": "" + }, + { + "name": "vendor", + "value": "ALU" + }, + { + "name": "datetime", + "value": "" + } + ] + }, + "commonEventHeader": { + "nfNamingCode": "MEAP", + "version": 3.0, + "sourceId": "network:FemtoCluster\/1:fclustr-1:FGroup-70:femto-4856", + "reportingEntityName": "75139", + "startEpochMicrosec": 1493393250714, + "eventId": "UC2-PTLDORM58213-1493393250714", + "lastEpochMicrosec": 1493393250714, + "priority": "Normal", + "sequence": 0, + "sourceName": "PTLDORM58213", + "domain": "measurementsForVfScaling", + "eventName": "Mfvs_eNodeB_RANKPI", + "reportingEntityId": "" + } + } + }, + { + "event": { + "measurementsForVfScalingFields": { + "measurementInterval": 600, + "additionalMeasurements": [ + { + "arrayOfFields": [ + { + "name": "BS_Reset_Needed", + "value": "1" + } + ], + "name": "OaaS_UC2_ALUMetrocellBackhaul" + } + ], + "measurementsForVfScalingVersion": 2.0, + "additionalFields": [ + { + "name": "software_version", + "value": "" + }, + { + "name": "vendor", + "value": "ALU" + }, + { + "name": "datetime", + "value": "" + } + ] + }, + "commonEventHeader": { + "nfNamingCode": "MEAP", + "version": 3.0, + "sourceId": "network:FemtoCluster\/1:fclustr-1:FGroup-70:femto-4862", + "reportingEntityName": "75158", + "startEpochMicrosec": 1493393250718, + "eventId": "UC2-PTLDORM58219-1493393250718", + "lastEpochMicrosec": 1493393250718, + "priority": "Normal", + "sequence": 0, + "sourceName": "PTLDORM58219", + "domain": "measurementsForVfScaling", + "eventName": "Mfvs_eNodeB_RANKPI", + "reportingEntityId": "" + } + } + }, + { + "event": { + "measurementsForVfScalingFields": { + "measurementInterval": 600, + "additionalMeasurements": [ + { + "arrayOfFields": [ + { + "name": "BS_Reset_Needed", + "value": "1" + } + ], + "name": "OaaS_UC2_ALUMetrocellBackhaul" + } + ], + "measurementsForVfScalingVersion": 2.0, + "additionalFields": [ + { + "name": "software_version", + "value": "" + }, + { + "name": "vendor", + "value": "ALU" + }, + { + "name": "datetime", + "value": "" + } + ] + }, + "commonEventHeader": { + "nfNamingCode": "MEAP", + "version": 3.0, + "sourceId": "network:FemtoCluster\/1:fclustr-1:FGroup-70:femto-9407", + "reportingEntityName": "114953", + "startEpochMicrosec": 1493393250713, + "eventId": "UC2-PTLDORM58211-1493393250713", + "lastEpochMicrosec": 1493393250713, + "priority": "Normal", + "sequence": 0, + "sourceName": "PTLDORM58211", + "domain": "measurementsForVfScaling", + "eventName": "Mfvs_eNodeB_RANKPI", + "reportingEntityId": "" + } + } + }, + { + "event": { + "measurementsForVfScalingFields": { + "measurementInterval": 600, + "additionalMeasurements": [ + { + "arrayOfFields": [ + { + "name": "BS_Reset_Needed", + "value": "1" + } + ], + "name": "OaaS_UC2_ALUMetrocellBackhaul" + } + ], + "measurementsForVfScalingVersion": 2.0, + "additionalFields": [ + { + "name": "software_version", + "value": "" + }, + { + "name": "vendor", + "value": "ALU" + }, + { + "name": "datetime", + "value": "" + } + ] + }, + "commonEventHeader": { + "nfNamingCode": "MEAP", + "version": 3.0, + "sourceId": "network:FemtoCluster\/252:fclustr-252:FGroup-141:femto-36114", + "reportingEntityName": "1253171", + "startEpochMicrosec": 1493393250721, + "eventId": "UC2-BLTMMDM00025-1493393250721", + "lastEpochMicrosec": 1493393250721, + "priority": "Normal", + "sequence": 0, + "sourceName": "BLTMMDM00025", + "domain": "measurementsForVfScaling", + "eventName": "Mfvs_eNodeB_RANKPI", + "reportingEntityId": "" + } + } + }, + { + "event": { + "measurementsForVfScalingFields": { + "measurementInterval": 600, + "additionalMeasurements": [ + { + "arrayOfFields": [ + { + "name": "BS_Reset_Needed", + "value": "1" + } + ], + "name": "OaaS_UC2_ALUMetrocellBackhaul" + } + ], + "measurementsForVfScalingVersion": 2.0, + "additionalFields": [ + { + "name": "software_version", + "value": "" + }, + { + "name": "vendor", + "value": "ALU" + }, + { + "name": "datetime", + "value": "" + } + ] + }, + "commonEventHeader": { + "nfNamingCode": "MEAP", + "version": 3.0, + "sourceId": "network:FemtoCluster\/1:fclustr-1:FGroup-70:femto-4861", + "reportingEntityName": "75159", + "startEpochMicrosec": 1493393250718, + "eventId": "UC2-PTLDORM58218-1493393250718", + "lastEpochMicrosec": 1493393250718, + "priority": "Normal", + "sequence": 0, + "sourceName": "PTLDORM58218", + "domain": "measurementsForVfScaling", + "eventName": "Mfvs_eNodeB_RANKPI", + "reportingEntityId": "" + } + } + }, + { + "event": { + "measurementsForVfScalingFields": { + "measurementInterval": 600, + "additionalMeasurements": [ + { + "arrayOfFields": [ + { + "name": "BS_Reset_Needed", + "value": "1" + } + ], + "name": "OaaS_UC2_ALUMetrocellBackhaul" + } + ], + "measurementsForVfScalingVersion": 2.0, + "additionalFields": [ + { + "name": "software_version", + "value": "" + }, + { + "name": "vendor", + "value": "ALU" + }, + { + "name": "datetime", + "value": "" + } + ] + }, + "commonEventHeader": { + "nfNamingCode": "MEAP", + "version": 3.0, + "sourceId": "network:FemtoCluster\/203:fclustr-203:FGroup-309:femto-37456", + "reportingEntityName": "1373227", + "startEpochMicrosec": 1493393250717, + "eventId": "UC2-BSTNVTM06011-1493393250717", + "lastEpochMicrosec": 1493393250717, + "priority": "Normal", + "sequence": 0, + "sourceName": "BSTNVTM06011", + "domain": "measurementsForVfScaling", + "eventName": "Mfvs_eNodeB_RANKPI", + "reportingEntityId": "" + } + } + }, + { + "event": { + "measurementsForVfScalingFields": { + "measurementInterval": 600, + "additionalMeasurements": [ + { + "arrayOfFields": [ + { + "name": "BS_Reset_Needed", + "value": "1" + } + ], + "name": "OaaS_UC2_ALUMetrocellBackhaul" + } + ], + "measurementsForVfScalingVersion": 2.0, + "additionalFields": [ + { + "name": "software_version", + "value": "" + }, + { + "name": "vendor", + "value": "ALU" + }, + { + "name": "datetime", + "value": "" + } + ] + }, + "commonEventHeader": { + "nfNamingCode": "MEAP", + "version": 3.0, + "sourceId": "network:FemtoCluster\/1:fclustr-1:FGroup-70:femto-4859", + "reportingEntityName": "75166", + "startEpochMicrosec": 1493393250716, + "eventId": "UC2-PTLDORM58216-1493393250716", + "lastEpochMicrosec": 1493393250716, + "priority": "Normal", + "sequence": 0, + "sourceName": "PTLDORM58216", + "domain": "measurementsForVfScaling", + "eventName": "Mfvs_eNodeB_RANKPI", + "reportingEntityId": "" + } + } + }, + { + "event": { + "measurementsForVfScalingFields": { + "measurementInterval": 600, + "additionalMeasurements": [ + { + "arrayOfFields": [ + { + "name": "BS_Reset_Needed", + "value": "1" + } + ], + "name": "OaaS_UC2_ALUMetrocellBackhaul" + } + ], + "measurementsForVfScalingVersion": 2.0, + "additionalFields": [ + { + "name": "software_version", + "value": "" + }, + { + "name": "vendor", + "value": "ALU" + }, + { + "name": "datetime", + "value": "" + } + ] + }, + "commonEventHeader": { + "nfNamingCode": "MEAP", + "version": 3.0, + "sourceId": "network:FemtoCluster\/251:fclustr-251:FGroup-50:femto-11763", + "reportingEntityName": "165383", + "startEpochMicrosec": 1493393250724, + "eventId": "UC2-BLTMMDM00367-1493393250724", + "lastEpochMicrosec": 1493393250724, + "priority": "Normal", + "sequence": 0, + "sourceName": "BLTMMDM00367", + "domain": "measurementsForVfScaling", + "eventName": "Mfvs_eNodeB_RANKPI", + "reportingEntityId": "" + } + } + }, + { + "event": { + "measurementsForVfScalingFields": { + "measurementInterval": 600, + "additionalMeasurements": [ + { + "arrayOfFields": [ + { + "name": "BS_Reset_Needed", + "value": "1" + } + ], + "name": "OaaS_UC2_ALUMetrocellBackhaul" + } + ], + "measurementsForVfScalingVersion": 2.0, + "additionalFields": [ + { + "name": "software_version", + "value": "" + }, + { + "name": "vendor", + "value": "ALU" + }, + { + "name": "datetime", + "value": "" + } + ] + }, + "commonEventHeader": { + "nfNamingCode": "MEAP", + "version": 3.0, + "sourceId": "network:FemtoCluster\/1:fclustr-1:FGroup-70:femto-4857", + "reportingEntityName": "75142", + "startEpochMicrosec": 1493393250714, + "eventId": "UC2-PTLDORM58214-1493393250714", + "lastEpochMicrosec": 1493393250714, + "priority": "Normal", + "sequence": 0, + "sourceName": "PTLDORM58214", + "domain": "measurementsForVfScaling", + "eventName": "Mfvs_eNodeB_RANKPI", + "reportingEntityId": "" + } + } + }, + { + "event": { + "measurementsForVfScalingFields": { + "measurementInterval": 600, + "additionalMeasurements": [ + { + "arrayOfFields": [ + { + "name": "BS_Reset_Needed", + "value": "1" + } + ], + "name": "OaaS_UC2_ALUMetrocellBackhaul" + } + ], + "measurementsForVfScalingVersion": 2.0, + "additionalFields": [ + { + "name": "software_version", + "value": "" + }, + { + "name": "vendor", + "value": "ALU" + }, + { + "name": "datetime", + "value": "" + } + ] + }, + "commonEventHeader": { + "nfNamingCode": "MEAP", + "version": 3.0, + "sourceId": "network:FemtoCluster\/1:fclustr-1:FGroup-70:femto-10465", + "reportingEntityName": "133740", + "startEpochMicrosec": 1493393250716, + "eventId": "UC2-PTLDORM58924-1493393250716", + "lastEpochMicrosec": 1493393250716, + "priority": "Normal", + "sequence": 0, + "sourceName": "PTLDORM58924", + "domain": "measurementsForVfScaling", + "eventName": "Mfvs_eNodeB_RANKPI", + "reportingEntityId": "" + } + } + }, + { + "event": { + "measurementsForVfScalingFields": { + "measurementInterval": 600, + "additionalMeasurements": [ + { + "arrayOfFields": [ + { + "name": "BS_Reset_Needed", + "value": "1" + } + ], + "name": "OaaS_UC2_ALUMetrocellBackhaul" + } + ], + "measurementsForVfScalingVersion": 2.0, + "additionalFields": [ + { + "name": "software_version", + "value": "" + }, + { + "name": "vendor", + "value": "ALU" + }, + { + "name": "datetime", + "value": "" + } + ] + }, + "commonEventHeader": { + "nfNamingCode": "MEAP", + "version": 3.0, + "sourceId": "network:FemtoCluster\/53:fclustr-53:FGroup-165:femto-32607", + "reportingEntityName": "977200", + "startEpochMicrosec": 1493393250726, + "eventId": "UC2-LSANCLM30038-1493393250726", + "lastEpochMicrosec": 1493393250726, + "priority": "Normal", + "sequence": 0, + "sourceName": "LSANCLM30038", + "domain": "measurementsForVfScaling", + "eventName": "Mfvs_eNodeB_RANKPI", + "reportingEntityId": "" + } + } + }, + { + "event": { + "measurementsForVfScalingFields": { + "measurementInterval": 600, + "additionalMeasurements": [ + { + "arrayOfFields": [ + { + "name": "BS_Reset_Needed", + "value": "1" + } + ], + "name": "OaaS_UC2_ALUMetrocellBackhaul" + } + ], + "measurementsForVfScalingVersion": 2.0, + "additionalFields": [ + { + "name": "software_version", + "value": "" + }, + { + "name": "vendor", + "value": "ALU" + }, + { + "name": "datetime", + "value": "" + } + ] + }, + "commonEventHeader": { + "nfNamingCode": "MEAP", + "version": 3.0, + "sourceId": "network:FemtoCluster\/53:fclustr-53:FGroup-165:femto-32555", + "reportingEntityName": "977174", + "startEpochMicrosec": 1493393250725, + "eventId": "UC2-LSANCLM30037-1493393250725", + "lastEpochMicrosec": 1493393250725, + "priority": "Normal", + "sequence": 0, + "sourceName": "LSANCLM30037", + "domain": "measurementsForVfScaling", + "eventName": "Mfvs_eNodeB_RANKPI", + "reportingEntityId": "" + } + } + }, + { + "event": { + "measurementsForVfScalingFields": { + "measurementInterval": 600, + "additionalMeasurements": [ + { + "arrayOfFields": [ + { + "name": "BS_Reset_Needed", + "value": "1" + } + ], + "name": "OaaS_UC2_ALUMetrocellBackhaul" + } + ], + "measurementsForVfScalingVersion": 2.0, + "additionalFields": [ + { + "name": "software_version", + "value": "" + }, + { + "name": "vendor", + "value": "ALU" + }, + { + "name": "datetime", + "value": "" + } + ] + }, + "commonEventHeader": { + "nfNamingCode": "MEAP", + "version": 3.0, + "sourceId": "network:FemtoCluster\/1:fclustr-1:FGroup-14:femto-5578", + "reportingEntityName": "70120", + "startEpochMicrosec": 1493393250720, + "eventId": "UC2-DNVRCOM04230-1493393250720", + "lastEpochMicrosec": 1493393250720, + "priority": "Normal", + "sequence": 0, + "sourceName": "DNVRCOM04230", + "domain": "measurementsForVfScaling", + "eventName": "Mfvs_eNodeB_RANKPI", + "reportingEntityId": "" + } + } + } +] diff --git a/dcae-analytics/dcae-analytics-test/src/main/resources/data/json/cef/cef_unescaped_messages.txt b/dcae-analytics/dcae-analytics-test/src/main/resources/data/json/cef/cef_unescaped_messages.txt new file mode 100644 index 0000000..b7811b4 --- /dev/null +++ b/dcae-analytics/dcae-analytics-test/src/main/resources/data/json/cef/cef_unescaped_messages.txt @@ -0,0 +1,12 @@ +[ + "{\"event\":{\"measurementsForVfScalingFields\":{\"measurementInterval\":900,\"additionalMeasurements\":[{\"arrayOfFields\":[{\"name\":\"PMRAATTCBRA\",\"value\":\"40000\"},{\"name\":\"PMRASUCCCBRA\",\"value\":\"0\"},{\"name\":\"PMCELLDOWNTIMEAUTO\",\"value\":\"0\"},{\"name\":\"PMCELLDOWNTIMEMAN\",\"value\":\"0\"},{\"name\":\"PMRRCCONNESTABATT\",\"value\":\"18\"},{\"name\":\"PMRRCCONNESTABSUCC\",\"value\":\"0\"},{\"name\":\"PMRRCCONNESTABFAILCELLLATENCY\",\"value\":\"0\"}],\"name\":\"OaaS_UC1_EricssonSleepingCell\"}],\"measurementsForVfScalingVersion\":2,\"additionalFields\":[{\"name\":\"software_version\",\"value\":\"CXP102051/24_R27CU\"},{\"name\":\"vendor\",\"value\":\"Ericsson\"},{\"name\":\"datetime\",\"value\":\"2017-05-0907:15:00.0\"}]},\"commonEventHeader\":{\"sourcename\":\"LALss103esig27\",\"nfNamingCode\":\"ENBE\",\"sourceId\":\"LAL01402_7S_1_DB_sig27rvsc\",\"version\":3,\"startEpochMicrosec\":1497290419742,\"eventId\":\"UC1-LAL01402-1494357632010\",\"lastEpochMicrosec\":1504910555000,\"sequence\":0,\"priority\":\"Normal\",\"domain\":\"measurementsForVfScaling\",\"reportingEntityId\":\"2001:506:4409:c2e8::11:3016:2\",\"reportingEntityname\":\"hou1e1ss103esig27\",\"eventName\":\"Mfvs_eNodeB_RANKPI\"}}}", + "{\"event\":{\"measurementsForVfScalingFields\":{\"measurementInterval\":900,\"additionalMeasurements\":[{\"arrayOfFields\":[{\"name\":\"PMRAATTCBRA\",\"value\":\"40000\"},{\"name\":\"PMRASUCCCBRA\",\"value\":\"0\"},{\"name\":\"PMCELLDOWNTIMEAUTO\",\"value\":\"0\"},{\"name\":\"PMCELLDOWNTIMEMAN\",\"value\":\"0\"},{\"name\":\"PMRRCCONNESTABATT\",\"value\":\"18\"},{\"name\":\"PMRRCCONNESTABSUCC\",\"value\":\"0\"},{\"name\":\"PMRRCCONNESTABFAILCELLLATENCY\",\"value\":\"0\"}],\"name\":\"OaaS_UC1_EricssonSleepingCell\"}],\"measurementsForVfScalingVersion\":2,\"additionalFields\":[{\"name\":\"software_version\",\"value\":\"CXP102051/24_R27CU\"},{\"name\":\"vendor\",\"value\":\"Ericsson\"},{\"name\":\"datetime\",\"value\":\"2017-05-0907:15:00.0\"}]},\"commonEventHeader\":{\"sourcename\":\"LALss103esig27\",\"nfNamingCode\":\"ENBE\",\"sourceId\":\"LAL01402_7S_1_DB_sig27rvsc\",\"version\":3,\"startEpochMicrosec\":1497290419742,\"eventId\":\"UC1-LAL01402-1494357632010\",\"lastEpochMicrosec\":1504910555000,\"sequence\":0,\"priority\":\"Normal\",\"domain\":\"measurementsForVfScaling\",\"reportingEntityId\":\"2001:506:4409:c2e8::11:3016:2\",\"reportingEntityname\":\"hou1e1ss103esig27\",\"eventName\":\"Mfvs_eNodeB_RANKPI\"}}}", + "{\"event\":{\"measurementsForVfScalingFields\":{\"measurementInterval\":900,\"additionalMeasurements\":[{\"arrayOfFields\":[{\"name\":\"PMRAATTCBRA\",\"value\":\"40000\"},{\"name\":\"PMRASUCCCBRA\",\"value\":\"0\"},{\"name\":\"PMCELLDOWNTIMEAUTO\",\"value\":\"0\"},{\"name\":\"PMCELLDOWNTIMEMAN\",\"value\":\"0\"},{\"name\":\"PMRRCCONNESTABATT\",\"value\":\"18\"},{\"name\":\"PMRRCCONNESTABSUCC\",\"value\":\"0\"},{\"name\":\"PMRRCCONNESTABFAILCELLLATENCY\",\"value\":\"0\"}],\"name\":\"OaaS_UC1_EricssonSleepingCell\"}],\"measurementsForVfScalingVersion\":2,\"additionalFields\":[{\"name\":\"software_version\",\"value\":\"CXP102051/24_R27CU\"},{\"name\":\"vendor\",\"value\":\"Ericsson\"},{\"name\":\"datetime\",\"value\":\"2017-05-0907:15:00.0\"}]},\"commonEventHeader\":{\"sourcename\":\"LALss103esig27\",\"nfNamingCode\":\"ENBE\",\"sourceId\":\"LAL01402_7S_1_DB_sig27rvsc\",\"version\":3,\"startEpochMicrosec\":1497290419742,\"eventId\":\"UC1-LAL01402-1494357632010\",\"lastEpochMicrosec\":1504910555000,\"sequence\":0,\"priority\":\"Normal\",\"domain\":\"measurementsForVfScaling\",\"reportingEntityId\":\"2001:506:4409:c2e8::11:3016:2\",\"reportingEntityname\":\"hou1e1ss103esig27\",\"eventName\":\"Mfvs_eNodeB_RANKPI\"}}}", + "{\"event\":{\"measurementsForVfScalingFields\":{\"measurementInterval\":900,\"additionalMeasurements\":[{\"arrayOfFields\":[{\"name\":\"PMRAATTCBRA\",\"value\":\"40000\"},{\"name\":\"PMRASUCCCBRA\",\"value\":\"0\"},{\"name\":\"PMCELLDOWNTIMEAUTO\",\"value\":\"0\"},{\"name\":\"PMCELLDOWNTIMEMAN\",\"value\":\"0\"},{\"name\":\"PMRRCCONNESTABATT\",\"value\":\"18\"},{\"name\":\"PMRRCCONNESTABSUCC\",\"value\":\"0\"},{\"name\":\"PMRRCCONNESTABFAILCELLLATENCY\",\"value\":\"0\"}],\"name\":\"OaaS_UC1_EricssonSleepingCell\"}],\"measurementsForVfScalingVersion\":2,\"additionalFields\":[{\"name\":\"software_version\",\"value\":\"CXP102051/24_R27CU\"},{\"name\":\"vendor\",\"value\":\"Ericsson\"},{\"name\":\"datetime\",\"value\":\"2017-05-0907:15:00.0\"}]},\"commonEventHeader\":{\"sourcename\":\"LALss103esig27\",\"nfNamingCode\":\"ENBE\",\"sourceId\":\"LAL01402_7S_1_DB_sig27rvsc\",\"version\":3,\"startEpochMicrosec\":1497290419742,\"eventId\":\"UC1-LAL01402-1494357632010\",\"lastEpochMicrosec\":1504910555000,\"sequence\":0,\"priority\":\"Normal\",\"domain\":\"measurementsForVfScaling\",\"reportingEntityId\":\"2001:506:4409:c2e8::11:3016:2\",\"reportingEntityname\":\"hou1e1ss103esig27\",\"eventName\":\"Mfvs_eNodeB_RANKPI\"}}}", + "{\"event\":{\"measurementsForVfScalingFields\":{\"measurementInterval\":900,\"additionalMeasurements\":[{\"arrayOfFields\":[{\"name\":\"PMRAATTCBRA\",\"value\":\"40000\"},{\"name\":\"PMRASUCCCBRA\",\"value\":\"0\"},{\"name\":\"PMCELLDOWNTIMEAUTO\",\"value\":\"0\"},{\"name\":\"PMCELLDOWNTIMEMAN\",\"value\":\"0\"},{\"name\":\"PMRRCCONNESTABATT\",\"value\":\"18\"},{\"name\":\"PMRRCCONNESTABSUCC\",\"value\":\"0\"},{\"name\":\"PMRRCCONNESTABFAILCELLLATENCY\",\"value\":\"0\"}],\"name\":\"OaaS_UC1_EricssonSleepingCell\"}],\"measurementsForVfScalingVersion\":2,\"additionalFields\":[{\"name\":\"software_version\",\"value\":\"CXP102051/24_R27CU\"},{\"name\":\"vendor\",\"value\":\"Ericsson\"},{\"name\":\"datetime\",\"value\":\"2017-05-0907:15:00.0\"}]},\"commonEventHeader\":{\"sourcename\":\"LALss103esig27\",\"nfNamingCode\":\"ENBE\",\"sourceId\":\"LAL01402_7S_1_DB_sig27rvsc\",\"version\":3,\"startEpochMicrosec\":1497290419742,\"eventId\":\"UC1-LAL01402-1494357632010\",\"lastEpochMicrosec\":1504910555000,\"sequence\":0,\"priority\":\"Normal\",\"domain\":\"measurementsForVfScaling\",\"reportingEntityId\":\"2001:506:4409:c2e8::11:3016:2\",\"reportingEntityname\":\"hou1e1ss103esig27\",\"eventName\":\"Mfvs_eNodeB_RANKPI\"}}}", + "{\"event\":{\"measurementsForVfScalingFields\":{\"measurementInterval\":900,\"additionalMeasurements\":[{\"arrayOfFields\":[{\"name\":\"PMRAATTCBRA\",\"value\":\"40000\"},{\"name\":\"PMRASUCCCBRA\",\"value\":\"0\"},{\"name\":\"PMCELLDOWNTIMEAUTO\",\"value\":\"0\"},{\"name\":\"PMCELLDOWNTIMEMAN\",\"value\":\"0\"},{\"name\":\"PMRRCCONNESTABATT\",\"value\":\"18\"},{\"name\":\"PMRRCCONNESTABSUCC\",\"value\":\"0\"},{\"name\":\"PMRRCCONNESTABFAILCELLLATENCY\",\"value\":\"0\"}],\"name\":\"OaaS_UC1_EricssonSleepingCell\"}],\"measurementsForVfScalingVersion\":2,\"additionalFields\":[{\"name\":\"software_version\",\"value\":\"CXP102051/24_R27CU\"},{\"name\":\"vendor\",\"value\":\"Ericsson\"},{\"name\":\"datetime\",\"value\":\"2017-05-0907:15:00.0\"}]},\"commonEventHeader\":{\"sourcename\":\"LALss103esig27\",\"nfNamingCode\":\"ENBE\",\"sourceId\":\"LAL01402_7S_1_DB_sig27rvsc\",\"version\":3,\"startEpochMicrosec\":1497290419742,\"eventId\":\"UC1-LAL01402-1494357632010\",\"lastEpochMicrosec\":1504910555000,\"sequence\":0,\"priority\":\"Normal\",\"domain\":\"measurementsForVfScaling\",\"reportingEntityId\":\"2001:506:4409:c2e8::11:3016:2\",\"reportingEntityname\":\"hou1e1ss103esig27\",\"eventName\":\"Mfvs_eNodeB_RANKPI\"}}}", + "{\"event\":{\"measurementsForVfScalingFields\":{\"measurementInterval\":900,\"additionalMeasurements\":[{\"arrayOfFields\":[{\"name\":\"PMRAATTCBRA\",\"value\":\"40000\"},{\"name\":\"PMRASUCCCBRA\",\"value\":\"0\"},{\"name\":\"PMCELLDOWNTIMEAUTO\",\"value\":\"0\"},{\"name\":\"PMCELLDOWNTIMEMAN\",\"value\":\"0\"},{\"name\":\"PMRRCCONNESTABATT\",\"value\":\"18\"},{\"name\":\"PMRRCCONNESTABSUCC\",\"value\":\"0\"},{\"name\":\"PMRRCCONNESTABFAILCELLLATENCY\",\"value\":\"0\"}],\"name\":\"OaaS_UC1_EricssonSleepingCell\"}],\"measurementsForVfScalingVersion\":2,\"additionalFields\":[{\"name\":\"software_version\",\"value\":\"CXP102051/24_R27CU\"},{\"name\":\"vendor\",\"value\":\"Ericsson\"},{\"name\":\"datetime\",\"value\":\"2017-05-0907:15:00.0\"}]},\"commonEventHeader\":{\"sourcename\":\"LALss103esig27\",\"nfNamingCode\":\"ENBE\",\"sourceId\":\"LAL01402_7S_1_DB_sig27rvsc\",\"version\":3,\"startEpochMicrosec\":1497290419742,\"eventId\":\"UC1-LAL01402-1494357632010\",\"lastEpochMicrosec\":1504910555000,\"sequence\":0,\"priority\":\"Normal\",\"domain\":\"measurementsForVfScaling\",\"reportingEntityId\":\"2001:506:4409:c2e8::11:3016:2\",\"reportingEntityname\":\"hou1e1ss103esig27\",\"eventName\":\"Mfvs_eNodeB_RANKPI\"}}}", + "{\"event\":{\"measurementsForVfScalingFields\":{\"measurementInterval\":900,\"additionalMeasurements\":[{\"arrayOfFields\":[{\"name\":\"PMRAATTCBRA\",\"value\":\"40000\"},{\"name\":\"PMRASUCCCBRA\",\"value\":\"0\"},{\"name\":\"PMCELLDOWNTIMEAUTO\",\"value\":\"0\"},{\"name\":\"PMCELLDOWNTIMEMAN\",\"value\":\"0\"},{\"name\":\"PMRRCCONNESTABATT\",\"value\":\"18\"},{\"name\":\"PMRRCCONNESTABSUCC\",\"value\":\"0\"},{\"name\":\"PMRRCCONNESTABFAILCELLLATENCY\",\"value\":\"0\"}],\"name\":\"OaaS_UC1_EricssonSleepingCell\"}],\"measurementsForVfScalingVersion\":2,\"additionalFields\":[{\"name\":\"software_version\",\"value\":\"CXP102051/24_R27CU\"},{\"name\":\"vendor\",\"value\":\"Ericsson\"},{\"name\":\"datetime\",\"value\":\"2017-05-0907:15:00.0\"}]},\"commonEventHeader\":{\"sourcename\":\"LALss103esig27\",\"nfNamingCode\":\"ENBE\",\"sourceId\":\"LAL01402_7S_1_DB_sig27rvsc\",\"version\":3,\"startEpochMicrosec\":1497290419742,\"eventId\":\"UC1-LAL01402-1494357632010\",\"lastEpochMicrosec\":1504910555000,\"sequence\":0,\"priority\":\"Normal\",\"domain\":\"measurementsForVfScaling\",\"reportingEntityId\":\"2001:506:4409:c2e8::11:3016:2\",\"reportingEntityname\":\"hou1e1ss103esig27\",\"eventName\":\"Mfvs_eNodeB_RANKPI\"}}}", + "{\"event\":{\"measurementsForVfScalingFields\":{\"measurementInterval\":900,\"additionalMeasurements\":[{\"arrayOfFields\":[{\"name\":\"PMRAATTCBRA\",\"value\":\"40000\"},{\"name\":\"PMRASUCCCBRA\",\"value\":\"0\"},{\"name\":\"PMCELLDOWNTIMEAUTO\",\"value\":\"0\"},{\"name\":\"PMCELLDOWNTIMEMAN\",\"value\":\"0\"},{\"name\":\"PMRRCCONNESTABATT\",\"value\":\"18\"},{\"name\":\"PMRRCCONNESTABSUCC\",\"value\":\"0\"},{\"name\":\"PMRRCCONNESTABFAILCELLLATENCY\",\"value\":\"0\"}],\"name\":\"OaaS_UC1_EricssonSleepingCell\"}],\"measurementsForVfScalingVersion\":2,\"additionalFields\":[{\"name\":\"software_version\",\"value\":\"CXP102051/24_R27CU\"},{\"name\":\"vendor\",\"value\":\"Ericsson\"},{\"name\":\"datetime\",\"value\":\"2017-05-0907:15:00.0\"}]},\"commonEventHeader\":{\"sourcename\":\"LALss103esig27\",\"nfNamingCode\":\"ENBE\",\"sourceId\":\"LAL01402_7S_1_DB_sig27rvsc\",\"version\":3,\"startEpochMicrosec\":1497290419742,\"eventId\":\"UC1-LAL01402-1494357632010\",\"lastEpochMicrosec\":1504910555000,\"sequence\":0,\"priority\":\"Normal\",\"domain\":\"measurementsForVfScaling\",\"reportingEntityId\":\"2001:506:4409:c2e8::11:3016:2\",\"reportingEntityname\":\"hou1e1ss103esig27\",\"eventName\":\"Mfvs_eNodeB_RANKPI\"}}}", + "{\"event\":{\"measurementsForVfScalingFields\":{\"measurementInterval\":900,\"additionalMeasurements\":[{\"arrayOfFields\":[{\"name\":\"PMRAATTCBRA\",\"value\":\"40000\"},{\"name\":\"PMRASUCCCBRA\",\"value\":\"0\"},{\"name\":\"PMCELLDOWNTIMEAUTO\",\"value\":\"0\"},{\"name\":\"PMCELLDOWNTIMEMAN\",\"value\":\"0\"},{\"name\":\"PMRRCCONNESTABATT\",\"value\":\"18\"},{\"name\":\"PMRRCCONNESTABSUCC\",\"value\":\"0\"},{\"name\":\"PMRRCCONNESTABFAILCELLLATENCY\",\"value\":\"0\"}],\"name\":\"OaaS_UC1_EricssonSleepingCell\"}],\"measurementsForVfScalingVersion\":2,\"additionalFields\":[{\"name\":\"software_version\",\"value\":\"CXP102051/24_R27CU\"},{\"name\":\"vendor\",\"value\":\"Ericsson\"},{\"name\":\"datetime\",\"value\":\"2017-05-0907:15:00.0\"}]},\"commonEventHeader\":{\"sourcename\":\"LALss103esig27\",\"nfNamingCode\":\"ENBE\",\"sourceId\":\"LAL01402_7S_1_DB_sig27rvsc\",\"version\":3,\"startEpochMicrosec\":1497290419742,\"eventId\":\"UC1-LAL01402-1494357632010\",\"lastEpochMicrosec\":1504910555000,\"sequence\":0,\"priority\":\"Normal\",\"domain\":\"measurementsForVfScaling\",\"reportingEntityId\":\"2001:506:4409:c2e8::11:3016:2\",\"reportingEntityname\":\"hou1e1ss103esig27\",\"eventName\":\"Mfvs_eNodeB_RANKPI\"}}}" +] diff --git a/dcae-analytics/dcae-analytics-test/src/main/resources/data/json/config/tca_app_config.json b/dcae-analytics/dcae-analytics-test/src/main/resources/data/json/config/tca_app_config.json new file mode 100644 index 0000000..6a3b0fa --- /dev/null +++ b/dcae-analytics/dcae-analytics-test/src/main/resources/data/json/config/tca_app_config.json @@ -0,0 +1,57 @@ +{ + "application.name": "dcae-analytics", + "application.description": "DCAE Analytics Threshold Crossing Alert Application", + "application.tca_policy": "{}", + "application.tca_batch_size": 10000, + "streams_subscribes.tca_handle_in.consumer_group": "cg1", + "streams_subscribes.tca_handle_in.consumer_ids[0]": "c0", + "streams_subscribes.tca_handle_in.consumer_ids[1]": "c1", + "streams_subscribes.tca_handle_in.message_limit": 50000, + "streams_subscribes.tca_handle_in.timeout": -1, + "streams_subscribes.tca_handle_in.polling.fixed_rate": 0, + "streams_subscribes.tca_handle_in.polling.auto_adjusting.min": 30000, + "streams_subscribes.tca_handle_in.polling.auto_adjusting.step_up": 20000, + "streams_subscribes.tca_handle_in.polling.auto_adjusting.max": 60000, + "streams_subscribes.tca_handle_in.polling.auto_adjusting.step_down": 40000, + "service_calls": { + "aai_broker_handle": [ + "135.205.226.128:32768" + ] + }, + "streams_publishes": { + "tca_handle_out": { + "type": "message_router", + "aaf_username": "USER", + "aaf_password": "PASSWORD", + "dmaap_info": { + "client_role": "publisher", + "client_id": "tca-pub-0", + "location": "ecomp", + "topic_url": "http://localhost:8080/events/PubTopic" + } + } + }, + "streams_subscribes": { + "tca_handle_in": { + "type": "message_router", + "aaf_username": "USER", + "aaf_password": "PASSWORD", + "dmaap_info": { + "client_role": "subscriber", + "client_id": "tca-sub-0", + "location": "ecomp", + "topic_url": "http://localhost:8080/events/SubTopic" + } + } + }, + "spring": { + "main": { + "banner-mode": "off" + }, + "data": { + "mongodb": { + "uri": "mongodb://localhost:27017/analytics-tca" + } + } + } +} diff --git a/dcae-analytics/dcae-analytics-test/src/main/resources/data/json/configservice/config_service_bindings.json b/dcae-analytics/dcae-analytics-test/src/main/resources/data/json/configservice/config_service_bindings.json new file mode 100644 index 0000000..43b01f8 --- /dev/null +++ b/dcae-analytics/dcae-analytics-test/src/main/resources/data/json/configservice/config_service_bindings.json @@ -0,0 +1,26 @@ +[ + { + "ID": "81bc2a17-8cfa-3f6f-30a9-a545a9b6ac2f", + "Node": "zldcrdm5bdcc2dokr00", + "Address": "135.25.108.161", + "Datacenter": "zldcrdm5bdcc2", + "TaggedAddresses": { + "lan": "135.25.108.161", + "wan": "135.25.108.161" + }, + "NodeMeta": { + "fqdn": "zldcrdm5bdcc2dokr00.2f3fb3.rdm5b.tci.att.com" + }, + "ServiceID": "20299a144716:config_binding_service:10000", + "ServiceName": "config_binding_service", + "ServiceTags": [ + "config_binding_service", + "no-op" + ], + "ServiceAddress": "135.25.108.161", + "ServicePort": 32769, + "ServiceEnableTagOverride": false, + "CreateIndex": 2991593, + "ModifyIndex": 2997835 + } +] diff --git a/dcae-analytics/dcae-analytics-test/src/main/resources/data/json/dmaap/dmaap_config.json b/dcae-analytics/dcae-analytics-test/src/main/resources/data/json/dmaap/dmaap_config.json new file mode 100644 index 0000000..d0d304b --- /dev/null +++ b/dcae-analytics/dcae-analytics-test/src/main/resources/data/json/dmaap/dmaap_config.json @@ -0,0 +1,68 @@ +{ + "dmaap_subscribers": [ + { + "id": "subscriber1", + "type": "message_router", + "url": "https://HOSTNAME:3905/events/DcaeTestVESSub1", + "username": "username", + "password": "password", + "message_limit": -1, + "timeout": 30000, + "consumer_group": "cg1", + "consumers": [ + "c1", + "c2" + ], + "polling_strategy": { + "fixedRate": 30000 + }, + "proxy_url": "https//user:password@proxyhost:proxyport" + }, + { + "id": "subscriber2", + "type": "message_router", + "url": "https://HOSTNAME:3905/events/DcaeTestVESSub2", + "username": "username", + "password": "password", + "message_limit": 50000, + "timeout": 30000, + "consumer_group": "cg2", + "consumers": [ + "c1", + "c2" + ], + "polling_strategy": { + "auto_adjusting": { + "minimum": 20000, + "step_up": 20000, + "maximum": 120000, + "step_down": 100000 + } + } + } + ], + "dmaap_publishers": [ + { + "id": "publisher1", + "type": "message_router", + "url": "https://HOSTNAME:3905/events/DcaeTestVESPub1", + "username": "username", + "password": "password", + "batching": { + "enabled": true, + "maximum_messages": 10, + "maximum_time": 20000 + } + }, + { + "id": "publisher2", + "type": "message_router", + "url": "https://HOSTNAME:3905/events/DcaeTestVESPub1", + "username": "username", + "password": "password", + "batching": { + "enabled": false + } + } + ] +} diff --git a/dcae-analytics/dcae-analytics-test/src/main/resources/data/json/facade/tca_alert.json b/dcae-analytics/dcae-analytics-test/src/main/resources/data/json/facade/tca_alert.json new file mode 100644 index 0000000..b7c70c1 --- /dev/null +++ b/dcae-analytics/dcae-analytics-test/src/main/resources/data/json/facade/tca_alert.json @@ -0,0 +1,18 @@ +{ + "closedLoopControlName": "CL-FRWL-LOW-TRAFFIC-SIG-d925ed73-8231-4d02-9545-db4e101f88f8", + "version": "1.0.2", + "requestID": "0138afac-b032-4e4b-bd30-88260f444888", + "closedLoopAlarmStart": 1478189220547, + "closedLoopEventClient": "tca.instance00001", + "target_type": "VNF", + "target": "generic-vnf.vnf-name", + "AAI": { + "generic-vnf.vnf-name": "vpp-test(?)", + "vserver.vserver-name": "dfw1lb01lb01" + }, + "from": "DCAE", + "policyScope": "resource=vFirewall;type=configuration", + "policyName": "configuration.dcae.microservice.tca.xml", + "policyVersion": "v0.0.1", + "closedLoopEventStatus": "ONSET" +} diff --git a/dcae-analytics/dcae-analytics-test/src/main/resources/data/json/policy/tca_policy.json b/dcae-analytics/dcae-analytics-test/src/main/resources/data/json/policy/tca_policy.json new file mode 100644 index 0000000..e2560bd --- /dev/null +++ b/dcae-analytics/dcae-analytics-test/src/main/resources/data/json/policy/tca_policy.json @@ -0,0 +1,86 @@ +{ + "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" + } + ] + }, + { + "eventName": "virtualVMEventName", + "controlLoopSchemaType": "VM", + "policyScope": "resource=virtualVM;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" + } + ] + } + ] +} diff --git a/dcae-analytics/dcae-analytics-test/src/main/resources/data/json/test/test_message.json b/dcae-analytics/dcae-analytics-test/src/main/resources/data/json/test/test_message.json new file mode 100644 index 0000000..54e7c8b --- /dev/null +++ b/dcae-analytics/dcae-analytics-test/src/main/resources/data/json/test/test_message.json @@ -0,0 +1,8 @@ +[ + { + "test": "message 1 from cg1 c1" + }, + { + "test": "message 2 from cg1 c1" + } +] |