Project

General

Profile

Statistics
| Revision:

# Date Author Comment
9299 08/17/2015 04:25 PM Jing Tao

Decode the string of the uri after we break the uri into parts base on the "/".

9298 08/17/2015 03:40 PM Jing Tao

Decode the string of the uri after we break the uri into parts base on the "/".

9297 08/17/2015 02:52 PM Jing Tao

Decode the string of the uri after we break the uri into parts base on the "/".

9295 08/14/2015 04:06 PM Jing Tao

Use the D1NodeVersionChecker to determine the mn's version rather than using ping.

9294 08/14/2015 04:04 PM Jing Tao

When the cn.notifyReplicaNodes method, if the target MN source code is a v2 mn, we will use v2 api; if it is a v1 node, we will use v1 api.

9291 08/12/2015 04:27 PM Jing Tao

A new class is used to get the version of service for a given node.

9290 08/10/2015 04:57 PM Jing Tao

Only support the application/bagit format in the getPackage method.

9288 08/07/2015 08:02 AM Jing Tao

Use the status of mn.ping to guess the version of the source node in the replicate method.

9287 08/06/2015 05:23 PM Jing Tao

In the replicate method, it will use the v1.getReplica method if the source node only supports v1 replication service.

9284 08/06/2015 02:34 PM Jing Tao

The code was added to compare the serial version in the updateSystemMetadata method. If the serial version in the new system metadata is less than or equals previous version, an exception will be thrown.

9283 08/06/2015 01:57 PM Jing Tao

Increase the version number after updating the existing object's system metadata in the update method.

9280 08/05/2015 04:37 PM Jing Tao

Fixed a possible null exception in the updateSystemmetadata method.

9277 08/05/2015 04:19 PM Jing Tao

In the MN.updateSystemMetadata method, when we set the obsoletedBy and obsoletes method, we will check if those values already exist in other chains.

9275 08/04/2015 03:53 PM Jing Tao

Add the identifier in the message of the exception when a client tries to reset the obsoletes or obsoletedBy fields.

9274 08/04/2015 02:58 PM Jing Tao

Check the obosoletedBy and Obsoletes only can be set once.

9272 07/30/2015 05:32 PM Jing Tao

The method of setReplicationstatus can be called by CNs and MNs.

9271 07/30/2015 11:08 AM ben leinfelder

merge from V2 impl: check for optional "failure" param instead of throwing exception when it is missing (often is). https://redmine.dataone.org/issues/7283

9270 07/29/2015 02:53 PM ben leinfelder

For sample Apache config, disable SSLv2 and SSLv3 in favor of TLS. https://projects.ecoinformatics.org/ecoinfo/issues/6827

9269 07/29/2015 02:42 PM ben leinfelder

check for optional "failure" param instead of throwing exception when it is missing (often is). https://redmine.dataone.org/issues/7283

9268 07/29/2015 02:13 PM Jing Tao

Fixed a possible null pointer exception bug. https://redmine.dataone.org/issues/7280

9265 07/27/2015 05:15 PM Jing Tao

Only CNs can call those methods:
CNCore.registerSystemMetadata()
CNCore,updateSystemMetadata()
CNReplication.setReplicationStatus()
CNReplication.updateReplicationMetadata()
CNReplication.deleteReplicationMetadata()

9263 07/27/2015 04:20 PM Jing Tao

On mn.update and mn.updateSystemMetadata, those clients are allowed:
1. CNs.
2. Clients with appropriate permission calling the method on the authoritative nodes.

9258 07/21/2015 04:22 PM Jing Tao

When compare the dateUploaded, now we use sysmetadata.getDateUploaded().getTime(). It used systemmetadata.getDateUploaded() (Date objects) to compare.

9257 07/21/2015 01:32 PM Jing Tao

Add code to catch the BaseException in the updateSystemMetadata method.

9256 07/20/2015 03:21 PM Jing Tao

Add the code to handle if the cn is null.

9253 07/16/2015 02:51 PM Jing Tao

Handle multiple versions (v1 and v2) of a service in getCapacity method.

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.

9245 07/13/2015 04:35 PM Jing Tao

Throw an exception if the request doesn't specify the name of the theme in the view method.

9244 07/13/2015 03:28 PM ben leinfelder

use objectFormat.extension in cases where we need to construct a filename for download. https://redmine.dataone.org/issues/3312

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.