Uploaded image for project: 'VOLTHA'
  1. VOLTHA
  2. VOL-417

proto field names have been changed to camelCase for various attributes in Rest Call

    XMLWordPrintable

    Details

    • Story Points:
      3
    • Sprint:
      VOLTHA Sprint 5

      Description

      proto field names have been changed to camelCase for various attributes in Rest Call.

      I synced the latest code today and when tried various Get calls, observed that proto field names have been changed.
      E.g.
      when checked the status of OLT, admins state field is renamed to "adminState" under response body which used to be earlier "admin_state".

      Response body for OLT status is below for reference:

      {
      "items": [

      Unknown macro: { "id"}

      ,
      {
      "id": "0001633d46127e79",
      "type": "ponsim_onu",
      "root": true,
      "parentId": "000132c52fb38f72",
      "vendor": "ponsim",
      "model": "n/a",
      "vlan": 128,
      "adminState": "ENABLED",
      "operStatus": "ACTIVE",
      "connectStatus": "REACHABLE",
      "proxyAddress":

      Unknown macro: { "deviceId"}

      ,
      "parentPortNo": 1
      },
      {
      "id": "0001119364914d22",
      "type": "ponsim_onu",
      "root": true,
      "parentId": "000132c52fb38f72",
      "vendor": "ponsim",
      "model": "n/a",
      "vlan": 129,
      "adminState": "ENABLED",
      "operStatus": "ACTIVE",
      "connectStatus": "REACHABLE",
      "proxyAddress":

      Unknown macro: { "deviceId"}

      ,
      "parentPortNo": 1
      },
      {
      "id": "00019a306a23ed53",
      "type": "ponsim_onu",
      "root": true,
      "parentId": "000132c52fb38f72",
      "vendor": "ponsim",
      "model": "n/a",
      "vlan": 130,
      "adminState": "ENABLED",
      "operStatus": "ACTIVE",
      "connectStatus": "REACHABLE",
      "proxyAddress":

      Unknown macro: { "deviceId"}

      ,
      "parentPortNo": 1
      },
      {
      "id": "000118f1e221c93c",
      "type": "ponsim_onu",
      "root": true,
      "parentId": "000132c52fb38f72",
      "vendor": "ponsim",
      "model": "n/a",
      "vlan": 131,
      "adminState": "ENABLED",
      "operStatus": "ACTIVE",
      "connectStatus": "REACHABLE",
      "proxyAddress":

      Unknown macro: { "deviceId"}

      ,
      "parentPortNo": 1
      }
      ]
      }

        Attachments

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

          Activity

            People

            Assignee:
            sslobodr Sergio Slobodrian
            Reporter:
            smuthrej Suraj Muthreja
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: