Project

General

Profile

Activity

From 09/16/2011 to 10/15/2011

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

10/03/2011

04:06 PM Bug #5499: citation format odd for metacat data sets
There isn't a community standard as far as I know. There are people working on proposing such a standard (DataCite, ... Matt Jones

09/30/2011

06:22 PM Bug #5499: citation format odd for metacat data sets
Inclusion of the institution seems appropriate for a dataset citation. Granted, it is not in journal article citatio... gastil gastil

09/29/2011

11:43 PM Revision 6527 (metacat): Bug fix for access control rules coming in from the dataone system metadata. Previously, the code used getLocalId() to get the docid to insert into the XML access table, but that docid included the revision number (e.g., foo.1.1), which it shouldn't. Now use the AccessionNumber class to strip off the rev to get a real docid for insertion into the table.
Matt Jones

09/28/2011

07:39 PM Bug #5497: metacat accepts eml docs that fail knb parser
This sample EML document is using single quotes around the EML namespace (which should be valid) but Metacat was only... ben leinfelder
07:28 PM Revision 6526 (metacat): allow the XML namespace to be given in both double _and_ single quotes. The regex pattern was only looking for xmlns values that were in double quotes. This was brought to light by LTER:
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5497 ben leinfelder

09/27/2011

09:24 PM Bug #5499 (Resolved): citation format odd for metacat data sets
Submitting on behalf of Gail... I agree with her assesment -- what are we rendering citations this way. Somehow this... Matt Jones

09/26/2011

10:59 PM Revision 6525 (metacat): set date uploaded and date system metadata updated date to current time when calling MN.create() and MN.update()
ben leinfelder
02:46 PM Revision 6524 (metacat): updated d1_common jar (unknown changes)
ben leinfelder
02:45 PM Revision 6523 (metacat): use rfc2253 format when extracting certificate subject
ben leinfelder
12:07 PM Revision 6522 (metacat): do not allow system metadata to have obsoletes or obsoletedBy fields when calling the create() method -- these are only allowed for updates so that we do not subvert object versioning by [un]knowingly submitting system metadata that directs one id to another.
ben leinfelder
11:59 AM Revision 6521 (metacat): set the originating member node on update()
ben leinfelder
11:53 AM Revision 6520 (metacat): set the originating member node on create()
ben leinfelder
11:52 AM Revision 6519 (metacat): -use whatever object format id is stored in the DB
-only set originating node and authoritative node if we have non-null values for them ben leinfelder
11:10 AM Revision 6518 (metacat): set sysmeta submitter based on the subject given in the certificate
ben leinfelder
10:48 AM Revision 6517 (metacat): for default Metacat installation we turn off multicast and only enable localhost communication.
ben leinfelder
09:42 AM Revision 6516 (metacat): skip Objects that have null format ids are invalid checksums
ben leinfelder

09/23/2011

10:18 PM Revision 6515 (metacat): MN.setAccess() is a PUT
ben leinfelder
09:54 PM Revision 6514 (metacat): correctly handle incoming "accessPolicy" parameters for the setAccess() method
ben leinfelder
08:46 PM Revision 6513 (metacat): swap the parameters for update: existing pid should be first, and then newPid
ben leinfelder
02:59 PM Revision 6512 (metacat): Modified cron schedule to fix the incorrect crontab entry.
Matt Jones
01:44 PM Revision 6511 (metacat): do not require ID reservation before create() or update()
ben leinfelder
01:39 PM Revision 6510 (metacat): use "action" parameter instead of "permission"
ben leinfelder
01:38 PM Revision 6509 (metacat): use "action" parameter instead of "permission"
ben leinfelder

09/22/2011

03:57 PM Revision 6508 (metacat): catch datapackage parsing errors as before
ben leinfelder
03:30 PM Revision 6507 (metacat): include checksum algorithm when setting describe
https://redmine.dataone.org/issues/1799 ben leinfelder
03:30 PM Revision 6506 (metacat): check for null session before logging sync failed
https://redmine.dataone.org/issues/1798 ben leinfelder
02:58 PM Revision 6505 (metacat): Fixed the D1 URL to the Coordinating Node that had been missing /cn in the path.
Matt Jones
02:22 PM Revision 6504 (metacat): use an actual data object (bytes of "test") when generating system metadata so that the checksum is a valid checksum
ben leinfelder
02:02 PM Revision 6503 (metacat): use Settings augmentation to customize the D1Client.CN_URL when used in a Metacat deployment.
ben leinfelder
02:01 PM Revision 6502 (metacat): correctly implement MN.describe
https://redmine.dataone.org/issues/1799 ben leinfelder
01:40 PM Revision 6501 (metacat): return Node not NodeList for getCapabilities
https://redmine.dataone.org/issues/1800 ben leinfelder
01:32 PM Revision 6500 (metacat): Use setProperty() instead of addProperty() to properly override the Settings property.
Matt Jones
01:19 PM Revision 6499 (metacat): Modify to set the CN URL before getting a CN instance.
Matt Jones
01:18 PM Revision 6498 (metacat): Updating CN property to use cn-dev.
Matt Jones
10:55 AM Revision 6497 (metacat): Pull the certificate path for dataone certificates from the metacat properties file.
Matt Jones
10:12 AM Revision 6496 (metacat): return null instead of throwing an exception when pid is not found in store
ben leinfelder
10:12 AM Revision 6495 (metacat): log errors on create() and registerSM
ben leinfelder
10:11 AM Revision 6494 (metacat): more stringent NP checking when saving replication policy
ben leinfelder
12:05 AM Revision 6493 (metacat): Register as a MN on the DataONE network as part of the properties setup. This is currently done always, but it needs to be conditional rather than automatically triggered.
Matt Jones
12:03 AM Revision 6492 (metacat): Added subject field to getCapabilities() call.
Matt Jones

09/21/2011

10:05 PM Bug #5497 (Resolved): metacat accepts eml docs that fail knb parser
This is from nis track ticket #325 https://trac.lternet.edu/trac/NIS/ticket/325
Im pasting the below in from that ti...
gastil gastil
07:02 PM Revision 6491 (metacat): Newest D1 0.6.4 jars
Chris Jones
05:45 PM Revision 6490 (metacat): comment out resynch() method until errors are resolved
ben leinfelder
05:25 PM Revision 6489 (metacat): use default hazelcast config when not configured to use an external one
ben leinfelder
05:25 PM Revision 6488 (metacat): Use multicast in the hazelcast config for local deployments.
Chris Jones
05:24 PM Revision 6487 (metacat): comment out the external hazelcast config location for default building
ben leinfelder
05:24 PM Revision 6486 (metacat): include default hazelcast.xml in the war build
ben leinfelder
05:03 PM Revision 6485 (metacat): Add in the hzObjectPath map to the hazelcast config file for a local deployment. Enable the MapStore impl for both maps.
Chris Jones
04:58 PM Revision 6484 (metacat): Don't use the hzNodes map yet (as a hazelcast client). Use D1Client instead to get the node list in isNodeAuthorized().
Chris Jones
04:51 PM Revision 6483 (metacat): For now, remove the hzClient code connecting to the DataONE process cluster to get the hzNodes map. This will be moved into the storage cluster, but use D1Client to get the node list for now.
Chris Jones
04:42 PM Revision 6482 (metacat): A default hazelcast config file for metacat.
Chris Jones
10:54 AM Revision 6481 (metacat): going back to using IDentifier as the key for the ObjectPAthMap.
rnahf

09/20/2011

11:40 PM Revision 6480 (metacat): Removed extraneous comments.
Matt Jones
11:36 PM Revision 6479 (metacat): Add boolean field for synchronization status.
Matt Jones
11:03 PM Revision 6478 (metacat): New default properties for dataone MN properties.
Matt Jones
10:56 PM Revision 6477 (metacat): A configuration section for DataONE Member Node properties.
Matt Jones
10:20 PM Revision 6476 (metacat): Fix getCapabilities to properly throw ServiceFailure when properties can not be read, rather than failing with a log message. Fix properties in the Node object to reflect their correct values. Set the sync schedule properly to default to 5 minute intervals. Improve documentation.
Matt Jones
08:52 PM Revision 6475 (metacat): Reformatted to correct indentation to make class readable.
Matt Jones
02:32 PM Revision 6474 (metacat): newer d1 jars -- contains CN.isNodeAuthorized() method
ben leinfelder
02:12 PM Revision 6473 (metacat): explicitly require java 1.6
ben leinfelder
02:11 PM Revision 6472 (metacat): collect "message" param from multipart request for MN.synchronizationFailed method
ben leinfelder
02:08 PM Revision 6471 (metacat): Reverting previous @Overrides chanrge from r6470, as that is the desired
behavior under Java 1.6 -- previous versions of Java (e.g., 1.5) will not
comile with this usage of the @Overrides an...
Matt Jones
01:36 PM Revision 6470 (metacat): Removing incorrect @Override annotations that were preventing compilation. The methods marked did not actually override a method in the superclass, so they were not compiling. I think @Overrides was being mistaken for methods that implement an interface but aren't actually in the superclass.
Matt Jones
11:55 AM Revision 6469 (metacat): use d1_common_java's date serialization utility for parsing parameters
ben leinfelder
10:48 AM Revision 6468 (metacat): catch runtime exceptions that arise from hazelcast storage errors in the system metadata map
ben leinfelder
09:12 AM Revision 6467 (metacat): Lock the system metadata entry in hzSystemMetadata when calling setReplicationPolicy().
Chris Jones
09:10 AM Revision 6466 (metacat): Lock the system metadata entry in hzSystemMetadata when calling registerSystemMetadata().
Chris Jones
07:18 AM Revision 6465 (metacat): Remove references to CNReplicationTask.
Chris Jones
07:17 AM Revision 6464 (metacat): Remove the CNReplicationTask (for now). We will be using Metacat's ForceReplicationHandler to replicate science metadata across CNs, and may explore the use of a 100% evicted hzScienceMetadata map. Either way, the distributed task design won't be needed. When a dropped CN comes back online, we'll catch it up based on last modified dates for PIDs in the hzSystemMetadata map.
Chris Jones
07:12 AM Revision 6463 (metacat): Change isNodeAuthorized() to query the hzSystemMetadata map rather than the hzPendingreplicationTasks map. The latter isn't needed for authorization since the ReplicationStatus for each Replica in SystemMetadata lists the status of the replica and can be queried.
Chris Jones
06:42 AM Revision 6462 (metacat): Add getNodesMap() to return the hzNodes map from the process cluster. Remove getPendingReplicationTasks since that structure is being removed. Add minor documentation.
Chris Jones

09/19/2011

06:29 PM Revision 6461 (metacat): Set the correct cluster name and password for the D1 Hazelcast process cluster. This will likely change for production deployments.
Chris Jones
03:39 PM Revision 6460 (metacat): only include 0.6.4 schemas for D1. Will also need to update this when we release whatever v1 ends up being.
ben leinfelder
03:26 PM Revision 6459 (metacat): lookup latest system metadata update date for use in synchronizing CN-CN when an offline nodes comes back online
ben leinfelder
12:17 PM Revision 6458 (metacat): changed the key type from Identifier to String for ObjectPathMap. (need a Comparable key).
rnahf
11:48 AM Revision 6457 (metacat): rework this to be MN->MN replication. Should be fleshed out more.
ben leinfelder
11:43 AM Revision 6456 (metacat): throw RuntimeExceptions when store() methods throw declared exceptions -- we want callers to put() to be alerted if there are errors.
ben leinfelder
10:18 AM Revision 6455 (metacat): move CNReplicationTask to the hazelcast package
ben leinfelder

09/16/2011

05:05 PM Revision 6454 (metacat): do not throw exception when checking for system metadata - boolean return is good.
use ReplicationStatus.valueOf() instead of convert() ben leinfelder
05:04 PM Revision 6453 (metacat): implicit success for setting accessPolicy - trust that the MapStore persists the updated system metadata
ben leinfelder
05:03 PM Revision 6452 (metacat): test relationship assertion using obsoletes
ben leinfelder
04:42 PM Revision 6451 (metacat): check if system metadata exists rather than just the id mapping (before creating the entry)
ben leinfelder
04:01 PM Revision 6450 (metacat): treat access rules atomically - do not group them together otherwise the intent is subverted
ben leinfelder
03:23 PM Revision 6449 (metacat): only "save" to the shared system metadata map - not directly to the table store.
ben leinfelder
03:17 PM Revision 6448 (metacat): do not send <systemMetadata> with the <docInfo> replication information - this is handled by the Hazelcast shared map
ben leinfelder
03:07 PM Revision 6447 (metacat): rely on Hazelcast to store the SystemMetadata locally for the node. Entry event listeners store the shared system metadata on their local node when alerted. TODO: remove old replication code that included system metadata xml when replicating scimeta and data
ben leinfelder
02:24 PM Revision 6446 (metacat): move bulk of the Hazelcast code into HazelcastService from CNodeService so that it is centrall located - easier to manage and configure
ben leinfelder
01:13 PM Revision 6445 (metacat): verify that the sysmeta checksum value matches the computed checksum value when calling create()
https://redmine.dataone.org/issues/1795 ben leinfelder
01:08 PM Revision 6444 (metacat): include sysmeta for uploaded BIN data that comes through the legacy Metacat servlet API
ben leinfelder
10:51 AM Revision 6443 (metacat): check for null pointers when adding system metadata/creating records during cn.create()
ben leinfelder
10:42 AM Revision 6442 (metacat): removing unneeded class (never used)
rnahf
 

Also available in: Atom