Metacat: Issueshttps://projects.ecoinformatics.org/ecoinfo/https://projects.ecoinformatics.org/ecoinfo/ecoinfo/favicon.ico?14691340362013-07-09T00:23:58ZEcoinformatics Redmine
Redmine Bug #6030 (Closed): Deleting a document causes the method itemAdded(ItemEvent<SystemMetadata> ent...https://projects.ecoinformatics.org/ecoinfo/issues/60302013-07-09T00:23:58ZJing Taotao@nceas.ucsb.edu
<p>When we delete a document from the Metacat, the method itemAdded in the in the SysteMetadataEventListener class (Metacat-index module) will be called because the haszelcast service. However, i figure the method will be call twice even though i only delete one document. This only happens for the deleting, the inserting works fine.</p>
<p>Here is the log:</p>
<p>Jul 08, 2013 5:17:25 PM edu.ucsb.nceas.metacat.index.SystemMetadataEventListener itemAdded<br />INFO: ===================================calling SystemMetadataEventListener.itemAdded method <br />Jul 08, 2013 5:17:25 PM edu.ucsb.nceas.metacat.index.SystemMetadataEventListener itemAdded<br />INFO: ===================================adding the document urn:uuid:e54bd099-e616-4f0d-be9d-f80df0f42354</p>
<p>........</p>
<p>Jul 08, 2013 5:17:25 PM edu.ucsb.nceas.metacat.index.SystemMetadataEventListener itemAdded<br />INFO: ===================================calling SystemMetadataEventListener.itemAdded method <br />Jul 08, 2013 5:17:25 PM edu.ucsb.nceas.metacat.index.SystemMetadataEventListener itemAdded<br />INFO: ===================================adding the document urn:uuid:e54bd099-e616-4f0d-be9d-f80df0f42354</p> Bug #6009 (Closed): Metacat uses "metacat.output" temp files for all read() operationshttps://projects.ecoinformatics.org/ecoinfo/issues/60092013-06-22T00:35:17Zben leinfelderleinfelder@nceas.ucsb.edu
<p>The KNB has 1.3 GB of these that have accumulated since ?.</p>
<p>There should be two scenarios:<br />-stream the contents from the metadata file on disk<br />-recompose the metadata file from the DB records to disk (/var/metacat/documents) then stream from that location.</p> Bug #6007 (Resolved): Registry uses filename from upload form to save in temporary directoryhttps://projects.ecoinformatics.org/ecoinfo/issues/60072013-06-21T19:22:02Zben leinfelderleinfelder@nceas.ucsb.edu
<p>This can cause collisions when a room of 22 people all submit a datapackage with the same data file name....</p>
<p>The registry should ensure that filenames it uses to write in a shared directory are unique.</p> Bug #6006 (Closed): Metacat admin screen requires metacat-index directorieshttps://projects.ecoinformatics.org/ecoinfo/issues/60062013-06-18T19:35:40Zben leinfelderleinfelder@nceas.ucsb.edu
<p>When configuring Metacat there is a dependency on metacat-index. This should be gracefully skipped if that webapp is not deployed. I believe it comes up when the solr-home directory is initialized.<br />This happens for CNs deploying Metacat in DataONE.</p> Bug #5997 (Closed): Restrict KNB trusted CAshttps://projects.ecoinformatics.org/ecoinfo/issues/59972013-06-05T18:00:12Zben leinfelderleinfelder@nceas.ucsb.edu
<p>Instead of trusting all commercial CAs, the KNB Member Node should only trust the DataONE and CILogon certificate authorities.</p>
<p>To see a list of all them that are (currently) trusted:<br /><pre>openssl s_client -connect knb.ecoinformatics.org:443</pre></p> Task #5944 (Closed): Metacat-index need an IndexEvent and IndexEventLog mechanismhttps://projects.ecoinformatics.org/ecoinfo/issues/59442013-05-24T23:31:05ZJing Taotao@nceas.ucsb.edu
<p>We need the IndexEvent and IndexEventLog to handle the events in building the solr index. For example, a failure event.</p>
<p>The classes can be:</p>
<p>IndexEvent<br />IndexEventResult<br />IndexEventLog : write(IndexEvent), List<IndexEvent> IndexEventLog.getEvents(pid, type, ...)</p>
<p>The IndexEvent can have those fields:<br />type<br />date<br />pid<br />description</p> Task #5943 (Resolved): Eliminate the unnecessary Systemmetadata event between the Metacat and Met...https://projects.ecoinformatics.org/ecoinfo/issues/59432013-05-24T23:24:11ZJing Taotao@nceas.ucsb.edu
<p>Currently we split metacat and metacat-index web apps. The communication between them is the Systemmetadata entry event and listener. Metadata generate a entry event and Metacat-index handle the event as a listener.</p>
<p>The entry event can be created even though there is no system metadata change. It maybe cause to rebuild the index.</p> Task #5942 (Closed): Handle sessionid (cookie from login method) in D1 REST servicehttps://projects.ecoinformatics.org/ecoinfo/issues/59422013-05-24T00:22:35Zben leinfelderleinfelder@nceas.ucsb.edu
<p>If there is no client certificate on the request or in the portal delegation store, then we should look for a valid sessionid and use the associated user for the rest of the request.</p> Task #5941 (Rejected): Add login/logout methods to DataONE MN servicehttps://projects.ecoinformatics.org/ecoinfo/issues/59412013-05-24T00:19:17Zben leinfelderleinfelder@nceas.ucsb.edu
<p>These will use the existing functionality of Metacat servlet's action=login/logout.</p> Story #5940 (Closed): Support session-based Metacat authentication (for D1 services)https://projects.ecoinformatics.org/ecoinfo/issues/59402013-05-24T00:17:36Zben leinfelderleinfelder@nceas.ucsb.edu
<p>We want to be able to deploy Metacat without relying on DataONE, CILogon, ECP, or even client certificates.</p>
<p>Idea is that the Metacat/DataONE servlets will continue to look for the sessionid that is set with a successful login action and use that identity if no client certificate of delegated certificate is found on the request.</p> Feature #5936 (Closed): Include certificate delegation inside Metacathttps://projects.ecoinformatics.org/ecoinfo/issues/59362013-05-17T17:58:59Zben leinfelderleinfelder@nceas.ucsb.edu
<p>Like the d1_portal, we want to be able to have users authenticate with their preferred Identity Provider via the browser and let the webapp handle their certificate. Any future requests coming from that session will have their client certificate attached to the request before Metacat processes it (for access control considerations, etc).</p>
<p>I think we can base this on the current d1_portal project and then build in the lightweight delegation servlet in Metacat. This will give us control over the UI for authenticating users and allow Metacat to transparently use certificate-based authentication without requiring users to directly handle certificate objects themselves.</p> Bug #5925 (Resolved): Clean up the jar files in the Metacat deploy directoryhttps://projects.ecoinformatics.org/ecoinfo/issues/59252013-04-25T18:13:32ZJing Taotao@nceas.ucsb.edu
<p>In the knb/WEB-INF/lib, i saw some jar files like:<br />spring-aop-2.5.5.jar spring-context-2.5.5.jar spring-core-2.5.5.jar spring-tx-2.5.5.jar spring-webmvc-2.5.5.jar<br />spring-beans-2.5.5.jar spring-context-support-2.5.5.jar spring-jdbc-2.5.5.jar spring-web-2.5.5.jar</p>
<p>imageio-ext-arcgrid-1.0.5.jar imageio-ext-gdaldted-1.0.5.jar imageio-ext-gdalenvihdr-1.0.5.jar imageio-ext-gdalmrsid-1.0.5.jar imageio-ext-imagereadmt-1.0.5.jar<br />imageio-ext-customstreams-1.0.5.jar imageio-ext-gdalecw-1.0.5.jar imageio-ext-gdalerdasimg-1.0.5.jar imageio-ext-gdalmrsidjp2-1.0.5.jar imageio-ext-tiff-1.0.5.jar<br />imageio-ext-gdal-bindings-1.4.5b.jar imageio-ext-gdalecwjp2-1.0.5.jar imageio-ext-gdalframework-1.0.5.jar imageio-ext-gdalnitf-1.0.5.jar imageio-ext-utilities-1.0.5.jar<br />imageio-ext-gdalarcbinarygrid-1.0.5.jar imageio-ext-gdalehdr-1.0.5.jar imageio-ext-gdalkakadujp2-1.0.5.jar imageio-ext-geocore-1.0.5.jar</p>
<p>and others.</p>
<p>We may need to clean them up.</p> Task #5924 (Closed): Add the configuration page for the Solr server in the Metacat configuration ...https://projects.ecoinformatics.org/ecoinfo/issues/59242013-04-25T18:09:43ZJing Taotao@nceas.ucsb.edu
<p>We need to a new page for the Solr server in the Metacat configuration utility.</p>
<p>This page will include the server type (Embedded or Http), the solr home (for Embedded) or solr server url(Http).</p> Task #5918 (Closed): Separate unit tests from integration testshttps://projects.ecoinformatics.org/ecoinfo/issues/59182013-04-19T00:18:47Zben leinfelderleinfelder@nceas.ucsb.edu
<p>Since some of the metacat-index tests currently require Metacat be running in order to succeed, we need to skip them when building metacat-index during the Metacat build. We should only be running unit tests during the mvn package command in metacat-index and we can run the integration tests later using "mvn verify" (not part of the build process itself)</p> Task #5909 (Resolved): Design configuration for metacat-index https://projects.ecoinformatics.org/ecoinfo/issues/59092013-04-12T00:27:37Zben leinfelderleinfelder@nceas.ucsb.edu
<p>The location of the solr index needs to be configured and the default should be: /var/metacat/solr <br />All three components need to know about this location (metacat-index and Metacat will both be using the Embedded Solr client and SOLR needs to know where its index is.<br />Additionally, the metacat-index project needs to know what the Hazelcast client connection properties are so that it can listen to events on those shared structures.<br />We may also want metacat-index to have direct read-only access to the Metacat DB in which case we would want it to have access to the metacat.properties file.</p>
<p>I think the easiest thing to do is to configure everything in metacat.properties and then point the components to metacat.properties to read the values it needs.</p>