aboutsummaryrefslogtreecommitdiffstats
path: root/tests/dcaegen2/prh-testcases/assets
diff options
context:
space:
mode:
Diffstat (limited to 'tests/dcaegen2/prh-testcases/assets')
-rw-r--r--tests/dcaegen2/prh-testcases/assets/json_events/event_with_IPV6.json3
-rw-r--r--tests/dcaegen2/prh-testcases/assets/json_events/event_with_all_fields.json7
-rw-r--r--tests/dcaegen2/prh-testcases/assets/json_events/event_with_missing_sourceName.json3
-rw-r--r--tests/dcaegen2/prh-testcases/assets/json_events/event_with_optional_registration_fields_all_filled.json7
-rw-r--r--tests/dcaegen2/prh-testcases/assets/json_events/event_with_optional_registration_fields_empty.json5
5 files changed, 19 insertions, 6 deletions
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 5a67dfe1..7fdef4fc 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
@@ -9,7 +9,8 @@
"serialNumber":"NOkkaaa123",
"vendorName":"equipVendor",
"modelNumber":"equipModel",
- "unitType":"equipType"
+ "unitType":"equipType",
+ "additionalFields": {}
}
}
}
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 f55b2f9c..eb4dfaf9 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
@@ -10,7 +10,12 @@
"serialNumber":"serialNumber",
"vendorName":"vendorName",
"modelNumber":"modelNumber",
- "unitType":"unitType"
+ "unitType":"unitType",
+ "additionalFields": {
+ "attachmentPoint": "bla-bla-30-3",
+ "svlan": "1005",
+ "cvlan": "678"
+ }
}
}
}
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 74425ec2..2bae7e64 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
@@ -9,7 +9,8 @@
"serialNumber":"",
"vendorName":"",
"modelNumber":"",
- "unitType":""
+ "unitType":"",
+ "additionalFields": {}
}
}
}
diff --git a/tests/dcaegen2/prh-testcases/assets/json_events/event_with_optional_registration_fields_all_filled.json b/tests/dcaegen2/prh-testcases/assets/json_events/event_with_optional_registration_fields_all_filled.json
index 492d6071..39fadb8a 100644
--- a/tests/dcaegen2/prh-testcases/assets/json_events/event_with_optional_registration_fields_all_filled.json
+++ b/tests/dcaegen2/prh-testcases/assets/json_events/event_with_optional_registration_fields_all_filled.json
@@ -11,7 +11,12 @@
"serialNumber":"sn1234",
"vendorName":"vendorName",
"modelNumber":"modelNumber",
- "unitType":"unitType"
+ "unitType":"unitType",
+ "additionalFields": {
+ "attachmentPoint": "bla-bla-30-3",
+ "svlan": "1005",
+ "cvlan": "678"
+ }
}
}
}
diff --git a/tests/dcaegen2/prh-testcases/assets/json_events/event_with_optional_registration_fields_empty.json b/tests/dcaegen2/prh-testcases/assets/json_events/event_with_optional_registration_fields_empty.json
index 48363a47..986b992d 100644
--- a/tests/dcaegen2/prh-testcases/assets/json_events/event_with_optional_registration_fields_empty.json
+++ b/tests/dcaegen2/prh-testcases/assets/json_events/event_with_optional_registration_fields_empty.json
@@ -1,7 +1,7 @@
{
"event": {
"commonEventHeader": {
- "sourceName":"NOK6061ZW1",
+ "sourceName":"NOK6061ZW3",
"nfNamingCode": ""
},
"pnfRegistrationFields": {
@@ -10,7 +10,8 @@
"serialNumber":"",
"vendorName":"",
"modelNumber":"",
- "unitType":""
+ "unitType":"",
+ "additionalFields": {}
}
}
}