refactor generate system meta loop to the factory class -- to be reused in sysmeta and ORE generationhttp://bugzilla.ecoinformatics.org/show_bug.cgi?id=5522
do NOT generate ORE maps or download data when we do the initial System Metadata generation -- this is deferred until D1 registration.
make more generic so that a custom list of IDs can be passed in.
insert OR update system metadata -- no need to do an update right after initial insert...
call the System Metadata generator during upgrade to 2.0.0
In IdentifierManager.updateSystemMetadata(), add a check for invalid system metadata (fields that throw a NullPointerException on access) to ensure that system metadata is populated correctly. Updated calling classes to handle the exception.
store D1 configuration properties in the main backup so that they persist between upgrades.
update authoritative member node id when we change it (reconfiguration) and when we initially register as a MN with the CN.
only delete replicated data files (server_location != 1)
download remote data and save locally when it is referenced by an EML package, then include it in the ORE map.http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5522
upgrade routine to purge empty replicated data files so that they can be re-replicatedhttp://bugzilla.ecoinformatics.org/show_bug.cgi?id=5536
sort the docids so that "old" revisions are processed before newer ones
new jars with many changes -- including new CN methods: ping, describe, listChecksumAlgorithm. Removed MN.setAccessPolicy. Refactored CN.setOwner() to CN.setRightsHolder().
close prepared statement only if not nullhttp://bugzilla.ecoinformatics.org/show_bug.cgi?id=5562
generating ORE maps and creating/updating system metadata now. There are some Permission conversion issues to be worked out yet
optionally include ORE generation/insertion into Metacat when generating SystemMetadatahttps://redmine.dataone.org/issues/2056
refactor SystemMetadata creation into separate class from the MetacatHandler -- this will be shared by upgrade code and normal metacat api.
include all document revisions when generating "missing" system metadataTODO: revision graph captured in obsoletes/obsoletedBy
simplify SystemMetadata generation -- will be done during Metacat upgrade for D1 features/support.
configure synch schedule in the admin screenhttps://redmine.dataone.org/issues/1933
replication control panel now fully implemented as an admin configuration screenhttp://bugzilla.ecoinformatics.org/show_bug.cgi?id=5528
move replication configuration actions to the admin servlet and out of the replication servlethttp://bugzilla.ecoinformatics.org/show_bug.cgi?id=5528
actually persist the MN id value to the properties file
set the newly assigned MN id after we call CN.register().
DataONE MN registration/configuration is now its own configuration page in the admin interface.http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5531
correctly check for missing config values during geoserver configuration
use logging, not system.out
change upgrade scripts/routines to use 2.0.0 version number instead of 1.10.0
make sure we close the prepared statement always
add User-Agent logging to support D1 requirements
use Settings augmentation to customize the D1Client.CN_URL when used in a Metacat deployment.
Use setProperty() instead of addProperty() to properly override the Settings property.
Modify to set the CN URL before getting a CN instance.
Pull the certificate path for dataone certificates from the metacat properties file.
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.
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.
use new "v1" types from DataONE
remove CrudService -- replaced by MNodeService and CNodeService
organize imports so that it is clearer what dependencies exist on the D1 jars
expose spatial cache regeneration option in the admin interface
Merged in the D1_0_6_2_BRANCH changes that include the transition from ObjectFormat calls to ObjectFormatCache calls.
-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
do not use XML files for storing SystemMetadata - use DB tables only.
do each table separately with it's own connection - running into memory issues on dev.nceas running this.
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
add support for temporal element query in pathqueryhttp://bugzilla.ecoinformatics.org/show_bug.cgi?id=2084
always re-write web.xml in case geoserver has been redeployedhttp://bugzilla.ecoinformatics.org/show_bug.cgi?id=4307
include a default location for the Geoserver data directory (under the metcat deployment)
rework geoserver configuration:-geoserver context is set to 'geoserver' by default, but can be reconfigured-data directory is set in the geoserver web.xml file (we have a template, set the value accordingly, then overwrite the deployed version in the geoserver webapp)...
refactored the sessionService to use a correct singleton initialization scheme. Added true authentication to ResourceHandler.
Change RequestUtil forwardRequest() method to throw MetacatUtilException.
Change location of PropertyService to properties directory
Persist skin properties across installations
Change MetaCatVersion to MetacatVersion
Rename MetaCat to Metacat
Create database and shared directories for database management code and shared code respectively.
Populate admin login user dropdown with configured admins
Use context url instead of server IP. Server IP breaks if the server does not have an externally facing IP (behind a proxy server)
Add upgrade scripts for 1.9.2 (scheduler tables)
Add archival read funtionality (jar/kar/war files)
Beef up exception handling from file utilities. Move UtilException to MetacatUtilException to eliminate conflict with similar exception in utility package.
Update replication documentation and fix code so that replication log is available.
Allow for backup properties to be written to context based subdirectory of the external configuration directory. This allow multiple instances of metacat to be run side by side.
Do not back up password properties
Only configure skins that are correctly configured in the skins directory.
Only show the backup configuration screen if the system cannot discover a directory.
Process affiliated ldap info
Do not worry about creating backup directories here
Use configured backup dir when discovering data directories
Handle backup configuration action
Class to support backup directory configuration
Deleted this file. Organization level configuration is not used.
Discover the external (backup) directory based on OS
catch and report missing skins configuration files.
Catch login errors and report the details via an exception.
Remove application.default-style from the global configuration screen and activate it in the skins configuration.
Rename LDAPUtil to AuthUtil
This handles the configuration login form
Rename LDAPAdmin to AuthAdmin
When checking oracle metadata, table names must be in upper case. For postgres, it's however the table was created.
Added validation that configured ldap admins actually exist in ldap
Handle exception during database update
remove XMLSchemaService import
change the FileUtil.createDirectory calls to catch an exception on error.
Create document and temporary directories during configuration.
Add support email to configuration error messages
Handle ignoring oracle errors when we try to delete an object that doesn't exist. Also, add parsing for sql script with pl/sql.
Fix bug where skin configs don't read backup properties correctly for checkboxes.
Initial addition of geoserver administration class.
Remove the organization configuration stuff for the moment. Add geoserver configuration.
Create data and inline data directories
Replace tomcatDir with deployDir
Add support for separate LDAP and organization level configurations
Fix the db script suffix.
Add functionality to allow developer to bypass configuration utility
Implement form submittal processing.
use metacat.properties to determine script suffixes
Add GeneralPropertyException to property setters