Activity
From 07/16/2015 to 08/14/2015
08/14/2015
- 04:06 PM Revision 9296 (metacat): The mn-demo-6 is a v2 member node.
- 04:06 PM Revision 9295 (metacat): Use the D1NodeVersionChecker to determine the mn's version rather than using ping.
- 04:04 PM Revision 9294 (metacat): 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.
08/12/2015
- 05:14 PM Revision 9293 (metacat): Add a test case to test against a v1 cn.
- 04:28 PM Revision 9292 (metacat): A test class is used to test the D1NodeVersionChecker class.
- 04:27 PM Revision 9291 (metacat): A new class is used to get the version of service for a given node.
08/10/2015
- 04:57 PM Revision 9290 (metacat): Only support the application/bagit format in the getPackage method.
- 04:56 PM Revision 9289 (metacat): Change the format id to be "application/bagit" in the getPackage method.
08/07/2015
08/06/2015
- 05:23 PM Revision 9287 (metacat): In the replicate method, it will use the v1.getReplica method if the source node only supports v1 replication service.
- 03:11 PM Revision 9286 (metacat): Increased the serial version number before updating the system metadata.
- 02:34 PM Revision 9285 (metacat): Fixed a bug to increase the serial version
- 02:34 PM Revision 9284 (metacat): 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.
- 01:57 PM Revision 9283 (metacat): Increase the version number after updating the existing object's system metadata in the update method.
- 12:04 PM Revision 9282 (metacat): Increased the serial version during the test.
- 11:05 AM Revision 9281 (metacat): Increase serial version during the test of updateSystemMetadata method.
08/05/2015
- 04:37 PM Revision 9280 (metacat): Fixed a possible null exception in the updateSystemmetadata method.
- 04:22 PM Revision 9279 (metacat): Restore the commented out tests.
- 04:20 PM Revision 9278 (metacat): Add more test to test the code to create branch obsolete chain.
- 04:19 PM Revision 9277 (metacat): In the MN.updateSystemMetadata method, when we set the obsoletedBy and obsoletes method, we will check if those values already exist in other chains.
08/04/2015
- 03:54 PM Revision 9276 (metacat): Add a test method to test the update of the obsoletes and obsoletedBy fields.
- 03:53 PM Revision 9275 (metacat): Add the identifier in the message of the exception when a client tries to reset the obsoletes or obsoletedBy fields.
- 02:58 PM Revision 9274 (metacat): Check the obosoletedBy and Obsoletes only can be set once.
07/30/2015
- 05:33 PM Revision 9273 (metacat): Add the code to test a MN to call setReplicationStatus successfully.
- 05:32 PM Revision 9272 (metacat): The method of setReplicationstatus can be called by CNs and MNs.
- 11:08 AM Revision 9271 (metacat): 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
07/29/2015
- 02:53 PM Revision 9270 (metacat): For sample Apache config, disable SSLv2 and SSLv3 in favor of TLS. https://projects.ecoinformatics.org/ecoinfo/issues/6827
- 02:42 PM Revision 9269 (metacat): check for optional "failure" param instead of throwing exception when it is missing (often is). https://redmine.dataone.org/issues/7283
- 02:13 PM Revision 9268 (metacat): Fixed a possible null pointer exception bug. https://redmine.dataone.org/issues/7280
07/28/2015
- 04:22 PM Revision 9267 (metacat): Add the code to test that non-cn session can't call some methods like registerSystemMetadata, updateSystemMetadata and et al.
- 03:31 PM Revision 9266 (metacat): Use the getCNSession to replace the getTestSession which was a actual getCNSession.
07/27/2015
- 05:15 PM Revision 9265 (metacat): Only CNs can call those methods:
- CNCore.registerSystemMetadata()
CNCore,updateSystemMetadata()
CNReplication.setReplicationStatus()
CNReplication.upda... - 04:21 PM Revision 9264 (metacat): Add the test to test new rules: cn and other client calling the method on the authoritative node can call the mn.update.
- 04:20 PM Revision 9263 (metacat): On mn.update and mn.updateSystemMetadata, those clients are allowed:
- 1. CNs.
2. Clients with appropriate permission calling the method on the authoritative nodes.
07/24/2015
- 04:58 PM Revision 9262 (metacat): Excluded a non-test class in the test target.
- 02:46 PM Revision 9261 (metacat): Add some thread sleeping time to make checking wait the process.
- 11:06 AM Revision 9260 (metacat): Deleted a unnecessary test class.
07/23/2015
07/21/2015
- 04:22 PM Revision 9258 (metacat): When compare the dateUploaded, now we use sysmetadata.getDateUploaded().getTime(). It used systemmetadata.getDateUploaded() (Date objects) to compare.
- 01:32 PM Revision 9257 (metacat): Add code to catch the BaseException in the updateSystemMetadata method.
07/20/2015
07/17/2015
07/16/2015
Also available in: Atom