Project

General

Profile

Statistics
| Revision:
  • svn:ignore: build
  • svn:mergeinfo: /branches/D1_0_6_2_BRANCH:6107-6121

# Date Author Comment
7243 06/05/2012 09:42 PM ben leinfelder

apply Gastil's edits. http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5516

7242 06/05/2012 09:20 PM ben leinfelder

add section about configuring the metacat.properties with the paths to the server certificate and key

7241 06/05/2012 07:02 PM ben leinfelder

remove unused replication properties (all certificate file based now)

7240 06/05/2012 04:46 PM ben leinfelder

use 1.0.1 DataONE jars

7239 06/05/2012 04:44 PM ben leinfelder

use KNB identifier table (post DOI generation) to update LTER identifier table.
https://redmine.dataone.org/issues/2857

7238 06/05/2012 03:34 PM Jing Tao

exclude the MockObjectPathMap class from the test target since it is not a junit test.

7237 06/05/2012 03:22 PM Jing Tao

exclude QueryRunner in test target. This is not a junit test file.

7236 06/05/2012 02:07 PM Chris Jones

Since we already have determined access via isAuthorized() and isAdminAuthorized(), act as the Metacat administrator during calls to DocumentImpl.delete() in archive(), passing in null username and group.

7234 06/04/2012 08:49 PM ben leinfelder

restrict getLogRecrods (both MN and CN) to be called only by admin users (the CN)
https://redmine.dataone.org/issues/2855

7233 06/04/2012 08:15 PM ben leinfelder

use updated tag for EML stylesheet-only changes
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5597

7232 06/04/2012 08:04 PM ben leinfelder

use updated tag for EML stylesheet-only changes
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5597

7231 06/02/2012 05:46 AM Chris Jones

In setReplicationStatus() and UpdateReplicationMetadata(), don't allow a status state change from COMPLETED to anything other than INVALIDATED. This prevents the completed status from being overwritten due to race conditions.

7229 06/01/2012 12:47 PM ben leinfelder

do not include releaseCandidate property - does not seem to be used except for debian? packaging which was never fully implemented.

7228 06/01/2012 12:39 PM ben leinfelder

use non-snapshot D1 jars in prep for tagging/release. Still RCs

7227 06/01/2012 10:45 AM ben leinfelder

script to aid in converting denyFirst rules to allowFirst
https://redmine.dataone.org/issues/2613

7226 06/01/2012 10:40 AM ben leinfelder

use kepler account as default

7225 06/01/2012 10:39 AM ben leinfelder

use current default tomcat6 deploy directory

7224 06/01/2012 09:35 AM ben leinfelder

include test shoulder defaults for KNB, PISCO and LTER

7223 05/31/2012 09:25 PM Matt Jones

Fixed formatting problem in a documentation file.

7222 05/31/2012 09:04 PM ben leinfelder

use metacat.properties to specify the default checksum algorithm to use -- this way it will be easy for us to switch to whatever DataONE decrees.
https://redmine.dataone.org/issues/2834

7221 05/31/2012 06:16 PM ben leinfelder

put(sm) for every pid we have a SM value for so that all members receive the entry event and can save locally.

7220 05/31/2012 02:11 PM ben leinfelder

add section about importing self-signed certificates into the Java keystore (now that we use strict verification on the java client side when calling replication endpoints).

7219 05/31/2012 02:01 PM ben leinfelder

a few additional notes about Metacat replication configuration.

7218 05/31/2012 10:56 AM Chris Jones

Throw an exception when NOT allowed, not when allowed =).

7217 05/31/2012 10:53 AM ben leinfelder

ignore partition owner -- always attempt to look up form local store if we were unable to get the SM from the shared map.

7216 05/31/2012 10:13 AM ben leinfelder

do not check if this CN has a "perfect" copy of the SM identifiers -- we need any CN coming online to contribute the records that they have locally so that in the event that all three CNs have a partial view of things they all eventually share each others' SM entries.

7215 05/31/2012 10:10 AM Chris Jones

Also get the list size, which may throw an NPE.

7214 05/31/2012 09:53 AM Chris Jones

Only add an AccessPolicy to SystemMetadata during generation when the AccessPolicy is not empty. We've had some scenarios where IdentifierManager.getaccessPolicy() is returning an empty policy because of an empty permission list coming from the db. This was causing InvalidSystemMetadata exceptions during MN to MN replication.

7213 05/31/2012 09:19 AM ben leinfelder

push SystemMetadata entries from the CN that has them all to the shared map where other nodes may not have all entries. The CN with the complete copy only pushes SM entries that it does not own and that return as null because those are the ones that are missing on the other, non-complete CNs....

7212 05/30/2012 10:00 PM ben leinfelder

trace level log for looping over EVERY pid in the system.

7211 05/30/2012 09:47 PM ben leinfelder

meant to log the guids (source) not the pids (target)

7210 05/30/2012 08:51 PM ben leinfelder

trace level log for looping over EVERY pid in the system.

7209 05/30/2012 08:18 PM ben leinfelder

logging for each step of shared identifiers loading.

7208 05/30/2012 08:07 PM ben leinfelder

remove pause/resume - seemed to make metacat just hang on SM retrieval. Add more logging when returned SM is null -- want to make sure it is becuase the local node "owns" the pid key even though there is no value for it.

7207 05/30/2012 06:12 PM ben leinfelder

due to hudson build issue, did not actually end up testing pause/resume -- trying that again

7206 05/30/2012 05:53 PM ben leinfelder

pause/resume was not enough. trying shutdown/restart

7205 05/30/2012 05:02 PM ben leinfelder

experiment with lifecycle pause/resume. hopefully it prevents our node from taking ownership of any keys before we are sure we have them all.

7204 05/30/2012 08:29 AM ben leinfelder

increase logging and add back in the call to saveLocally() in case the SM object has already been loaded into the shared map but before this node came back online.

7203 05/29/2012 11:21 PM ben leinfelder

no need to call saveLocally explicitly since loading from the shared store triggers that behavior locally because of the configured listeners.
use an iterator over the shared identifiers in case this set is constantly changing.

7202 05/29/2012 10:10 PM ben leinfelder

make only one DB call to look up local pids - no need to do a pstmt for every single shared pid.

7201 05/29/2012 09:05 PM ben leinfelder

on init (start up) launch a synchronization thread that ensures all shared identifier entries have a corresponding local System Metadata entry.

7200 05/29/2012 04:19 PM ben leinfelder

use 'allowFirst' for access rules. We have deprecated 'denyFirst' and deny rules in Metacat as of 2.0.0

7199 05/29/2012 03:02 PM ben leinfelder

handle https-only server configuration -- must pull resources from https not http for the skins etc.

7198 05/29/2012 02:53 PM ben leinfelder

handle https-only server configuration -- must pull resources from https not http for the skins etc.

7197 05/29/2012 10:31 AM ben leinfelder

fix NPE (logMetacat object was not initialized) that was occurring during store()

7196 05/29/2012 09:33 AM ben leinfelder

stack trace the HZ put exception during CN-CN replication

7195 05/29/2012 07:37 AM ben leinfelder

additional debugging statements for CONCURRENT_MAP_PUT error during CN-CN replication.

7194 05/28/2012 01:25 PM ben leinfelder

include eml2.0.0beta4 DTD during Metacat build so that we can continue to accept (and validate) beta4 documents.
This arose when testing Metacat as DataONE Coordinating Node where legacy documents are being housed in the CN.

7193 05/27/2012 09:03 AM ben leinfelder

encode '/' and ':' in the DOI used for the resolve URL

7192 05/25/2012 06:20 PM Chris Jones

Don't set the replication status to failed for an object when it is called by a public user. Just throw the NotAuthorized exception. This prevents this node from being de-prioritized because of public calls to the method.

7191 05/25/2012 04:23 PM ben leinfelder

include revisions table in the initial temp table population.
use the "first" creator listed in the EML (either org or person).
use other reasonable default values as needed to fully populate the spreadsheet columns
https://redmine.dataone.org/issues/2815

7190 05/25/2012 02:30 PM ben leinfelder

add columns: publisher and pub_date. include default values for all columns - even data files should have title.
still a few todos but closer.
https://redmine.dataone.org/issues/2815

7189 05/25/2012 12:07 PM ben leinfelder

script to generate DOI registration spreadsheet
https://redmine.dataone.org/issues/2815

7188 05/23/2012 04:41 PM ben leinfelder

share the same dbConnection when inserting and then updating SystemMetadata objects in the backing store.
any errors encountered during the update will rollback the entire transaction and the SM record will not exist, even in part.

7187 05/23/2012 03:28 PM ben leinfelder

Do not loadAllKeys() for SystemMetadataMap when Metacat first starts up. hzIdentifiers will be populated with a simple SQL statement rather than the serial loading of every single SystemMetadata object. It will remain in synch using the usual entryXXX() methods as before....

7186 05/23/2012 02:22 PM ben leinfelder

use LRU eviction policy and a small (1000) map size limit to avoid running out of memory because of a large number of system metadata objects

7185 05/23/2012 02:17 PM Chris Jones

Set the default maximum number of database connections back to 200. After discussion, we've decided it will be better to increase the PostgreSQL limit to 300 and keep Metacat's pool size pretty big.

7184 05/23/2012 09:57 AM ben leinfelder

include pidFilter handling - only matches the complete pid. Issues a warning in the Metacat logs when pidFilter cannot be applied but allows the call to getLogs() to return as though there was no pidFilter given.
https://redmine.dataone.org/issues/2798

7183 05/23/2012 09:33 AM ben leinfelder

use at least one thread on single-processor machines.
https://redmine.dataone.org/issues/2800

7182 05/22/2012 05:46 PM Chris Jones

Change the database.maximumConnections property to 100. PostgreSQL's docs says it can handle "a few hundred", and would need to be increased from the default 100 max_connections. For DataONE optimization, we increase max_connections, however there are more processes making connections other than metacat, so I'll reduce metacat's default share.

7181 05/22/2012 04:47 PM ben leinfelder

script for re-applying missing FK constraints on KNB production DB.
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5608

7180 05/21/2012 03:04 PM ben leinfelder

include TRACE level debugging for specific classes we want to have performance metrics for.

7179 05/21/2012 02:31 PM Chris Jones

Add a few logging statemnts for round trip replication metrics.

7178 05/21/2012 02:12 PM ben leinfelder

add trace statements for measuring time to complete SM generation.

7177 05/21/2012 11:25 AM ben leinfelder

new D1 jars:
prevent NPEs from the object format cache when formatId.value is null. This came up during PISCO testing

7176 05/18/2012 03:05 PM ben leinfelder

default replication policy set to 0.

7175 05/18/2012 12:09 PM ben leinfelder

instead of generating SM and ORE maps during dataone configuration/MN registration, moved this all to the replication admin screen where we can target generation for specific nodes. That way it's more controlled as to when and where we generate DataONE required content....

7174 05/18/2012 12:00 PM ben leinfelder

include all EML versions (had been only eml 2.1 for testing)

7173 05/18/2012 11:59 AM ben leinfelder

new d1 jars for: remove exception from method decl - was not matching the interface def and not compiling.

7172 05/17/2012 05:43 PM Jing Tao

Append more information such as user name and group to the validating session response.

7171 05/17/2012 12:46 PM ben leinfelder

remove exception from method decl - was not matching the interface def and not compiling.

7170 05/14/2012 02:36 PM ben leinfelder

add "Generate System Metadata" button to the replication server list display. When clicked, we generate SM for records belonging to that source server. This is only enabled when DataONE has been configured.
https://redmine.dataone.org/issues/2762

7169 05/09/2012 03:45 PM ben leinfelder

expose serverLocation parameter to run GenerateSystemMetadata for different replication parters as needed.
https://redmine.dataone.org/issues/2740

7168 05/08/2012 04:30 PM ben leinfelder

only generate system metadata for original objects.
https://redmine.dataone.org/issues/2721

7167 05/04/2012 02:50 PM ben leinfelder

test for running concurrent Metacat queries to mimic Kepler data search.
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5518

7166 05/02/2012 04:21 PM ben leinfelder

check if person's equivalentIdentity list is null before processing recursively
https://redmine.dataone.org/issues/2689

7165 05/02/2012 03:59 PM ben leinfelder

D1 common lib AuthUtils update

7164 05/02/2012 09:11 AM ben leinfelder

include testSynchronizationFailed() and call as the CN subject so that it is authorized.

7163 05/02/2012 09:06 AM ben leinfelder

use MN (self) as the Session.subject so that the MN.delete() call is successful.

7162 05/02/2012 08:58 AM ben leinfelder

handle authorization for delete() differently for CN vs MN.
On the CN, only the CN (or tbd admin user) can call it.
On the MN, both the CN (or admin user) and the same MN can call it.

7161 05/01/2012 02:55 PM ben leinfelder

comment out testDelete because it requires acting as the MN
comment out testSynchronizationFailed because it requires acting as the CN

7160 05/01/2012 02:49 PM ben leinfelder

uncomment the MN tests (I bet this was an oversight during local testing)

7159 05/01/2012 02:48 PM ben leinfelder

add Session-less archive() method

7158 05/01/2012 11:59 AM ben leinfelder

jars with CN/MN.archive() libclient implementations

7157 05/01/2012 11:14 AM ben leinfelder

only admin users can call MN/CN.delete(). This is limited to any CN and only the MN that is calling itself

7156 05/01/2012 10:47 AM ben leinfelder

update the sysmeta data modified when setting archived=true
https://redmine.dataone.org/issues/882

7155 05/01/2012 10:26 AM ben leinfelder

handle CN.archive() rest call: PUT /archive/{pid}
https://redmine.dataone.org/issues/2678

7154 05/01/2012 10:25 AM ben leinfelder

correct log about 'archive' being called

7153 05/01/2012 10:15 AM ben leinfelder

handle 'archive' rest calls
https://redmine.dataone.org/issues/2678

7152 05/01/2012 10:15 AM ben leinfelder

updated d1 jars

7151 05/01/2012 09:18 AM ben leinfelder

[optionally] do not archive the xml_documents and xml_nodes to *_revisions when 'deleting' a document. This will effectively guarantee that the document/data cannot be retrieved after delete.
NOTE: D1 system metadata will persist (for now) so that the ID cannot be reused with the DataONE API but Metacat calls may allow the ID to be reused -- may need to reconsider this behavior....

7150 04/30/2012 04:03 PM ben leinfelder

optionally remove the document/data file from the filesystem completely when 'deleting' it.
https://redmine.dataone.org/issues/2677

7149 04/30/2012 03:42 PM ben leinfelder

newer d1 jars that include shared AuthUtilsmethod for isAuthorized() consistency
https://redmine.dataone.org/issues/2661

7148 04/30/2012 03:35 PM ben leinfelder

implement MN and CN.archive() method -- really just the existing delete() methods.
https://redmine.dataone.org/issues/2674
https://redmine.dataone.org/issues/2675

7147 04/30/2012 03:05 PM ben leinfelder

call MN.delete() for each replica when CN.delete() is called
https://redmine.dataone.org/issues/2676

7146 04/30/2012 02:20 PM ben leinfelder

defer to AuthUtils for flattening out the equivIdent subject list.
https://redmine.dataone.org/issues/2661

7145 04/27/2012 10:24 AM ben leinfelder

check normal access control rules for getSystemMetadata before deferring to MN replica information that may grant MNs additional access to the SM.
https://redmine.dataone.org/issues/2656

7144 04/25/2012 03:33 PM ben leinfelder

include Session-less interface methods and updated jars that define them.

7143 04/24/2012 10:42 AM ben leinfelder

use a shared ExecutorService for replicate() calls.
https://redmine.dataone.org/issues/2623

7142 04/19/2012 02:04 PM ben leinfelder

remove extraneous pid and permission parameters from isAdminAuthorized() method and make public so that it can be called in other locations - namely before our asynchronous replicate() implementation on the MN.