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 with API /core-model-1-4:network-control-domain=cache/link={uuid}/link-port={localId #855

Closed Ziabatcha closed 5 months ago

Ziabatcha commented 7 months ago

Observing entire control construct response with API /core-model-1-4:network-control-domain=cache/link={uuid}


curl -X GET "http://xxx:xxx/core-model-1-4:network-control-domain=cache/link=xxx" -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."
nardecchia-siae commented 6 months ago

Wrongly closed as resolved. the issue is related to a wrong linkId used to test the api

Ziabatcha commented 6 months ago

Issue still persist in latest build test_1.1.4

Ziabatcha commented 5 months ago

Issue not observed with latest package test_v1.1.5. Hence closing the issue.

Able to create link with generic and minimum for rest. Able to GET link and link port from cache.

http://xx:xx/core-model-1-4:network-control-domain=cache/link=genericLink1

204 Response
http://XX:XX/core-model-1-4:network-control-domain=cache/link=genericLink1

{
  "core-model-1-4:link": [
    {
      "uuid": "genericLink1",
      "layer-protocol-name": "core-model-1-4:LAYER_PROTOCOL_NAME_TYPE_AIR_LAYER",
      "end-point-list": [
        {
          "control-construct": "513250009",
          "logical-termination-point": "513250009+LTP-MWPS-TTP-RADIO-2A",
          "layer-protocol": "513250009+LP-MWPS-TTP-RADIO-2A"
        },
        {
          "control-construct": "513250008",
          "logical-termination-point": "513250008+LTP-MWPS-TTP-RADIO-2A",
          "layer-protocol": "513250008+LP-MWPS-TTP-RADIO-2A"
        }
      ]
    }
  ]
}
Generic 
http://XX:XX/core-model-1-4:network-control-domain=cache/link=genericLink11

http://xx:xx/core-model-1-4:network-control-domain=cache/link=genericLink11/link-port=1

{
  "core-model-1-4:link-port": [
    {
      "local-id": "1",
      "link-port-direction": "core-model-1-4:PORT_DIRECTION_INPUT",
      "logical-termination-point": "513250009++LTP-MWPS-TTP-RADIO-2A"
    }
  ]
}