openBackhaul / MicroWaveDeviceInventory

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

Incorrect response is received in cache when user gave another profile name value to profile collection APIs #818

Closed Ziabatcha closed 8 months ago

Ziabatcha commented 9 months ago

When user gave WRED profile name as input in CO-CHANNEL API, observing incorrect response.

API: /core-model-1-4:network-control-domain=cache/control-construct=513250006/profile-collection/profile=WRED-PROFILE-01.b/co-channel-profile-1-0:co-channel-profile-pac/co-channel-profile-configuration

RESPONSE:

{
  "co-channel-profile-1-0:co-channel-profile-configuration": {
    "uuid": "WRED-PROFILE-01.b",
    "wred-profile-1-0:wred-profile-pac": {
      "wred-profile-configuration": {
nardecchia-siae commented 8 months ago

Test with postman: GET /core-model-1-4:network-control-domain=cache/control-construct=513250009/profile-collection/profile=WRED-PROFILE-01.b/co-channel-profile-1-0:co-channel-profile-pac/co-channel-profile-configuration

result:

{
  "code": 404,
  "message": "No elements found with UUID: 513250009+WRED-PROFILE-01.b"
}