Project

General

Profile

Statistics
| Revision:
  • svn:ignore: build

# Date Author Comment
6122 06/06/2011 03:28 PM ben leinfelder

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

6121 06/06/2011 12:08 PM ben leinfelder

implement the old interface for now (until 0.6.2)

6120 06/03/2011 12:51 PM ben leinfelder

include CNCore implementation - only registerSystemMetadata is implemented at the moment. also - updated d1 jar (0.6.2) should be used since that is where the method is defined.
would like to consider making ResourceHandler more modular - seems like it does A LOT of different things

6119 06/02/2011 04:40 PM ben leinfelder

include System Metadata forced replication - just need to figure out when to call it!

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

6105 05/26/2011 11:51 AM ben leinfelder

rework SystemMetadata creation when inserting documents via the Metacat servlet api (in which case there was no client-supplued system metadata)

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

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

6103 05/25/2011 03:54 PM ben leinfelder

use 1.9.4 version

6102 05/25/2011 03:53 PM ben leinfelder

transfer full System Metadata (as XML) during document and data replication

6100 05/25/2011 12:05 PM ben leinfelder

remove docid and rev from systemMetadata table

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

6098 05/24/2011 04:26 PM ben leinfelder

add systemMetadataProvenance table for tracking those relationships

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

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

6096 05/20/2011 10:23 AM Matt Jones

Committing the change to the utilities tag to pick up fixes in newline handling at the end of the files. With this, the MetacatClientTests pass.

6095 05/19/2011 07:31 PM Matt Jones

Commenting out these MetacatRestClient tests because the Metacat RestService is no longer registered as a servlet and needs to be removed, along with the associated MetacatRestClient and tests.

6094 05/19/2011 07:06 PM Matt Jones

Fixed MetaCatServletTest test failures by removing the hardcoded username/passwords used in the tests and replacing those with data from metacat.properties.

6093 05/19/2011 05:05 PM Matt Jones

Fix AuthLdapTest to use accounts that are more reliable when searching for existing accounts in the getPrincipals output.

6092 05/19/2011 01:52 PM Matt Jones

Modified Metacat to build against the D1_SCHEMA_0_6_1 branch of the dataone schemas by incorporating the 0.6.1-SNAPSHOT version of d1_common and d1_libclient libraries, and refactoring Metacat code references to the d1 schema changed types.

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.

6089 05/18/2011 04:51 AM Chris Jones

Added in the 0.6.0 version of the d1_common_java library that has object format changes.

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....

6087 05/17/2011 07:43 PM Chris Jones

Include the DataONE 0.6.0 type schema in the SQL schema and DTD loader script.

6086 05/17/2011 07:41 PM Chris Jones

Updating the cached object format list to the new DataONE namespace including the 'ns' domain component.

6080 05/09/2011 11:25 AM barseghian

add additionalMetadata/metadata/spatialResolution/value and additionalMetadata/metadata/spatialResolution/units for indexing. Also add missing comma behind additionalMetadata/moderatorComment

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

6071 05/05/2011 12:14 PM ben leinfelder

remove entity encoded characters that were garbled in browser (sanparks patch)

6069 05/05/2011 10:50 AM rnahf

updating CrudServiceTest with better exception handling (more specific) to match refactored CrudService.java class

6068 05/05/2011 10:45 AM rnahf

generateMissingSystemMetadata was swallowing Exceptions instead of throwing. Refactored so that specific exceptions are thrown, affecting [create/update]SystemMetadata methods, too.

6067 05/05/2011 10:19 AM rnahf

committing changes related to the new restservice update specification (newPid vs. obsoletedGuid)

6066 05/05/2011 10:10 AM ben leinfelder

remove entity encoded characters that were garbled in browser (sanparks patch)

6064 05/05/2011 10:00 AM ben leinfelder

replace whitespace in generated docid scope (sanparks patch from 1.9.4 branch)

6059 05/04/2011 12:39 PM ben leinfelder

use outputstream as an object, not a string. relax the Map typing to allow for mixed values. (sanparks patch)

6057 05/03/2011 04:04 PM ben leinfelder

use "object_format" element consistently so that it is replicated across instances
https://redmine.dataone.org/issues/1514

6056 04/29/2011 02:17 PM Chris Jones

Set svn keywords on the object format list file.

6055 04/29/2011 02:16 PM Chris Jones

The initial checkin of an object format list for Metacat, which will be used by the ObjectFormatService. The XML file will be used only if the service can't get the authoritative list from a D1 coordinating node or from within it's local Metacat database.

6054 04/28/2011 03:08 PM ben leinfelder

remove very old "metacat webservice" code - as far as i can tell it is never referenced or used. plus we have eocgrid and the new D1 rest services covering this territory now

6053 04/28/2011 02:31 PM ben leinfelder

remove very old "metacat webservice" code - as far as i can tell it is never referenced or used. plus we have eocgrid and the new D1 rest services covering this territory now

6052 04/28/2011 01:53 PM rnahf

removed newline addition to test doc now that the newline problem is fixed in utilities project. Small adjustments to comments and debug statements to aid in debugging. Reordered tests to remove possible insertion between read and getLastDocid test.

6051 04/28/2011 01:05 PM rnahf

zero padded date string in DocumentUtil.generateDocumentId() for readability

6050 04/26/2011 08:22 AM Chris Jones

Use SystemUtil.getContextURL() in ResourceHandler to construct the DataONE service URL (rather than direct calls to PropertyService). This handles http and https URLs, and strips the :80 or :443 for the well known ports.

6049 04/25/2011 04:16 PM Jing Tao

Make this class be the subclass of the MCTestCase. The super class will initialize the property service for it.

6048 04/25/2011 03:25 PM Chris Jones

Minor changes to MetacatHandler:
- Improved logging where MetaCatServlet.class was used in getLogger() rather than MetacatHandler.class (holdover from the refactor)
- Minor formatting changes, and replacement of 'MetaCatServlet' with 'MetacatHandler' in the logging output as needed.

6047 04/25/2011 02:28 PM rnahf

commenting out the pisco user tests, since they only work in production.

6046 04/25/2011 02:24 PM rnahf

put in more explanatory exception methods in the private helper functions that throw exceptions, and some debug statements in the onlineData201CasesTest_1 test.

6045 04/25/2011 11:08 AM rnahf

improved multipart handling (improved logging messages, code, and error checking). Added exception classname to error output when the generic Exception is thrown. Added error check for cases of null value for file parts 'sysmeta' and 'object.'

6044 04/25/2011 10:58 AM rnahf

added a few debugging lines in createSystemMetadata() related to contents of identifier strings

6043 04/24/2011 07:00 PM Chris Jones

Due to changes in MetacatHandler that creates system metadata from uploaded EML documents, OnlineDataAccessTest was failing certain tests because of errors in how the test documents were originally uploaded. MetacatHandler.createSystemMetadata() was throwing exceptions because of these errors, specifically when a data document is uploaded with a docid that is difeerent than the docid statement in the EML distribution URL. Most errors involved stated docids with .2 versions, and the metadata had .1 versions....

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).

6041 04/22/2011 01:44 PM rnahf

fixing annoying error message inaccuracy

6040 04/14/2011 05:13 PM Matt Jones

Cleaned up imports.

6039 04/14/2011 05:10 PM Matt Jones

Updated D1 libraries to head to eliminate problems with date parsing -- added
Joda jar to support date parsing. Removed hardcoded DN from test file. Now
CrudServiceTest is passing again.

6038 04/14/2011 03:41 AM Matt Jones

Remove hardcoded LDAP usernames from testing so that MetaCatServletNetTest will work even using alternate
LDAP servers.

6037 04/14/2011 03:07 AM Matt Jones

Changed AuthLDAP to deal with cases where getAttributes encounters non-string
attributes (which used to cause a ClassCastException). Now, if an attribute
value can not be cast to string, we catch the class cast exception and just
skip this value. This only typically occurs when an LDAP server is set to send...

6036 04/13/2011 08:03 PM Matt Jones

MOdified MetacatHandler to catch cases where ObjectFormat is not being set properly on data files when
generating SystemMetadata. When the EML document contains a format for an entity that maps to a null
type in ObjectFormat.convert(), then the type ends up being null and an error is generated on insertion...

6035 04/11/2011 05:46 PM ben leinfelder

allow "docid override" queries to include the results of a "normal" query - if the operator is left null, it acts as the usual override, otherwise UNION and INTERSECT modes can be used to either augment or refine the results.
this is for incorporating semantic+spatial+keyword queries into one query operation/result

6034 04/08/2011 10:22 AM ben leinfelder

remove System.out statements in favor of logging

6033 04/08/2011 08:56 AM Chris Jones

Removed hardcoded D1 node type in ResourceHandler and added in a new 'dataone.nodeType' property. Also added 'dataone.coordinatingNodeBaseURL' property which points to the CN that stores the authoritative object format list. If this instance of Metacat is a CN, it may point to itself.

6032 04/08/2011 08:28 AM Chris Jones

ResourceHandler in Metacat was set to return the KNB site URL as the MN base URL rather than the node Id. Fixed. https://redmine.dataone.org/issues/1390

6031 04/07/2011 03:17 PM ben leinfelder

initialize the HandlerPluginManager

6030 04/07/2011 03:16 PM ben leinfelder

allow the addition of properties via code

6029 04/01/2011 05:00 PM ben leinfelder

add event notification for insert/update/delete on documents (for semtools plugin)

6028 04/01/2011 10:32 AM ben leinfelder

move semtools skin to the semtools project - build into the war when adding the semtools plugin to metacat

6027 03/31/2011 05:12 PM ben leinfelder

do not attempt to check permissions when reading documents for systemMetadata generation (unless I completely do not understand this feature - please verify!).

6026 03/29/2011 01:18 PM ben leinfelder

new EML style tag

6025 03/29/2011 11:23 AM ben leinfelder

do each table separately with it's own connection - running into memory issues on dev.nceas running this.

6024 03/28/2011 02:44 PM ben leinfelder

do not drop nonexistent table (identifier is not in 1.9.3)

6023 03/28/2011 08:51 AM Chris Jones

This is the start of the ObjectFormatService, which manages the list of object formats registered within Metacat. This includes schema types, mime types, and other information related to a particular format. The service provides functionality for the DataONE MemberNode and CoordinatingNode components, with CoordinatingNodes providing the authoritative list of object formats. See https://redmine.dataone.org/issues/1378....

6022 03/25/2011 03:04 PM Duane Costa

Bug 3835 - design and implement OAI-PMH compliant harvest subsystem
Minor bug fix to handle irregular Metacat docids containing two or more dot ('.') characters. In the LTER Metacat, the following docids (scope and identifier, excluding the revision value) have that characteristic:...

6021 03/25/2011 10:43 AM Duane Costa

Bug 3835 - design and implement OAI-PMH compliant harvest subsystem
Return a 'badVerb' response when the 'verb' request parameter is missing from the request. Previously this generated a NullPointerException.

6020 03/24/2011 03:10 PM ben leinfelder

use the jaxb date parser for ISO 8601 formats. the numeric and date node values are now calculated after the document has been successfully inserted in the db so any sql exceptions do not prevent the raw node data from being saved.
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=2084

6019 03/23/2011 03:39 PM ben leinfelder

rollback the accessDAO changes - leaving well enough alone.

6018 03/23/2011 02:14 PM ben leinfelder

only include accessfileid when it is not toplevel

6017 03/23/2011 01:31 PM ben leinfelder

include accessfileid and subtreeid when inserting xml_access values

6016 03/23/2011 12:51 PM ben leinfelder

use access control dao for setting access in EML parser. send additional xml_access info in replication request

6015 03/22/2011 05:19 PM ben leinfelder

insert/update documents with null user and null group to circumvent access control restrictions then update the user_owner and user_updated values to reflect what exists on the originating server (pisco)

6014 03/22/2011 01:24 PM ben leinfelder

use 'user_updated' field when writing the replicated document - allows most recent ownership/permissions to be used (in case LDAP groups have shifted) and is more accurate for both updates and initial inserts (hopefully addresses the replication issue we are having with pisco)

6013 03/17/2011 09:02 AM ben leinfelder

use newer ecogrid tag to allow omission of the ecogrid query title (as is allowed in the query.xsd schema)

6012 03/16/2011 10:56 PM ben leinfelder

add support for temporal element query in pathquery
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=2084

6011 03/12/2011 07:21 AM ben leinfelder

add otherEntity physical elements to indexPaths (ndp)

6010 03/04/2011 03:23 PM ben leinfelder

replace derik's settings with previous version

6009 03/04/2011 03:14 PM barseghian

add paths to indexPaths, and kar namespaces to indexNamespaces for Kepler Workflow Run Manager run-kar queries

6008 03/04/2011 02:52 PM ben leinfelder

include simple union data for search results if they are present in the resultset document

6007 03/04/2011 09:56 AM ben leinfelder

include temporal coverage dates in the path index - (for opendap metadata queries)

6006 03/03/2011 08:15 AM Chris Jones

Fixed the testNCEASLogin() password that I mistakenly changed.

6005 03/03/2011 07:47 AM Chris Jones

Now that MetacatHandler creates GUID identifier mappings and system metadata, many of the tests in IdentifierManagerTest were failing that were manually creating id mappings and system metadata.
Modified testCreateMapping() and testCreateSystemMetadataMapping() to use docids that haven't been inserted to just exercise the methods....

6004 03/02/2011 04:44 PM Chris Jones

Added a new test method testDeleteDocumentByGUID() to ensure MetacatHandler can delete based on GUID, but fall back to docid if the GUID isn't present. Modified CrudServiceTest and made some private methods public to leverage the D1 REST calls in that library (i.e. create() a doc with a GUID).

6003 03/02/2011 02:47 PM Chris Jones

The DataONE service API jar has been renamed to d1_common_java-0.5.0.jar, updated the build file accordingly. Added debug echo of the test classpath.

6002 03/02/2011 02:14 PM ben leinfelder

hide the data section unless there is actually data to display

6001 03/02/2011 02:12 PM Chris Jones

DocumentImpl.delete() now throws finer grained exceptions (not a general exception). Consequently, the classes that call it have been updated to handle the thrown exceptions, including CrudService, ReplicationHandler, and ReplicationService.

6000 03/02/2011 10:39 AM ben leinfelder

refactor the names of these Data Manager implementation classes so that it's easier to use them with the default/local versions of similar. These classes utilize Metacat-specific configuration values rather than relying soley on the bundles that are used in the stand-alone DM lib.

5999 03/01/2011 02:00 PM ben leinfelder

render the <data/> CDATA section in

 - it's a csv string

5998 03/01/2011 09:13 AM Chris Jones

To support GUIDs in MetacatHandler.handleDeleteAction(), I've added in a new method:
deleteFromMetacat() - deletes a document based on the docid
This factors the deletion code out of handleDeleteAction(). handleDeleteAction() now does a docid lookup based on GUID, and if it is not found, reverts to the deletion based on docid instead.

5997 02/28/2011 02:42 PM ben leinfelder

only include data value/operator when present in the form

5996 02/28/2011 02:42 PM ben leinfelder

refresh search when the data operator changes (changing the value is less clear...keyup event seems too eager)

5995 02/28/2011 11:57 AM ben leinfelder

use correct operators

5993 02/25/2011 12:01 PM ben leinfelder

include data search - new form fields and semQuery schema to allow searching for Characteristics data

5992 02/18/2011 12:28 PM ben leinfelder

turn off the databounds layer by default

5991 02/18/2011 12:09 PM ben leinfelder

new lines were showing up in the html source becuase of whitespace in this - removed the white space and the new lines are gone...