openBackhaul / MicroWaveDeviceInventory

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

Observing 500 Internal server error for POST APIs in latest package 1.1.0.a_impl #928

Closed Ziabatcha closed 4 months ago

Ziabatcha commented 4 months ago

Observing 500 Internal server error for POST APIs in latest package 1.1.0.a_impl

/v1/provide-list-of-device-interfaces /v1/provide-list-of-actual-device-equipment

{ "code": 500, "message": "Internal Server Error" }

Ziabatcha commented 4 months ago

Tested with latest pkg 1.1.2.a_impl. Issue is no longer observed. 200 response observed for both the POST APIs

/v1/provide-list-of-device-interfaces /v1/provide-list-of-actual-device-equipment

http://xx:xx/v1/provide-list-of-device-interfaces
{
  "logical-termination-point-list": [
    {
      "uuid": "IP-2013265920",
      "local-id": "2013265920",
      "layer-protocol-name": "ip-interface-1-0:LAYER_PROTOCOL_NAME_TYPE_IP_LAYER"
    },
http://xx:xx/v1/provide-list-of-actual-device-equipment

{
  "top-level-equipment": [
    "HUAWEI-EQUIPMENT-1"
  ],