get guid from online id for call to SyncAccessPolicy
example of how we can look up pid (guid) given a metacat docid.
sync pids of <distribution><online> data objects with CN when their access rules change in EML 2.0.* <additionalMetadata>
move DocInfo parsing into utilities project so that it can be used by Morpho as well as Metacat.http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5737
no not record EML access rules that use the "denyFirst" permOrder.https://redmine.dataone.org/issues/2614
add a parameter for optionally writing EML-embedded access control rules to the Metacat DB.https://redmine.dataone.org/issues/2584https://redmine.dataone.org/issues/2583
double check "ecogrid" data urls for valid docid.rev - namely integer rev numbers - when parsing EML and also generating system metadata when necessary. Log the errors as warnings.
refresh the SystemMetadata entry for EML and referenced data files when parsing EML access rules -- this ensures our in-memory system metadata map is up to date WRT the DB entries.
check previous revision when attempting to update access control with EML 2.0.x docshttp://bugzilla.ecoinformatics.org/show_bug.cgi?id=5560
refactor Metacat access handling to be on a per-revision basis so that it more closely aligns with the DataONE approachhttp://bugzilla.ecoinformatics.org/show_bug.cgi?id=5560
uses prepared statement instead of plain old statement.deprecated the DBConnection.createStatement() method to discourage direct parameter value use in favor of parameter binding.http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5527
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5527
rollback the accessDAO changes - leaving well enough alone.
use access control dao for setting access in EML parser. send additional xml_access info in replication request
use detected XML encoding when reading/writing filesuse UTF-8 as default when performing queries in the DB (assume DB is using UTF-8)remove as many PrintWriters (uses system default character encoding only) as possible and construct OutputStreamWriters where explicit encoding can be given....
Merge 1.9.2 changes back into the trunk
Move the chunking of large test element data to centralized location in DBSAXNode.writeChildNodeToDB(). Beff up logging
fix spelling of word additional
Move access control source to it's own directory.
Change location of PropertyService to properties directory
Move document specific utilities to DocumentUtil from MetacatUtil. This makes it easier to define a layer between the core metacat services and the rest of the code.
Create database and shared directories for database management code and shared code respectively.
Introduce replication user. Use the fileutil writer methods instead of writing directly.
Renamed MetaCatUtil to MetacatUtil
Add debug statements
Rename LDAPUtil to AuthUtil
fixed spelling of onlineURLDistributionListWithoutId variable
Fix the static error messages so they match what we are looking for in the test cases.
Continue to qualify property names
Add sql debug statements
Merge 1.9 changes into Head
Removed the release ant token from all files in 'src'.
release
Allow admin to update any document
Replacing MetaCatUtil.debugMessage or MetaCatUtil.logMetacat call with logMetacat (private Logger object) call
Fixed bug which currentDocument may be null.
Add info about date.
Remove the print out statement.
Add code to handle deleted document replication.
Removing the code that calls the indexing thread. This call will be made from documentImpl.java once document insertion and update is finished.
Using a variable to replace the hard code for namesapce in inserting record to xml_relation table.
changed function parameters in accordance with changes in PermissionController
Fixed error in handling of multiple additional metadata tags...
fixed some bugs in document update
Fixed a bug in access handling when no access is specified.
Merging in changes made in branch 'dataaccess' by Jing Tao.
Get rid of some useless code.
Made initial changes for accepting EML version 2.1.0 in Metacat
fixed the bug that couldn't assign access rule for the data file come with morpho.
New class to replace EmlSAXHandler.