BUG-509, BUG-808: Added datastore support for lists without keys. 11/6311/1
authorRobert Varga <rovarga@cisco.com>
Tue, 22 Apr 2014 12:54:04 +0000 (14:54 +0200)
committerRobert Varga <rovarga@cisco.com>
Tue, 22 Apr 2014 13:19:35 +0000 (15:19 +0200)
commit866769acecbabd1c8b24f3f3887349029454ba54
treef80e53c8ad5ab789399428a1c2d73ee119877c4a
parent087b9b41e20ba79113738d82e6bedf15ca2e58d0
BUG-509, BUG-808: Added datastore support for lists without keys.

The datastore needs to support users who do not specify a list key, but
how expect the item ordering to be retained.

Added test which test all three possible behaviours of list
statement: ordered map, unordered map and list without keys.

Change-Id: I9e136267f57a88e4d2a6a4476025c33497373518
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
Signed-off-by: Robert Varga <rovarga@cisco.com>
opendaylight/md-sal/sal-binding-broker/src/test/java/org/opendaylight/controller/sal/binding/test/util/BindingTestContext.java
opendaylight/md-sal/sal-binding-dom-it/pom.xml
opendaylight/md-sal/sal-binding-dom-it/src/main/yang/opendaylight-sal-test-store.yang [new file with mode: 0644]
opendaylight/md-sal/sal-binding-dom-it/src/test/java/org/opendaylight/controller/md/sal/binding/data/ListProcessingAndOrderingTest.java [new file with mode: 0644]
opendaylight/md-sal/sal-common-impl/src/main/java/org/opendaylight/controller/md/sal/common/impl/util/compat/DataNormalizationOperation.java
opendaylight/md-sal/sal-common-impl/src/main/java/org/opendaylight/controller/md/sal/common/impl/util/compat/DataNormalizer.java
opendaylight/md-sal/sal-dom-broker/src/main/java/org/opendaylight/controller/md/sal/dom/store/impl/SchemaAwareApplyOperation.java