Implement Intent Manager Runtime
- Implement both IntentService and IntentExtensionService
This resolves ONOS-1888
Limitation:
- Only consider single level pass intent compilation to make SDN-IP workable.
Should implement compilation traversing tree structure later.
- execute() is not implemented. It throws UnsupportedOperationException.
- destroy() is only for testing. It is a workaround for Hazelcast unit testing
issue that we can't shutdown Hazelcast.
Change-Id: I7ce950339e0aa87d38c458f921b935884a8b77d2
diff --git a/src/test/java/net/onrc/onos/api/newintent/TestableIntentService.java b/src/test/java/net/onrc/onos/api/newintent/TestableIntentService.java
index 27921de..ea1b187 100644
--- a/src/test/java/net/onrc/onos/api/newintent/TestableIntentService.java
+++ b/src/test/java/net/onrc/onos/api/newintent/TestableIntentService.java
@@ -1,11 +1,13 @@
package net.onrc.onos.api.newintent;
+import net.onrc.onos.core.newintent.IntentManager;
+
import java.util.List;
/**
* Abstraction of an extensible intent service enabled for unit tests.
*/
-public interface TestableIntentService extends IntentService, IntentExtensionService {
+public interface TestableIntentService extends IntentManager {
List<IntentException> getExceptions();