[CONTROLLER-242] Normalized node structure in restconf Created: 31/Mar/14  Updated: 25/Jul/23  Resolved: 13/May/14

Status: Resolved
Project: controller
Component/s: restconf
Affects Version/s: None
Fix Version/s: None

Type: Improvement
Reporter: Jozef Gloncak Assignee: Jozef Gloncak
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: Windows
Platform: PC


Issue Links:
Blocks
is blocked by CONTROLLER-202 Update Data Broker APIs based on data... Resolved

 Description   

Using new API (normalized node bug500) in restconf

  • add translation from composite node structure to normalized node structure and vice versa (RestConfImpl.java)
  • communicate with new data store (BrokerFacade.java)


 Comments   
Comment by Jozef Gloncak [ 31/Mar/14 ]

Proposed changes:
https://git.opendaylight.org/gerrit/#/c/5755/

Comment by Jozef Gloncak [ 31/Mar/14 ]

Proposed changes:
https://git.opendaylight.org/gerrit/#/c/5755/

Comment by Jozef Gloncak [ 16/Apr/14 ]

On Apr 16, 2014 1:57 PM (GMT+0) was added last patch set 12.

Following questions needs to be responsed:

  • how will be transaction created on mount points? (currently it is supposed that MountInstance interface also implement DOMDataBroker)
  • how should be transaction created in BrokerFacade (currently there is property domDataBroker of type DOMDataBroker which is set through RestconfProvider class
  • how will be additional records inserted to list? I suppose that operation AsyncWriteTransaction.merge should be used (currently isn't implemented)

Curently it should be possible put, post, get data do new datastore but it isn't possible to put and post data which represents records of list (only one record per list is possible)

Comment by Jozef Gloncak [ 07/May/14 ]

The operation merge was implemented so adding of multiple records of list is now possible. Also direct insertion of leaf value is possible (the question is if it is correct behavior and how should be insertion of leaf list handled (ignored?))

current patch set is 14

Comment by Jozef Gloncak [ 13/May/14 ]

Incorrect link. The correct one is
https://git.opendaylight.org/gerrit/#/c/5774/

Generated at Wed Feb 07 19:52:32 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.