Project

General

Profile

Activity

From 07/19/2015 to 08/17/2015

08/17/2015

04:52 PM Revision 9300 (metacat): Decode the string of the uri after we break the uri into parts base on the "/".
Jing Tao
04:25 PM Revision 9299 (metacat): Decode the string of the uri after we break the uri into parts base on the "/".
Jing Tao
03:40 PM Revision 9298 (metacat): Decode the string of the uri after we break the uri into parts base on the "/".
Jing Tao
02:52 PM Revision 9297 (metacat): Decode the string of the uri after we break the uri into parts base on the "/".
Jing Tao

08/14/2015

04:06 PM Revision 9296 (metacat): The mn-demo-6 is a v2 member node.
Jing Tao
04:06 PM Revision 9295 (metacat): Use the D1NodeVersionChecker to determine the mn's version rather than using ping.
Jing Tao
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.
Jing Tao

08/12/2015

05:14 PM Revision 9293 (metacat): Add a test case to test against a v1 cn.
Jing Tao
04:28 PM Revision 9292 (metacat): A test class is used to test the D1NodeVersionChecker class.
Jing Tao
04:27 PM Revision 9291 (metacat): A new class is used to get the version of service for a given node.
Jing Tao

08/10/2015

04:57 PM Revision 9290 (metacat): Only support the application/bagit format in the getPackage method.
Jing Tao
04:56 PM Revision 9289 (metacat): Change the format id to be "application/bagit" in the getPackage method.
Jing Tao
03:26 PM Bug #6828 (Rejected): A jar file can't be found when the metacat-index is building
Actually this missing jar file is a dependency of d1_libclient_java. Jing Tao
03:19 PM Bug #6828 (Rejected): A jar file can't be found when the metacat-index is building
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total t...
Jing Tao

08/07/2015

08:02 AM Revision 9288 (metacat): Use the status of mn.ping to guess the version of the source node in the replicate method.
Jing Tao

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.
Jing Tao
03:11 PM Revision 9286 (metacat): Increased the serial version number before updating the system metadata.
Jing Tao
02:34 PM Revision 9285 (metacat): Fixed a bug to increase the serial version
Jing Tao
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.
Jing Tao
01:57 PM Revision 9283 (metacat): Increase the version number after updating the existing object's system metadata in the update method.
Jing Tao
12:04 PM Revision 9282 (metacat): Increased the serial version during the test.
Jing Tao
11:05 AM Revision 9281 (metacat): Increase serial version during the test of updateSystemMetadata method.
Jing Tao

08/05/2015

04:37 PM Revision 9280 (metacat): Fixed a possible null exception in the updateSystemmetadata method.
Jing Tao
04:22 PM Revision 9279 (metacat): Restore the commented out tests.
Jing Tao
04:20 PM Revision 9278 (metacat): Add more test to test the code to create branch obsolete chain.
Jing Tao
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.
Jing Tao

08/04/2015

03:54 PM Revision 9276 (metacat): Add a test method to test the update of the obsoletes and obsoletedBy fields.
Jing Tao
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.
Jing Tao
02:58 PM Revision 9274 (metacat): Check the obosoletedBy and Obsoletes only can be set once.
Jing Tao

07/30/2015

05:33 PM Revision 9273 (metacat): Add the code to test a MN to call setReplicationStatus successfully.
Jing Tao
05:32 PM Revision 9272 (metacat): The method of setReplicationstatus can be called by CNs and MNs.
Jing Tao
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
ben leinfelder

07/29/2015

03:10 PM Task #6827 (Closed): update SSL configuration directives
added directives to sample in metacat ben leinfelder
02:19 PM Task #6827: update SSL configuration directives
Probably useful: https://mozilla.github.io/server-side-tls/ssl-config-generator/
Apache, Intermediate, HSTS unchec...
Nick Brand
02:10 PM Task #6827 (Closed): update SSL configuration directives
Metacat ships with the metacat-site-ssl file showing how to configure Metacat for SSL support, and references this do... Matt Jones
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
ben leinfelder
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
ben leinfelder
02:13 PM Revision 9268 (metacat): Fixed a possible null pointer exception bug. https://redmine.dataone.org/issues/7280
Jing Tao

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.
Jing Tao
03:31 PM Revision 9266 (metacat): Use the getCNSession to replace the getTestSession which was a actual getCNSession.
Jing Tao

07/27/2015

05:15 PM Revision 9265 (metacat): Only CNs can call those methods:
CNCore.registerSystemMetadata()
CNCore,updateSystemMetadata()
CNReplication.setReplicationStatus()
CNReplication.upda...
Jing Tao
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.
Jing Tao
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.
Jing Tao

07/24/2015

04:58 PM Revision 9262 (metacat): Excluded a non-test class in the test target.
Jing Tao
02:46 PM Revision 9261 (metacat): Add some thread sleeping time to make checking wait the process.
Jing Tao
11:06 AM Revision 9260 (metacat): Deleted a unnecessary test class.
Jing Tao

07/23/2015

05:14 PM Revision 9259 (metacat): Make more cap for the testing.
Jing Tao

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.
Jing Tao
01:32 PM Revision 9257 (metacat): Add code to catch the BaseException in the updateSystemMetadata method.
Jing Tao

07/20/2015

03:21 PM Revision 9256 (metacat): Add the code to handle if the cn is null.
Jing Tao
 

Also available in: Atom