Project

General

Profile

Statistics
| Revision:

# Date Author Comment
5339 05/07/2010 04:30 PM berkley

removed system.outs

5337 05/07/2010 03:15 PM berkley

removed CrudService dependency on servlet params. CrudService is now a singleton. I'm getting an error from metacat saying it can't find teh systemmetadata schema, even though it is, in fact, registered with metacat. need to identify why this is happening.

5291 03/22/2010 08:55 PM Matt Jones

Refactored putObject method to separate the create() and update() portions in order to match the method signatures needed for DataONE.

5283 03/17/2010 11:22 PM Matt Jones

Fixed bug in getNextRevision() where "error" documents were not being
detected properly before searching for the next identifier.

5282 03/17/2010 06:54 PM Matt Jones

Added initial support for arbitrary string identifiers in metacat (referred to as a guid). The new identifier table is used to map arbitrary string identifiers to Metacat's current docid format (referred to as the localId). Added a new IdentifierManager class to manage this table, adding new mappings as objects are added to the system. Modified the MetacatTest service to utilize this mapping table to look up a localId from a guid. IdentiferManagerTest is working with these guids now, as is the MetacatTest service get() method, but other parts of the system are unaware of them (e.g., create, update, delete operations are unaware, and no mapping is created when new documents are created). As a consequence, the MetacatRestClientTest is not working (although it also had lots of hardcoded dependencies that need to be fixed as well).

5211 02/03/2010 06:58 PM Matt Jones

Merging in REST interface implementation that was created by Serhan Akin. Main change is
a refactored MetaCatServlet.java class, in which all of the handle* methods were moved
into a separate MetacatHandler.java class. This allows both the standard MetaCatServlet...

5112 11/06/2009 02:47 PM daigle

add getaccesscontrol and setaccess api calls

5098 10/30/2009 03:39 PM daigle

change AccessControlForSingleFile to only be instantiated for one file. move ACL methods to AccessControlForSingleFile. Change format of access sections returned to EML 2.1.0.

5072 10/02/2009 01:11 PM daigle

Add authorization functionality

5069 10/01/2009 03:20 PM ben leinfelder

use arguments for the main() method - hardcoded URLs and test docids are poor form

5066 10/01/2009 12:12 PM ben leinfelder

return InputStream instead of Reader in the MetacatClient read() and readInlineData() methods. Can now handle binary data
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=4432

5057 09/04/2009 03:12 PM daigle

Add session validation to metacat tpc and workflow scheduler. Fix sanparks skin session management so it always uses the logged in session id.

4296 08/22/2008 04:23 PM daigle

add session id to parameters

3721 02/07/2008 12:31 PM Matt Jones

Improved the javadoc documentation for the upload() methods to clarify what upload() does and contrast it to insert() and update().

3481 09/28/2007 04:00 PM barteau

Created method "synchronized public InputStream sendParameters(Properties args) throws Exception".
Sends a request to Metacat. An alternative to the sentData method. Allows for sending multiple parameters with the same name, different names, or any combo.

3464 09/19/2007 06:43 PM Jing Tao

Add a new method - query which can specify qformat.

3463 09/19/2007 06:42 PM Jing Tao

Add new query method which can specify qformat.

3362 08/17/2007 03:12 PM barteau

Removed "Formatter" usage, to make java 1.4 compatible.

3316 07/25/2007 03:10 PM barteau

Refactored almost all of the JSP API methods and fields to a new package (edu.ucsb.nceas.metacat.clientview).

3305 06/22/2007 02:53 PM barteau

Fixed bug: successfully removes related sub Doc ID's from metadata.
New functionality:
1) Updates field in FGDC metadata Doc ID with new version of Doc ID, and
2) Recurses sub-documents for deletion, when deleting an FGDC metadata Doc ID (deletes entire package).

3300 06/18/2007 05:11 PM barteau

Several newly developed methods providing a JSP API into metacat. Most of the new methods were developed to support FGDC metadata.
Some of the other new methods merely provide convenience to the JSP code. New methods include:
nextVersion, getFGDCdistinfo, addDistInfoToFGDC, vectorToHtmlSelect, mapToHtmlSelect, htmlInput, getSessValue, setSessValue, query, getSelectQueryMap,...

3289 05/18/2007 05:34 PM barteau

Modified method "doMetadataUpload". Improved file type parsing. Also changed call to "upload", to send Integer.MAX_VALUE as the file size,
since file size is not available until read (i.e. "Content-Length", which is available, isn't the same as the individual file sizes)....

3285 05/14/2007 04:35 PM barteau

Metacat JSP API Additions. The new methods currently only handle inserts of new metadata files and related data files. It also handles instance creation and login support, with
a few convenience methodes intended to be called by a JSP file.
Update and delete support will be added. Also, the new methods currently only handle FGDC metadata files. More XML grammars will be added.

3196 03/07/2007 02:29 PM berkley

more changes for the ajax stuff. it now works on the production server

3143 01/18/2007 10:36 AM berkley

added a method to query metacat to see if a particular docid is registered or not

3142 01/11/2007 09:59 AM berkley

finally got the getallids function working

3141 01/09/2007 06:22 PM berkley

added functionality to get a list of ids used in the system

2992 04/19/2006 09:17 AM berkley

fixed bugs in teh client that were preventing the lsid service from working right

2990 04/18/2006 02:08 PM berkley

modified the client so it will work consistently with the web service

2989 04/17/2006 02:59 PM berkley

updated the client so it throws a DocumentNotFoundException if you attempt to read a docuemnt that doesn't exist

2986 04/14/2006 04:39 PM Matt Jones

Missed a period.

2985 04/14/2006 04:37 PM Matt Jones

Patch to make the getLastDocid function actually work on the text node.

2981 04/14/2006 02:08 PM Matt Jones

Added new function getLastDocid to the metacat client so that it is
accessible to clients that need it.

2683 10/20/2005 11:39 AM sgarg

Added support in the metacat client for the new function added to MetaCatServlet

2337 12/16/2004 04:34 PM Jing Tao

Add a new method to get newest version of a given document.

2336 12/16/2004 04:33 PM Jing Tao

Add a new method to get newest version for a given document.

2327 09/24/2004 01:13 PM harris

Thanks Jing, Fixed those code comments.

2326 09/24/2004 12:02 PM harris

Adde a function to the metacat client to set access on an xml document in a
metacat repository.

2264 09/02/2004 02:38 PM sgarg

Added new upload function which takes InputStream as input.

2261 08/31/2004 05:52 PM sgarg

Added method to metacat client for reading inline data - readInlineData()

2240 08/19/2004 11:34 AM sgarg

Added upload functionality to metacat client for upload online data

1828 09/22/2003 01:14 PM Matt Jones

Updated more tests on session reuse. Made the http calls set the sessionid
explicitly rather than relying on cookies being passed around statically.
Still need to modify HttpMessage to get rid of the static cookie.

1826 09/19/2003 05:01 PM Matt Jones

New versions of the Metacat client API that allow access to the sessionId
so that a session can be reused over several different instances.

1825 09/17/2003 06:32 PM Matt Jones

Fixed the sessionId handling code to now properly return the sessionId
in the login response message. Updated junit tests to test this issue.

1822 09/17/2003 12:42 PM Matt Jones

Modified metacat to now provide the session identifier in the response
xml message when a login is called. This has not been fully tested.
I removed the HttpMessage class from metacat in favor of using the version
of that class that is found in the utilities module. This may cause some...

1798 08/12/2003 06:04 PM Jing Tao

Implement logout method.

1797 08/12/2003 06:04 PM Jing Tao

Add a logout method.

1795 08/12/2003 12:35 PM Matt Jones

Implemented the update and delete methods in the interface, along with tests.

1789 08/12/2003 12:24 AM Matt Jones

Implemented the "insert()" method and wrote a test to test it. The new test
depends on the property "newdocid" be set to something unique in the build.xml
file so that the insert will work properly. Probably need to fix this to be
some kind of autoincrement counter or random number so that it can be run...

1788 08/11/2003 11:28 PM Matt Jones

Refactored to use IOUtil routines. Reformatted for within-file consistency.

1786 08/11/2003 06:30 PM Jing Tao

Implement query method.

1785 08/11/2003 06:29 PM Jing Tao

Add metacatinaccessible exception for query.

1784 08/11/2003 03:24 PM Matt Jones

Implemented the 'read' API call. Some more to go...

1783 08/11/2003 12:19 PM Matt Jones

Wrote the login() function, the first of the series of API calls for
the metacat client to be implemented. Also wrote a test class to
test the API functionality.

1780 08/08/2003 04:16 PM Matt Jones

Added a new subpackage (edu.ucsb.nceas.metacat.client) which is a client
access library for the metacat. There is an interface (Metacat.java) that
provides simple access methods for the main metacat functions. This is to
support clients like Morpho and others that want to programatically access...