Removed broken intent API.
- Fails with NPE when {category} is not specified.
See IntentResource.retrieve()
Change-Id: Ib07aeefaa8f2b6c07c22b1dcdbbe2a18db6c46df
diff --git a/src/main/java/net/onrc/onos/core/datagrid/web/DatagridWebRoutable.java b/src/main/java/net/onrc/onos/core/datagrid/web/DatagridWebRoutable.java
index 90fad3a..c59cd87 100755
--- a/src/main/java/net/onrc/onos/core/datagrid/web/DatagridWebRoutable.java
+++ b/src/main/java/net/onrc/onos/core/datagrid/web/DatagridWebRoutable.java
@@ -17,7 +17,6 @@
public Restlet getRestlet(Context context) {
Router router = new Router(context);
router.attach("/add/intents/json", IntentResource.class);
- router.attach("/get/intents/json", IntentResource.class);
router.attach("/get/intent/{intent_id}/json", IntentResource.class);
router.attach("/get/ng-events/json", GetNGEventsResource.class);
router.attach("/get/ng-flows/summary/json", GetNGFlowsSummaryResource.class);