-
Type: Bug
-
Status: Resolved (View Workflow)
-
Priority: Blocker
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: VOLTHA v1.0.0
-
Component/s: Deprecated - VOLTHA
-
Labels:None
-
Story Points:3
-
Sprint:VOLTHA Sprint 5
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": [
,
{
"id": "0001633d46127e79",
"type": "ponsim_onu",
"root": true,
"parentId": "000132c52fb38f72",
"vendor": "ponsim",
"model": "n/a",
"vlan": 128,
"adminState": "ENABLED",
"operStatus": "ACTIVE",
"connectStatus": "REACHABLE",
"proxyAddress":
,
"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":
,
"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":
,
"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":
,
"parentPortNo": 1
}
]
}
# | Subject | Branch | Project | Status | CR | V |
---|---|---|---|---|---|---|
5515,1 | VOL-417 Changes to the proxy config to eliminate the use of camelCase and also to ensure that null/false/0 values are also shown. Also added a fix to enable the health service and the schema service. | master | voltha | Status: MERGED | +2 | +1 |
5525,1 | VOL-417 Part 2 of this fix. Removed the use of the Docker Swarm VIP which from experience isn't as deterministic as managing the round robin externally. | master | voltha | Status: MERGED | +2 | +1 |