Integrate getRpcMethodToSchema() into constructor 30/103330/2
authorRobert Varga <robert.varga@pantheon.tech>
Wed, 23 Nov 2022 14:36:34 +0000 (15:36 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Thu, 24 Nov 2022 14:35:58 +0000 (15:35 +0100)
commit137278f590237862ed2c02ed23d6524eb15ca0a7
tree3d7a55561efa91ff5860556b1003c56e23964f62
parent1366c55dcdfba3248d1c62ecb221a3b0c325fc99
Integrate getRpcMethodToSchema() into constructor

We are creating an intermediate map here, only to re-examine it in a
second pass. Integrate the method and create rpcNames in a single pass.
This gives us a more direct conduit to RpcInvocationStrategy.

JIRA: MDSAL-777
Change-Id: I63c6a6d108e9336fcca56343652b9695ae3d4992
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
binding/mdsal-binding-dom-adapter/src/main/java/org/opendaylight/mdsal/binding/dom/adapter/RpcServiceAdapter.java