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
look up docid using mapped guid when checking permission on described data fileAddresses: http://support.nceas.ucsb.edu/rt/Ticket/Display.html?id=7490
no not record EML access rules that use the "denyFirst" permOrder.https://redmine.dataone.org/issues/2614
do not create docid-guid mapping unless we are supposed to write access rules for the data to the dbasehttps://redmine.dataone.org/issues/2572
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.
remove old access rules for a data object when they are being updated by rules contained in an EML document. Now the OnlineDataAccessTest EML 2.1.0 tests pass.http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5560
construct the proper previousDocId when checking for update permission
check previous revision for permissions to update (includes data described by EML)
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
use prepared statement place holder (?)
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.
only include accessfileid when it is not toplevel
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....
add support for EML 2.1.1
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
Send appropriate message when trying to update a docid that was previously deleted.
fix spelling of word additional
Removed some old commented out code
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.
Don't worry about checking for user permissions when inserting a new document
Only check user permissions for online data if the data already exists.
Renamed MetaCatUtil to MetacatUtil
Use a distributionSection object to hold a distribution and it's access.
Changes to support EML 2.1.0. Mostly access control changes, but others as well.
convert revision number to a Long from a string when putting into database
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
Replacing MetaCatUtil.debugMessage or MetaCatUtil.logMetacat call with logMetacat (private Logger object) call
Fixed bug which currentDocument maybe null.
Add date info.
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.
Removed some unused code
Merging in changes made in branch 'dataaccess' by Jing Tao.
Made initial changes for accepting EML version 2.1.0 in Metacat