Project

General

Profile

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

# Date Author Comment
6739 12/06/2011 02:51 PM ben leinfelder

update test to reflect newer change:
handle queries with predicates correctly.
when docids are used in the return field look up, we need to make sure they are included in the values in the correct order for their corresponding parameter place holders (?)

6738 12/06/2011 02:50 PM ben leinfelder

add node name in the correct order for predicate navigation
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5561

6737 12/05/2011 06:04 PM Jing Tao

Use the absolute path for the change permission jsp page.

6736 12/05/2011 05:43 PM Jing Tao

Add header style to distiguish header and normal row.

6735 12/05/2011 11:58 AM Jing Tao

Make TPC link to use the same mechanism to open header and left panel.

6734 12/02/2011 05:32 PM ben leinfelder

handle queries with predicates correctly.
when docids are used in the return field look up, we need to make sure they are included in the values in the correct order for their corresponding parameter place holders (?)

6733 12/02/2011 04:40 PM Jing Tao

widen the third column.

6732 12/02/2011 11:27 AM ben leinfelder

close prepared statement only if not null
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5562

6731 12/02/2011 10:54 AM Jing Tao

fixed a bug that using a wrong table name - acces_log.

6730 12/02/2011 10:53 AM Jing Tao

fixed a bug that using acces_log table name.

6729 12/02/2011 07:37 AM Chris Jones

Upgrade the hazelcast libraries to 1.9.4.4 from 1.9.3.4.

6728 12/01/2011 03:38 PM Jing Tao

Use accessblock in setaccess method. So user can grant/revoke public readable access.

6727 12/01/2011 01:30 PM ben leinfelder

ensure that the revision list is ordered ascending in case someone changes the sql query without realizing that it matters...

6726 12/01/2011 01:21 PM ben leinfelder

set the byte size of the ORE map before adding it

6725 12/01/2011 01:12 PM ben leinfelder

set/update the obsoletes/obsoletedBy fields in system metadata so that we always have a complete revision history for each object.
Note: ORE maps do not have revision history...yet(?)

6724 12/01/2011 01:10 PM ben leinfelder

order the revision list, ascending.

6723 12/01/2011 11:57 AM ben leinfelder

removing unused class -- can't find a reference to it and it's causing compilation errors for me.

6722 12/01/2011 11:53 AM ben leinfelder

for "all" permission, return a list of READ, WRITE, CHANGE_PERMISSION

6721 11/30/2011 05:31 PM ben leinfelder

generating ORE maps and creating/updating system metadata now. There are some Permission conversion issues to be worked out yet

6720 11/30/2011 05:25 PM ben leinfelder

look up access policy by guid or local id
TODO: resolve the Metacat/EML "all" permission as it relates to DataONE (there is only READ, WRITE, CHANGE_PERMISSION). for now I am using CHANGE_PERMISSION when it is a Metacat "all"

6719 11/30/2011 05:23 PM ben leinfelder

make exception/error reporting clearer -- was getting lock messages when perhaps that was not the correct exception.

6718 11/30/2011 05:22 PM ben leinfelder

look up all docids is now a static method (ORE/SystemMetadata generation)

6717 11/30/2011 02:22 PM Chris Jones

Add log statements for each call to ILock.unlock() for debugging.

6716 11/29/2011 04:21 PM Jing Tao

Add new test method to test getAccessControl.

6715 11/29/2011 04:20 PM Jing Tao

Add eml test file which contains access part.

6714 11/29/2011 03:43 PM ben leinfelder

evict the HazelCast SystemMetadata entry if we update the access control rules via Metacat's legacy API, otherwise stale SystemMetadata stays in memory instead of being looked up from the backing table store.

6713 11/29/2011 03:41 PM ben leinfelder

optionally include ORE generation/insertion into Metacat when generating SystemMetadata
https://redmine.dataone.org/issues/2056

6712 11/29/2011 02:15 PM ben leinfelder

optionally include ORE generation/insertion into Metacat when generating SystemMetadata
https://redmine.dataone.org/issues/2056

6711 11/29/2011 01:44 PM Chris Jones

Set a default HazelcastInstance after init() is called, and use this instance in getLock() to acquire a lock in the cluster.

6710 11/29/2011 01:41 PM ben leinfelder

no need to cast docInfo entries to String -- they are all strings

6709 11/29/2011 01:39 PM ben leinfelder

set revision history, the create/update dates and the owner/submitter (correctly)

6708 11/29/2011 01:05 PM ben leinfelder

use shared method for looking up "docInfo" map -- both in Metacat replication and in D1 system metadata generation

6707 11/29/2011 12:38 PM ben leinfelder

make default formatting a little bit easier to read

6706 11/29/2011 12:33 PM ben leinfelder

reformat code -- no changes

6705 11/29/2011 12:31 PM ben leinfelder

refactor SystemMetadata creation into separate class from the MetacatHandler -- this will be shared by upgrade code and normal metacat api.

6704 11/29/2011 11:00 AM ben leinfelder

include all document revisions when generating "missing" system metadata
TODO: revision graph captured in obsoletes/obsoletedBy

6703 11/29/2011 10:10 AM Chris Jones

When using ILock.lock(), get a lock on the string value of the Identifier, not the Identifier object itself. Hazelcast locking won't work otherwise.

6702 11/29/2011 08:55 AM Chris Jones

Use the Hazelcast ILock mechanism to lock the system metadata identifier rather than using IMap.lock(pid).

6701 11/28/2011 04:09 PM ben leinfelder

simplify SystemMetadata generation -- will be done during Metacat upgrade for D1 features/support.

6700 11/28/2011 03:53 PM ben leinfelder

clean up populator; use IOUtils library to do string<->stream conversions

6699 11/28/2011 03:37 PM ben leinfelder

utilities jar should not be committed to Metacat otherwise we will not retrieve the tagged version during Metacat build process.

6698 11/28/2011 03:04 PM ben leinfelder

catch all possible exceptions

6697 11/28/2011 02:44 PM ben leinfelder

act as a registered CN when calling CN methods -- create(), for example, is restricted to only be callable by a node of type CN.

6696 11/28/2011 02:22 PM Jing Tao

Set sessionid for clientVeiwBean when it handle a request.
Always set the order type to "allowFirst".

6695 11/28/2011 12:34 PM ben leinfelder

use IOUtils for testing read/write of XML strings. This goes along with the utilities project change to use the same apache commons IO library. Be sure to clean the utilities checkout in order to catch the right utilities svn tag when building!

6694 11/23/2011 12:49 PM ben leinfelder

remove the D1 configuration group (header)

6693 11/23/2011 12:10 PM ben leinfelder

verify checksum when retrieving replica from another member node.
https://redmine.dataone.org/issues/1794

6692 11/23/2011 11:59 AM ben leinfelder

make sure to get/put system metadata to the HZ map instead of using IdentifierManager directly
verified changes for: https://redmine.dataone.org/issues/1999

6691 11/23/2011 11:37 AM ben leinfelder

match documentation for the MN.describe() header
https://redmine.dataone.org/issues/1904

6690 11/23/2011 11:31 AM ben leinfelder

configure synch schedule in the admin screen
https://redmine.dataone.org/issues/1933

6689 11/23/2011 11:03 AM ben leinfelder

look-up sych schedule from metacat properties instead of hardcoding them
https://redmine.dataone.org/issues/1933

6688 11/23/2011 10:19 AM ben leinfelder

when comparing D1 Subject objects, use the equals() method not direct string comparison
https://redmine.dataone.org/issues/2050

6687 11/23/2011 10:07 AM ben leinfelder

access nodeList list correctly
https://redmine.dataone.org/issues/2049

6686 11/22/2011 04:10 PM Jing Tao

When read a FGDC document, Metacat will add a new parameter enableFGDCediting params for the xml transforming.

6685 11/21/2011 02:23 PM Chris Jones

New d1 common jar. Fixing my overwritten jar.

6684 11/21/2011 02:16 PM Jing Tao

set the uploade file size -1.

6683 11/21/2011 02:11 PM Chris Jones

New d1 jars with changes to SubjectBase in the types classes.

6682 11/21/2011 12:10 PM ben leinfelder

remove D1 configuration -- it has its own admin screen now

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