Removed uncessary calls to RpcBroker to find routes.
Moved invokeRpc part to RemoteRpcImplementation
which allowed to do ask for lookups in RemoteRpcImplementation.
This changed role of RpcBroker part to only delegate
to MD-SAL, if RPC was received via Akka.
remote.rpc.RpcBroker interaction model represented
multi-stepped pipeline which resulted in following
message pattern
RemoteRpcImplementaion ->
RpcBroker#InvokeRpc ->
RpcRegistry#FindRoutes ->
RpcBroker#ExecuteRpc
InvokeRpc only did lookup in FindRoutes and all
outgoing messages needed to pass via RpcBroker.
Unfortunatelly this also prevented lookup
of any RPC Path during executing RPC in MD-SAL.
Change-Id: I6e84bfcb74b71f7417c2d3f8c35a7f8b0406caf9
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
13 files changed: