Project

General

Profile

Statistics
| Revision:
Name Size Revision Age Author Comment
CNodeService.java 21.5 KB 6254 almost 13 years Chris Jones At Ben's suggestion, add metacatUrl to D1NodeSe...
CrudService.java 71.1 KB 6108 almost 13 years ben leinfelder read and write D1 access policy rules from meta...
D1NodeService.java 33.6 KB 6254 almost 13 years Chris Jones At Ben's suggestion, add metacatUrl to D1NodeSe...
HealthService.java 4.13 KB 5770 over 13 years berkley implemented health api
MNodeService.java 18.8 KB 6254 almost 13 years Chris Jones At Ben's suggestion, add metacatUrl to D1NodeSe...
MetadataTypeRegister.java 2.83 KB 5549 over 13 years berkley commented out a println
ObjectFormatService.java 7.37 KB 6187 almost 13 years ben leinfelder implement object format methods - using a separ...
SystemMetadataManager.java 1.62 KB 6099 almost 13 years ben leinfelder -remove system metadata guid -> local id mappin...

Latest revisions

# Date Author Comment
6254 06/29/2011 05:50 PM Chris Jones

At Ben's suggestion, add metacatUrl to D1NodeService and make it available to subclasses. Set the metacatUrl in the constructor using SystemUtil rather than all roll your own PropertyService calls. More concise. Also, log the delete event in MNodeService.delete().

6251 06/29/2011 05:07 PM Chris Jones

throw NotAllowed in MNodeService.delete() when isAuthorized() returns false.

6250 06/29/2011 04:59 PM Chris Jones

Implement the MNStorage.delete() MNodeService. There is debate about what permissions are needed to 'delete' an object (archive it in metacat terms): D1 'WRITE' (metacat 'write') or D1 CHANGE_PERMISSION (metacat 'all'). For now we are using CHANGE_PERMISSION until it is ironed out.

6245 06/29/2011 12:35 PM ben leinfelder

isAuthorized: check for nulls in Session subjects, catch any unexpected errors and deny access when in doubt

6242 06/29/2011 12:09 PM Chris Jones

Remove setParamsFromRequest() from D1NodeService. This was called (previously as CrudService) from ResourceHandler, but will be deprecated in favor of manually creating a param map for each method that needs to pass params on to MetacatHandler.

6241 06/29/2011 08:44 AM Chris Jones

Implement [MN|CN]Storage.create() in D1NodeService. Since MetacatHandler requires an IP for event logging, we pass in the metacat URL (hold over from CrudService). To do this in the abstract D1NodeService, change the constructors to take metacatUrl as a parameter and get the URL from the metacat properties file in getInstance() of the subclasses. Needs testing.

6239 06/28/2011 04:48 PM ben leinfelder

include URL in resolve() method as well as placeholder for preference

6235 06/28/2011 01:46 PM ben leinfelder

Metacat does not implement CNRegister

6234 06/28/2011 11:41 AM Chris Jones

Implement CNRead.synchronizationFailed() in MNodeService. Note: The CN URL is not yet available in the SynchronizationFailed exception, but will be once the d1_common_java exception is updated. See https://redmine.dataone.org/issues/1656. Once updated, change this method to explicitly state the CN URL making the call.

6233 06/28/2011 11:18 AM Chris Jones

Change Metacathandler.read() to be public since it's internal to Metacat, and use read() in D1NodeService after isAuthorized() for the calling Subject from the Session object.

View revisions

Also available in: Atom