A path query from kepler
New text file to store a number how many time we want to query metacat.
A query client to test metacat performance
Test query with attribute return field to measure metacat peformance.
Test query for measure metacat peformance.
Added a new class called Sitemap that is used to generate a series of XML documents representing the URLs of metacat documents following the sitemap protocol. The Sitemap class extends TimerTask so that it can be scheduled to run once a day or so. New configuration options were added to metacat.properties to control where the sitemaps are written and hw often they are updated. By default we do it once a day, as more often is overkill for search engines....
Currently every MetacatClientTest will generate new doicd and the the docid will be reused. So it will generate problem. I add new method to persistent the doicd in a file and this problem was fixed.
The generateId method somethimes couldn't generate a unique id if you put theminto a big for loop. So i added append to a random number at the end. It works wll
Add delete method in inserting spatial data.
Add new method to keep inserting spatial data.
Add a test eml file which contains spatial data.
Fixed exception handler
Removed the debugMessage method which was removed from MetacatUtil class.
Eliminated the 'release' ant tag from the rest of the files. The 'release' property is still used in build.xml for creating releases, but the filter is no longer presnt. Now, when updating the metacat files for a release, you have to set the release version in both the build.xml and the metacat.properties files.
release
fixed bugs in teh client that were preventing the lsid service from working right
fix to the earlier commit. the code was dependent on 1.5. this one isnt
fix to the generateDocid() function so that the docid generated always is bigger than the earlier one.
Added new function getLastDocid to the metacat client so that it isaccessible to clients that need it.
Some changes to the tests to use Logger rather than debugMessage().
Added an attribute to the metacat shapefile called area_coef which is a functionof the areal extent of the datapackage -- so a datapackage which was related toa global collection would have a large extent, whereas a 3-foot squared plotwould have a small extent. Also fixed a bug related to the ID field that was...
a test dataset with coordinate harvested from metacat october 1, 2005.
Removed unwanted code.
Fixed a bug in previous commit and added a test for characters like mu.
Adding test for checking Metacat behaviour when characters outside A-Z,a-z,0-9 are entered.
Related bugs: 1711, 1538 (1711 has been fixed as tested by this file. Have to add code to test 1711)
Currently checking for> when < > & is entered - test fails as expected as document is invalid...
Change documentType to eml://ecoinformatics.org/eml-2.0.1.
Change URL value for Harvest unit tests.
Add a new test case for testing get newest revision number.
Removed hardcoded path from EventLogTest.
Fixed a bug.
Added sample eml 2.0.1 document for use in the tests.
Modified buildIndex() to now include an '@' sign in the path for ATTRIBUTEnodes. Removed a bunch of debugging information. Fixed the BuildIndexTestso that it would work on any machine (removed hardcoded paths).
Updated the build index test.
Added test class for buildIndex() routine. Not completed yet.
Added another test to check if access is checked when an old version of inline data is read using action=readinlinedata
Test added to insert eml 2.0.0 document and update it with eml 2.0.1 document.
Added a new method to check upload function when a data stream is passed.
Adding InlineDataAccessTest.java which has tests regarding inline data access. Also updated AccessControlTest.java
Made changes in AccessControl and Online Data Access tests.
Adding new file with tests regarding access controls related to online data... the tests which are failing are commented out for the time being .. once the bugs are fixed in metacat, they will removed.
Add additional comments to the test cases.
Remove obsolete comment.Fix broken URL in HarvestSiteScheduleTest.java
Some changes and a bug fix
Changed AccessControlTest.java to include new tests
Changed SubTreeTest.java to handle the exception that is thrown by SubTree.java now.
Added code to test the upload functionality in the client
Adding data files for testing as online data
Adding a new test file for testing the Access Controls in Metacat. Not complete or compilable yet.
Added README explaining directory.
A series of queries and commands being developed to improve metacatperformance. Very incomplete. WARNING: running some of these commmandsWILL DELETE DATA. Do not run these commands in a production environment.
Revise test suite after moving Harvester properties to metacat.properties.
Initial suite of JUnit tests for Harvester code
JUnit files for tseting Harvester code
Sample harvest list XML file
Remove obsolete file
Added the EventLog functionality to the servlet as action=getlog. Valid parameters are ipAddress, principal, docid, event, start, end. All parameters can be repeated except start and end.
Partial implementation of a query facility for the access log. Need to fix problems with the date filtering, and tie this into the servlet action when completed and tested.
New EventLogTest modifying the log call to exclude revision.
Added classes for basic event logging support. These classes write log entries to the database connection. Still to do: query the event log, write oracle sql code (postgres is done), possibly allow the log to be archived to a text file, and possibly do the dtabase writes asynchronously via a caching mechanism.
Added a simple action for finding out the current metacat version. The information is pulled from the property file, so be sure to update the version in the property file before shipping a release.
Changed printAttributeQuery() to no longer depend on the xml_index table. Now, if useXMLIndex is false, the method will use a recursive query on xml_nodes to match paths instead of using xml_index.
Created new printExtendedSQL function that can get the extendedreturn fields using only xml_nodes and not xml_index. Onestep closer to eliminating the dependence ofn xml_index.
Created test class QuerySpecificationTest and started process of removing the xml_index from the QuerySpecification code. Reformatted some classes for readability.
This is a sample of a harvest document relocated from the metacat/lib directory
Added more debugging messgaes to the test in an attempt to find outwhat is wrong with the cookies.
Updated more tests on session reuse. Made the http calls set the sessionidexplicitly rather than relying on cookies being passed around statically.Still need to modify HttpMessage to get rid of the static cookie.
New versions of the Metacat client API that allow access to the sessionIdso that a session can be reused over several different instances.
Fixed the sessionId handling code to now properly return the sessionIdin the login response message. Updated junit tests to test this issue.
Modified metacat to now provide the session identifier in the responsexml message when a login is called. This has not been fully tested.I removed the HttpMessage class from metacat in favor of using the versionof that class that is found in the utilities module. This may cause some...
Revise this text file.
Add new test case to testing logout, user doesn't have permision to read, insert, update and delete documents. Add new test case to test inaccessible metacat.
Revise it.
Implemented the update and delete methods in the interface, along with tests.
New version of test document without illegal whitespace trailing the closingtag of the root element.
New test data for testing metacat client.
Updated test so that the query test works. Now all tests should pass, butstill having the cntl-m issue on one server.
New test code for metacat client. Auto-generate id. Query and read fromthe inserted document. Still having some problems with the tests.
Query.xml for testing MetacatClient.
Implemented the "insert()" method and wrote a test to test it. The new testdepends on the property "newdocid" be set to something unique in the build.xmlfile so that the insert will work properly. Probably need to fix this to besome kind of autoincrement counter or random number so that it can be run...
Refactored to use IOUtil routines. Reformatted for within-file consistency.
Add a test case for query method.
Implemented the 'read' API call. Some more to go...
Wrote the login() function, the first of the series of API calls forthe metacat client to be implemented. Also wrote a test class totest the API functionality.
Get this big testing file(3.3 M) to reduce the distribution package size.
Change from assert to assertTrue.
Change assert to assertTrue.
Change assert to assertTrue
A new class to testing subtree class.
Add a example of attribute query.
Merge cvs branch replication to cvs head.
Change the test case order.
Add this file from branch to head.
This is code for testing how many sql commands one connection can be executed.
Change some debug message.
Change package name of this class.
Change package name. Factor of docid change from 10000 to 100000.
Change package name and data file path. The factor for docid change from 10000 to 100000.
This is the data file for testing insert data file action.
This is a net test file for metacat.
Add to cvs
Add metacat test to cvs.