Project

General

Profile

Statistics
| Revision:

# Date Author Comment
9131 02/19/2015 02:54 PM Jing Tao

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

9128 02/18/2015 05:22 PM Jing Tao

Use the log to the replace system.out.print.

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.

9123 02/17/2015 02:41 PM Jing Tao

Added the code to handle put method in meta url. See bug https://projects.ecoinformatics.org/ecoinfo/issues/6666

9122 02/17/2015 02:40 PM Jing Tao

Add the code to handle the PUT method for meta url. See https://projects.ecoinformatics.org/ecoinfo/issues/6666.

9119 02/13/2015 04:37 PM Jing Tao

Add the code to get the head version.

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.

9107 02/06/2015 04:46 PM Jing Tao

Add a cap to only write 512 characters of the user-agent to db.

9099 02/06/2015 12:10 PM Matt Jones

Modify v1 and v2 calls to MultipartRequestResolver to use MAX_UPLOAD_SIZE from configuration.

9098 02/06/2015 11:55 AM Jing Tao

The constrcutor of EventLogData missed the user-agent field. So the user-agent wasn't recorded.
The bug was fixed.

9096 02/06/2015 09:21 AM ben leinfelder

organize imports. move exception-throwing method call into try block.

9095 02/06/2015 09:15 AM ben leinfelder

use HttpMultipartRestClient since the DefaultHttpMultipartRestClient was removed from d1_libclient_java

9094 02/06/2015 01:16 AM Matt Jones

Updated D1ResourceHandler to not hardcode a file size limit. This will allow
large, multi-gigabyte files to be uploaded, but still needs testing. The limit
is now drawn from the metacat.properties file. An alternative would be to inspect
the Content-Length header of the request and set the max to a value greater than the...

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.

9064 01/07/2015 04:52 PM Jing Tao

Comment out a print of an error message. It will show up for every public request.

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.

9038 12/24/2014 11:41 AM Jing Tao

Add the series id to the system metadata.

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.

9030 12/19/2014 03:10 PM Jing Tao

Change a method name to use pid rather than guid.

9026 12/17/2014 04:57 PM Jing Tao

Add the code to get the most recent version of a sid which all pids are obsoleted.

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.

9016 12/10/2014 04:33 PM Jing Tao

Add a method to check if a serial id exists.

9015 12/09/2014 05:03 PM Jing Tao

Add a method to get the pid of the head version of a sid.

9014 12/09/2014 01:10 PM ben leinfelder

add Annotator Store implementation -- pass through to D1 API for the AnnotatorJS API

9009 12/02/2014 02:08 PM ben leinfelder

include person's full name in the JWT returned from /token

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.

8983 11/19/2014 12:52 PM ben leinfelder

[merge from 2.4 branch] use solr schema upgrader for 2.4.2 release -- need to replace the solr schema to include geohash fields

8977 11/19/2014 12:17 PM ben leinfelder

remove AnnotatorService completely - was moved to cn-index-processor

8972 11/17/2014 09:29 PM ben leinfelder

let metacat-index lookup annotations for indexing rather than the metacat "reindex" action.

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

Add delete log for data objects on CNs.

8964 11/14/2014 11:20 AM ben leinfelder

only index non-empty comment text

8963 11/14/2014 11:13 AM ben leinfelder

index both tags and text from annotateit.org

8961 11/13/2014 05:59 PM ben leinfelder

query by consumerKey until the pid search facets are fully supported on annotateit.org

8959 11/10/2014 02:22 PM Jing Tao

During the replication, the remote content will be saved without alteration.

8953 11/05/2014 01:42 PM ben leinfelder

allow per-document reindexing to be initiated by any user (to support third-party annotations)

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.

8946 10/31/2014 05:09 PM ben leinfelder

look up annotations when reindexing a given pid. still very much a prototype in that we are looking up annotations from an external annotator-store. TODO: add pid filtering to query when annotateit.org supports it (pending upgrade on their site).

8910 10/17/2014 05:02 PM ben leinfelder

use http://tools.ietf.org/rfc/rfc3023 spec for conformsTo property. use the full xpath for EML dataTable and attribute selectors

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.

8899 10/14/2014 06:01 PM Jing Tao

Move the code to get the object in front of the method to get the system metadata.

8896 10/14/2014 01:44 PM Jing Tao

Add a utility method for determine if there is a delete event for a given id.

8889 10/10/2014 02:16 PM Jing Tao

Removed the method which had the byte array attribute.

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

Remove the system metadata for data objects.

8884 10/10/2014 02:01 PM Jing Tao

change the way to delete the solr index of a resource map.

8874 09/23/2014 06:27 PM ben leinfelder

add /token endpoint for annotatorJS/annotateIt.org integration. https://github.com/DataONEorg/sem-prov-design/issues/18

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

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

8866 09/16/2014 05:18 PM Jing Tao

Add the code to handle the delete of the resource map.

8854 09/12/2014 04:17 PM Jing Tao

Make the delete method work.

8852 09/12/2014 04:03 PM Jing Tao

Make the deleteSystemmetadata method really roll-backable.

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

Add the code to delete systemmetadata.

8842 08/22/2014 05:50 PM Jing Tao

Add a code to check if the pathquery engine is enabled in the checkIndexPaths method.

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.

8802 05/29/2014 02:53 PM ben leinfelder

remove dependency on HttpMessage that was in the utilities project but is now removed in favor of newer (standard) http client library code.

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