BUG 3015 - restconf: Un-helpful error message presented when no service 95/31695/1
authorTomas Cere <tcere@cisco.com>
Mon, 21 Dec 2015 12:51:37 +0000 (13:51 +0100)
committerTomas Cere <tcere@cisco.com>
Mon, 21 Dec 2015 13:09:03 +0000 (14:09 +0100)
commit42329b124753c7cf3d32a6b8a30515e7e349180d
treeba5a22cfa35d1125ef33027c4fbc4a77e3d2fb17
parentfdf327c4c156d41b6a38c933d721d0475b1d04a0
BUG 3015 - restconf: Un-helpful error message presented when no service
provider is there to handle the RPC call.

* added catch in checkRpcResponse when cause of error is unimplemented
rpc service

port of :
https://git.opendaylight.org/gerrit/#/c/23277/2

Change-Id: I12a457bf948bf13040c41e393284e0748b1bcaed
Signed-off-by: Tomas Cere <tcere@cisco.com>
opendaylight/restconf/sal-rest-connector/src/main/java/org/opendaylight/netconf/sal/restconf/impl/RestconfImpl.java
opendaylight/restconf/sal-rest-connector/src/test/java/org/opendaylight/controller/sal/restconf/impl/test/InvokeRpcMethodTest.java