Remove old web resources pointing to Titan API
Change-Id: Ib613686221e2f128affbbadd99576c45d1541f9f
diff --git a/src/main/java/net/onrc/onos/ofcontroller/core/web/TopoLinksResource.java b/src/main/java/net/onrc/onos/ofcontroller/core/web/TopoLinksResource.java
deleted file mode 100644
index 327c110..0000000
--- a/src/main/java/net/onrc/onos/ofcontroller/core/web/TopoLinksResource.java
+++ /dev/null
@@ -1,20 +0,0 @@
-package net.onrc.onos.ofcontroller.core.web;
-
-import java.util.List;
-import net.floodlightcontroller.routing.Link;
-import net.onrc.onos.ofcontroller.core.internal.TopoLinkServiceImpl;
-
-import org.restlet.resource.Get;
-import org.restlet.resource.ServerResource;
-
-public class TopoLinksResource extends ServerResource {
-
- @Get("json")
- public List<Link> retrieve() {
- TopoLinkServiceImpl impl = new TopoLinkServiceImpl();
-
- List<Link> retval = impl.getActiveLinks();
- return retval;
- }
-
-}
diff --git a/src/main/java/net/onrc/onos/ofcontroller/core/web/TopoSwitchesResource.java b/src/main/java/net/onrc/onos/ofcontroller/core/web/TopoSwitchesResource.java
deleted file mode 100644
index 6d3f161..0000000
--- a/src/main/java/net/onrc/onos/ofcontroller/core/web/TopoSwitchesResource.java
+++ /dev/null
@@ -1,29 +0,0 @@
-package net.onrc.onos.ofcontroller.core.web;
-
-import java.util.Iterator;
-
-import net.onrc.onos.ofcontroller.core.INetMapTopologyObjects.ISwitchObject;
-import net.onrc.onos.ofcontroller.core.internal.TopoSwitchServiceImpl;
-
-import org.restlet.resource.Get;
-import org.restlet.resource.ServerResource;
-
-public class TopoSwitchesResource extends ServerResource {
-
- @Get("json")
- public Iterator<ISwitchObject> retrieve() {
- TopoSwitchServiceImpl impl = new TopoSwitchServiceImpl();
-
- String filter = (String) getRequestAttributes().get("filter");
-
- if (filter.equals("active")) {
- return impl.getActiveSwitches().iterator();
- }
- if (filter.equals("inactive")) {
- return impl.getInactiveSwitches().iterator();
- } else {
- return impl.getAllSwitches().iterator();
- }
- }
-
-}