Bug 4713: Handle "missing-element" in RESTCONF. 63/30563/1
authorShigeru Yasuda <s-yasuda@da.jp.nec.com>
Thu, 3 Dec 2015 16:02:56 +0000 (01:02 +0900)
committerShigeru Yasuda <s-yasuda@da.jp.nec.com>
Thu, 3 Dec 2015 16:02:56 +0000 (01:02 +0900)
commita6f1b323ee28cd7097c0fbcbdecbcb455b464dc1
tree6cef6e3d3eb566ff2c604996d603a1c54504f591
parentf6552066693132912c7db13092509f8404120e73
Bug 4713: Handle "missing-element" in RESTCONF.

RESTCONF should return HTTP status 400 (Bad Request) if "missing-element"
is found in RPC error tag.

Change-Id: Iaca7d219b656e86f43f1a7f297ea3c10d24ed410
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
opendaylight/restconf/sal-rest-connector/src/main/java/org/opendaylight/netconf/sal/restconf/impl/RestconfError.java
opendaylight/restconf/sal-rest-connector/src/test/java/org/opendaylight/controller/sal/restconf/impl/test/RestconfErrorTest.java