Fix the deploy directory autodiscovery code so that it works regardless of where the metacat application directory is.
Handle exception during database update
Add some generics typing
Beef up the regex to find the document namespace
Debug and comment changes
Changes to support EML 2.1.0. Mostly access control changes, but others as well.
Fix the static error messages so they match what we are looking for in the test cases.
Add some generics typing. Fixed comments.
Add some generics typing. Add getters and setters for the inline file name that the access section affects.
Add some generics typing. Separate the code that strips inline data from document files to have a different strategy for 2.0.X versus 2.1.X documents.
Get the file name from the system_id, handling cases where the id starts with http
check for existing access control rows before inserting (we do not need duplicate rows specifying the same access control)
in cases when only access control is being modified, we can temporarily ignore the exception thrown my the write method, insert the updated access control rules, then deal with the write exception. this occurs when the docid remains the same (no revision increase) but the permissions have been altered.
use correct spelling for "accessControl" elements
translate numeric permission to text permission when serializing.
use local name for end Element parsing...
Change the ServiceInterface into a base class called BaseService. All services extend BaseService.
remove XMLSchemaService import
change the FileUtil.createDirectory calls to catch an exception on error.
Get an instance of XMLSchemaService when refreshing.
Added refreshServices action to allow tests to refresh service caches. This will be expanded to only allow for admins.
Change some info log statements to debug
Object to hold information about a single xml schema.
Add service to keep persistent information about xml schemas. This maintains a list of all registered schemas
Fix comments
Create document and temporary directories during configuration.
Use XMLSchemaService to access persistent schema information.
Look for schemaLocations in the document while initializing parser. If full schema validation is turned on in metacat.properties, and at least one schema is not registered locally, then turn on full schema validation in the parser.
Store schemaLocations as they are found in startElement. Save them in endDocument. In this way, schemas will only get saved locally if the document parses successfully.
Move xml schema specific functionality to XMLSchemaService
include context for replication server
use secure server for replication - note that this is WITHOUT "https://" prepended
use correct log directory/file for replication errors
replicate xml_access entries across servers.see: http://bugzilla.ecoinformatics.org/show_bug.cgi?id=3464note: still needs to be tested...but needed to be checked in for other metacat installations to be updated....
Display the deb.runConfiguration property in debug
Add new variable to see if resolver download a new schema.
Add debug statements to the bypass config section
Add support email to configuration error messages
Reload backup properties after they are changed so it will show up on the configuration form when you go back to it.
Handle ignoring oracle errors when we try to delete an object that doesn't exist. Also, add parsing for sql script with pl/sql.
adding document "cart" feature to metacat. will not be highly published as a feature until well-vetted.
Fix workgroup description
Replace usage of temp-dir with proper application.tempDir property
set the sessionId from the SessionData object
add closing </distribution> tag to regex for inline data.
Created a method in DocumentImpl to read a document file from disk. Created a support method to strip inline data for users that don't have read access.
Add geoserver section to configuration bypass module.
Move the DBAdaptor accessor into a DatabaseService class
Add functionality to write and read metadata documents to and from the file system.
convert revision number to a Long from a string when putting into database
remove skin.configs directory.migrate those properties to the style/skins/* properties filesdo not load them during Metacat init.
honor casesensitive indicator for contained QueryTerms.addresses bug: http://bugzilla.ecoinformatics.org/show_bug.cgi?id=3472
Fix bug where skin configs don't read backup properties correctly for checkboxes.
match the "qualified" property name
Added methods to get session data, parameters and cookies from request
change session attribute reference from "groups" to "groupname"
Add comments. Added getPublicSession method
add session id to parameters
Get session information from RequestUtil. Change some variable names to camel case.
use "local" services when none are provided in the properties file
use factory method for creating database connection pool(stoopid subclipse!)
use factory method for creating database connection pool
add ability to access protected data via the datamanager/dataquery feature.Note: the datamanager features rely on the ecogrid stubs being available in Metacat. When Metacat is installed with ecogrid enabled, the required jars are included in the war...something to keep in mind.
add dataquery (from EML's Data Manager library) to the metacat servlet actions
qualify xml and eml properties with an xml. prefix
Continue to qualify property names
Change sitemapInterval property to be sitemap.interval. Add testing property
Intial addition of geoserver utility file
Add a "bypassed" state for confguration sections.
Initial addition of geoserver administration class.
Separate the init function to pre-confiugured and post-configured methods. the initSecondHalf method allows for the intial configuration of metacat without a restart.
Remove commented lines
Add a post method
Remove the organization configuration stuff for the moment. Add geoserver configuration.
use context url to get cgi url
Change discoverTomcatDir to discoverDeployDir
Fix error where maxconnectionnumber was being read into maxconnectionage.
Create data and inline data directories
Fully qualify spatial and replication properties
Qualify harvester properties
Replace tomcatDir with deployDir
Use qualified properties
use the docid, not the filename when updating this node.fixes bug: http://bugzilla.ecoinformatics.org/show_bug.cgi?id=3260
include leading slash for path to the spatial files (context is given without a trailing slash)
Add support for separate LDAP and organization level configurations
Fix the db script suffix.
Add functionality to allow developer to bypass configuration utility
FIx comments for getContextDir to reflect that we no long append webapps to the path
Add sql debug statements
Use SystemUtil.getContextDir() instead of constructing directory path.
fixed bug where the searchmode param was put into the search fields
Differentiate between tomcat directory and deployment directory.
Replace Options class with PropertyService
Create PropertyService using log directory instead of servlet context.
Append context url onto system id instead of server url.
Move references to sql scripts into the WEB-INF directory.
Add method to return a map of db script suffixes from metacat.properties