Remove org configuration methods since they are not used. Get the backup configuration directories when doing a bypass. Implement the refresh method.
This service now holds a registry of active services. Refreshing of services must go through this class. Also holds some common values that are discovered via servlet context.
Implement refresh methods inherited from base class
Remove the configuration directory from the PropertyService constructor
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.
Renamed MetaCatUtil to MetacatUtil
Move global connection variable setters into the constructor so they are retrieved every time we get a new dbConnetion object
Robustly handle file naming as per bug #2566 and the feedback of the scientific programmers (http://tinyurl.com/4n4jve).
revert the changes for: -- On update, check if the accession number exists in the db. If not, change the action to insert.
Quote filenames as per RFC2616 (http://www.w3.org/Protocols/rfc2616/rfc2616-sec19.html#sec19.5.1), this prevents filename truncation on Firefox for files with spaces within the names (part of #2566).
On update, check if the accession number exists in the db. If not, change the action to insert.
Use a distributionSection object to hold a distribution and it's access.
move readerToString function to StringUtil class in utilities module.
Holds all the information for a single distribution in eml.
Change Inlinedatafilename to datafilename, since it can be the name of a regular data file
Add method to save transforming message into files.
Use a while loop to replace if.
Add code to go through eml201 document list to transform them to eml210.
Add a new class which will transform eml201 and eml 200 to eml210.
Correct the pathing for the schema directories based on OS. Leave them in the database with linux style paths (forward slashes) since the values are also used to create urls.
add debug
Discover the external (backup) directory based on OS
Add debug statements
catch and report missing skins configuration files.
Reformat file
Catch login errors and report the details via an exception.
Added code to populate moderators from metacat.properties
Add release info property to provide a brief description of the release (release candidate info mostly)
Remove application.default-style from the global configuration screen and activate it in the skins configuration.
Update metacat api documentation
Rename LDAPUtil to AuthUtil
This handles the configuration login form
Rename LDAPAdmin to AuthAdmin
Add a getAttributes method to pass through the getAttributes defined in the AuthInterface.
change generic authentication properties from ldap.* to auth.*
Added this class to be able to test multiple authentication strategies
change some info and warn statements to debug
When checking oracle metadata, table names must be in upper case. For postgres, it's however the table was created.
Trim property values
Added validation that configured ldap admins actually exist in ldap
Add some generic typing
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
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 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