diff options
author | Edyta Krukowska <edyta.krukowska@nokia.com> | 2021-02-23 15:02:59 +0100 |
---|---|---|
committer | Edyta Krukowska <edyta.krukowska@nokia.com> | 2021-02-24 11:40:48 +0100 |
commit | 9c719934d618b5c989522d701f653aa31a85325c (patch) | |
tree | b947db409d79613d9426bbe5ffe5bfafaaf1c725 /src/test/resources | |
parent | 4c67640edccbbd1820fb658370cad0f666a0e210 (diff) |
Use updated CommonEventSchema in VES Collector1.8.0
Issue-ID: DCAEGEN2-2477
Signed-off-by: Edyta Krukowska <edyta.krukowska@nokia.com>
Change-Id: I8c5fbbd17ebb3a5e1b96b5ac4f4ab3632fd2c484
Diffstat (limited to 'src/test/resources')
17 files changed, 459 insertions, 0 deletions
diff --git a/src/test/resources/ves7_invalid_ip_v4_with_ipv6_format.json b/src/test/resources/ves7_invalid_ip_v4_with_ipv6_format.json new file mode 100644 index 00000000..7b6be32a --- /dev/null +++ b/src/test/resources/ves7_invalid_ip_v4_with_ipv6_format.json @@ -0,0 +1,27 @@ +{ + "event": { + "commonEventHeader": { + "version": "4.0.1", + "vesEventListenerVersion": "7.2.1", + "domain": "pnfRegistration", + "eventName": "pnfRegistration", + "eventId": "pnfRegistration", + "sequence": 1, + "priority": "High", + "reportingEntityId": "cc305d54-75b4-431b-adb2-eb6b9e541234", + "reportingEntityName": "ibcx0001vm002oam001", + "sourceId": "de305d54-75b4-431b-adb2-eb6b9e546014", + "sourceName": "scfx0001vm002cap001", + "nfVendorName": "Ericsson", + "nfNamingCode": "scfx", + "nfcNamingCode": "ssc", + "startEpochMicrosec": 1413378172000000, + "lastEpochMicrosec": 1413378172000000, + "timeZoneOffset": "UTC-05:30" + }, + "pnfRegistrationFields": { + "pnfRegistrationFieldsVersion": "2.1", + "oamV4IpAddress": "2001:0db8:85a3:0000:0000:8a2e:0370:7334" + } + } +} diff --git a/src/test/resources/ves7_invalid_ip_v6_double_colon_more_than_once.json b/src/test/resources/ves7_invalid_ip_v6_double_colon_more_than_once.json new file mode 100644 index 00000000..baf6463d --- /dev/null +++ b/src/test/resources/ves7_invalid_ip_v6_double_colon_more_than_once.json @@ -0,0 +1,27 @@ +{ + "event": { + "commonEventHeader": { + "version": "4.0.1", + "vesEventListenerVersion": "7.2.1", + "domain": "pnfRegistration", + "eventName": "pnfRegistration", + "eventId": "pnfRegistration", + "sequence": 1, + "priority": "High", + "reportingEntityId": "cc305d54-75b4-431b-adb2-eb6b9e541234", + "reportingEntityName": "ibcx0001vm002oam001", + "sourceId": "de305d54-75b4-431b-adb2-eb6b9e546014", + "sourceName": "scfx0001vm002cap001", + "nfVendorName": "Ericsson", + "nfNamingCode": "scfx", + "nfcNamingCode": "ssc", + "startEpochMicrosec": 1413378172000000, + "lastEpochMicrosec": 1413378172000000, + "timeZoneOffset": "UTC-05:30" + }, + "pnfRegistrationFields": { + "pnfRegistrationFieldsVersion": "2.1", + "oamV6IpAddress": "2001:0db8:85a3::8a2e::7334" + } + } +} diff --git a/src/test/resources/ves7_invalid_ip_v6_out_of_range.json b/src/test/resources/ves7_invalid_ip_v6_out_of_range.json new file mode 100644 index 00000000..a8b97472 --- /dev/null +++ b/src/test/resources/ves7_invalid_ip_v6_out_of_range.json @@ -0,0 +1,27 @@ +{ + "event": { + "commonEventHeader": { + "version": "4.0.1", + "vesEventListenerVersion": "7.2.1", + "domain": "pnfRegistration", + "eventName": "pnfRegistration", + "eventId": "pnfRegistration", + "sequence": 1, + "priority": "High", + "reportingEntityId": "cc305d54-75b4-431b-adb2-eb6b9e541234", + "reportingEntityName": "ibcx0001vm002oam001", + "sourceId": "de305d54-75b4-431b-adb2-eb6b9e546014", + "sourceName": "scfx0001vm002cap001", + "nfVendorName": "Ericsson", + "nfNamingCode": "scfx", + "nfcNamingCode": "ssc", + "startEpochMicrosec": 1413378172000000, + "lastEpochMicrosec": 1413378172000000, + "timeZoneOffset": "UTC-05:30" + }, + "pnfRegistrationFields": { + "pnfRegistrationFieldsVersion": "2.1", + "oamV6IpAddress": "101.5.40.1" + } + } +} diff --git a/src/test/resources/ves7_invalid_ip_v6_short_with_more_than_two_colons.json b/src/test/resources/ves7_invalid_ip_v6_short_with_more_than_two_colons.json new file mode 100644 index 00000000..53a99273 --- /dev/null +++ b/src/test/resources/ves7_invalid_ip_v6_short_with_more_than_two_colons.json @@ -0,0 +1,27 @@ +{ + "event": { + "commonEventHeader": { + "version": "4.0.1", + "vesEventListenerVersion": "7.2.1", + "domain": "pnfRegistration", + "eventName": "pnfRegistration", + "eventId": "pnfRegistration", + "sequence": 1, + "priority": "High", + "reportingEntityId": "cc305d54-75b4-431b-adb2-eb6b9e541234", + "reportingEntityName": "ibcx0001vm002oam001", + "sourceId": "de305d54-75b4-431b-adb2-eb6b9e546014", + "sourceName": "scfx0001vm002cap001", + "nfVendorName": "Ericsson", + "nfNamingCode": "scfx", + "nfcNamingCode": "ssc", + "startEpochMicrosec": 1413378172000000, + "lastEpochMicrosec": 1413378172000000, + "timeZoneOffset": "UTC-05:30" + }, + "pnfRegistrationFields": { + "pnfRegistrationFieldsVersion": "2.1", + "oamV6IpAddress": "1234:::aabc" + } + } +} diff --git a/src/test/resources/ves7_invalid_ip_v6_short_with_too_many_colons.json b/src/test/resources/ves7_invalid_ip_v6_short_with_too_many_colons.json new file mode 100644 index 00000000..14e2cb60 --- /dev/null +++ b/src/test/resources/ves7_invalid_ip_v6_short_with_too_many_colons.json @@ -0,0 +1,27 @@ +{ + "event": { + "commonEventHeader": { + "version": "4.0.1", + "vesEventListenerVersion": "7.2.1", + "domain": "pnfRegistration", + "eventName": "pnfRegistration", + "eventId": "pnfRegistration", + "sequence": 1, + "priority": "High", + "reportingEntityId": "cc305d54-75b4-431b-adb2-eb6b9e541234", + "reportingEntityName": "ibcx0001vm002oam001", + "sourceId": "de305d54-75b4-431b-adb2-eb6b9e546014", + "sourceName": "scfx0001vm002cap001", + "nfVendorName": "Ericsson", + "nfNamingCode": "scfx", + "nfcNamingCode": "ssc", + "startEpochMicrosec": 1413378172000000, + "lastEpochMicrosec": 1413378172000000, + "timeZoneOffset": "UTC-05:30" + }, + "pnfRegistrationFields": { + "pnfRegistrationFieldsVersion": "2.1", + "oamV6IpAddress": "1234:::::::1221:::00af" + } + } +} diff --git a/src/test/resources/ves7_invalid_ip_v6_with_ipv4_format.json b/src/test/resources/ves7_invalid_ip_v6_with_ipv4_format.json new file mode 100644 index 00000000..420cb640 --- /dev/null +++ b/src/test/resources/ves7_invalid_ip_v6_with_ipv4_format.json @@ -0,0 +1,27 @@ +{ + "event": { + "commonEventHeader": { + "version": "4.0.1", + "vesEventListenerVersion": "7.2.1", + "domain": "pnfRegistration", + "eventName": "pnfRegistration", + "eventId": "pnfRegistration", + "sequence": 1, + "priority": "High", + "reportingEntityId": "cc305d54-75b4-431b-adb2-eb6b9e541234", + "reportingEntityName": "ibcx0001vm002oam001", + "sourceId": "de305d54-75b4-431b-adb2-eb6b9e546014", + "sourceName": "scfx0001vm002cap001", + "nfVendorName": "Ericsson", + "nfNamingCode": "scfx", + "nfcNamingCode": "ssc", + "startEpochMicrosec": 1413378172000000, + "lastEpochMicrosec": 1413378172000000, + "timeZoneOffset": "UTC-05:30" + }, + "pnfRegistrationFields": { + "pnfRegistrationFieldsVersion": "2.1", + "oamV6IpAddress": "09.09.09.09" + } + } +} diff --git a/src/test/resources/ves7_invalid_ip_v6_with_one_colon_at_begining.json b/src/test/resources/ves7_invalid_ip_v6_with_one_colon_at_begining.json new file mode 100644 index 00000000..cdd9d712 --- /dev/null +++ b/src/test/resources/ves7_invalid_ip_v6_with_one_colon_at_begining.json @@ -0,0 +1,27 @@ +{ + "event": { + "commonEventHeader": { + "version": "4.0.1", + "vesEventListenerVersion": "7.2.1", + "domain": "pnfRegistration", + "eventName": "pnfRegistration", + "eventId": "pnfRegistration", + "sequence": 1, + "priority": "High", + "reportingEntityId": "cc305d54-75b4-431b-adb2-eb6b9e541234", + "reportingEntityName": "ibcx0001vm002oam001", + "sourceId": "de305d54-75b4-431b-adb2-eb6b9e546014", + "sourceName": "scfx0001vm002cap001", + "nfVendorName": "Ericsson", + "nfNamingCode": "scfx", + "nfcNamingCode": "ssc", + "startEpochMicrosec": 1413378172000000, + "lastEpochMicrosec": 1413378172000000, + "timeZoneOffset": "UTC-05:30" + }, + "pnfRegistrationFields": { + "pnfRegistrationFieldsVersion": "2.1", + "oamV6IpAddress": ":ffff:0:10.0.0.3" + } + } +} diff --git a/src/test/resources/ves7_invalid_ipv4.json b/src/test/resources/ves7_invalid_ipv4.json new file mode 100644 index 00000000..6ad1dead --- /dev/null +++ b/src/test/resources/ves7_invalid_ipv4.json @@ -0,0 +1,27 @@ +{ + "event": { + "commonEventHeader": { + "version": "4.0.1", + "vesEventListenerVersion": "7.2.1", + "domain": "pnfRegistration", + "eventName": "pnfRegistration", + "eventId": "pnfRegistration", + "sequence": 1, + "priority": "High", + "reportingEntityId": "cc305d54-75b4-431b-adb2-eb6b9e541234", + "reportingEntityName": "ibcx0001vm002oam001", + "sourceId": "de305d54-75b4-431b-adb2-eb6b9e546014", + "sourceName": "scfx0001vm002cap001", + "nfVendorName": "Ericsson", + "nfNamingCode": "scfx", + "nfcNamingCode": "ssc", + "startEpochMicrosec": 1413378172000000, + "lastEpochMicrosec": 1413378172000000, + "timeZoneOffset": "UTC-05:30" + }, + "pnfRegistrationFields": { + "pnfRegistrationFieldsVersion": "2.1", + "oamV4IpAddress": "09.09.09.09aaaf" + } + } +} diff --git a/src/test/resources/ves7_valid_ip_v4.json b/src/test/resources/ves7_valid_ip_v4.json new file mode 100644 index 00000000..80243168 --- /dev/null +++ b/src/test/resources/ves7_valid_ip_v4.json @@ -0,0 +1,27 @@ +{ + "event": { + "commonEventHeader": { + "version": "4.0.1", + "vesEventListenerVersion": "7.2.1", + "domain": "pnfRegistration", + "eventName": "pnfRegistration", + "eventId": "pnfRegistration", + "sequence": 1, + "priority": "High", + "reportingEntityId": "cc305d54-75b4-431b-adb2-eb6b9e541234", + "reportingEntityName": "ibcx0001vm002oam001", + "sourceId": "de305d54-75b4-431b-adb2-eb6b9e546014", + "sourceName": "scfx0001vm002cap001", + "nfVendorName": "Ericsson", + "nfNamingCode": "scfx", + "nfcNamingCode": "ssc", + "startEpochMicrosec": 1413378172000000, + "lastEpochMicrosec": 1413378172000000, + "timeZoneOffset": "UTC-05:30" + }, + "pnfRegistrationFields": { + "pnfRegistrationFieldsVersion": "2.1", + "oamV4IpAddress": "9.9.9.9" + } + } +} diff --git a/src/test/resources/ves7_valid_ip_v6.json b/src/test/resources/ves7_valid_ip_v6.json new file mode 100644 index 00000000..e514fffd --- /dev/null +++ b/src/test/resources/ves7_valid_ip_v6.json @@ -0,0 +1,27 @@ +{ + "event": { + "commonEventHeader": { + "version": "4.0.1", + "vesEventListenerVersion": "7.2.1", + "domain": "pnfRegistration", + "eventName": "pnfRegistration", + "eventId": "pnfRegistration", + "sequence": 1, + "priority": "High", + "reportingEntityId": "cc305d54-75b4-431b-adb2-eb6b9e541234", + "reportingEntityName": "ibcx0001vm002oam001", + "sourceId": "de305d54-75b4-431b-adb2-eb6b9e546014", + "sourceName": "scfx0001vm002cap001", + "nfVendorName": "Ericsson", + "nfNamingCode": "scfx", + "nfcNamingCode": "ssc", + "startEpochMicrosec": 1413378172000000, + "lastEpochMicrosec": 1413378172000000, + "timeZoneOffset": "UTC-05:30" + }, + "pnfRegistrationFields": { + "pnfRegistrationFieldsVersion": "2.1", + "oamV6IpAddress": "2001:db2:31:1041:204a::1337" + } + } +} diff --git a/src/test/resources/ves7_valid_ip_v6_full.json b/src/test/resources/ves7_valid_ip_v6_full.json new file mode 100644 index 00000000..97c94e33 --- /dev/null +++ b/src/test/resources/ves7_valid_ip_v6_full.json @@ -0,0 +1,27 @@ +{ + "event": { + "commonEventHeader": { + "version": "4.0.1", + "vesEventListenerVersion": "7.2.1", + "domain": "pnfRegistration", + "eventName": "pnfRegistration", + "eventId": "pnfRegistration", + "sequence": 1, + "priority": "High", + "reportingEntityId": "cc305d54-75b4-431b-adb2-eb6b9e541234", + "reportingEntityName": "ibcx0001vm002oam001", + "sourceId": "de305d54-75b4-431b-adb2-eb6b9e546014", + "sourceName": "scfx0001vm002cap001", + "nfVendorName": "Ericsson", + "nfNamingCode": "scfx", + "nfcNamingCode": "ssc", + "startEpochMicrosec": 1413378172000000, + "lastEpochMicrosec": 1413378172000000, + "timeZoneOffset": "UTC-05:30" + }, + "pnfRegistrationFields": { + "pnfRegistrationFieldsVersion": "2.1", + "oamV6IpAddress": "2001:0db8:85a3:0000:0000:8a2e:0370:7334" + } + } +} diff --git a/src/test/resources/ves7_valid_ip_v6_ipv4_translated.json b/src/test/resources/ves7_valid_ip_v6_ipv4_translated.json new file mode 100644 index 00000000..24b52d47 --- /dev/null +++ b/src/test/resources/ves7_valid_ip_v6_ipv4_translated.json @@ -0,0 +1,27 @@ +{ + "event": { + "commonEventHeader": { + "version": "4.0.1", + "vesEventListenerVersion": "7.2.1", + "domain": "pnfRegistration", + "eventName": "pnfRegistration", + "eventId": "pnfRegistration", + "sequence": 1, + "priority": "High", + "reportingEntityId": "cc305d54-75b4-431b-adb2-eb6b9e541234", + "reportingEntityName": "ibcx0001vm002oam001", + "sourceId": "de305d54-75b4-431b-adb2-eb6b9e546014", + "sourceName": "scfx0001vm002cap001", + "nfVendorName": "Ericsson", + "nfNamingCode": "scfx", + "nfcNamingCode": "ssc", + "startEpochMicrosec": 1413378172000000, + "lastEpochMicrosec": 1413378172000000, + "timeZoneOffset": "UTC-05:30" + }, + "pnfRegistrationFields": { + "pnfRegistrationFieldsVersion": "2.1", + "oamV6IpAddress": "::ffff:0:10.0.0.3" + } + } +} diff --git a/src/test/resources/ves7_valid_ip_v6_multicast_example.json b/src/test/resources/ves7_valid_ip_v6_multicast_example.json new file mode 100644 index 00000000..10a85b6a --- /dev/null +++ b/src/test/resources/ves7_valid_ip_v6_multicast_example.json @@ -0,0 +1,27 @@ +{ + "event": { + "commonEventHeader": { + "version": "4.0.1", + "vesEventListenerVersion": "7.2.1", + "domain": "pnfRegistration", + "eventName": "pnfRegistration", + "eventId": "pnfRegistration", + "sequence": 1, + "priority": "High", + "reportingEntityId": "cc305d54-75b4-431b-adb2-eb6b9e541234", + "reportingEntityName": "ibcx0001vm002oam001", + "sourceId": "de305d54-75b4-431b-adb2-eb6b9e546014", + "sourceName": "scfx0001vm002cap001", + "nfVendorName": "Ericsson", + "nfNamingCode": "scfx", + "nfcNamingCode": "ssc", + "startEpochMicrosec": 1413378172000000, + "lastEpochMicrosec": 1413378172000000, + "timeZoneOffset": "UTC-05:30" + }, + "pnfRegistrationFields": { + "pnfRegistrationFieldsVersion": "2.1", + "oamV6IpAddress": "FF01:0:0:0:0:0:0:1" + } + } +} diff --git a/src/test/resources/ves7_valid_ip_v6_short_one.json b/src/test/resources/ves7_valid_ip_v6_short_one.json new file mode 100644 index 00000000..40c7c770 --- /dev/null +++ b/src/test/resources/ves7_valid_ip_v6_short_one.json @@ -0,0 +1,27 @@ +{ + "event": { + "commonEventHeader": { + "version": "4.0.1", + "vesEventListenerVersion": "7.2.1", + "domain": "pnfRegistration", + "eventName": "pnfRegistration", + "eventId": "pnfRegistration", + "sequence": 1, + "priority": "High", + "reportingEntityId": "cc305d54-75b4-431b-adb2-eb6b9e541234", + "reportingEntityName": "ibcx0001vm002oam001", + "sourceId": "de305d54-75b4-431b-adb2-eb6b9e546014", + "sourceName": "scfx0001vm002cap001", + "nfVendorName": "Ericsson", + "nfNamingCode": "scfx", + "nfcNamingCode": "ssc", + "startEpochMicrosec": 1413378172000000, + "lastEpochMicrosec": 1413378172000000, + "timeZoneOffset": "UTC-05:30" + }, + "pnfRegistrationFields": { + "pnfRegistrationFieldsVersion": "2.1", + "oamV6IpAddress": "::" + } + } +} diff --git a/src/test/resources/ves7_valid_ip_v6_short_with_big_letters.json b/src/test/resources/ves7_valid_ip_v6_short_with_big_letters.json new file mode 100644 index 00000000..73bdabf7 --- /dev/null +++ b/src/test/resources/ves7_valid_ip_v6_short_with_big_letters.json @@ -0,0 +1,27 @@ +{ + "event": { + "commonEventHeader": { + "version": "4.0.1", + "vesEventListenerVersion": "7.2.1", + "domain": "pnfRegistration", + "eventName": "pnfRegistration", + "eventId": "pnfRegistration", + "sequence": 1, + "priority": "High", + "reportingEntityId": "cc305d54-75b4-431b-adb2-eb6b9e541234", + "reportingEntityName": "ibcx0001vm002oam001", + "sourceId": "de305d54-75b4-431b-adb2-eb6b9e546014", + "sourceName": "scfx0001vm002cap001", + "nfVendorName": "Ericsson", + "nfNamingCode": "scfx", + "nfcNamingCode": "ssc", + "startEpochMicrosec": 1413378172000000, + "lastEpochMicrosec": 1413378172000000, + "timeZoneOffset": "UTC-05:30" + }, + "pnfRegistrationFields": { + "pnfRegistrationFieldsVersion": "2.1", + "oamV6IpAddress": "2001:DB8::1" + } + } +} diff --git a/src/test/resources/ves7_valid_ip_v6_short_without_end.json b/src/test/resources/ves7_valid_ip_v6_short_without_end.json new file mode 100644 index 00000000..f2fc50b4 --- /dev/null +++ b/src/test/resources/ves7_valid_ip_v6_short_without_end.json @@ -0,0 +1,27 @@ +{ + "event": { + "commonEventHeader": { + "version": "4.0.1", + "vesEventListenerVersion": "7.2.1", + "domain": "pnfRegistration", + "eventName": "pnfRegistrationn", + "eventId": "pnfRegistration", + "sequence": 1, + "priority": "High", + "reportingEntityId": "cc305d54-75b4-431b-adb2-eb6b9e541234", + "reportingEntityName": "ibcx0001vm002oam001", + "sourceId": "de305d54-75b4-431b-adb2-eb6b9e546014", + "sourceName": "scfx0001vm002cap001", + "nfVendorName": "Ericsson", + "nfNamingCode": "scfx", + "nfcNamingCode": "ssc", + "startEpochMicrosec": 1413378172000000, + "lastEpochMicrosec": 1413378172000000, + "timeZoneOffset": "UTC-05:30" + }, + "pnfRegistrationFields": { + "pnfRegistrationFieldsVersion": "2.1", + "oamV6IpAddress": "ff0::" + } + } +} diff --git a/src/test/resources/ves7_valid_ip_v6_with_zone_index.json b/src/test/resources/ves7_valid_ip_v6_with_zone_index.json new file mode 100644 index 00000000..7b67d90f --- /dev/null +++ b/src/test/resources/ves7_valid_ip_v6_with_zone_index.json @@ -0,0 +1,27 @@ +{ + "event": { + "commonEventHeader": { + "version": "4.0.1", + "vesEventListenerVersion": "7.2.1", + "domain": "pnfRegistration", + "eventName": "pnfRegistration", + "eventId": "pnfRegistration", + "sequence": 1, + "priority": "High", + "reportingEntityId": "cc305d54-75b4-431b-adb2-eb6b9e541234", + "reportingEntityName": "ibcx0001vm002oam001", + "sourceId": "de305d54-75b4-431b-adb2-eb6b9e546014", + "sourceName": "scfx0001vm002cap001", + "nfVendorName": "Ericsson", + "nfNamingCode": "scfx", + "nfcNamingCode": "ssc", + "startEpochMicrosec": 1413378172000000, + "lastEpochMicrosec": 1413378172000000, + "timeZoneOffset": "UTC-05:30" + }, + "pnfRegistrationFields": { + "pnfRegistrationFieldsVersion": "2.1", + "oamV6IpAddress": "fe80::1ff:fe23:4567:890a%eth2" + } + } +} |