openBackhaul / MicroWaveDeviceInventory

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

Observing 500 error for /v1/provide-list-of-parallel-links API #852

Closed Ziabatcha closed 7 months ago

Ziabatcha commented 8 months ago

Tag: test_v1.1.2

Observing '500 Internal Server Error' with API /v1/provide-list-of-parallel-links

http://xxx:xxx/v1/provide-list-of-parallel-links

curl -X POST "http://xxx:xxx/v1/provide-list-of-parallel-links" -H "accept: application/json" -H "user: User Name" -H "originator: Resolver" -H "x-correlator: 550e8400-e29b-11d4-a716-446655440000" -H "trace-indicator: 1.3.1" -H "customer-journey: Unknown value" -H "operation-key: Operation key not yet provided." -H "Content-Type: application/json" -d "{\"link-id\":\"513250006\"}"

{
  "code": 500,
  "message": "Internal Server Error"
}
Ziabatcha commented 7 months ago

Tested and it is working in v1.1.5 Logs:

curl -X POST "/v1/provide-list-of-parallel-links" -H "accept: application/json" -H "user: User Name" -H "originator: Resolver" -H "x-correlator: 550e8400-e29b-11d4-a716-446655440000" -H "trace-indicator: 1.3.1" -H "customer-journey: Unknown value" -H "operation-key: ---------------" -H "Content-Type: application/json" -d "{\"link-id\":\"533616788\"}" { "parallel-link-list": [ "533616788", "533616790" ] }