summaryrefslogtreecommitdiffstats
path: root/infra/impl/src/main/java
diff options
context:
space:
mode:
authorMarek Gradzki <mgradzki@cisco.com>2016-12-11 17:25:23 +0100
committerMarek Gradzki <mgradzki@cisco.com>2016-12-13 13:34:59 +0100
commitac0409a9987fdf6440665f03aa1ad2c2466dad28 (patch)
tree9487a7aca60805504ec59e3dee6db5c7c6d3c1a9 /infra/impl/src/main/java
parent8be1783be737e79fbcb7e4377b920959cf1f7198 (diff)
HONEYCOMB-151: Rpc supportv1.17.01-RC0
Change-Id: Iccffe5412b4bb06b606b66f7c0e7ebd601d5a7d1 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Diffstat (limited to 'infra/impl/src/main/java')
-rw-r--r--infra/impl/src/main/java/io/fd/honeycomb/impl/NorthboundFacadeHoneycombDOMBroker.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/infra/impl/src/main/java/io/fd/honeycomb/impl/NorthboundFacadeHoneycombDOMBroker.java b/infra/impl/src/main/java/io/fd/honeycomb/impl/NorthboundFacadeHoneycombDOMBroker.java
index d49741797..ebf0e6ed2 100644
--- a/infra/impl/src/main/java/io/fd/honeycomb/impl/NorthboundFacadeHoneycombDOMBroker.java
+++ b/infra/impl/src/main/java/io/fd/honeycomb/impl/NorthboundFacadeHoneycombDOMBroker.java
@@ -51,21 +51,21 @@ import org.osgi.framework.BundleContext;
*/
public class NorthboundFacadeHoneycombDOMBroker implements AutoCloseable, Broker {
- private static final BrokerService EMPTY_DOM_RPC_SERVICE = new EmptyDomRpcService();
private static final BrokerService EMPTY_DOM_MOUNT_SERVICE = new EmptyDomMountService();
private Map<Class<? extends BrokerService>, BrokerService> services;
public NorthboundFacadeHoneycombDOMBroker(@Nonnull final DOMDataBroker domDataBrokerDependency,
@Nonnull final SchemaService schemaBiService,
- @Nonnull final DOMNotificationService domNotificatioNService) {
+ @Nonnull final DOMNotificationService domNotificatioNService,
+ @Nonnull final DOMRpcService domRpcService) {
services = Maps.newHashMap();
services.put(DOMDataBroker.class, domDataBrokerDependency);
services.put(SchemaService.class, schemaBiService);
services.put(DOMNotificationService.class, domNotificatioNService);
services.put(DOMNotificationPublishService.class, domNotificatioNService);
- // All services below are required to be present by Restconf northbound even if not used
- services.put(DOMRpcService.class, EMPTY_DOM_RPC_SERVICE);
+ services.put(DOMRpcService.class, domRpcService);
+ // Required to be present by Restconf northbound even if not used:
services.put(DOMMountPointService.class, EMPTY_DOM_MOUNT_SERVICE);
}