Partial fix for #3496, making the registry create EML 2.1.0 documents. The documents are internally valid 2.1.0 (they run against the validator correctly) but aren't inserting into Metacat correctly as of yet.
Change the encoding method of reponse of getPrincipal from ASCII to iso-8859-1.
Change the db query to only pull public allowed documents when creating the sitemap file.
Remove the code to read and write metadata to disk. It is getting put into DocumentImpl
fixed spelling of onlineURLDistributionListWithoutId variable
Move the code to write metadata to disk into documentImpl
Clean up comments and remove extra includes
Add check for null access control list
Add some generic typing
Separate access control info into it's own list. Add getters and setters.
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 additional indexed to match postgres scripts
Re-add the xml_node id trigger. In oracle, this gets blown away when we switch tables.
Add nodedatanumerical column and associated population sql
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.
Add schema locations for 2.1.0
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.
Further rework on ldapweb.cgi for 1.9 compatibility. Finished changes needed to have skinnable presentation for ldapweb.cgi, and reworked the organization logic to be compatible with our current method of storing the data (organization.* within metacat.properties).
Number of fixes, including removing all lastid code and replacing with a single function which always queries remotely instead of relying on lookups, solving #3019. Fixed parsing of spatial coordinates for site-based skins, removed dependency on AppConfig as we're fully using .properties files at this point.
Source the lib directory in the metacat application. This is the new location of Metacat.pm
Fix workgroup description
Replace usage of temp-dir with proper application.tempDir property
Further improvements to the registry to properly support the new properties. Removed all variables previously passed around between forms which should always be available canonically from the skin.properties file and replaced with refences to properties value for the skin being used. Removed some cruft from both files, fixed mior issues mentioned in bug #3487.
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
Add eml 2.1.0 registry sql to 1.9 update scripts
rename script to oracle naming scheme
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.