Task #611
Refactor MetacatHandler and CrudService to not use ServletContexts in the API
Start date:
Due date:
% Done:
100%
Milestone:
None
Product Version:
*
Story Points:
Sprint:
Description
Need to fix metacat so that CrudService can be instantiated as a singleton without having to pass in Servlet parameters.
History
#1 Updated by Chad Berkley over 14 years ago
- Status changed from New to Closed
CrudService is now a singleton. Several of the methods in MetacatHandler still return xml, but they can be pretty easily changed now to throw exceptions and return data structures instead of xml.
I also wrote a test for CrudService. Right now it only includes a create() test, but will soon test all functions in CrudService.