aboutsummaryrefslogtreecommitdiffstats
path: root/tests/dcaegen2/prh-testcases/assets/json_events
diff options
context:
space:
mode:
Diffstat (limited to 'tests/dcaegen2/prh-testcases/assets/json_events')
-rw-r--r--tests/dcaegen2/prh-testcases/assets/json_events/event_with_IPV4.json8
-rw-r--r--tests/dcaegen2/prh-testcases/assets/json_events/event_with_IPV6.json8
-rw-r--r--tests/dcaegen2/prh-testcases/assets/json_events/event_with_all_fields.json8
-rw-r--r--tests/dcaegen2/prh-testcases/assets/json_events/event_with_empty_addtional_fields.json17
-rw-r--r--tests/dcaegen2/prh-testcases/assets/json_events/event_with_missing_IPV4_and_IPV6.json8
-rw-r--r--tests/dcaegen2/prh-testcases/assets/json_events/event_with_missing_additional_fields.json11
-rw-r--r--tests/dcaegen2/prh-testcases/assets/json_events/event_with_missing_sourceName.json8
-rw-r--r--tests/dcaegen2/prh-testcases/assets/json_events/event_with_missing_sourceName_IPV4_and_IPV6.json8
-rw-r--r--tests/dcaegen2/prh-testcases/assets/json_events/event_with_missing_sourceName_and_IPV4.json8
-rw-r--r--tests/dcaegen2/prh-testcases/assets/json_events/event_with_missing_sourceName_and_IPV6.json8
-rw-r--r--tests/dcaegen2/prh-testcases/assets/json_events/event_without_IPV6_field.json8
-rw-r--r--tests/dcaegen2/prh-testcases/assets/json_events/not_json_format.json6
12 files changed, 97 insertions, 9 deletions
diff --git a/tests/dcaegen2/prh-testcases/assets/json_events/event_with_IPV4.json b/tests/dcaegen2/prh-testcases/assets/json_events/event_with_IPV4.json
index 2ffe356f..cdcab678 100644
--- a/tests/dcaegen2/prh-testcases/assets/json_events/event_with_IPV4.json
+++ b/tests/dcaegen2/prh-testcases/assets/json_events/event_with_IPV4.json
@@ -5,7 +5,13 @@
},
"pnfRegistrationFields": {
"oamV4IpAddress":"10.17.123.234",
- "oamV6IpAddress":""
+ "oamV6IpAddress":"",
+ "serial-number":"NOkkaaa123",
+ "equip-vendor":"equipVendor",
+ "equip-model":"equipModel",
+ "equip-type":"equipType",
+ "nf-role":"nf-role",
+ "sw-version":"swVersion"
}
}
}
diff --git a/tests/dcaegen2/prh-testcases/assets/json_events/event_with_IPV6.json b/tests/dcaegen2/prh-testcases/assets/json_events/event_with_IPV6.json
index c4a0e727..f5ec23d0 100644
--- a/tests/dcaegen2/prh-testcases/assets/json_events/event_with_IPV6.json
+++ b/tests/dcaegen2/prh-testcases/assets/json_events/event_with_IPV6.json
@@ -5,7 +5,13 @@
},
"pnfRegistrationFields": {
"oamV4IpAddress":"",
- "oamV6IpAddress":"2001:0db8:85a3:0000:0000:8b2e:0370:7334"
+ "oamV6IpAddress":"2001:0db8:85a3:0000:0000:8b2e:0370:7334",
+ "serial-number":"NOkkaaa123",
+ "equip-vendor":"equipVendor",
+ "equip-model":"equipModel",
+ "equip-type":"equipType",
+ "nf-role":"nf-role",
+ "sw-version":"swVersion"
}
}
}
diff --git a/tests/dcaegen2/prh-testcases/assets/json_events/event_with_all_fields.json b/tests/dcaegen2/prh-testcases/assets/json_events/event_with_all_fields.json
index 16963e1b..bc9cb1d3 100644
--- a/tests/dcaegen2/prh-testcases/assets/json_events/event_with_all_fields.json
+++ b/tests/dcaegen2/prh-testcases/assets/json_events/event_with_all_fields.json
@@ -5,7 +5,13 @@
},
"pnfRegistrationFields": {
"oamV4IpAddress":"10.16.123.234",
- "oamV6IpAddress":"2001:0db8:85a3:0000:0000:8a2e:0370:7334"
+ "oamV6IpAddress":"2001:0db8:85a3:0000:0000:8a2e:0370:7334",
+ "serial-number":"NOkkaaa123",
+ "equip-vendor":"equipVendor",
+ "equip-model":"equipModel",
+ "equip-type":"equipType",
+ "nf-role":"nf-role",
+ "sw-version":"swVersion"
}
}
}
diff --git a/tests/dcaegen2/prh-testcases/assets/json_events/event_with_empty_addtional_fields.json b/tests/dcaegen2/prh-testcases/assets/json_events/event_with_empty_addtional_fields.json
new file mode 100644
index 00000000..7ca4d0c6
--- /dev/null
+++ b/tests/dcaegen2/prh-testcases/assets/json_events/event_with_empty_addtional_fields.json
@@ -0,0 +1,17 @@
+{
+ "event": {
+ "commonEventHeader": {
+ "sourceName":"NOK6061ZW1"
+ },
+ "pnfRegistrationFields": {
+ "oamV4IpAddress":"10.16.123.234",
+ "oamV6IpAddress":"2001:0db8:85a3:0000:0000:8a2e:0370:7334",
+ "serial-number":"",
+ "equip-vendor":"",
+ "equip-model":"",
+ "equip-type":"",
+ "nf-role":"",
+ "sw-version":""
+ }
+ }
+}
diff --git a/tests/dcaegen2/prh-testcases/assets/json_events/event_with_missing_IPV4_and_IPV6.json b/tests/dcaegen2/prh-testcases/assets/json_events/event_with_missing_IPV4_and_IPV6.json
index 1e3afa9d..4942a3d5 100644
--- a/tests/dcaegen2/prh-testcases/assets/json_events/event_with_missing_IPV4_and_IPV6.json
+++ b/tests/dcaegen2/prh-testcases/assets/json_events/event_with_missing_IPV4_and_IPV6.json
@@ -5,7 +5,13 @@
},
"pnfRegistrationFields": {
"oamV4IpAddress":"",
- "oamV6IpAddress":""
+ "oamV6IpAddress":"",
+ "serial-number":"NOkkaaa123",
+ "equip-vendor":"equipVendor",
+ "equip-model":"equipModel",
+ "equip-type":"equipType",
+ "nf-role":"nf-role",
+ "sw-version":"swVersion"
}
}
}
diff --git a/tests/dcaegen2/prh-testcases/assets/json_events/event_with_missing_additional_fields.json b/tests/dcaegen2/prh-testcases/assets/json_events/event_with_missing_additional_fields.json
new file mode 100644
index 00000000..16963e1b
--- /dev/null
+++ b/tests/dcaegen2/prh-testcases/assets/json_events/event_with_missing_additional_fields.json
@@ -0,0 +1,11 @@
+{
+ "event": {
+ "commonEventHeader": {
+ "sourceName":"NOK6061ZW1"
+ },
+ "pnfRegistrationFields": {
+ "oamV4IpAddress":"10.16.123.234",
+ "oamV6IpAddress":"2001:0db8:85a3:0000:0000:8a2e:0370:7334"
+ }
+ }
+}
diff --git a/tests/dcaegen2/prh-testcases/assets/json_events/event_with_missing_sourceName.json b/tests/dcaegen2/prh-testcases/assets/json_events/event_with_missing_sourceName.json
index 126987fd..5e2a6121 100644
--- a/tests/dcaegen2/prh-testcases/assets/json_events/event_with_missing_sourceName.json
+++ b/tests/dcaegen2/prh-testcases/assets/json_events/event_with_missing_sourceName.json
@@ -5,7 +5,13 @@
},
"pnfRegistrationFields": {
"oamV4IpAddress":"10.18.123.234",
- "oamV6IpAddress":"2001:0db8:85a3:0000:0000:8a2a:0370:7334"
+ "oamV6IpAddress":"2001:0db8:85a3:0000:0000:8a2a:0370:7334",
+ "serial-number":"NOkkaaa123",
+ "equip-vendor":"equipVendor",
+ "equip-model":"equipModel",
+ "equip-type":"equipType",
+ "nf-role":"nf-role",
+ "sw-version":"swVersion"
}
}
}
diff --git a/tests/dcaegen2/prh-testcases/assets/json_events/event_with_missing_sourceName_IPV4_and_IPV6.json b/tests/dcaegen2/prh-testcases/assets/json_events/event_with_missing_sourceName_IPV4_and_IPV6.json
index de1f576c..a6a6f364 100644
--- a/tests/dcaegen2/prh-testcases/assets/json_events/event_with_missing_sourceName_IPV4_and_IPV6.json
+++ b/tests/dcaegen2/prh-testcases/assets/json_events/event_with_missing_sourceName_IPV4_and_IPV6.json
@@ -5,7 +5,13 @@
},
"pnfRegistrationFields": {
"oamV4IpAddress":"",
- "oamV6IpAddress":""
+ "oamV6IpAddress":"",
+ "serial-number":"NOkkaaa123",
+ "equip-vendor":"equipVendor",
+ "equip-model":"equipModel",
+ "equip-type":"equipType",
+ "nf-role":"nf-role",
+ "sw-version":"swVersion"
}
}
}
diff --git a/tests/dcaegen2/prh-testcases/assets/json_events/event_with_missing_sourceName_and_IPV4.json b/tests/dcaegen2/prh-testcases/assets/json_events/event_with_missing_sourceName_and_IPV4.json
index 4838f1b0..6d9eadfe 100644
--- a/tests/dcaegen2/prh-testcases/assets/json_events/event_with_missing_sourceName_and_IPV4.json
+++ b/tests/dcaegen2/prh-testcases/assets/json_events/event_with_missing_sourceName_and_IPV4.json
@@ -5,7 +5,13 @@
},
"pnfRegistrationFields": {
"oamV4IpAddress":"",
- "oamV6IpAddress":"2001:0db8:85a3:0000:0000:8b2f:0370:7334"
+ "oamV6IpAddress":"2001:0db8:85a3:0000:0000:8b2f:0370:7334",
+ "serial-number":"NOkkaaa123",
+ "equip-vendor":"equipVendor",
+ "equip-model":"equipModel",
+ "equip-type":"equipType",
+ "nf-role":"nf-role",
+ "sw-version":"swVersion"
}
}
}
diff --git a/tests/dcaegen2/prh-testcases/assets/json_events/event_with_missing_sourceName_and_IPV6.json b/tests/dcaegen2/prh-testcases/assets/json_events/event_with_missing_sourceName_and_IPV6.json
index 04ab7ceb..9fac5b19 100644
--- a/tests/dcaegen2/prh-testcases/assets/json_events/event_with_missing_sourceName_and_IPV6.json
+++ b/tests/dcaegen2/prh-testcases/assets/json_events/event_with_missing_sourceName_and_IPV6.json
@@ -5,7 +5,13 @@
},
"pnfRegistrationFields": {
"oamV4IpAddress":"10.17.163.234",
- "oamV6IpAddress":""
+ "oamV6IpAddress":"",
+ "serial-number":"NOkkaaa123",
+ "equip-vendor":"equipVendor",
+ "equip-model":"equipModel",
+ "equip-type":"equipType",
+ "nf-role":"nf-role",
+ "sw-version":"swVersion"
}
}
}
diff --git a/tests/dcaegen2/prh-testcases/assets/json_events/event_without_IPV6_field.json b/tests/dcaegen2/prh-testcases/assets/json_events/event_without_IPV6_field.json
index 0aa0372c..a416bb7e 100644
--- a/tests/dcaegen2/prh-testcases/assets/json_events/event_without_IPV6_field.json
+++ b/tests/dcaegen2/prh-testcases/assets/json_events/event_without_IPV6_field.json
@@ -4,7 +4,13 @@
"sourceName":"NOK6061ZW9"
},
"pnfRegistrationFields": {
- "oamV4IpAddress":"10.17.123.24"
+ "oamV4IpAddress":"10.17.123.24",
+ "serial-number":"NOkkaaa123",
+ "equip-vendor":"equipVendor",
+ "equip-model":"equipModel",
+ "equip-type":"equipType",
+ "nf-role":"nf-role",
+ "sw-version":"swVersion"
}
}
}
diff --git a/tests/dcaegen2/prh-testcases/assets/json_events/not_json_format.json b/tests/dcaegen2/prh-testcases/assets/json_events/not_json_format.json
index c87e188f..08d9a49c 100644
--- a/tests/dcaegen2/prh-testcases/assets/json_events/not_json_format.json
+++ b/tests/dcaegen2/prh-testcases/assets/json_events/not_json_format.json
@@ -6,6 +6,12 @@
"pnfRegistrationFields": {
"oamV4IpAddress":"10.16.123.234",
"oamV6IpAddress":"2001:0db8:85a3:0000:0000:8a2e:0370:7334",
+ "serial-number":"NOkkaaa123",
+ "equip-vendor":"equipVendor",
+ "equip-model":"equipModel",
+ "equip-type":"equipType",
+ "nf-role":"nf-role",
+ "sw-version":"swVersion",
}
}
}