Project

General

Profile

Statistics
| Revision:
Name Size Revision Age Author Comment
  bin 4810 almost 16 years daigle moved file from metacat/bin to metacat/src/scri...
  docs 6558 about 13 years ben leinfelder remove reference to tomcat5.5 in favor of tomca...
  lib 6563 about 13 years Chris Jones MetadataTypeRegister is now replaced by ObjectF...
  src 6575 about 13 years Chris Jones Minor indentation cleanup.
  test 6566 about 13 years ben leinfelder removing non-junit file from the test area
LICENSE 17.7 KB 666 almost 24 years Matt Jones Modified the license and copyright terms for ma...
README 29.9 KB 6553 about 13 years ben leinfelder use 2.0.0 -- stub out the release notes
build.properties 2.76 KB 6555 about 13 years ben leinfelder use 2.0.0
build.sh 1.03 KB 670 almost 24 years Matt Jones Updated build files with minor documentation ch...
build.xml 54.1 KB 6565 about 13 years ben leinfelder load hazelcast test files from the classpath ra...
workflowscheduler.build.xml 16.3 KB 6053 over 13 years ben leinfelder remove very old "metacat webservice" code - as ...
  • svn:ignore: build
  • svn:mergeinfo: /branches/D1_0_6_2_BRANCH:6107-6121

Latest revisions

# Date Author Comment
6575 11/01/2011 08:54 AM Chris Jones

Minor indentation cleanup.

6574 11/01/2011 06:48 AM Chris Jones

Modify isAuthorized() to get the most up to date system metadata from the hzSystemMetadata map.

6573 11/01/2011 06:40 AM Chris Jones

Add a placeholder setAccessPolicy() method in MNodeService that throws NotImplemented since this method is being deprecated. Note: need to confirm that this shouldn't be calling D1Client.getCN().setAccessPolicy().

6572 11/01/2011 06:37 AM Chris Jones

Update getSystemMetadata() to lock(); get(); unlock() to ensure we have the latest version of system metadata from the hzSystemMetadata map. Remove the setAccessPolicy() method since it is being deprecated in the MNAuthorization API.
change insertSystemMetadata() to use a finer grained Date object on insertion. Locking of the pid happens in the subclass prior to the insert.

6571 11/01/2011 06:33 AM Chris Jones

Add setAccessPolicy() to CNodeService since the CN should only make changes to access policies for objects registered with the D1 system. Increment the serial version after locling and getting the most up to fdate system metadata.
Note: CCIT meeting decision says the serial version of the system metadata (during the change) should equal the current serial version, but setAccessPolicy() does not pass in the entire system metadata object, so there's no way to check. For now, increment the latest system metadata from the hzSystemMetadata map.

6570 10/31/2011 04:37 PM Chris Jones

In CNodeService, separate the CN.create() functionality from the MN.create() functionality while still using the superclass to call create(). Deal with Hazelcast locks and setting serial versions only in the CN implementation.

6569 10/31/2011 01:13 PM Chris Jones

Change updateSystemMetadata() to evaluate the incoming system metadata serial version against that found in the hzSystemMetadata map. If they are the same, do the update. If not, throw an InvalidRequest explaining that they need the most current version.

6568 10/29/2011 07:21 PM Chris Jones

Modify CNodeService's registerSystemMetadata() with support for SystemMetadata's serialVersion field. Also, use the hzSystemMetadata map for all system metadata reads using a lock on the pid in order to get the very latest version. This affected isNodeAuthorized(), getChecksum(), and assertRelation(). Since we're using Hazelcast, exceptions are masked as RuntimeException, so throw a ServiceFailure with the underlying message.

6567 10/28/2011 09:46 PM Chris Jones

Modify CNodeService's updateSystemMetadata(), setReplicationStatus(), setReplicationPolicy(), and setOwner() with support for SystemMetadata's serialVersion field. Other methods still pending an update. Use the hzSystemMetadata map for all system metadata reads using a lock on the pid in order to get the very latest version.

6566 10/28/2011 08:42 PM ben leinfelder

removing non-junit file from the test area

View all revisions | View revisions

Also available in: Atom