Project

General

Profile

Activity

From 10/02/2011 to 10/31/2011

10/31/2011

04:37 PM Revision 6570 (metacat): In CNodeService, separate the CN.create() functionality from the MN.create() functionality while still using the superclass to call create(). Deal with Hazelcast locks and setting serial versions only in the CN implementation.
Chris Jones
01:13 PM Revision 6569 (metacat): Change updateSystemMetadata() to evaluate the incoming system metadata serial version against that found in the hzSystemMetadata map. If they are the same, do the update. If not, throw an InvalidRequest explaining that they need the most current version.
Chris Jones

10/29/2011

07:21 PM Revision 6568 (metacat): Modify CNodeService's registerSystemMetadata() with support for SystemMetadata's serialVersion field. Also, use the hzSystemMetadata map for all system metadata reads using a lock on the pid in order to get the very latest version. This affected isNodeAuthorized(), getChecksum(), and assertRelation(). Since we're using Hazelcast, exceptions are masked as RuntimeException, so throw a ServiceFailure with the underlying message.
Chris Jones

10/28/2011

09:46 PM Revision 6567 (metacat): Modify CNodeService's updateSystemMetadata(), setReplicationStatus(), setReplicationPolicy(), and setOwner() with support for SystemMetadata's serialVersion field. Other methods still pending an update. Use the hzSystemMetadata map for all system metadata reads using a lock on the pid in order to get the very latest version.
Chris Jones
08:42 PM Revision 6566 (metacat): removing non-junit file from the test area
ben leinfelder
08:39 PM Revision 6565 (metacat): load hazelcast test files from the classpath rather than from rob's personal directory.
ben leinfelder
04:05 PM Revision 6564 (metacat): SystemMetadataManager's functionality is handled by IdentifierManager. Removing it and it's test.
Chris Jones
04:01 PM Revision 6563 (metacat): MetadataTypeRegister is now replaced by ObjectFormatService. Removing it and it's test.
Chris Jones
01:16 PM Revision 6562 (metacat): include clearer error message when UPDATE action is requested on a replicated document and we fail to successfully get a lock from the source Metacat server
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=4907 ben leinfelder

10/27/2011

05:51 PM Revision 6561 (metacat): move the DataONE 1.0.0-SNAPSHOT
ben leinfelder
04:33 PM Revision 6560 (metacat): correctly check for missing config values during geoserver configuration
ben leinfelder
04:05 PM Revision 6559 (metacat): call the web.xml tomcat6 not tomcat5
ben leinfelder
04:01 PM Revision 6558 (metacat): remove reference to tomcat5.5 in favor of tomcat6. including the "custom" start up script that used the sun jdk -- this can be configured rather than coded into the script.
ben leinfelder
03:59 PM Revision 6557 (metacat): correctly check for missing config values during geoserver configuration
ben leinfelder
03:45 PM Revision 6556 (metacat): remove reference to the "custom" /etc/init.d/tomcat6 script -- this should not be used since there are now better ways to customize the tomcat start up
ben leinfelder
03:27 PM Revision 6555 (metacat): use 2.0.0
ben leinfelder
03:21 PM Revision 6554 (metacat): -use 2.0.0 version
-use tomcat6
-use /var/lib/tomcat6 as the example tomcat home directory
ben leinfelder
02:22 PM Revision 6553 (metacat): use 2.0.0 -- stub out the release notes
ben leinfelder
02:13 PM Revision 6552 (metacat): Configure and use CertificateManager in order to act as the MN when performing replicate() and getReplica() mthods.
ben leinfelder
01:00 PM Revision 6551 (metacat): use logging, not system.out
ben leinfelder
12:40 PM Revision 6550 (metacat): change upgrade scripts/routines to use 2.0.0 version number instead of 1.10.0
ben leinfelder
11:35 AM Revision 6549 (metacat): make sure we close the prepared statement always
ben leinfelder
11:17 AM Revision 6548 (metacat): The incoming source node param is just a string, not XML, so don't attempt to deserialize it. Rather, just make a new NodeReference object and set it's value to the value of the incoming param.
Chris Jones
08:58 AM Revision 6547 (metacat): include CILogon link and more explanation about what is going on with the mapping.
ben leinfelder
08:49 AM Revision 6546 (metacat): Change the version from 1.9.4 to 1.9.5.
Jing Tao

10/26/2011

11:08 AM Revision 6545 (metacat): correctly check that user is logged into metacat before proceeding
ben leinfelder
11:07 AM Revision 6544 (metacat): use null session for now
ben leinfelder

10/25/2011

05:54 PM Revision 6543 (metacat): draft of legacy-to-d1 account mapping interface
ben leinfelder

10/20/2011

02:03 PM Revision 6542 (metacat): add User-Agent logging to support D1 requirements
ben leinfelder
12:40 PM Revision 6541 (metacat): remove old RestServlet handler -- not used now
ben leinfelder

10/16/2011

10:47 AM Revision 6540 (metacat): Add debugging output to MNodeService.
Chris Jones

10/14/2011

05:49 PM Revision 6539 (metacat): use default fmtid if we can't find the user-supplied data mime type in our list
ben leinfelder
05:13 PM Revision 6538 (metacat): including newer d1 libclient that uses Foresite (and Jena) to construct/parse ORE resource maps for DataONE
ben leinfelder
02:57 PM Revision 6536 (metacat): delete the xml access rules by either docid or guid to make sure we have the most up to date information
ben leinfelder
10:45 AM Revision 6535 (metacat): Fix a data-typing issue when pulling replicationAllowed from postgres. Use getBoolean(), not getString().
Chris Jones

10/13/2011

05:13 PM Revision 6534 (metacat): cleaned up to use for populating a DataONE MN using the D1 api. Retrieves packages from a Metacat and generates system metadata for them before calling MN.create() for both data and metadata.
NOTE: you need a client certificate that the target server accepts (either DataONE-generated for testing or a CILogon... ben leinfelder

10/12/2011

07:19 PM Revision 6533 (metacat): IdentifierManager.getSystemMetadata() was missing the number_replicas and replication_allowed fields when building a ReplicationPolicy section of a SystemMetadata document being returned. Add in these two attributes.
Chris Jones
11:17 AM Revision 6532 (metacat): update D1 jars to include recent SubjectList -> SubjectInfo refactoring and the SUBJECT_PUBLIC constant
ben leinfelder
11:08 AM Revision 6531 (metacat): include SystemMetadata when replicating data and metadata documents -- this allows us to establish the guid-to-docid mapping that is crucial for being able to read the replicated document by guid (d1 api)
ben leinfelder
10:00 AM Revision 6530 (metacat): throw InvalidToken when the Session parameter is null for create()
https://redmine.dataone.org/issues/1850 ben leinfelder

10/11/2011

08:37 PM Revision 6529 (metacat): Fix service versioning in metacat.properties so that when Metacat nodes are registered they report the correct service version for use in resolve() -- i.e., use "v1" instead of "0.6.4" in resolve urls.
Matt Jones

10/09/2011

02:50 PM Revision 6528 (metacat): Once a CN calls replicate() on an MN, the MN needs to call getReplica() on the source MN (not get()). Once the bytes are retrieved, the MN must then call back to the CN with setReplicationStatus() to indicate that the replication status is complete. Modify MNodeService to do so.
Chris Jones
 

Also available in: Atom