Project

General

Profile

  • svn:eol-style: native

# Date Author Comment
6862 01/06/2012 10:45 AM ben leinfelder

update authoritative member node id when we change it (reconfiguration) and when we initially register as a MN with the CN.

6837 01/03/2012 07:32 PM Chris Jones

When the requested count in a call to listObjects() is 0, return an empty object list, not a full one. Fixes https://redmine.dataone.org/issues/2122

6836 01/03/2012 07:30 PM Chris Jones

Minor formatting for querySystemMetadata().

6798 12/16/2011 09:44 AM Chris Jones

Change the query semantics such that we implement the MN.listObjects() where the lower datetime bound is inclusive (greater than or equal to" and the upper datetime bound in exclusive (less than). This allows easier paging in client applications.

6766 12/12/2011 10:50 AM ben leinfelder

include 'archived' system metadata element in backing DB store

6745 12/07/2011 05:02 PM ben leinfelder

use correct "rev" column in xml_revisions table

6744 12/07/2011 12:18 PM ben leinfelder

refactor Metacat access handling to be on a per-revision basis so that it more closely aligns with the DataONE approach
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5560

6722 12/01/2011 11:53 AM ben leinfelder

for "all" permission, return a list of READ, WRITE, CHANGE_PERMISSION

6720 11/30/2011 05:25 PM ben leinfelder

look up access policy by guid or local id
TODO: resolve the Metacat/EML "all" permission as it relates to DataONE (there is only READ, WRITE, CHANGE_PERMISSION). for now I am using CHANGE_PERMISSION when it is a Metacat "all"

6712 11/29/2011 02:15 PM ben leinfelder

optionally include ORE generation/insertion into Metacat when generating SystemMetadata
https://redmine.dataone.org/issues/2056

6708 11/29/2011 01:05 PM ben leinfelder

use shared method for looking up "docInfo" map -- both in Metacat replication and in D1 system metadata generation

6704 11/29/2011 11:00 AM ben leinfelder

include all document revisions when generating "missing" system metadata
TODO: revision graph captured in obsoletes/obsoletedBy

6648 11/14/2011 03:34 PM ben leinfelder

delete system metadata when MN.delete() is called.

6595 11/02/2011 08:40 PM ben leinfelder

http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5527

6561 10/27/2011 05:51 PM ben leinfelder

move the DataONE 1.0.0-SNAPSHOT

6535 10/14/2011 10:45 AM Chris Jones

Fix a data-typing issue when pulling replicationAllowed from postgres. Use getBoolean(), not getString().

6533 10/12/2011 07:19 PM Chris Jones

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.

6519 09/26/2011 11:52 AM ben leinfelder

-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

6516 09/26/2011 09:42 AM ben leinfelder

skip Objects that have null format ids are invalid checksums

6494 09/22/2011 10:11 AM ben leinfelder

more stringent NP checking when saving replication policy

6459 09/19/2011 03:26 PM ben leinfelder

lookup latest system metadata update date for use in synchronizing CN-CN when an offline nodes comes back online

6454 09/16/2011 05:05 PM ben leinfelder

do not throw exception when checking for system metadata - boolean return is good.
use ReplicationStatus.valueOf() instead of convert()

6450 09/16/2011 04:01 PM ben leinfelder

treat access rules atomically - do not group them together otherwise the intent is subverted

6443 09/16/2011 10:51 AM ben leinfelder

check for null pointers when adding system metadata/creating records during cn.create()

6423 09/14/2011 12:07 PM ben leinfelder

do not add obsoletes and obsoletedBy elements if their values are null (jibx chokes on the emptiness)

6416 09/13/2011 02:47 PM rnahf

fixed logic wrt localID and docid. Implemented new method in IdentifierManager to getAllGUIDs from identifier table for implementation of loadAllKeys in ObjectPathMapLoader.

6397 09/07/2011 05:16 PM ben leinfelder

changes for schema update (d1_common)

6384 08/31/2011 02:36 PM Chris Jones

Update classes to use the DataONE 0.6.4 schema and types. Major changes involve using BigInteger vs long in SystemMetadata.size, and using ObjectFormatIdentifier rather than Object format.

6381 08/10/2011 07:04 AM Chris Jones

Fix bug in updateSystemMetadataFields() where guid is set from the wrong parameter in the prepared SQL statement.

6377 07/29/2011 10:40 AM ben leinfelder

remove ORE mapping from system metadata

6375 07/28/2011 05:11 PM ben leinfelder

include obsoletes and obsoletedBy for system metadata
repurpose the "provenance" table as the ORE mapping table for system metadata

6368 07/28/2011 10:11 AM ben leinfelder

use correct enum method

6366 07/27/2011 04:25 PM ben leinfelder

use new "v1" types from DataONE

6337 07/12/2011 03:02 PM ben leinfelder

use objectFormatIdentifier for listObjects()
remove provisional system metadata indicator - Metacat will not implement reserveIdentifier()

6318 07/07/2011 01:28 PM Chris Jones

Reverting the resultset order in querySystemMetadata(). Thanks Ben.

6316 07/07/2011 01:11 PM Chris Jones

Because of the new 'provisional' column, the resultset field order in querySystemMetadata() was out of order. Changed the order to reflect the new table column order.

6311 07/07/2011 12:18 PM ben leinfelder

allow very minimal system metadata for provisional entries (CN.reserveIdentifier)

6299 07/06/2011 11:52 AM ben leinfelder

handle null values from DB better when querying system metadata

6296 07/06/2011 07:59 AM Chris Jones

Fixed problems in IdentifierManager asSystemMetadata(), getSystemMetadata(), and querySystemMetadata() that were using ObjectFormat.toString() rather than ObjectFormat.getFmtid().getValue(). Metacat was storing the string memory pointer rather than the actual format string in the systemmetadata table.

6292 07/05/2011 04:18 PM ben leinfelder

do not delete if the sysmeta doesn't exist

6277 07/01/2011 12:35 PM ben leinfelder

allow for provisional SystemMetadata records (provisional=true)

6139 06/15/2011 08:48 AM Chris Jones

Updated CNCoreImpl to implement listFormats() and getFormat(), and changed calls to ObjectFormatCache in IdentifierManager, MetacatHandler to call getInstance(). Removed the ObjectFormatService registration from MetaCatServlet since it is replaced by CNCoreImpl.

6131 06/08/2011 06:22 AM Chris Jones

When calling SystemMetadata.getObjectFormat(), return the value of the ObjectFormatIdentifier rather than ObjectFormat.toString() (which no longer returns the fmtid string).

6124 06/07/2011 09:53 AM Chris Jones

Merged in the D1_0_6_2_BRANCH changes that include the transition from ObjectFormat calls to ObjectFormatCache calls.

6123 06/06/2011 03:56 PM ben leinfelder

check system metadata for the id as well (in cases when we only have system metadata)

6122 06/06/2011 03:28 PM ben leinfelder

include GUID column for xml_access and related methods for storing/retrieving access rules

6118 06/01/2011 01:45 PM ben leinfelder

handle timed replication of system metadata. there are still a few outstanding issues:
-track server location of system metadata-only entries
-replication policy flag for system metadata-only entries?
-locking for replicated entries?
-forced replication of entries

6108 05/27/2011 11:55 AM ben leinfelder

read and write D1 access policy rules from metacat xml_access table.
still TBD: which mechanism takes precedence when there are systemMetadata access rules and EML access rules and other access rules?

6107 05/27/2011 09:45 AM ben leinfelder

persist system metadata replication policy and status using db tables

6104 05/26/2011 10:25 AM ben leinfelder

do not look in systemMetadata for a docid->guid mapping

6099 05/25/2011 11:59 AM ben leinfelder

-remove system metadata guid -> local id mapping (there is no document for system metadata now)
-include system metadata elements when replicating data objects (TODO: transfer all system metadata structures with the docinfo request).
TODO: remove docid+rev from the systemMetadata table definition

6097 05/24/2011 04:18 PM ben leinfelder

do not use XML files for storing SystemMetadata - use DB tables only.

6091 05/18/2011 04:32 PM Chris Jones

In order to sync up with DataONE 0.6.1 changes, I'm backing out ObjectFormatService changes temporarily in Metacat. Most functionality will be rolled back in using the DataONE 0.6.2 tag, but some methods in ObjectFormatService (such as getListFromDisk()) will be moved into d1_libclient_java.

6088 05/17/2011 08:02 PM Chris Jones

Changes in the DataONE ObjectFormat class deprecate the convert() method, and we're now using Metacat's ObjectFormatService to look up object format attributes. The following changes replace ObjectFormat.convert() with ObjectFormatService.getFormat() in several classes....

6079 05/05/2011 03:14 PM ben leinfelder

use update method to update the mapping between local and guid (d1) when we get a force replication request that is an "update

6042 04/24/2011 05:42 PM Chris Jones

Modified IdentifierManager.getDocumentInfo() to include the docid in the returned hash map, since it is useful to be able to obtain the docid and rev separately from a given fullDocidWithRev (e.g. test.1.1).

5957 02/15/2011 02:08 PM berkley

fixed bug where the wrong checksum alg got written to the db

5950 02/11/2011 01:48 PM berkley

adding more debuggin and fixing bug with systemmetadata

5944 02/10/2011 04:17 PM berkley

fixed replication bug where systemmetadata was not getting procssed correctly

5943 02/10/2011 10:56 AM berkley

think I fixed the connection problem. one connection in IdentifierManager was being leaked. added more debug info in case it happens again

5930 02/08/2011 12:05 PM berkley

fixed typo that prevented replication

5922 02/04/2011 06:34 PM berkley

fixed problem with count in listObjects()

5917 02/04/2011 12:39 PM berkley

fixed bugs in listObjects

5906 02/03/2011 03:39 PM berkley

few bug fixes for listObjects

5895 02/03/2011 03:25 PM berkley

added code to do database query for listObjects

5887 02/02/2011 03:52 PM berkley

adding fields for additional system metadata info

5798 01/13/2011 11:33 AM berkley

fixes for creating SM for legacy docs

5796 01/12/2011 11:57 AM berkley

fixing generateSystemMetadata

5453 07/26/2010 03:39 PM berkley

still working on getting guid problems fixed with replication

5452 07/26/2010 02:47 PM berkley

fixed identifier manager problem with getting guid for systememtadaa doc

5451 07/26/2010 02:05 PM berkley

fixing problems with replication and systemmetadata

5445 07/23/2010 02:11 PM berkley

fixed more access control problems. also fixed extraneous white space that was getting put into the listobject output stream

5444 07/23/2010 01:30 PM berkley

fixed problems with access control on sysmeta

5442 07/23/2010 12:00 PM berkley

fixes for the access control setting for sysmeta

5441 07/22/2010 03:30 PM berkley

added functionality to set access permissions to system metadata the same as the document that it describes

5424 07/06/2010 11:58 AM berkley

fixed bug in access control where the sessionid was not correctly passed along so changes of privileges were not being made

5378 06/09/2010 04:21 PM berkley

working on getting systemmetadata creation working for legacy knb objects

5377 06/09/2010 02:24 PM berkley

working on a function to create dataone system metadata docs for legacy metacat objects that do not have SM.

5352 05/12/2010 10:55 AM berkley

removed system.outs

5350 05/11/2010 04:49 PM berkley

amost have update working. still need to get unit test squared away.

5344 05/10/2010 04:18 PM berkley

getting getSystemMetadata to work

5334 05/03/2010 03:28 PM berkley

refactoring to remove duplicate code

5333 05/03/2010 03:05 PM berkley

adding a system to track system metadata documents for dataone

5322 04/26/2010 12:29 PM berkley

added a method in IdentifierManager to get a guid from a docid and rev. added fields in the documentinfo replication document to pass the guid. now need to handle the guid and insert it into the table if its found

5286 03/18/2010 03:11 AM Matt Jones

Added support to ResourceHandler to allow the putObject method to use
arbitrary guid strings as input. These strings are examined, and if they
match the Metacat docid format (scope.id.rev), they are used directly. If
the id is a string in another format, a new localId is generated based on...

5282 03/17/2010 06:54 PM Matt Jones

Added initial support for arbitrary string identifiers in metacat (referred to as a guid). The new identifier table is used to map arbitrary string identifiers to Metacat's current docid format (referred to as the localId). Added a new IdentifierManager class to manage this table, adding new mappings as objects are added to the system. Modified the MetacatTest service to utilize this mapping table to look up a localId from a guid. IdentiferManagerTest is working with these guids now, as is the MetacatTest service get() method, but other parts of the system are unaware of them (e.g., create, update, delete operations are unaware, and no mapping is created when new documents are created). As a consequence, the MetacatRestClientTest is not working (although it also had lots of hardcoded dependencies that need to be fixed as well).