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 768d4c00742ce42b6f8bf2637670047c2d7912fc..a760e69be5d3471c109eeb900993bcdafa8b2e59 100644 (file)
@@ -35,8 +35,6 @@ final class ActionServiceMetadata extends AbstractInvokableServiceMetadata {
 
     @Override
     Predicate<RpcRoutingStrategy> rpcFilter() {
 
     @Override
     Predicate<RpcRoutingStrategy> rpcFilter() {
-        // FIXME: BUG-7608: action-service is a no-op for now
-        // return RpcRoutingStrategy::isContextBasedRouted;
-        return (strategy) -> false;
+        return RpcRoutingStrategy::isContextBasedRouted;
     }
 }
     }
 }