Merging in REST interface implementation that was created by Serhan Akin. Main change is a refactored MetaCatServlet.java class, in which all of the handle* methods were moved into a separate MetacatHandler.java class. This allows both the standard MetaCatServlet and the new RestServlet to both call the MetacatHandler.handle* methods as needed. This is a basic port of Akin's work without any major changes to his design or architecture. One major difference is that the ResourceHandler.query() method has been essentially disabled because it relied on EcoGrid classes which would have generated a circular dependency between EcoGrid and Metacat. See the comments in ResourceHandler describing these issues. Until the circularities are resolved, the REST query() method will be disabled.
Merging in REST interface implementation that was created by Serhan Akin. Main change is
a refactored MetaCatServlet.java class, in which all of the handle* methods were moved
into a separate MetacatHandler.java class. This allows both the standard MetaCatServlet
and the new RestServlet to both call the MetacatHandler.handle* methods as needed. This
is a basic port of Akin's work without any major changes to his design or architecture.
One major difference is that the ResourceHandler.query() method has been essentially
disabled because it relied on EcoGrid classes which would have generated a circular
dependency between EcoGrid and Metacat. See the comments in ResourceHandler describing
these issues. Until the circularities are resolved, the REST query() method will
be disabled.