Bug 2983: Added support for creation of multiple list entries 16/19016/2
authorTony Tkacik <ttkacik@cisco.com>
Fri, 24 Apr 2015 12:59:07 +0000 (14:59 +0200)
committerTony Tkacik <ttkacik@cisco.com>
Fri, 24 Apr 2015 20:39:23 +0000 (20:39 +0000)
commit12df4c8c678ce58aa0f82c34d0ce8e6cccc15dca
tree0742649df7c87d944d8b05627708509a5d46a6ed
parent603baa2273b749a0e835489dd5268138e8cc2de2
Bug 2983: Added support for creation of multiple list entries

JSON payload for POST allows user to specify multiple list
entries to be created. This resulted in confusing behaviour
where only one entry was allowed.

Updated RESTCONF to allow multiple entry creation via POST
for lists only.

Change-Id: I7dc11098676d4e761e1b31a0504f3e5af75157f3
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
opendaylight/md-sal/sal-rest-connector/src/main/java/org/opendaylight/controller/sal/rest/impl/JsonNormalizedNodeBodyReader.java
opendaylight/md-sal/sal-rest-connector/src/main/java/org/opendaylight/controller/sal/restconf/impl/BrokerFacade.java
opendaylight/md-sal/sal-rest-connector/src/test/java/org/opendaylight/controller/sal/restconf/impl/test/BrokerFacadeTest.java