- merged "getabstract" and "getdatadoc" actions to "read" action;- put MIME types everywhere for the returned data;- zip when more than one doc/files were requested or when specified by qformat="zip" parameter;- get rid of "relation" parameter, instead use "docid" parameter name only - when more that one docid - zip them;...
Changes related to running LDAP servers referred each other in one tree modeling the KNB tree.Currently there are running LDAP server on dev that holds the KNB root and the NCEAS' s subtree.It also refers to a subtree modeling the LTER's tree which is held by another LDAP server runnig on alpha .
uncompleted script file to create DB on SQL server
fixes on getting information from LDAP services
added check to see if a replication server's IP matched it's DNS entry and the entry in the replication table
fixes around getUsers and getGroups."getprincipals" action can now produce output like:<principals> <group> <groupname>Administrators<groupname> <user> <username>uid=admin,o=NCEAS, c=US<username> </user> </group>...
Included back getting the list of users and groups stored in auth schemethrough new action="getprincipals". No extra parameters are needed.Any logged in users are able to get this information
removed download.xsl entry
included missing implementation of getUsers(), getGroups() interfaces
no message
Added results of running the query analysis.
Analysis code cleanup.
modified analysis to add query_method (index or nested) as afactor in the GLM.
Added data and statistical analysis code used for evaluation of thequery performance metrics for Metacat.
results from metacat testing
test results for 11thousands, 87thousands and 162 thousands nodes
play dtd pathquery files
script and data files for performance testing
removed old script and xml files
Modifications to allow printing of SQL with and without INDEX option.
added print info and timing info
print the nested statements sql query
script to execute all queries
test queries for performance analysis
included flag in DBQuery to run pathqueries with or without the index,but for the command line only.
added timing info to main
added removal of relations
added new stylesheet for download
stylesheet for download files
interface for viewing only download documents
implemented interface for download of DTD or Schema file from Metacat file systemthrough the params:action="getdtdschema" doctype
- new attribute catalog_id added in xml_documents and xml_revisionsas a FK to xml_catalog
- fixed missing replication of public_access- new attribute catalog_id added in xml_documents and xml_revisionsas a FK to xml_catalog; catalog_id is replicated also
Added contact mailing address for bug reports and feedback.
Included check up for <!DOCTYPE ... PUBLIC/SYSTEM ... >in order to set the validation parser at runtimeIn case of:- no DOCTYPE declaration- <!DOCTYPE docname>validation is turned "off" In case of:- <!DOCTYPE ... PUBLIC ...>- <!DOCTYPE ... SYSTEM ...>...
reject writing DTD file if it already exists
removed descrpency between the gzipped release version of build.xml and the one in cvs
there were more mentions of DOCTITLE attr - cleared them
cleared DOCTITLE attribute in xml_documents and xml_revisionscleared all mentions of doctitle
cleared DOCTITLE attribute in xml_documents and xml_revisions
cleared the UNIQUE constraint in xml_access - moved in AccessControlListadded FOREIGN keys for xml_relation.docid and xml_access.accessfileid referencing xml_dociments.docid
added new "getaccesscontrol" action for a given docid
fixed white space problem in toXML that was preventing in line end tags from being popped from the stack.
Module cleanup inpreparation for a release.
Solving the problem with relication of access file where access files were rejected from the replication servers.In AccessControlList check for serverCode is included,so only on the local server the connected user is checked for having "all" permissions on the resources specified in it...
fixed some problems with database connections getting a time out error. Also updated some catch statements
fixed typo
included checkbox "public" for the servlet's "public" parameterit is checked by default
included new servlet parameter "public" specifing public read access for the submitted documentthe expected values are "yes" or "no" public parameter is optional and if it is not specified, means "no"
fixed bug that was accidentally introduced when the change from metacatURL to URL was done.
added location info to catch statements
fixed comments
added comments and removed xml_acc_numbers
added precise location information (class.method) to each catch statement so that errors are more easily traced.
removed print statements
included implementation for public "read" access as specified from the access file
fixed introduced problem with preparedStatements
Updated build files with minor documentation changes.
Added license terms to source code files, and cleaned up some javadocdocumentation in a few places.
Added License terms to source files, added more documentation to protocolhandler classes.
closed all preparedStatement variables
Modified the license and copyright terms for many of the files. Addeda LICENSE file and a README file in preparation of a distribution.
implementation for multiple <resourceIndentifier> tags under <resource>
updated the syntax of some form parameters, put in build strings
put in build strings instead of hard coded paths to servers
removed dependence on MetacatURL for URL handling. Added more flexible support for identifiers in the subject and object fields. They can now be just a docid, an http url or a metacat url.
fixed bug in data file permission checking. (commited wrong file last time)
- turned on the validation in order only valid xml docs comformed to the specified dtd (if any) to be submitted in metacat- with validation "on" white spaces are reported from ignorableWhitespace() callback, not from characters() (as with validation "off")...
changed doctype of package files
added more documentation
changed getCookie to static
added support for the new abstract class) to handle data file uploading through metnewninterface (actuall
newninterface (actually an abstract class) to handle data file uploading through met
fixed error in logic. sending the filesize as an int terminated by a zero failed when the file size was greater than 256. The filesize is now sent as a string followed by a zero.
added support for the server to return the docid of the newly added data file. Also, now the data stream must be prefixed with the following information: filename <0> sessionid <0> filesize <0>. where the <0> symbol is a byte containing zero. The filesize is sent as an int and the filename and sessionid are sent as strings (in byte form).
unified getting "docid" value from metacat URLs specified in <resourceIdentifier> tagsby using MetaCatUtil.parseQuery() method in the same way as in MetaCatServlet.
fixed error handling and time out issues. Also fixed thread syncronization problem
multiple files with the same names no longer overwrite each other.
fixed minor error
added support for data file upload via a random, authenticated socket.The action added to metacatServlet is getdataport. A client can send a getdataport request. the server returns a random port number and starts a thread to handle the request on the given random port. The thread will only accept requests from the client that has the session id equal to that of the user that made the getdataport request. the user must be authenticated and logged in to make a getdataport request. Once the port number is received by the client the connection can be made. The first two parameters in the data stream must be the filename, followed by session id. (note that it only wants the session id not the whole cookie and the "JSESSION=" must be stripped from the text.) If the session number is correct, the upload is allowed, the file is written and xml_documents is updated with the new data file information.
added support for data file upload via a random, authenticated socket.
included "accessfileid" attr in the unique constraint
- appling acl through access files only- clearing around update/delete of access files - to delete the related records from both xml_access and xml_relation tables- included check for user permissions for setting acl on the resources in the access file- moved RelationHandler.deleteRelations(docid) down in RelationHandler obj just before the write of the new relations
new attr "accessfileid" in xml_access table
added data port param
added the data port param
fixed url error in data download function
Use the new property "accessdoctype" to check if this is access file.If it is, run AccessControlList for wirting into xml_access and xml_relation tables.This is the thread that writes XML Index but afterwards.
added property "accessdoctype=-//NCEAS//eml-access//EN"
included support for submition of access files+ storing the acl info in xml_access table and relationship records in xml_relation table like<aclfile, "isaclfilefor", recourceIdentifier> for every resource included in the access file
added support to download a data file through metacat using a metacat url or a docid parameter: added a datafilepath parameter to show the servlet where data files are stored on the local file system.
added support to download a data file through metacat using a metacat url or a docid parameter.
Re-inserted changes from version 1.38 of build.xml that were accidentallyoverwritten when version 1.39 was checked in. Now, building the protocolhandler jar file works again.
updating a package file now updates the relations that are created from it. Also, if you delete a package file, it will delete the relations associated with it.
added docid field to xml_relation to track which package document creates the relation.
fixed package location
changed replication interface to make it easier to see the servers.