BUG-7608: activate action-service element 14/51114/9
authorRobert Varga <nite@hq.sk>
Fri, 27 Jan 2017 12:39:53 +0000 (13:39 +0100)
committerTom Pantelis <tpanteli@brocade.com>
Fri, 3 Feb 2017 14:52:47 +0000 (14:52 +0000)
With downstream users fixed up, we can activate the action-service
element to actually require a promise of instantiation of actions.

Change-Id: I3f87acfd713936a4877822b2f62b5a7d2be46107
Signed-off-by: Robert Varga <rovarga@cisco.com>
opendaylight/blueprint/src/main/java/org/opendaylight/controller/blueprint/ext/ActionServiceMetadata.java

index 768d4c0..a760e69 100644 (file)
@@ -35,8 +35,6 @@ 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;
+        return RpcRoutingStrategy::isContextBasedRouted;
     }
 }