Project

General

Profile

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

# Date Author Comment
9328 09/23/2015 12:00 PM Jing Tao

Add more debug messages for the isCNAdmin method.

9327 09/21/2015 04:37 PM Jing Tao

Put a the systemMetadataChanged method into a queue, so it will not hold the block.

9326 09/16/2015 12:57 PM Chris Jones

Change updateReplicationMetadata() and setReplicationStatus() to no longer set the dateSysmetaModified date per our discussion on 9/16/15.

9325 09/16/2015 10:04 AM Jing Tao

Add more debug statement for the updateSystemMetadata method.

9324 09/15/2015 04:16 PM Jing Tao

In the getLog method, if the event is null, we will set it unknown.

9323 09/15/2015 03:51 PM Jing Tao

If the event string is null, we will skip this log in the getLog method.

9322 09/15/2015 03:15 PM Jing Tao

Add the code to check if we can't get the current system metadata from the node in the mn.systemMetadataChanged method.
If we can't find it, an InvalidRequest will be thrown.

9321 09/10/2015 09:47 AM Jing Tao

Fixed a bug that a client can set the original member node to be null.

9320 09/09/2015 02:09 PM Jing Tao

Change some exceptions from the InvalidSystem to the InvalidRequest in the updateSystemMetadata method.

9319 09/09/2015 12:40 PM ben leinfelder

rollback: set session.subject so libclient can look up certificate. Seems like the default behavior may have changed?

9318 09/09/2015 12:01 PM ben leinfelder

set session.subject so libclient can look up certificate. Seems like the default behavior may have changed?

9317 09/08/2015 03:22 PM Jing Tao

use the TypeFactory to convert the Log and ObjectFormatList objects from the v2 to v1.

9316 09/04/2015 03:13 PM Jing Tao

Add the test case to test the setting of same status twice wouldn't increase the system metadata version.

9315 09/04/2015 03:05 PM Jing Tao

In the setReplicaStatus method, if the coming status is the same one of the existing one, the system metadata will not be updated.

9314 09/02/2015 11:22 AM Jing Tao

Fixed some incorrect exceptions in the getReplica method.

9313 08/28/2015 04:04 PM Jing Tao

Increase the serial version before we call cn.updateSystemMetadata method.

9312 08/28/2015 03:57 PM Jing Tao

Use a cn session to registerSystemmetadata.

9311 08/28/2015 02:29 PM Jing Tao

Removed two intergration test cases.

9310 08/28/2015 11:02 AM Jing Tao

Use TypeFactory to convert types.

9309 08/28/2015 09:30 AM Jing Tao

In the isAdminAuthorized method, the faiure of the isNodeAdmin method will not interrupt the next check - if it is a cn.

9308 08/26/2015 04:18 PM Jing Tao

Fixed a bug that when the count is 0, the total is incorrect in the querySystemMetadata method.

9307 08/25/2015 04:44 PM Jing Tao

Fixed a bug the total was not correct in the querySystemMetadata method.

9306 08/25/2015 03:26 PM Jing Tao

Use the application/bagit-097 to replace application/bagit.

9305 08/25/2015 03:25 PM Jing Tao

Use the application/bagit-097 to replace application/bagit.

9304 08/25/2015 02:50 PM Jing Tao

Use the TypeFactory to replace the TypeMarshaller according to the change in the d1_common_java.

9303 08/20/2015 03:30 PM Jing Tao

Add the "forward" value for the "dispatcher" in the filter mapping. So the proxy (using forward) and direct request will use the same filter.

9302 08/19/2015 02:30 PM Jing Tao

Clone a system metadata object in order to pass a test - updateSystemMetadata.

9301 08/19/2015 11:41 AM Jing Tao

Use the key word "packages" to replace the "package".

9300 08/17/2015 04:52 PM Jing Tao

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

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 "/".

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

The mn-demo-6 is a v2 member node.

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.

9293 08/12/2015 05:14 PM Jing Tao

Add a test case to test against a v1 cn.

9292 08/12/2015 04:28 PM Jing Tao

A test class is used to test the D1NodeVersionChecker class.

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.

9289 08/10/2015 04:56 PM Jing Tao

Change the format id to be "application/bagit" 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.

9286 08/06/2015 03:11 PM Jing Tao

Increased the serial version number before updating the system metadata.

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

Fixed a bug to increase the serial version

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.

9282 08/06/2015 12:04 PM Jing Tao

Increased the serial version during the test.

9281 08/06/2015 11:05 AM Jing Tao

Increase serial version during the test of updateSystemMetadata method.

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

Fixed a possible null exception in the updateSystemmetadata method.

9279 08/05/2015 04:22 PM Jing Tao

Restore the commented out tests.

9278 08/05/2015 04:20 PM Jing Tao

Add more test to test the code to create branch obsolete chain.

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.

9276 08/04/2015 03:54 PM Jing Tao

Add a test method to test the update of the obsoletes and obsoletedBy fields.

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.

9273 07/30/2015 05:33 PM Jing Tao

Add the code to test a MN to call setReplicationStatus successfully.

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

9267 07/28/2015 04:22 PM Jing Tao

Add the code to test that non-cn session can't call some methods like registerSystemMetadata, updateSystemMetadata and et al.

9266 07/28/2015 03:31 PM Jing Tao

Use the getCNSession to replace the getTestSession which was a actual getCNSession.

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()

9264 07/27/2015 04:21 PM Jing Tao

Add the test to test new rules: cn and other client calling the method on the authoritative node can call the mn.update.

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.

9262 07/24/2015 04:58 PM Jing Tao

Excluded a non-test class in the test target.

9261 07/24/2015 02:46 PM Jing Tao

Add some thread sleeping time to make checking wait the process.

9260 07/24/2015 11:06 AM Jing Tao

Deleted a unnecessary test class.

9259 07/23/2015 05:14 PM Jing Tao

Make more cap for the testing.

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.

9255 07/17/2015 10:20 AM Jing Tao

Add a new version of this document from the svn trunk. The changes are all documentation.

9254 07/16/2015 02:52 PM Jing Tao

Add v2 to the service.version list.

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

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

9252 07/15/2015 03:57 PM Jing Tao

Insert a document with different authoritative node id. So we can test querySystemMetadata by more cases.

9251 07/15/2015 02:35 PM Jing Tao

Add a junit test to test the querySystemMetadata method.

9250 07/15/2015 01:46 PM Lauren Walker

Use MetacatUI 1.7.1 tag in Metacat build

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.

9241 07/09/2015 05:18 PM Jing Tao

Add a junit test class to test the insert of iso119139 object.

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.

9238 07/09/2015 03:19 PM Jing Tao

Add the schemas for ISO-119139/isotc211.object.

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

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

9236 07/09/2015 01:59 PM Jing Tao

Add an iso text file.

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)

9233 07/08/2015 02:42 PM Jing Tao

Add a junit test case to test the write/read of new fields in the system metadata.

9232 07/08/2015 01:07 PM Jing Tao

Add the test suite.

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.