From 05/23/2013 to 06/21/2013


09:47 PM Bug #6008 (Closed): Metacat servlet API upload() method uses user-supplied filename for temp upload
Now using File.createTempFile() and deleting the data files when done. ben leinfelder
05:32 PM Bug #6008 (Closed): Metacat servlet API upload() method uses user-supplied filename for temp upload
This can be problematic if users simultaneously attempt to upload a data file with the same name. ben leinfelder
09:44 PM Revision 7823 (metacat): use standard File.createTempFile() method for uploaded data files and delete them when we are done with them.
ben leinfelder
05:35 PM Bug #6009 (Closed): Metacat uses "metacat.output" temp files for all read() operations
The KNB has 1.3 GB of these that have accumulated since ?.
There should be two scenarios:
-stream the contents fr...
ben leinfelder
05:02 PM Bug #6007: Registry uses filename from upload form to save in temporary directory
I deployed the changes on dev2.nceas for testing. Feel pretty good about them - using File::Temp to manager unique up... ben leinfelder
12:22 PM Bug #6007 (Resolved): Registry uses filename from upload form to save in temporary directory
This can cause collisions when a room of 22 people all submit a datapackage with the same data file name....
The r...
ben leinfelder
04:15 PM Revision 7822 (metacat): correctly delete data file when we are done with it.
ben leinfelder
04:06 PM Revision 7821 (metacat): include filename in the filepart part.
ben leinfelder
03:18 PM Revision 7820 (metacat): send the original filename in the upload() method since that is supported by the Metacat API.
ben leinfelder
03:10 PM Revision 7819 (metacat): remove the unique string when generating data file metadata.
ben leinfelder
02:48 PM Revision 7818 (metacat): debugging.
ben leinfelder
01:44 PM Revision 7817 (metacat): use File::Temp to write data files in registry.
ben leinfelder
11:11 AM Revision 7816 (metacat): correct regex for whitespace in D1 identifier.
ben leinfelder
09:09 AM Revision 7815 (metacat): refactor IndexEventLog a bit to simplify type/action information. prep for serializing IndexEvent objects to Metacat.
ben leinfelder


05:28 PM Revision 7814 (metacat): remove serial number from indexeventlog - it is not used elsewhere in the api.
ben leinfelder
05:28 PM Bug #6006 (Closed): Metacat admin screen requires metacat-index directories
Now skipping the template creation if metacat-index war is not deployed along with metacat. ben leinfelder
05:21 PM Revision 7813 (metacat): correct spelling for index.eventlog.classname property
ben leinfelder
04:59 PM Task #5943 (Resolved): Eliminate the unnecessary Systemmetadata event between the Metacat and Metacat-index modules.
Switched over to the new structure for communicating index events. Seems to be working as expected. ben leinfelder
04:49 PM Revision 7812 (metacat): use an independent ISet<SystemMetadata> structure to communicate objects that should be indexed by metacat-index.
ben leinfelder
12:23 PM Revision 7811 (metacat): consolidate SystemMetadata map retrieval in preparation for using a different structure for objects to index.
ben leinfelder
10:22 AM Task #5944: Metacat-index need an IndexEvent and IndexEventLog mechanism
Added delete() method to remove entries that we do not need to reprocess again (because they were successful, finally... ben leinfelder
09:24 AM Revision 7810 (metacat): adding ability to remove event from the [error] queue.
ben leinfelder


02:59 PM Revision 7809 (metacat): do not create solr-home if there is no template to compy into that directory (need to be able to create it later if/when someone decides to use and deploy metacat-index).
ben leinfelder
02:54 PM Task #5943: Eliminate the unnecessary Systemmetadata event between the Metacat and Metacat-index modules.
Proposed solution is to use a different/independent structure for SystemMetadata events that should trigger a re-inde... ben leinfelder
01:54 PM Revision 7808 (metacat): do not attempt to copy solr-home template from metacat-index webapp if it does not exist. This would be in cases where metacat-index is not deployed.
ben leinfelder
12:35 PM Bug #6006 (Closed): Metacat admin screen requires metacat-index directories
When configuring Metacat there is a dependency on metacat-index. This should be gracefully skipped if that webapp is ... ben leinfelder
10:19 AM Task #6005 (Closed): Incomplete solr index for the data objects if the resourcemap was indexed first
Currently the resource map should be indexed after the data objects in the resource map were indexed. If the resource... Jing Tao


05:07 PM Revision 7807 (metacat): Add code to implment set and get the last processed date.
Jing Tao
04:28 PM Revision 7806 (metacat): It will make the index only for those objects which were modified after the marked time.
Jing Tao
01:50 PM Revision 7805 (metacat): Add set and get the lastprocessedDate in the IndexEventLog.
Remove the code to write the successful event. Jing Tao
10:31 AM Task #6004: Figure out why there are only 422 documents indexed in
Attached a log file for the indexing process. Jing Tao
10:30 AM Task #6004 (Resolved): Figure out why there are only 422 documents indexed in
There are more 4000 data objects in the mn-demo-4. But we only gets 422 documents indexed. Jing Tao


05:39 PM Bug #6003 (Closed): The "war" target in the metacat will build the metacat-index.war
We added the target which build metacat-index.war as the dependency of the "war" target. Jing Tao
05:37 PM Bug #6003 (Closed): The "war" target in the metacat will build the metacat-index.war
The "war" target in the metacat doesn't build the metacat-index.war in the dist directory. It only builds knb.war and... Jing Tao
05:35 PM Task #5930: Add a configuration property to turn on/off the indexing processes (SOLR indexing)
If we removed the "solr" from the engine list, metacat-index will not build index anymore. And the solr query will be... Jing Tao
05:20 PM Revision 7804 (metacat): Add the dataone repository.
Jing Tao
04:41 PM Revision 7803 (metacat): The "war" target will build the metacat-index.war as well.
Jing Tao


02:36 PM Revision 7802 (metacat): Log the timed index jobs.
Jing Tao
02:08 PM Revision 7801 (metacat): Add the code to log the failed events.
Jing Tao


06:24 PM Revision 7800 (metacat): Add a temporary file log for debugging.
Jing Tao
06:23 PM Revision 7799 (metacat): Use commons-io 2.4
Jing Tao
03:47 PM Revision 7798 (metacat): Add a new property for the index event log class name.
Jing Tao


04:38 PM Revision 7797 (metacat): Add a serial number for the event.
Add method to set events to be archived. Jing Tao
11:56 AM Feature #5936: Include certificate delegation inside Metacat
There's now the package "edu.ucsb.nceas.metacat.portal" that does the authentication delegation. You start a request ... ben leinfelder
11:22 AM Revision 7796 (metacat): Add a new class variable - isArchived for class IndexEvent.
Jing Tao


04:13 PM Revision 7795 (metacat): Update the documentation about those classes.
Jing Tao
03:48 PM Bug #5997 (Closed): Restrict KNB trusted CAs
Commented out the line that includes all CAs in /etc/ssl/certs and reloaded Apache. Now we are down to the short list... ben leinfelder
03:17 PM Revision 7794 (metacat): Add a event and eventlog for the index.
Jing Tao


03:03 PM Revision 7793 (metacat): Use the identifier set to get the list of ids in the member node.
Jing Tao
02:20 PM Revision 7792 (metacat): The returned ISet should be Identifier.
Jing Tao
01:50 PM Revision 7791 (metacat): Add code to test getIdentifierSet method.
Jing Tao
01:50 PM Revision 7790 (metacat): Add method to get identifier set.
Jing Tao
11:02 AM Bug #5997: Restrict KNB trusted CAs
We should be able to simply use the DataONE chain file that we have installed already:... ben leinfelder
11:00 AM Bug #5997 (Closed): Restrict KNB trusted CAs
Instead of trusting all commercial CAs, the KNB Member Node should only trust the DataONE and CILogon certificate aut... ben leinfelder


02:49 PM Revision 7789 (metacat): Add a new property to specify the interval of a Timer to run the thread generating solr index.
Jing Tao
02:47 PM Revision 7788 (metacat): Set up a Timer to run the regenerating solr index task periodically.
Jing Tao


05:36 PM Task #5922 (Closed): Modify the solr index configuration for the resource map
We rewrote the ResourceMapSubprocessor class which now uses the SolrServer. Jing Tao
05:22 PM Task #5937 (Closed): The solr indexes of the data file contains obsoleted ids for the resourcemap and documentBy element after updating a data package
Add code to modify the "documents", "resourceMap" and "documentedBy" element in the solr doc when archive happens. Jing Tao
04:35 PM Revision 7787 (metacat): Use the ";" as the seperator to replace "," in the resource name spaces.
Jing Tao


03:29 PM Revision 7786 (metacat): Add code to handle delete data package information when delete a pid in the solr index.
Jing Tao
02:05 PM Revision 7785 (metacat): Add two static methods to get the SystemMetadata and data object InputStream for the specified id.
Jing Tao


05:19 PM Revision 7784 (metacat): Change the code since the ApplicationController's constructor was changed.
Jing Tao
05:18 PM Revision 7783 (metacat): Add code to check if the is available.
Jing Tao
01:21 PM Revision 7782 (metacat): If solr is not enabled, it would not be running.
Jing Tao
01:20 PM Revision 7781 (metacat): Solr will be enabled if it is in the db.enabledEngines.
Jing Tao
01:18 PM Revision 7780 (metacat): Use ";" to separate db.enabledEngines.
Jing Tao


06:16 PM Task #5994 (New): Create REST API for accessing statistics
For objects, users, packages, nodes, etc. Matt Jones
06:15 PM Task #5993 (New): Summarize and index statistics for fast access
Matt Jones
06:15 PM Task #5992 (New): Track citations
Or interface with Impact Story Matt Jones
06:14 PM Task #5991 (New): Track views
Matt Jones
06:14 PM Task #5990 (New): Track downloads
Matt Jones
06:14 PM Feature #5989 (In Progress): Track data download, view and citation statistics
Currently the only usage stats we have in Metacat are the raw logs. This new service would provide several statistic... Matt Jones
04:47 PM Revision 7779 (metacat): Use the ";" as the seperator for properties.
Jing Tao
04:38 PM Task #5945 (Closed): Implement reindex action for individual PID
We may need issue a command to metacat-index to regenerate index for all missed ids or just regenerate one for a spec... Jing Tao
04:31 PM Task #5944 (Closed): Metacat-index need an IndexEvent and IndexEventLog mechanism
We need the IndexEvent and IndexEventLog to handle the events in building the solr index. For example, a failure even... Jing Tao
04:24 PM Task #5943 (Resolved): Eliminate the unnecessary Systemmetadata event between the Metacat and Metacat-index modules.
Currently we split metacat and metacat-index web apps. The communication between them is the Systemmetadata entry eve... Jing Tao
04:12 PM Task #5926 (Resolved): Metacat-index doesn't build solr index during a Metadata inserting document
It turned out that the solr doc was generated. However, the building index and querying index use different EmbeddedS... Jing Tao
04:05 PM Task #5927 (Resolved): Implements listing the query engines and fields for the solr query engine
We add a new class - MetacatSolrEngineDescriptionHandler to handle the request. It works on both http solr server and... Jing Tao
04:03 PM Task #5822 (Resolved): Enforce access control for SOLR-based search implementation
Jing Tao
04:02 PM Task #5904 (Resolved): Design mechanism to enforce access policy
We append a filter query to enforce the access rules. Jing Tao
04:01 PM Task #5905 (Resolved): Implement access control filter
Add junit test to test the public, specified user and group users readable documents. Also it tests a use with untru... Jing Tao
03:58 PM Task #5820 (Resolved): Incorporate DataONE indexing
Create metacat-index web apps to avoid the spring in the metacat. We also create the metacat-common to share code bet... Jing Tao
03:57 PM Task #5819 (Resolved): MN query for SOLR
The query and query description is done. Jing Tao
03:56 PM Task #5906 (Resolved): Implement MetacatSolrIndex class
We added two classes MetacatSolrIndex and MetacatSolrEngineDescriptionHandler. This two classes handle the query and ... Jing Tao
03:07 PM Task #5942 (Closed): Handle sessionid (cookie from login method) in D1 REST service
This is now in D1ResourceHandler in Metacat trunk ben leinfelder
10:20 AM Revision 7778 (metacat): do not require PortalCertificateManager be configured. Fix NPE because session was not created when using old sessionid-based authentication.
ben leinfelder
12:09 AM Revision 7777 (metacat): change the waiting time to 10 seconds and attempts to 600 for the hazelcast.
Jing Tao


11:57 PM Revision 7776 (metacat): Use another thread in the Servlet init method to wait hazelcast.
Jing Tao
10:42 PM Revision 7775 (metacat): Make the target init depend on build-metacat-common.
Jing Tao
09:59 PM Revision 7774 (metacat): Put the waiting mechanism for the hazelcast at the first place.
Jing Tao
09:45 PM Revision 7773 (metacat): handle client certificates, portal certificates and jsessionid as three ways to prove you are an uthenticated user.
ben leinfelder
06:39 PM Revision 7772 (metacat): Use some contants from the EnabledQueryEngines.
Jing Tao
06:28 PM Revision 7771 (metacat): Temporarily remove the code to disable solr engine if it isn't listed in the property file.
Jing Tao
05:22 PM Task #5942 (Closed): Handle sessionid (cookie from login method) in D1 REST service
If there is no client certificate on the request or in the portal delegation store, then we should look for a valid s... ben leinfelder
05:19 PM Task #5941 (Rejected): Add login/logout methods to DataONE MN service
These will use the existing functionality of Metacat servlet's action=login/logout. ben leinfelder
05:17 PM Story #5940 (Closed): Support session-based Metacat authentication (for D1 services)
We want to be able to deploy Metacat without relying on DataONE, CILogon, ECP, or even client certificates.
Idea i...
ben leinfelder
04:44 PM Feature #5939 (Closed): Create view service that can render metadata documents at REST URL
We need a 'landing page' for metadata views that can be referenced as REST URLs and that show an HTML'ised version of... Matt Jones
04:41 PM Feature #5936: Include certificate delegation inside Metacat
Here's the documentation for MyProxy that I was using to set this all up: ben leinfelder
04:29 PM Revision 7770 (metacat): exlude /lib/maven from the war file
ben leinfelder
04:27 PM Revision 7769 (metacat): If the solr engine is disabled, the metacat index will do nothing.
Jing Tao
01:43 PM Revision 7768 (metacat): Use the new name of a method.
Jing Tao
01:42 PM Revision 7767 (metacat): Rename a method to isEnabled.
Jing Tao
01:26 PM Revision 7766 (metacat): Updated documentation, and added modification date to the sitemap index file entries.
Matt Jones
12:55 PM Revision 7765 (metacat): Remove unused import.
Matt Jones
12:52 PM Revision 7764 (metacat): Mofdified Sitemap class to also generate the sitemap index file that is needed when more than one sitemap file is provided.
Matt Jones
12:42 PM Revision 7763 (metacat): Remove the junit test for an obsoleted class.
Jing Tao
12:41 PM Revision 7762 (metacat): Remove the obsoleted class.
Jing Tao
12:40 PM Revision 7761 (metacat): Add a junit test class for EnabledQueryEngines.
Jing Tao
12:40 PM Revision 7760 (metacat): Add a test base class.
Jing Tao
12:39 PM Revision 7759 (metacat): Add a class to repsent the enabled engine list.
Jing Tao
11:55 AM Revision 7758 (metacat): Change the junit version to 4.8
Jing Tao
10:20 AM Revision 7757 (metacat): use ContentTypeInputStream interface (and ByteArray implementation) to specify the desired content-type of the InputStream returned by MN.query().
ben leinfelder
09:15 AM Revision 7756 (metacat): Add the new property dbquery.enabledEngines=pathquery,solr.
Jing Tao

Also available in: Atom