[CONTROLLER-73] RestConf returns full class name for identity item Created: 01/Dec/13  Updated: 25/Jul/23  Resolved: 10/Dec/13

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

Type: Bug
Reporter: Anil Vishnoi Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: PC


External issue ID: 200

 Description   

I modeled following model using identity

identity group-type

{ description "Base identity for all the available group types"; }

identity group-all

{ base group-type; description "All (multicast/broadcast) group"; }

grouping group-features {

leaf-list group-types-supported {
type identityref

{ base group-type; }

}
}

When i fetch these group-features through RestConf, it shows me full class name with package string as follows

<group-types-supported>class org.opendaylight.yang.gen.v1.urn.opendaylight.group.types.rev131018.GroupAll</group-types-supported>



 Comments   
Comment by Tony Tkacik [ 10/Dec/13 ]

Fixed in master.
The Mapping Service in sal-binding-broker-impl incorectly serialized identities
to xml and datastore.

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