Open ccaputo opened 3 weeks ago
Describe the bug Currently the importer will raise an error when encountering null values for if_speed & pdb_facility_id properties in if_list entries.
Expected behavior Even those these null values are arguably out of spec with respect to https://github.com/euro-ix/json-schemas/blob/master/ixp-member-list.schema.json, the robustness principle suggests we should handle this by treating it the same way as if the property (if_speed or pdb_facility_id) was not there at all. (just like we did with https://github.com/peeringdb/peeringdb/issues/1244)
This same principle should apply to other optional properties, so a check for others should be made.
Are there security concerns?
no
Are there privacy concerns?
+1, although not a bug on our end. Is it urgent, @ccaputo?
Is it urgent, @ccaputo?
Nope. Thx.
Describe the bug Currently the importer will raise an error when encountering null values for if_speed & pdb_facility_id properties in if_list entries.
Expected behavior Even those these null values are arguably out of spec with respect to https://github.com/euro-ix/json-schemas/blob/master/ixp-member-list.schema.json, the robustness principle suggests we should handle this by treating it the same way as if the property (if_speed or pdb_facility_id) was not there at all. (just like we did with https://github.com/peeringdb/peeringdb/issues/1244)
This same principle should apply to other optional properties, so a check for others should be made.
Are there security concerns?
no
Are there privacy concerns?
no