Project

General

Profile

Statistics
| Revision:
  • svn:ignore: build
  • svn:mergeinfo: /branches/D1_0_6_2_BRANCH:6107-6121

# Date Author Comment
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.

9108 02/06/2015 04:47 PM Jing Tao

Add the code to test only 512 characters can be written to db.

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

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

9105 02/06/2015 03:46 PM Jing Tao

Add the code to make sure that the event, ip address, principal and userAgent were recorded.

9104 02/06/2015 03:23 PM Jing Tao

Handle the IOException which was added to MockCNode constructor.

9103 02/06/2015 03:22 PM Jing Tao

Change the constructor's signature since the super class - MultipartDCNode was changed.

9100 02/06/2015 12:23 PM Matt Jones

Add comments explaining limits on max_upload_size property.

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.

9097 02/06/2015 11:12 AM Matt Jones

Lower the file size limit to deal with max size of Integer issue.

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.

9090 02/04/2015 09:47 AM Jing Tao

Add the option -h for tar command in order to follow the link.

9089 02/03/2015 05:48 PM Jing Tao

Add the test case 18. Refer https://redmine.dataone.org/issues/6734.

9088 02/03/2015 02:32 PM Jing Tao

Add two more test cases. Refer https://redmine.dataone.org/issues/6734.

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.

9086 02/02/2015 02:58 PM Jing Tao

Used the new concept - end to determine the head object of an SID chain.

9085 02/02/2015 01:52 PM Jing Tao

Add the case 15 refrence the page https://epad.dataone.org/pad/p/201501-MaintenanceStandup.

9084 02/02/2015 10:28 AM Jing Tao

Add more test cases from the page https://epad.dataone.org/pad/p/201501-MaintenanceStandup

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.

9082 01/30/2015 04:37 PM Jing Tao

Added the more test cases to get the head version of a SID.
See https://epad.dataone.org/pad/p/201501-MaintenanceStandup

9081 01/29/2015 05:14 PM Jing Tao

Added a test case and fixed a bug.

9080 01/29/2015 04:32 PM Jing Tao

Add the code to check a system metadata having the missing obsolescence field rather than to modify system metadata.

9079 01/28/2015 07:34 PM Jing Tao

Implemented 4 rules to determine the head version of a sid chain.
Add the test case 14 for testing.

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.

9075 01/23/2015 11:29 AM Jing Tao

Add a junit test for the converter.

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.

9060 01/07/2015 12:02 PM ben leinfelder

use new IDocumentDeleteSubprocessors to handle clean-up of annotation index fields when annotations are removed.

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.

9058 01/07/2015 12:01 PM ben leinfelder

moved RDF XML subprocessor to cn-index project.

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.

9055 01/06/2015 02:41 PM ben leinfelder

move RDF/XML subprocessor and example configuration with SPARQL query to the cn index project from metacat so that it can be used by prov team when indexing ProvONE models in ORE documents

9054 01/06/2015 09:45 AM ben leinfelder

add fieldsToMerge property for annotation updates

9053 01/02/2015 11:01 AM ben leinfelder

add stub merge method to match Skye's recent refactoring to support reindexing when deletes are performed.

9052 12/31/2014 03:51 PM Jing Tao

Add the code to test series id in the archive, delete, isAuthorized and 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.

9049 12/30/2014 02:10 PM Jing Tao

Add the code to test the create and update methods using invalid sid in the system metadata.

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.

9042 12/29/2014 02:35 PM Jing Tao

Add the code to test getChecksum.

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.

9039 12/24/2014 03:43 PM Jing Tao

Add the test code for getSystemMetadata(sid) and describe(sid).

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.

9035 12/23/2014 12:03 PM Jing Tao

Add two updates on the testGetSID method.

9034 12/23/2014 11:34 AM Jing Tao

Add the code to test getting test series ids.

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.

9031 12/19/2014 03:13 PM Jing Tao

Change methods'name base on the change on the source code.

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

Change a method name to use pid rather than guid.

9029 12/19/2014 11:19 AM Jing Tao

Add the code to test the methods of determining if a sid or guid exists.

9028 12/18/2014 04:34 PM ben leinfelder

use refactored classes from cn-index-processor. still in flux, but improving to better handle non-xml files

9027 12/17/2014 04:58 PM Jing Tao

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

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.

9025 12/17/2014 02:13 PM Jing Tao

Change the test method base on the change of throwing a new sql exception on the getLocalId method.

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.

9022 12/12/2014 02:12 PM ben leinfelder

add accessors for bean property

9021 12/12/2014 01:53 PM ben leinfelder

use ISolrDataField because RDF subprocessor uses the SparqlField subclass.

9020 12/12/2014 01:30 PM ben leinfelder

use input stream instead of Document for resource map processing test

9019 12/12/2014 01:16 PM Jing Tao

Change the number of the schema feilds.

9018 12/12/2014 01:12 PM ben leinfelder

update classes and context files that use cn-index-processor classes. allowing document subprocessors to be less tied to XML.

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

9013 12/09/2014 01:05 PM ben leinfelder

remove annotator service test -- this feature has been moved upstream

9012 12/09/2014 08:38 AM ben leinfelder

use 2.5.0 for current DB version

9011 12/02/2014 05:15 PM Jing Tao

Don't remove postgresql 8.4 and 9.1
Don't remove data directory of postgresql 8.4

9010 12/02/2014 04:21 PM ben leinfelder

use getCookie action now that portal has different getToken action.

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

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

9005 11/24/2014 09:26 AM Jing Tao

Overwrite the default node id (which value is metacat) from the metacat.properties. Otherwise, the test will fail.

9003 11/22/2014 02:30 PM Jing Tao

Add the code to install the build-essential package.