Make sure we compare key members via their property name 53/76653/1
authorRobert Varga <robert.varga@pantheon.tech>
Thu, 4 Oct 2018 15:17:42 +0000 (17:17 +0200)
committerRobert Varga <nite@hq.sk>
Thu, 4 Oct 2018 15:40:05 +0000 (15:40 +0000)
commita1e19889a714901902548430031ab94be63ca655
tree1a4c1aa02df00e4c562729eb70a4de4bb2b63def
parentc7d53e2dc304c59bcbdbb31c936c37e612f6d4a9
Make sure we compare key members via their property name

As it turns out, simple comparison ignoring cases does not correctly
work if the schema is using CamelCase. We need to do the hard work of
deriving Binding property name and sort on that to be consistent with
what the codegen does.

JIRA: MDSAL-355
Change-Id: I34cdb032fbdeb093e2973b91c5011e302e6280bc
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
binding/mdsal-binding-dom-codec/src/main/java/org/opendaylight/mdsal/binding/dom/codec/impl/IdentifiableItemCodec.java
binding/mdsal-binding-dom-codec/src/test/java/org/opendaylight/mdsal/binding/dom/codec/test/InstanceIdentifierTest.java
binding/mdsal-binding-test-model/src/main/yang/mdsal-355.yang [new file with mode: 0644]