Project

General

Profile

Statistics
| Revision:

# Date Author Comment
9249 07/15/2015 11:07 AM Jing Tao

Use the NodeReference object to replace the replicaStatus to restrict the listObjects method.

9248 07/15/2015 10:44 AM ben leinfelder

[re]register DOI when system metadata is updated (typically access policy). https://projects.ecoinformatics.org/ecoinfo/issues/6796

9247 07/14/2015 04:56 PM Jing Tao

Change the signature of listObject method - remove replicaStatus and add nodeId.

9246 07/14/2015 04:42 PM Jing Tao

Add the code to call cn.synchroinize at the method of updateSystemMetadata.

9219 05/28/2015 01:19 PM Jing Tao

Add the code to roll back the saved system metadata if the object can't be saved.

9200 05/07/2015 06:13 PM Jing Tao

Add the code to check if the client is trying to update an archived object. If it is, reject it.

9192 05/01/2015 04:56 PM Jing Tao

Add a new method -updateSystemMetadata. It only can be called by CNs.

9190 05/01/2015 04:25 PM Jing Tao

Refactory the authorize methods on D1NodeService.
Add the check for whom can call mn.updatesystemMetadata.

9189 05/01/2015 02:59 PM Jing Tao

Committed the change which Andreit did.
1. Add the code for synchronize(not implemented)
2. Add the code for addForm.

9177 04/22/2015 05:01 PM Jing Tao

Created the updateSystemMetadata method.

9176 04/22/2015 03:52 PM Jing Tao

Add the code to check if the current node is the authoritative node for the the given pid.

9175 04/21/2015 02:35 PM Jing Tao

Add the check of permission to update the system metadata.

9170 04/14/2015 02:43 PM Jing Tao

Remove the code to check sid on create and registerSystemMetadata.

9168 04/14/2015 02:29 PM Jing Tao

Fixed a bug that put the detail code in a wrong position.

9166 04/13/2015 06:18 PM Jing Tao

Add the code to check if a user tries to modify an immutable field on system metadata.

9165 04/10/2015 04:19 PM Jing Tao

If an Event object is null in the v1 log entry, we won't add it to the log.

9148 03/09/2015 06:29 PM Jing Tao

Make the REST api work for views.

9146 03/09/2015 05:19 PM Jing Tao

Add the code to support CNView interface in CNodeService. Both CNodeService and MNodeService share the same code base.

9143 03/06/2015 05:29 PM Jing Tao

Transform the ObjectFormat from v2 to v1 in getFormat method.

9131 02/19/2015 02:54 PM Jing Tao

Convert the v2 system metadata object to v1 in the getSystemMetadata method.

9125 02/17/2015 04:01 PM Jing Tao

The setObsoletedBy only handles PID.

9124 02/17/2015 04:00 PM Jing Tao

The method setObsoletedBy only hanldes SID.

9116 02/12/2015 03:32 PM Jing Tao

Add the timestamp for the printing out the start and end of hazelcast synchronization.

9111 02/09/2015 05:38 PM Jing Tao

Call the method lock.lock() immediately after getting the lock. Otherwise, if an exception happened between the two calls (in another word, lock.lock() was called), lock.unlock() can cause an issue:
Current thread is not owner of lock!
See https://redmine.dataone.org/issues/6836.

9093 02/04/2015 04:44 PM Jing Tao

The setReplicationStatus method only supports sid and the setRightsHolder method supports both PID and SID.

9092 02/04/2015 03:10 PM Jing Tao

Add the code transform a sid to a pid in publish, getPackage and view method. Fefer dataONE #6734.

9091 02/04/2015 02:28 PM Jing Tao

Fixed a bug that it should use getReplica rather than get method.

9087 02/03/2015 02:10 PM Jing Tao

The CN.setReplicationPolicy method now only support PIDs. Refer to https://redmine.dataone.org/issues/6734.

9083 02/02/2015 09:50 AM Jing Tao

Went through the v2 ObjectFormatList and convert every v2 ObjectFormat to v1 ObjectFormat and put them into a v1 objectFormatList.

9078 01/27/2015 04:30 PM Jing Tao

Add the log messages to indicate the hazelcast synchronization starting and ending.

9077 01/26/2015 04:52 PM Jing Tao

Add the code to handle sid in the publish method.

9076 01/26/2015 02:42 PM Jing Tao

Add the code to exclude the sid in the view and getPackage.

9074 01/22/2015 05:50 PM Jing Tao

Add a converter to convert the V2 Log object to the V1 Log object.

9073 01/20/2015 02:25 PM Jing Tao

Add the rules to check the if a sid is valid in the updateSystemMetadata method.

9072 01/16/2015 05:59 PM Jing Tao

Implemented the feature to support the identifier(both sid and pid) feature in the objectLists method.

9071 01/16/2015 02:22 PM Jing Tao

The MN.listobjects and CN.listobjects methods will call the one in the D1NodeService class.

9070 01/16/2015 12:29 PM Jing Tao

Add the code to check if the pid is an SID in the registerSystemMetadata method.

9069 01/15/2015 05:36 PM Jing Tao

Add code to check if the sid equals pid for the method checkSidInRegisterSystemMetadata.

9068 01/15/2015 05:27 PM Jing Tao

Moved the rules for the SID from D1NodeService.create to MNodeService.create.
Also moved the code to check the validation of an pid from D1NodeService.create to MNodeService.create, MNodeService.replicate and CNodeService.create.

9067 01/15/2015 04:56 PM Jing Tao

Add the code to check if a sid is legitimate in the method create and registerSystemMetadata.

9066 01/14/2015 05:33 PM Jing Tao

The the code to handle sids on the v2 api - setReplicationPolicy, setReplicationStatus, setAccessPolicy and setObsoletedBy.

9065 01/14/2015 04:57 PM Jing Tao

Add the code to handle if a identifier is a sid in setAccessPolicy, setReplicationPolicy, setObsoletedBy and setRreplicationStatus.

9063 01/07/2015 04:37 PM Jing Tao

Add the code to handle SID in the getLogRecords method.

9062 01/07/2015 04:03 PM Jing Tao

In the getLogRecords method, the pidFilter is checked if it exists.

9061 01/07/2015 04:02 PM Jing Tao

In the getLogRecords method, the pidFilter is checked if it exists.

9059 01/07/2015 12:01 PM Jing Tao

Fixed a bug that the getLogRecords can't handle the case that the event is null.

9057 01/07/2015 12:00 PM Jing Tao

Fixed a bug that the getLogRecords can't handle the case that the event is null.

9056 01/06/2015 03:32 PM Jing Tao

Add the code to check the if the new series id is legitimate in the systemMetadataChanged method.

9051 12/31/2014 03:49 PM Jing Tao

Add the code to support the sereis id on isAuthorized and systemMetadataChanged method.

9050 12/30/2014 04:34 PM Jing Tao

Add the code to handle the sid in the delete and archive method.

9048 12/30/2014 02:09 PM Jing Tao

Fixed a bug in comparing two identifiers in the update method.

9047 12/30/2014 11:04 AM Jing Tao

Add a check that the sid shouldn't equals the pid in the update and create method.

9046 12/29/2014 05:10 PM Jing Tao

Add the code the check if the format of the sid is valid in the system metadata.

9045 12/29/2014 05:06 PM Jing Tao

Add the enforcement for the sid in the create method.

9044 12/29/2014 04:26 PM Jing Tao

Enforce the sid requirement in the update method.

9043 12/29/2014 03:03 PM Jing Tao

Check if the identifier is a sid for the v1 update.

9041 12/29/2014 12:23 PM Jing Tao

Add the code to handle the deleted identifier in the checking v1 system metadata existing method.

9040 12/29/2014 11:42 AM Jing Tao

Enforce the mn.getChecksum only to handle an PID.

9037 12/24/2014 09:47 AM Jing Tao

Implement the series id in the getSystemMetadata method.

9036 12/23/2014 04:53 PM Jing Tao

Looking for sid for the method describe.

9033 12/22/2014 02:31 PM Jing Tao

Refactor the code to check a pid exists in the v1 api.

9032 12/19/2014 04:59 PM Jing Tao

Modified the get method to handle the sid in the v2 api.

9024 12/16/2014 06:50 PM Jing Tao

Fixed a bug that the method getLocalId swallowed an exception incorrectly in the IdentifierManager.

9023 12/12/2014 04:25 PM Jing Tao

Fixed a bug that some service failure exceptions were handled as the NotFound exception.

9017 12/11/2014 03:24 PM Jing Tao

1. In the identifierExists method, the code to check if the identifier exist on the serial-id fields of the system metadata table.
2. Fixed a bug on the identifierExists - it considered an identifier didn't exist when the determining process threw an exception.

8991 11/20/2014 09:00 AM Jing Tao

Fixed a bug that the reindex of data objects may index an archived data object.

8986 11/19/2014 04:59 PM Jing Tao

Fixed a bug that the solr index of data files doesn't reflect the change of access control.

8971 11/17/2014 04:30 PM Jing Tao

Add delete log for data objects on CNs.

8948 10/31/2014 05:36 PM Jing Tao

Write the input stream into the file system without alteration in dataone create and update methods.

8903 10/15/2014 04:34 PM Jing Tao

Added the code to inform users the pid was deleted in the NotFound exception.

8901 10/14/2014 06:11 PM Jing Tao

Added the code to check if a not-found object was deleted in the isAuthorized method.

8887 10/10/2014 02:10 PM Jing Tao

Remove the system metadata for data objects.

8869 09/18/2014 03:12 PM Jing Tao

Persitence the system metadata object in the memory before deleting it from hazelcast.

8850 09/12/2014 03:56 PM Jing Tao

Add the code to delete systemmetadata.

8829 08/06/2014 01:48 PM ben leinfelder

convert v2 SM to v1 SM for the v1 service call response

8826 08/06/2014 01:09 PM ben leinfelder

update to use v2 types for indexing

8811 07/24/2014 10:25 AM ben leinfelder

remove CN.systemMetadataChanged in favor of the CN.updateSystemMetadata method. Otherwise there's no good way to know where to fetch the auth copy from since the SM change might be to switch the authMN!

8810 07/23/2014 04:19 PM ben leinfelder

add support for v2 DataONE API.

8800 05/28/2014 11:49 AM ben leinfelder

Include PDF version of the metadata in the package download. https://projects.ecoinformatics.org/ecoinfo/issues/6053

8795 05/22/2014 01:59 PM ben leinfelder

take advantage of the ezidclient for multi-threaded/asynchronous DOI registration. This will be most useful for doing large batch updates and not so much for the one-at-a-time publish actions but works in either context. https://projects.ecoinformatics.org/ecoinfo/issues/6440

8794 05/21/2014 06:24 PM ben leinfelder

use a member instance of ezid service that only logs in every 24 hours (or other time TBD) instead of every time there is an interaction with the service. Saves us many calls when doing batch updates to ezid but keeps us from trying to use expired sessions. Motivated by https://projects.ecoinformatics.org/ecoinfo/issues/6440

8770 05/12/2014 11:31 AM ben leinfelder

do not set archived=false for all CN.create calls. The CN will use create() even harvesting content that is new to it and needs to handle already-archived content. https://projects.ecoinformatics.org/ecoinfo/issues/6475

8745 04/23/2014 10:19 AM ben leinfelder

correct the ORE lookup query syntax and add junit assertion to check that it continues to function as expected. https://projects.ecoinformatics.org/ecoinfo/issues/6529

8647 02/25/2014 04:14 PM ben leinfelder

recursively submit obsoleted objects for indexing when instructed. https://projects.ecoinformatics.org/ecoinfo/issues/6424

8614 02/19/2014 12:54 PM ben leinfelder

include a few tests for isEqual method. https://projects.ecoinformatics.org/ecoinfo/issues/6407

8610 02/18/2014 02:48 PM Peter Slaughter

Change isEqual to private so it can be used by test suite

8599 02/13/2014 02:08 PM ben leinfelder

add comment (and commented out code) for possibly inspecting the /dirtySysMeta call for archive=true flag. https://projects.ecoinformatics.org/ecoinfo/issues/6417

8595 02/13/2014 11:12 AM Peter Slaughter

call getDescription on cn.setaccesspolicy service failure

8594 02/12/2014 01:56 PM ben leinfelder

make all objects in a package publicly readable when published. https://projects.ecoinformatics.org/ecoinfo/issues/6415

8592 02/11/2014 02:15 PM Peter Slaughter
8591 02/11/2014 01:43 PM ben leinfelder

make all package contents publicly readable when publishing with a DOI. https://projects.ecoinformatics.org/ecoinfo/issues/6415

8590 02/11/2014 01:29 PM Peter Slaughter

Run syncAll in a single thread so admin config UI doesn't freeze

8589 02/11/2014 11:05 AM Chris Jones

Change CnodeService.archive() to no longer broadcast MN.archive() calls to all of the replica MNs of a pid, but rather broadcast MN.systemMetadataChanged().

8585 02/10/2014 11:52 AM ben leinfelder

Couple modifications:
-use "pid" throughout so as not to confuse docids and pids
-ensure any failures in the set do not prevent synching for other pids in the set

8566 02/05/2014 01:55 PM ben leinfelder

do not set sm.archived=true when generating system metadata for objects that come in via the old Metacat API.

8561 02/04/2014 02:25 PM Peter Slaughter

Fixed bug where sync'ing not working when CN had more access rules than MN

8553 02/03/2014 02:52 PM ben leinfelder

can only log events with a valid localId.

8511 01/21/2014 09:58 AM Peter Slaughter

Fixed Exception declaration problem

8510 01/21/2014 08:59 AM Peter Slaughter

minor changes to error msgs

8491 01/12/2014 04:48 PM Peter Slaughter

Sync access policy between mn -> cn in case where metacat native ui being used to update ap on mn