Project

General

Profile

Task #611

Refactor MetacatHandler and CrudService to not use ServletContexts in the API

Added by Chad Berkley almost 14 years ago. Updated almost 14 years ago.

Status:
Closed
Priority:
Low
Assignee:
Chad Berkley
Category:
Metacat
Target version:
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 almost 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.

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)