Project

General

Profile

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

# Date Author Comment
6681 11/21/2011 12:09 PM ben leinfelder

updated cos.jar -- cos-26Dec2008.zip
File upload improvements:

Added support for Servlets 2.4 and Java 5.
Added an ExceededSizeException type to make catching easier.
Added support for EBCDIC machines.
Added a workaround for browsers that send Content-Length of -1....

6680 11/21/2011 11:21 AM ben leinfelder

allow unknown content sizes
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5543

6679 11/18/2011 05:00 PM ben leinfelder

run replicate() in a separate thread so that we don't wait for potentially large data objects to be moved around the system.

6678 11/18/2011 12:13 PM Chris Jones

Call replicate() asynchronously.

6677 11/18/2011 09:13 AM Chris Jones

Use status.toLowerCase() to deal with ReplicationStatus conversion issues. This needs to be reviewed.

6676 11/18/2011 09:10 AM Chris Jones

Use Subject.equals() when comparing DNs rather than CertificateManager.equalsDN(). Don't lock the pid in isNodeAuthorized() to debug for timeout issues. Minor debugging changes.

6675 11/17/2011 03:44 PM ben leinfelder

give the Metacat admin users FULL permissions on all data/docs
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=4728

6674 11/17/2011 03:20 PM ben leinfelder

correct path for question mark icon -- though the documentation link is broken

6673 11/17/2011 02:49 PM ben leinfelder

remove replication control panel from dev skin -- now in admin interface
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5528

6672 11/17/2011 02:47 PM ben leinfelder

replication control panel now fully implemented as an admin configuration screen
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5528

6671 11/17/2011 02:23 PM Jing Tao

change the footer to be regwhitetext style.

6670 11/17/2011 02:22 PM Jing Tao

make regtext style black and add new style regwhitetext.

6669 11/17/2011 12:19 PM ben leinfelder

move replication configuration actions to the admin servlet and out of the replication servlet
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5528

6668 11/17/2011 11:42 AM Jing Tao

Using the method sending form parameters rather than form object.
The reason is IE will invalidate the form object after putting a login message on the div which contains the form.

6667 11/17/2011 11:38 AM Jing Tao

Add methods to send form parameters to the server.

6666 11/17/2011 11:19 AM ben leinfelder

save SystemMetadata when replicating data and metadata -- this way if/when the node decides to be a DataONE MN it already has the information needed for each object

6665 11/16/2011 06:15 PM Chris Jones

Minor logging for isNodeAuthorized(), and compare subjects properly. Change this to Subject.compareTo() when it is vetted.

6664 11/16/2011 04:09 PM ben leinfelder

check for authenticated and verified user permissions

6663 11/16/2011 03:34 PM ben leinfelder

throw NotAuthorized when there is no session

6662 11/16/2011 02:27 PM Chris Jones

Catch RuntimeExceptions thrown by Hazelcast as opposed to general Exceptions to we don't catch exceptions we're trying to throw.

6661 11/16/2011 01:51 PM ben leinfelder

include Subject comparator changes

6660 11/16/2011 12:58 PM ben leinfelder

get params from multipart params for systemMetadataChanged call

6659 11/16/2011 10:45 AM ben leinfelder

generalize exception handling -- add cause detail

6658 11/16/2011 10:38 AM ben leinfelder

remove DataONE schema reference in xml_catalog

6657 11/16/2011 10:34 AM Chris Jones

Changes to setReplicationStatus and isNodeAuthorized(), working out minor bugs in replication.

6656 11/16/2011 09:50 AM ben leinfelder

include exception cause when throwing new exception (combine RuntimeException in Exception handling -- they are almst identical)

6655 11/15/2011 04:01 PM ben leinfelder

use /cn/xslt/ for the standard cn deployment

6654 11/15/2011 03:55 PM ben leinfelder

new jars with (at least) xslt updates for the D1 CN

6653 11/15/2011 10:48 AM ben leinfelder

throw InvalidToken when session is null

6652 11/15/2011 10:47 AM ben leinfelder

correct typo

6651 11/15/2011 09:37 AM Chris Jones

Send the correct node id (the target node) when calling setReplicationStatus()

6650 11/14/2011 04:00 PM ben leinfelder

get pid from normal params, not the URL -- the client should include them in the params -- and not as a serialized "object" since it is just a string value

6649 11/14/2011 03:49 PM ben leinfelder

check obsoletes and obsoletedBy PIDs when updating objects

6648 11/14/2011 03:34 PM ben leinfelder

delete system metadata when MN.delete() is called.

6647 11/14/2011 03:31 PM Jing Tao

Using the method which reloads the page after sending login. This will fix an issue that the search function couldn't get the session id after login.

6646 11/14/2011 03:29 PM Jing Tao

Add a new method which will reload the page after submitting a form.

6645 11/14/2011 02:59 PM ben leinfelder

throw InvalidToken when there is no session (certificate) provided in update() and delete() methods.

6644 11/13/2011 05:47 PM Chris Jones

Calls to setReplicationStatus() can only be made by a CN or the MN that is the target replica node. Implement this service restriction in CNodeService using CertificateManager's equalsDN() method.

6643 11/13/2011 04:47 PM Chris Jones

The ReplicationStatus parameter is 'status', not 'replicationStatus', in the architecture documentation.

6642 11/13/2011 03:50 PM Chris Jones

Although parameters for setReplicationStatus() are expected as multipart/form-data fields, they seem to be added to the HttpServletRequest as URL parameters during the proxy forwarding in d1_cn_rest_proxy. Test for their existence as multipart fields, but fall back to request params, otherwise, throw an InvalidRequest exception.

6641 11/11/2011 11:18 AM ben leinfelder

updated d1_libclient jar from trunk

6640 11/11/2011 11:17 AM ben leinfelder

updated d1_common jar from trunk

6639 11/11/2011 09:54 AM ben leinfelder

lookup stylesheet from metacat.properties for CN list objects and list formats. This is used in conjunction with the CN rest service deployment where the xslt is actually kept.

6638 11/11/2011 09:12 AM ben leinfelder

actually persist the MN id value to the properties file

6637 11/11/2011 09:06 AM ben leinfelder

set the newly assigned MN id after we call CN.register().

6636 11/11/2011 08:58 AM Chris Jones

Added stack trace debugging for CNodeService.isNodeAuthorized() for tracking down replication issues.

6635 11/10/2011 11:36 PM ben leinfelder

DataONE MN registration/configuration is now its own configuration page in the admin interface.
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5531

6634 11/10/2011 12:07 PM Chris Jones

Since we're using a multipart form to encode parameters, extract the params out of the multipart form prior to doing a get() from the multipartparams map in setReplicationStatus(). Likewise, do the same in updateReplicationMetadata() and setReplicationPolicy().

6633 11/10/2011 08:52 AM Chris Jones

New libclient jar with changes to CNode.setReplicationStatus() (r5824).

6632 11/10/2011 08:30 AM Chris Jones

Use a session object that is set to null when calling CNode.setReplicationStatus()

6631 11/10/2011 08:05 AM Chris Jones

Add debugging code to MNodeService.getReplica().

6630 11/09/2011 06:55 PM Chris Jones

Set a new Session object to null, to be overwritten by the CertificateManager session information from the X.509 certificate.

6629 11/09/2011 05:45 PM ben leinfelder

more changes for http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5527

6628 11/09/2011 04:26 PM ben leinfelder

get server param only when it is expected

6627 11/09/2011 03:34 PM ben leinfelder

check replication table (not keystore) for trusted server host name match

6626 11/09/2011 12:51 PM Chris Jones

Adding new D1 jars (r5818) with changes to libclient's CNode.setReplicationStatus(). It now sends multipart params rather than files since there's no XML structure to ReplicationStatus.

6625 11/09/2011 12:13 PM ben leinfelder

added note about PermGen space + Geoserver

6624 11/09/2011 07:14 AM Chris Jones

Fix cast to List<Node> in isNodeAuthorized().

6623 11/08/2011 04:40 PM Chris Jones

List the correct REST endpoints for replication in the documentation.

6622 11/08/2011 03:49 PM ben leinfelder

upgrade to 1.0.1-SNAPSHOT DataONE jars

6621 11/08/2011 01:59 PM ben leinfelder

check for blank key passwords

6620 11/08/2011 11:31 AM ben leinfelder

started replication unit test

6619 11/08/2011 10:36 AM Chris Jones

Keep /dirtySystemMetadata as the REST endpoint for systemMetadataChanged() for now.

6618 11/07/2011 05:16 PM Chris Jones

New D1 libraries, fix for MNode.isNodeAuthorized() and other exception handling.

6617 11/07/2011 05:03 PM Chris Jones

MockCNode.getSystemMetadata() no longer throws InvalidRequest.

6616 11/07/2011 03:53 PM ben leinfelder

add note about alternative methods for getting cert/key

6615 11/07/2011 03:50 PM ben leinfelder

use prepared statement place holder (?)

6614 11/07/2011 02:31 PM ben leinfelder

use DateTimeMarshaller for all replication date transfers

6613 11/07/2011 12:31 PM ben leinfelder

print the stacktrace when there is an error -- debuggin!

6612 11/07/2011 11:50 AM ben leinfelder

remove catch blocks for unthrown exceptions

6611 11/07/2011 10:55 AM ben leinfelder

use SSL to get content from stream

6610 11/07/2011 10:52 AM Chris Jones

Update methods in MNodeService to reflect they modifications of the MN API with regard to exceptions being raised. Largely removed InvalidRequest from a number of methods, and instead threw an appropriate NotFound or ServiceFailure instead.

6609 11/07/2011 10:01 AM Chris Jones

D1NodeService get(), getSystemMetadata(), and isAuthorized() no longer throw InvalidRequest.

6608 11/04/2011 03:17 PM Chris Jones

Add new D1 jars with 1.0.0 API additions (MNStorage.systemMetadataChanged()) and libclient fixes.

6607 11/04/2011 03:04 PM ben leinfelder

newer seek tag

6606 11/04/2011 02:45 PM ben leinfelder

uses prepared statement instead of plain old statement.
deprecated the DBConnection.createStatement() method to discourage direct parameter value use in favor of parameter binding.
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5527

6605 11/04/2011 02:35 PM Chris Jones

Add a test for systemMetadataChanged. This should be fleshed out more so that the test uses a CN certificate.

6604 11/04/2011 02:21 PM Chris Jones

Fix getReplica() handling code for getReplica() and systemMetadataChanged(). Calls to getReplica() in MNode were calling get(), so the lack of resource handling was being missed.

6603 11/04/2011 02:19 PM Chris Jones

Handle multipart params where the libclient methods are using them.

6602 11/04/2011 12:32 PM ben leinfelder

uses prepared statement parameter binding for queries
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5527

6601 11/03/2011 12:59 PM Chris Jones

Add new D1 jars with the new MNStorage.systemMetadataChanged() additions.

6600 11/03/2011 12:55 PM Chris Jones

Add in the systemMetadataChanged() method in MNodeService to respond to notifications. Only allow subjects from CNs listed in the node list to make the call. Update the local copy of the system metadata document for the given pid.

6599 11/03/2011 10:36 AM Chris Jones

Include the serialVersion in the call to CN.setReplicationStatus() after replicating data.

6598 11/02/2011 10:10 PM ben leinfelder

correctly set the prepared statement parameters for start and end date

6597 11/02/2011 10:09 PM ben leinfelder

check object format id values since they are not Comparable objects

6596 11/02/2011 09:58 PM ben leinfelder

make MNodeServiceTest pass JUnit testing

6595 11/02/2011 08:40 PM ben leinfelder

http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5527

6594 11/02/2011 08:08 PM Chris Jones

Update CNodeService test to include serialVersion in it's calls as appropriate.

6593 11/02/2011 08:04 PM Chris Jones

Update CNodeService to use the serialVersion parameter and compare it to the current serialVersion of the system metadata found in the hzSystemMetadata map. Throw an InvalidRequest exception if they are not equal. This affects updateReplicationMetadata(), setReplicationStatus(), setReplicationPolicy(), setAccessPolicy(), and setOwner().

6592 11/02/2011 08:00 PM Chris Jones

Handle calls to CNReplication REST services. Modify handle() to field calls to /replicaPolicies, /replicaMetadata, /replicaAuthorizations, and /replicaNotifications. Add the isNodeAuthorized(), setReplicationPolicy(), setReplicationStatus(), and updateReplicationMetadata() methods to parse and pass multipart form data and params on to the CNodeService implementing class....

6591 11/02/2011 07:50 PM Chris Jones

Add new d1_common jar with the API changes that add serialVersion parameters to CNAuthorization and CNReplication methods.

6590 11/02/2011 07:46 PM Chris Jones

Add support for the various CNReplication calls. Add collectReplicationPolicy() to parse the policy out of the multipart form, and collectReplicaMetadata() to parse out the replica to be updated.

6589 11/02/2011 05:32 PM ben leinfelder

restore -- apparently this was used with reflection in a test...

6588 11/02/2011 09:20 AM ben leinfelder

change to 2.0.0 release
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5515

6587 11/01/2011 07:35 PM ben leinfelder

skip verification -- remaining TODO

6586 11/01/2011 07:08 PM ben leinfelder

verify certificate

6585 11/01/2011 06:41 PM ben leinfelder

inspect keystore entries for matching client certificate

6584 11/01/2011 05:27 PM ben leinfelder

lookup the correct property for keystore file

6583 11/01/2011 04:53 PM ben leinfelder

drop old identifier when upgrading from 1.9.5 to 2.0.0

6582 11/01/2011 03:23 PM ben leinfelder

use HttpClient to set up SSL connection when doing replication calls -- this will use the server's configured certificate as the client certificate on the request. The server it is calling can then inspect that certificate and decide whether or not it trusts the caller.