Disallow DOMOperationInstance wildcards 87/74187/2
authorRobert Varga <robert.varga@pantheon.tech>
Wed, 18 Jul 2018 14:29:16 +0000 (16:29 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Wed, 18 Jul 2018 16:57:42 +0000 (18:57 +0200)
Wildcards will complicate service lookup, let's postpone that to
when we actually need the capability.

JIRA: MDSAL-283
Change-Id: I445fd150424f41d242d7dca6875fe012e3c7891e
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
dom/mdsal-dom-api/src/main/java/org/opendaylight/mdsal/dom/api/DOMOperationImplementation.java
dom/mdsal-dom-api/src/main/java/org/opendaylight/mdsal/dom/api/DOMOperationInstance.java

index 19f4cc233233f8a6720123f0e120ed4300f49d17..fd8224e30fbf2e725ebf2a99f6489402cad5fbb6 100644 (file)
@@ -30,7 +30,7 @@ public interface DOMOperationImplementation {
     @FunctionalInterface
     interface Action extends DOMOperationImplementation {
         /**
-         * Initiate invocation of the RPC. Implementations of this method are expected to not block.
+         * Initiate invocation of the action. Implementations of this method are expected to not block.
          *
          * @param type SchemaPath of the action to be invoked. This path refers to an effective action instantiated on
          *             top of the conceptual {@link StoreTreeNode}.
index c163aa9c88d389b6cb9fff8021f00e651895da58..a2290d554ec9a4005c5d6addec1fdd957f3d9427 100644 (file)
@@ -39,8 +39,8 @@ public abstract class DOMOperationInstance<T> implements Immutable {
         }
 
         /**
-         * Return the set of data trees on which this action is available. Note that
-         * {@link DOMDataTreeIdentifier#getRootIdentifier()} may be a wildcard.
+         * Return the set of data trees on which this action is available. These identifiers are required to point
+         * to concrete items, i.e. they may not be wildcards.
          *
          * @return Set of trees on which this action is available.
          */