Uploaded image for project: 'ONOS'
  1. ONOS
  2. ONOS-4749

GroupKey Interpretaion in REST api

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: 1.5.1, 1.6.0
    • Fix Version/s: 1.6.0, 1.5.2, 1.7.0
    • Component/s: None
    • Labels:
      None
    • Story Points:
      3

      Description

      Create a group using GROUP/POST REST API with appCookie say "appCookie": "1".
      Retrieve the same using GROUP/GET REST API the response received is GroupKey:0x31
      This response received in GET API is not directly usable if one wants to delete the Group using Group/DELETE Rest API. We need to pass the original Key that is used while creating the group.

      The GET api returns the hex chars for 1 which is 0x31 and the GROUP/DELETE API expects "1" and not the hexchars as the value for appCookie.

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            varunsha Varun Sharma
            Reporter:
            varunsha Varun Sharma
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: