openBackhaul / MicroWaveDeviceInventory

Physical and logical inventory of the MW SDN Domain
Apache License 2.0
5 stars 1 forks source link

LinkPort Service: responseCode for adding port for non existing link #998

Open kmohr-soprasteria opened 2 months ago

kmohr-soprasteria commented 2 months ago

A linkport cannot be added if the link it should be added for does not exist. The error handling needs to be harmonized with the new responseCode schema.

This could be a 404, as the unknown link is a path parameter. If 404 the default not found message shall be used.

It would also be possible to assign a custom responseCode which provides additional information.

To be checked.