Project

General

Profile

  • svn:keywords: Author, Date, RCSfile

# Date Author Comment
6397 09/07/2011 05:16 PM ben leinfelder

changes for schema update (d1_common)

6394 09/06/2011 11:55 AM ben leinfelder

use InvalidRequest when the PID is not found. https://redmine.dataone.org/issues/1768

6391 09/02/2011 01:57 PM ben leinfelder

use Permission.REPLICATE not EXECUTE

6390 09/02/2011 01:41 PM ben leinfelder

check with the CN if replication is allowed for the object in question for getReplica()

6389 09/02/2011 12:45 PM ben leinfelder

add getReplica() implementation. same as get() but with different logging. seems silly, but maybe I missed something important that distinguishes this method.

6384 08/31/2011 02:36 PM Chris Jones

Update classes to use the DataONE 0.6.4 schema and types. Major changes involve using BigInteger vs long in SystemMetadata.size, and using ObjectFormatIdentifier rather than Object format.

6382 08/10/2011 04:24 PM Chris Jones

Insert system metadata after the data object is inserted.

6376 07/29/2011 08:14 AM Chris Jones

Update the d1 common java jar to include the changes to BaseException, and update MNodeService.synchronizationFailed() to use the BaseException.getNodeId() method to report which node the exception came from.

6373 07/28/2011 11:10 AM ben leinfelder

use correct enum method

6371 07/28/2011 10:50 AM ben leinfelder

refactor Constants

6367 07/28/2011 10:10 AM ben leinfelder

remove ServiceTypeUtil - replace with TypeMarshaller

6366 07/27/2011 04:25 PM ben leinfelder

use new "v1" types from DataONE

6354 07/19/2011 08:09 AM Chris Jones

Return the new pid (not the obsoleted pid) on update(), and set the correct system metadata.

6351 07/14/2011 09:25 PM Chris Jones

In MNodeService.getCapabilities(), update the properties to match those in metacat.properties. Flesh out the NodeHealth object, adding NodeState, Ping, and Status information. Flesh out the Synchronization object information, but for now, use mock values. TODO: This should be determined from configuration and on-the-fly information.

6347 07/14/2011 02:25 PM Chris Jones

In MNodeService.getCapabilities(), set the synchronization and replication properties of the node.

6345 07/14/2011 02:06 PM Chris Jones

In MNodeService.getCapabilities(), set the serviceAvailable for each service supported.

6343 07/14/2011 01:20 PM Chris Jones

In MNodeService.getCapabilities(), set the serviceVersion for each service supported.

6341 07/14/2011 09:15 AM ben leinfelder

check reservation before create/update

6340 07/14/2011 01:52 AM Chris Jones

Use D1 properties to set node values, and add the 'WAR VERSION' back into the node name for deployments.

6337 07/12/2011 03:02 PM ben leinfelder

use objectFormatIdentifier for listObjects()
remove provisional system metadata indicator - Metacat will not implement reserveIdentifier()

6334 07/11/2011 11:46 AM ben leinfelder

consistently construct username/groups for MetacatHandler calls - also consistently call isAuthorized

6332 07/08/2011 04:48 PM ben leinfelder

provisional replicate() implementation -- does not check if the session's subject is "allowed" to do this.
the test also requires 2 servers -- right now it attempts to replicate with itself which will fail because of duplicate IDs

6331 07/08/2011 04:05 PM ben leinfelder

provisional version of getOperationStatistics() -- not clear if we are meant to aggregate by hour or by day

6330 07/08/2011 03:06 PM ben leinfelder

provisional getCapabilities() implementation. Much of the synchronization information and node health is omitted.

6310 07/07/2011 11:05 AM Chris Jones

Fix a NullPointerException issue when the SubjectList in a Session is null.

6300 07/06/2011 11:52 AM ben leinfelder

catch exceptions from system meta data query and throw service failure rather than swallowing them with an error msg

6298 07/06/2011 08:13 AM Chris Jones

Update getOperationStatistics() to reflect the change in the signature, using ObjectFormatIdentifier instead of ObjectFormat.

6288 07/05/2011 12:33 PM Chris Jones

Use 'synchronization_failed' for the event string in synchronizationFailed(), and add a TODO to use the event enum when the 0.6.3 types are updated.

6261 06/30/2011 06:39 AM Chris Jones

Add placeholder NotImplemented exceptions for getOperationsStatistics() and getCapabilities() in MNodeService.

6260 06/30/2011 06:13 AM Chris Jones

Implement MNCore.ping() by testing for a successful database connection.

6259 06/29/2011 11:16 PM Chris Jones

Minor housekeeping - tabs to spaces.

6258 06/29/2011 11:15 PM Chris Jones

Implement update() in MNodeService. Handle both XML science metadata updates and data object updates. Keep system metadata up to date, and log the update event.

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.

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.

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.

6230 06/28/2011 08:48 AM Chris Jones

Implement MNRead.listObjects() in MNodeService.

6229 06/28/2011 08:42 AM Chris Jones

Implement MNRead.describe() in MNodeService.

6228 06/28/2011 08:31 AM Chris Jones

Implement MNRead.getChecksum() in MNodeService.

6213 06/27/2011 10:28 AM Chris Jones

Remove isAuthorized(), setAccessPolicy(), and getLogRecords() methods since they're implemented in the superclass.

6185 06/23/2011 01:54 PM ben leinfelder

include latest D1 common/lib changes

6179 06/22/2011 11:03 AM Chris Jones

Initial check in of the MNodeService stub methods that implement the D1 MN* interfaces. CrudService methods will be transitioned into this class. The methods follow the D1 0.6.2 API thus far.

Also changed CNodeService to reflect minor changes to the D1NodeService class.