Change transformation from DOMRpcResult to RpcResult 88/69688/2
authorPeter Nosal <peter.nosal@pantheon.tech>
Mon, 19 Mar 2018 07:57:29 +0000 (08:57 +0100)
committerRobert Varga <nite@hq.sk>
Tue, 20 Mar 2018 16:42:46 +0000 (16:42 +0000)
commitc959eb2d21cab060aeeeba211ed657cdd344a968
treec979fdcb3a8ddbe24138811210cbf677b9c31030
parent9086c8fc6078564b390a3416166676a5a0c85610
Change transformation from DOMRpcResult to RpcResult

When RpcResult was created, it was always as successful RpcResult,
this is changed so in presence of RpcErrors, RcpResult is build as
failed RpcResult with RpcErrors and binding result.

Change-Id: Ibb74e5f5675e33e0103d1a7d4962176bb320fce3
Signed-off-by: Peter Nosal <peter.nosal@pantheon.tech>
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit fd643adb6b413aac90c4f5a23874beeee486f257)
opendaylight/md-sal/sal-binding-broker/src/main/java/org/opendaylight/controller/md/sal/binding/impl/RpcServiceAdapter.java

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.