Project

General

Profile

Statistics
| Revision:

# Date Author Comment
8452 12/19/2013 04:15 PM Peter Slaughter

(task #6297): sync pid(s) access policy between member node and coordinating node

8450 12/19/2013 02:35 PM Chris Jones

Change CNodeService's archive() and delete() methods to only update Member Nodes in the replica list (not CNs!), since calling CN.archive() again would cause an infinite loop. Thanks for catching this Ben.

8444 12/19/2013 09:35 AM Chris Jones

Update CNodeService.delete() and .archive() to handle situations where the pid is of formatType DATA, and therefore are not registered in the identifier table, and caused NotFound exceptions. For DATA objects, we just update the system metadata now, and for all other objects (METADATA, RESOURCE), we continue to use super.{delete()|archive()}. Also, log the delete/archive into the event log....

8439 12/19/2013 08:13 AM Chris Jones

Remove the broadcastSystemMetadataChange() method since it was a duplicate of notifyReplicaNodes(). Consolidated now.

8438 12/17/2013 05:22 PM Jing Tao

Add some log information.

8437 12/17/2013 09:42 AM Lauren Walker

retrieve the given file names (entityName) of the data files from the EML and use those for our file names in the BagIt content.

8436 12/13/2013 03:42 PM Lauren Walker

Change the BagIt file names to the pid+resource type. Create new Files instead of createTempFile to avoid the randomly generated numbers in the name.

8434 12/12/2013 04:43 PM Jing Tao

Add a description element for the group.

8433 12/12/2013 01:49 PM Jing Tao

Change the user id from the name to the uid.

8431 12/11/2013 04:34 PM Jing Tao

Add the method to get the principals.

8429 12/11/2013 11:44 AM Jing Tao

Add the methods about reset and change password.

8427 12/10/2013 04:12 PM Jing Tao

Add method to get groups and users.

8426 12/10/2013 01:32 PM Jing Tao

Read the password from property file.

8424 12/10/2013 12:53 PM Jing Tao

Encrypt the password.

8421 12/09/2013 10:39 AM Jing Tao

Fixed an issue to check if an account exists.

8419 12/06/2013 05:57 PM Jing Tao

Add a file based authentication mechanism.

8414 11/25/2013 01:40 PM Jing Tao

Add the code to set the replication status when some exceptions happen.

8362 11/04/2013 01:56 PM ben leinfelder

generate ORE object when publishing even if there was not an ORE for the original package. https://projects.ecoinformatics.org/ecoinfo/issues/6194

8361 11/01/2013 08:22 AM ben leinfelder

set registry permissions when configuring the exploded war on *nix systems. https://projects.ecoinformatics.org/ecoinfo/issues/4690

8360 10/31/2013 01:07 PM Jing Tao

Add the methond named isAuthoritativeMNodeAdmin method. It applies to both CN and MN methods.

8355 10/30/2013 03:37 PM Chris Jones

On calls to archive(), log the correct call (not delete()).

8350 10/30/2013 08:47 AM ben leinfelder

change method name from copy and paste.

8339 10/21/2013 01:56 PM ben leinfelder

use 2.3.0 for this next release of metacat.

8327 10/16/2013 05:19 PM Jing Tao

Fixed a bug that the configuration page shows complete even though the DataONE configuration hadn't done yet.

8326 10/16/2013 05:18 PM Jing Tao

Add a util class for dataone configuration.

8323 10/16/2013 04:29 PM Jing Tao

Add code the display the SchemaModification exception.

8321 10/15/2013 08:46 PM Jing Tao

Fixed a catch clause syntax which is only compatible with java 1.7.

8320 10/15/2013 03:39 PM Jing Tao

Add code the overwrite the schema.xml in the solr-home/conf.

8314 10/14/2013 03:22 PM Jing Tao

Fixed a bug that the group information couldn't be retrived from the session.

8313 10/11/2013 04:35 PM Lauren Walker

Change the guid.ezid.uritemplate.metadata property value to the hostname only, with no context

8306 10/10/2013 12:27 PM ben leinfelder

correctly configure metacat-index to use metacat context/deployment location. https://projects.ecoinformatics.org/ecoinfo/issues/6138

8304 10/09/2013 11:52 PM Matt Jones

Reviewed code for all uses of FileInputStream, checking to see if the method should be closing the stream, and if so, closing it in the method as well as in the finally clause to ensure we don't leak file descriptors.

8303 10/09/2013 08:53 PM Jing Tao

Sparate the action reindex and reindexall.

8301 10/09/2013 02:42 PM Matt Jones

Closing some more streams that were left open. This Bug #6136 seems to be pervasive and is going to require an extensive audit to find all of the places where streams are not closed properly.

8299 10/09/2013 01:47 PM Matt Jones

Refactor to use IOUtils.closeQuietly() which handles nulls and streams that are already closed.

8298 10/09/2013 01:26 PM Matt Jones

Added close() to finally block for readFromFileSystem() call.

8297 10/09/2013 12:44 PM Matt Jones

Closing FileOutputStream handles so that the OS limits on filehandles are not exceeded.

8268 09/27/2013 04:44 PM Jing Tao

Add code to delete existing records for a id when we try to add the id to the index_event table.

8267 09/24/2013 04:21 PM ben leinfelder

do not modify existing SystemMetadata on MN.update() if something goes wrong during content insertion. https://projects.ecoinformatics.org/ecoinfo/issues/6101

8265 09/23/2013 03:54 PM ben leinfelder

Refer to metacat.war deployments since those are now the default. https://projects.ecoinformatics.org/ecoinfo/issues/6082

8264 09/23/2013 01:20 PM ben leinfelder

use UTF-8 if request encoding not given. https://projects.ecoinformatics.org/ecoinfo/issues/6100

8210 09/16/2013 04:33 PM ben leinfelder

require authenticated session when minting a DOI/other identifier. https://projects.ecoinformatics.org/ecoinfo/issues/6086

8208 09/16/2013 03:47 PM ben leinfelder

include the dataone.subject (node admin) in the list of administrators. This allows full administrative access to objects when using certificates+d1 api. https://projects.ecoinformatics.org/ecoinfo/issues/6086

8202 09/16/2013 12:00 PM ben leinfelder

use optional template for registering DOIs at a given target. https://projects.ecoinformatics.org/ecoinfo/issues/6092

8200 09/13/2013 03:53 PM ben leinfelder

only attempt to generate OREs for objects that we know not to have them already. https://projects.ecoinformatics.org/ecoinfo/issues/6061

8193 09/13/2013 11:12 AM ben leinfelder

Generate an ORE when sci metadata is added via the Metacat API.
https://projects.ecoinformatics.org/ecoinfo/issues/6061

8190 09/12/2013 04:50 PM ben leinfelder

better checking for ORE maps when publishing DOIs (need to update the packages that contain sci meta). https://projects.ecoinformatics.org/ecoinfo/issues/6061

8189 09/12/2013 01:45 PM ben leinfelder

implement ORE check method to actually query the MN for OREs that reference the given pid.
https://projects.ecoinformatics.org/ecoinfo/issues/6061

8184 09/11/2013 10:59 AM ben leinfelder

change hazelcast group name to match the current context. https://projects.ecoinformatics.org/ecoinfo/issues/5624

8178 09/10/2013 03:17 PM ben leinfelder

check both previous and current data revisions when updating packages. https://projects.ecoinformatics.org/ecoinfo/issues/5647

8173 09/06/2013 02:22 PM ben leinfelder

avoid SQL errors when processing very old objects of type: "-//ecoinformatics.org//eml-access-2.0.0beta6//EN"

8164 08/26/2013 04:30 PM Jing Tao

If the pathquery engine is disabled, the xml path index queue will be disabled as well.

8163 08/26/2013 11:50 AM Jing Tao

If the xpath query is disabled, the query, squery and spatial_query action will be disabled as well.

8162 08/23/2013 04:01 PM Jing Tao

Add code to throw an exception if the pathquery is not enabled.
We also need to disable building index if the pathquery is disabled.

8160 08/22/2013 04:04 PM ben leinfelder

use consistent file names and zip content names. Opted for "-" separator so that the zip writer does not remove the unique part of the filename. https://projects.ecoinformatics.org/ecoinfo/issues/6054

8141 08/13/2013 12:57 PM ben leinfelder

copy the original systemMetadata when publishing a revision in order to avoid overwriting the original values - the shared map is listening! https://projects.ecoinformatics.org/ecoinfo/issues/6014

8075 07/25/2013 01:16 PM ben leinfelder

include user's fullName when validating a session. also, allow cookie session to be used if not passed in directly as a parameter

8074 07/24/2013 06:12 PM Jing Tao

Add code to modify the web.xml in metacat-index context if the metacat's name is not knb.

8034 07/18/2013 02:49 PM ben leinfelder

include filename in the package download, though we can;t really use the PID because of all the potential characters in it that are not valid for filesystems.

8028 07/18/2013 10:53 AM ben leinfelder

type the doctype="metadata" objects as "FGDC-STD-001-1998" formatId for rendering XSLT and for DataONE SystemMetadata.

8026 07/18/2013 08:13 AM ben leinfelder

use custom FileInputStream subclass to delete the temporary bagit zip when the inputstream is closed (after someone has downloaded the zip).

8025 07/18/2013 08:02 AM ben leinfelder

use ObjectFormatCache instead of ObjectFormatService because we are not calling it as a CN.

8018 07/17/2013 11:35 AM ben leinfelder

allow running the Harvester client without a source code checkout. (D. Blankman comments)

8014 07/16/2013 04:21 PM ben leinfelder

include the localid when rendering the view (used in stylesheets)

8013 07/16/2013 04:05 PM ben leinfelder

use ObjectFormatCache.getInstance().getFormat() instead of the CN service (the MN does not typically act as a CN!)

7984 07/15/2013 10:56 AM ben leinfelder

add slash for harvesterRegistration redirect.

7864 07/09/2013 10:40 AM ben leinfelder

include mn.publish() REST endpoint handling. https://projects.ecoinformatics.org/ecoinfo/issues/6024

7862 07/08/2013 06:19 PM ben leinfelder

comment out the index queue call when archive() is called - I think it is causing the duplicate events for the listener. https://projects.ecoinformatics.org/ecoinfo/issues/6030

7861 07/08/2013 06:10 PM ben leinfelder

implement the view service (uses existing skin-based dbtransform) - and include the REST endpoint. https://projects.ecoinformatics.org/ecoinfo/issues/6028

7860 07/08/2013 05:51 PM ben leinfelder

use StreamSource instead of StringReader for method signature -- can be used with different sources this way. https://projects.ecoinformatics.org/ecoinfo/issues/6019

7859 07/08/2013 05:10 PM ben leinfelder

clean up DBTransform in preparation for "view" service. https://projects.ecoinformatics.org/ecoinfo/issues/6019

7855 07/08/2013 12:14 PM ben leinfelder

include GET /package/{pid} endpoint in MN service. https://projects.ecoinformatics.org/ecoinfo/issues/6027

7853 07/05/2013 06:33 PM ben leinfelder

MN.getPackage() - test with ORE that includes 2 data files and a "metadata" file (still should be using EML for that test). https://projects.ecoinformatics.org/ecoinfo/issues/6026

7850 07/04/2013 12:33 PM ben leinfelder

First pass at MN.getPackage() implementation using Bagit library from LOC. https://projects.ecoinformatics.org/ecoinfo/issues/6026

7849 07/03/2013 09:58 PM ben leinfelder

add method for publishing existing object (usually assumed to be scimeta) with a DOI. https://projects.ecoinformatics.org/ecoinfo/issues/6014

7843 07/03/2013 10:13 AM ben leinfelder

add Metacat servlet action to force the reindexing of one or more or all pids in the system. https://projects.ecoinformatics.org/ecoinfo/issues/5945

7842 07/03/2013 12:28 AM ben leinfelder

only use MapStore/MapLoader for saving/loading IndexEvent objects. No need to use a listener since there is only the single node -- all entries are persisted to DB using the hazelcast.xml config we have for the map. https://projects.ecoinformatics.org/ecoinfo/issues/5944

7841 07/03/2013 12:03 AM ben leinfelder

add MapStore/Loader test for the IndexEvents -- adding and removing events in the DB table through hazelcast. https://projects.ecoinformatics.org/ecoinfo/issues/5944

7840 07/02/2013 04:47 PM ben leinfelder

support a "force replication delete all action" during replication. This is used when we want Metacat to remove the content from the other target replicas because the DataONE delete() action was called (more powerful than just "archive").

7839 07/02/2013 04:41 PM ben leinfelder

add simple test for the IndexEventDAO class -- adding, removing, listing events in the DB table. https://projects.ecoinformatics.org/ecoinfo/issues/5944

7830 06/25/2013 04:42 PM ben leinfelder

upgrade to Metacat 2.1.0 on the trunk. This includes a new index_event table for storing indexing events that need to be reprocessed. https://projects.ecoinformatics.org/ecoinfo/issues/5944

7829 06/25/2013 01:23 PM ben leinfelder

stub for storing IndexEvent objects in Metacat (from metacat-index processing). https://projects.ecoinformatics.org/ecoinfo/issues/5944

7827 06/25/2013 01:17 PM ben leinfelder

do not force a get() during refresh (causing EML-defined data access rules to be lost when inserting EML docs about data files). note that this reverses a change that was meant to trigger indexing, but now we are using a new queue to share index events with metacat-index and so should not be necessary.

7824 06/24/2013 12:05 PM ben leinfelder

do not use tmp file to return an inputstream on read() operations - just read from the file we already have. https://projects.ecoinformatics.org/ecoinfo/issues/6009

7823 06/21/2013 09:44 PM ben leinfelder

use standard File.createTempFile() method for uploaded data files and delete them when we are done with them. https://projects.ecoinformatics.org/ecoinfo/issues/6008

7816 06/21/2013 11:11 AM ben leinfelder

correct regex for whitespace in D1 identifier.

7812 06/20/2013 04:49 PM ben leinfelder

use an independent ISet<SystemMetadata> structure to communicate objects that should be indexed by metacat-index. https://projects.ecoinformatics.org/ecoinfo/issues/5943

7809 06/18/2013 02:59 PM ben leinfelder

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). https://projects.ecoinformatics.org/ecoinfo/issues/6006

7808 06/18/2013 01:54 PM ben leinfelder

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. https://projects.ecoinformatics.org/ecoinfo/issues/6006

7781 05/28/2013 01:20 PM Jing Tao

Solr will be enabled if it is in the db.enabledEngines.

7778 05/24/2013 10:20 AM ben leinfelder

do not require PortalCertificateManager be configured. Fix NPE because session was not created when using old sessionid-based authentication. https://projects.ecoinformatics.org/ecoinfo/issues/5942

7773 05/23/2013 09:45 PM ben leinfelder

handle client certificates, portal certificates and jsessionid as three ways to prove you are an uthenticated user. https://projects.ecoinformatics.org/ecoinfo/issues/5942

7772 05/23/2013 06:39 PM Jing Tao

Use some contants from the EnabledQueryEngines.

7766 05/23/2013 01:26 PM Matt Jones

Updated documentation, and added modification date to the sitemap index file entries.

7765 05/23/2013 12:55 PM Matt Jones

Remove unused import.

7764 05/23/2013 12:52 PM Matt Jones

Mofdified Sitemap class to also generate the sitemap index file that is needed when more than one sitemap file is provided.

7757 05/23/2013 10:20 AM ben leinfelder

use ContentTypeInputStream interface (and ByteArray implementation) to specify the desired content-type of the InputStream returned by MN.query().

7755 05/22/2013 04:44 PM ben leinfelder

load the evicted SM back into the map on a "Refresh" so that listeners hear the update. (metacat-index, for example)

7752 05/22/2013 03:49 PM ben leinfelder

switch back to log4j statements now that I am sure certificate delegation is working.

7749 05/22/2013 03:02 PM ben leinfelder

use System.out.println until the oa4mp logging issue is resolved.