Updating Intent Manager to deal with failures.
Added ids to Flow batch futures.
Adding some basic unit tests for IntentManger
Adding failedIds to the completedOperation in FlowRuleManager
Change-Id: I7645cead193299f70d319d254cd1e82d96909e7b
diff --git a/core/api/src/main/java/org/onlab/onos/net/intent/IntentBatchService.java b/core/api/src/main/java/org/onlab/onos/net/intent/IntentBatchService.java
index 37a1d4a..0364ad7 100644
--- a/core/api/src/main/java/org/onlab/onos/net/intent/IntentBatchService.java
+++ b/core/api/src/main/java/org/onlab/onos/net/intent/IntentBatchService.java
@@ -37,10 +37,16 @@
void removeIntentOperations(IntentOperations operations);
/**
- * Returns the set of intent batches currently being tracked.
+ * Returns the set of intent batches that are pending.
* @return set of batches
*/
- Set<IntentOperations> getIntentOperations();
+ Set<IntentOperations> getPendingOperations();
+
+ /**
+ * Returns the set of intent batches currently being processed.
+ * @return set of batches
+ */
+ Set<IntentOperations> getCurrentOperations();
/**
* Sets the batch service delegate.