Project

General

Profile

Statistics
| Revision:

# Date Author Comment
9243 07/10/2015 02:23 PM Jing Tao

Add the code to insert entries in xml_catalog for the iso119139 objects.

9242 07/10/2015 02:21 PM Jing Tao

Add the code to insert entries in xml_catalog for the iso119139 objects.

9240 07/09/2015 04:38 PM Jing Tao

Add the sql command to insert schemas for iso119139.

9239 07/09/2015 04:37 PM Jing Tao

Add the sql command to insert schemas for iso119139.

9237 07/09/2015 02:09 PM ben leinfelder

use v1 and v2 xsl as appropriate for rendering d1 types (object format list, mostly)

9235 07/08/2015 05:03 PM ben leinfelder

use MediaType from v2.SystemMetadata and v2.ObjectFormat to better determine mime-type, charset and filename for the get() method. https://redmine.dataone.org/issues/3309

9234 07/08/2015 05:01 PM ben leinfelder

correct logout method (old change still in workspace)

9231 07/08/2015 11:53 AM Jing Tao

Fixed a bug that two columns were missing in the sql command.

9230 07/07/2015 04:35 PM Jing Tao

Add the code to read/write the new system metadata fields - file name, media type and media type properties into the db tables.

9229 07/06/2015 04:22 PM Jing Tao

Add code to update smmediatypeproperties table.

9228 06/23/2015 08:48 AM ben leinfelder

add logout implementation - calls server and clears cookie jar.

9227 06/01/2015 02:25 PM Jing Tao

Add the code to create smMediaTypeProperties table.

9226 05/29/2015 10:01 PM Jing Tao

Add the code to create a new table smMediaTypeProperties.

9225 05/29/2015 10:00 PM Jing Tao

Change the name of the foreign key on the smMediaTypeProperties.

9224 05/29/2015 09:49 PM Jing Tao

Add a new table smMediaTypeProperties to store the properties associated with a media type.

9220 05/28/2015 03:11 PM Jing Tao

Throw an exception if the saving system metadata fails.

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.

9218 05/20/2015 02:49 PM Jing Tao

Add the media_type and file_name columns.

9217 05/20/2015 02:49 PM Jing Tao

Add the media_type and file_name columns.

9216 05/20/2015 02:48 PM Jing Tao

Add two columns media_type and file_name.

9215 05/20/2015 02:47 PM Jing Tao

Add the media_type and file_name columns.

9212 05/13/2015 04:25 PM Jing Tao

Add the code to add dataone schema v2 in the xml_catalog table.

9211 05/13/2015 04:24 PM Jing Tao

Add the code to add dataone schema v2 in the xml_catalog table.
Fixed the bug the new column should be series_id rather than guid.

9210 05/13/2015 04:23 PM Jing Tao

Add the code to add dataone schema v2 in the xml_catalog table.

9209 05/13/2015 04:22 PM Jing Tao

Add the code to add dataone schema v2 in the xml_catalog table.

9206 05/11/2015 10:43 PM Jing Tao

Don't use ssClient as a class field. Now it is a local variable. This fixed an issue that two statements using the client caused the exception - java.net.SocketTimeoutException: Read timed out.

9204 05/11/2015 02:09 PM rnahf

refs: #7092. found another unclosed inputStream, this time in ReplicationService.handleForceReplicationDataFileRequest(...).

9203 05/11/2015 12:28 PM rnahf

fixes #7092: added finally clause to ReplicationHandler.update method to unconditionally close the inputStreams it keeps in a Vector. Needs testing.

9202 05/08/2015 11:11 AM Jing Tao

Use the wild card in the class path. So it will not be pain if the jar files were changed.

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.

9183 04/30/2015 01:28 PM ben leinfelder

remove portal servlet and configuration - no need for this if we are supporting auth tokens from authentication service.

9182 04/30/2015 01:22 PM ben leinfelder

defer to D1 PortalCertificateManager to pull authentication credentials from the request before defering to old Metacat cookie session

9178 04/29/2015 04:41 PM Jing Tao

Add the code to check the authorization of the client which is reindexing a pid.

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.

9173 04/14/2015 04:40 PM ben leinfelder

add whoami endpoint to make debugging authn/authz easier as we use additional mechanisms for proving identity.

9172 04/14/2015 02:46 PM ben leinfelder

include 2.4.3 upgrade scripts in the trunk (merged from branch)

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.

9164 04/10/2015 10:21 AM ben leinfelder

use singleton for getting JWT token - refactor in d1_portal project

9161 04/03/2015 10:38 AM ben leinfelder

use secure context url for loading XSLTs in db transform

9156 03/24/2015 01:14 PM rnahf

ReplicationServices.getUrlStream(url) callers were not closing the inputstream properly, as was revealed when switching to libclient v2 (a pooling connection manager in HttpClient) and encountering reasource leaks.

9153 03/18/2015 02:26 PM ben leinfelder

remove classes annotator classes that have moved to a different project under dataone's github.

9152 03/18/2015 12:09 PM rnahf

bullet-proofed exception handling in ReplicationService.getURLStream, to make sure client communication exceptions are handled and logged.

9151 03/17/2015 04:57 PM rnahf

fixed getSSLClient method.

9150 03/17/2015 02:47 PM rnahf

fixed class name typo.

9149 03/17/2015 02:15 PM rnahf

fixed private getSSLClient method for HttpClient v4.3 compatibility. Now also caching the RestClient for reuse to save overhead.

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.

9142 03/06/2015 02:48 PM ben leinfelder

do not require site parameter if registry.show.siteList=false.
https://projects.ecoinformatics.org/ecoinfo/issues/6687

9141 03/06/2015 02:10 PM Jing Tao

Make them executable.

9140 03/05/2015 11:05 PM Jing Tao

Add a script file to restore knb db from a dumped file.

9139 03/05/2015 11:02 PM Jing Tao

Add a script to dump the knb database.

9137 03/05/2015 02:18 PM Jing Tao

Add a read timeout for the connection. See bug https://projects.ecoinformatics.org/ecoinfo/issues/6684:wq

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.

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

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

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.