*/
package org.opendaylight.controller.blueprint.ext;
+import java.util.Objects;
import java.util.function.Predicate;
-import org.opendaylight.controller.md.sal.dom.api.DOMRpcService;
-import org.opendaylight.controller.md.sal.dom.broker.spi.rpc.RpcRoutingStrategy;
+import org.opendaylight.mdsal.dom.api.DOMRpcService;
+import org.opendaylight.mdsal.dom.spi.ContentRoutedRpcContext;
/**
* Factory metadata corresponding to the "action-service" element. It waits for a DOM promise of registration
* to appear in the {@link DOMRpcService} and then acquires a dynamic proxy via RpcProviderRegistry.
- *
- * @author Robert Varga
*/
final class ActionServiceMetadata extends AbstractInvokableServiceMetadata {
/*
}
@Override
- Predicate<RpcRoutingStrategy> rpcFilter() {
- // FIXME: BUG-7608: action-service is a no-op for now
- // return RpcRoutingStrategy::isContextBasedRouted;
- return (strategy) -> false;
+ Predicate<ContentRoutedRpcContext> rpcFilter() {
+ return Objects::nonNull;
}
}