]> git.aero2k.de Git - tmp/jakarta-migration.git/log
tmp/jakarta-migration.git
13 years agoNOJIRA: Just checking git configuration on my workstation.
Richard Millet [Wed, 23 Jan 2013 20:52:41 +0000 (12:52 -0800)]
NOJIRA: Just checking git configuration on my workstation.

13 years agoMerge pull request #85 from aronr/CSPACE-5828
Aron Roberts [Fri, 18 Jan 2013 00:44:44 +0000 (16:44 -0800)]
Merge pull request #85 from aronr/CSPACE-5828

CSPACE-5828: Better handle advanced search queries consisting of a single asterisk char.

13 years agoCSPACE-5828: Remove unneeded constant.
Aron Roberts [Fri, 18 Jan 2013 00:42:36 +0000 (16:42 -0800)]
CSPACE-5828: Remove unneeded constant.

13 years agoCSPACE-5828: Filter out advanced search queries consisting of only a single SQL wildc...
Aron Roberts [Fri, 18 Jan 2013 00:04:20 +0000 (16:04 -0800)]
CSPACE-5828: Filter out advanced search queries consisting of only a single SQL wildcard character.

13 years agoNOJIRA - added some additional error checking to not fail on an otherwise odd error...
Patrick Schmitz [Thu, 17 Jan 2013 21:03:03 +0000 (13:03 -0800)]
NOJIRA - added some additional error checking to not fail on an otherwise odd error (inability to delete an original image when creating a blob from a remote URL). Logged as an error.

13 years agoMerge branch 'CSPACE-5305'
Patrick Schmitz [Thu, 17 Jan 2013 01:20:45 +0000 (17:20 -0800)]
Merge branch 'CSPACE-5305'

13 years agoCSPACE-5305 Fixed bug that was not passing invocationContext params into the report...
Patrick Schmitz [Thu, 17 Jan 2013 01:20:04 +0000 (17:20 -0800)]
CSPACE-5305 Fixed bug that was not passing invocationContext params into the report engine. Modified sample report to show how to pass in a param that is used in a query. Added a note with a sample invocationContext payload that specifies a param.

13 years agoMerge branch 'CSPACE-5305'
Patrick Schmitz [Wed, 16 Jan 2013 23:29:21 +0000 (15:29 -0800)]
Merge branch 'CSPACE-5305'

13 years agoCSPACE-5305 Made output report form respect the mime type requested in the invocation...
Patrick Schmitz [Wed, 16 Jan 2013 23:27:56 +0000 (15:27 -0800)]
CSPACE-5305 Made output report form respect the mime type requested in the invocationContext. Added support for PDF, HTML, XML, CSV, and TSV. Added support to pass the correct mime type back, although TSV is mapped to the more common CSV on return. Also added support to set response headers to a reasonable filename for the returned report (it matches the report filename, plus the typical file extension for the mime type).

13 years agoMerge pull request #84 from aronr/CSPACE-5764
Aron Roberts [Wed, 16 Jan 2013 21:37:38 +0000 (13:37 -0800)]
Merge pull request #84 from aronr/CSPACE-5764

CSPACE-5764: Add tests for event listener that updates computed current location.

13 years agoCSPACE-5764: Invoke updateobjectlocationonmove event listener / handler tests from...
Aron Roberts [Wed, 16 Jan 2013 21:08:00 +0000 (13:08 -0800)]
CSPACE-5764: Invoke updateobjectlocationonmove event listener / handler tests from XmlReplay master.

13 years agoCSPACE-5764: XmlReplay-based tests now cover both update and soft delete cases.
Aron Roberts [Wed, 16 Jan 2013 21:01:10 +0000 (13:01 -0800)]
CSPACE-5764: XmlReplay-based tests now cover both update and soft delete cases.

13 years agoCSPACE-5764: Initial add of XmlReplay-based tests of the updateobjectlocationonmove...
Aron Roberts [Wed, 16 Jan 2013 20:19:35 +0000 (12:19 -0800)]
CSPACE-5764: Initial add of XmlReplay-based tests of the updateobjectlocationonmove event listener / handler.

13 years agoMerge pull request #83 from aronr/CSPACE-5818
Aron Roberts [Tue, 15 Jan 2013 01:10:57 +0000 (17:10 -0800)]
Merge pull request #83 from aronr/CSPACE-5818

CSPACE-5818: Add a termFormattedDisplayName field to the Term Informatio...

13 years agoCSPACE-5818: Add a termFormattedDisplayName field to the Term Information Group in...
Aron Roberts [Tue, 15 Jan 2013 01:09:18 +0000 (17:09 -0800)]
CSPACE-5818: Add a termFormattedDisplayName field to the Term Information Group in each of the current authority term record schemas.

13 years agoMerge pull request #82 from aronr/CSPACE-5728
Aron Roberts [Mon, 14 Jan 2013 21:18:17 +0000 (13:18 -0800)]
Merge pull request #82 from aronr/CSPACE-5728

CSPACE-5728: Batch job for updating computed current locations.

13 years agoMerge remote-tracking branch 'upstream/master' into CSPACE-5728
Aron Roberts [Mon, 14 Jan 2013 20:52:28 +0000 (12:52 -0800)]
Merge remote-tracking branch 'upstream/master' into CSPACE-5728

13 years agoCSPACE-5826: Updated Services build version to 3.2.1-SNAPSHOT from 3.2-SNAPSHOT.
Aron Roberts [Mon, 14 Jan 2013 20:47:21 +0000 (12:47 -0800)]
CSPACE-5826: Updated Services build version to 3.2.1-SNAPSHOT from 3.2-SNAPSHOT.

13 years agoCSPACE-5740 Added support to turn off starting Wildcard behavior for partial Tern...
Patrick Schmitz [Mon, 14 Jan 2013 19:57:41 +0000 (11:57 -0800)]
CSPACE-5740 Added support to turn off starting Wildcard behavior for partial Tern matching (authority auto-complete). Added a section to lifesci tenant delta (commented out) that shows how to enable this new behavior. Note that current default behavior is unchanged.

13 years agoMerge remote-tracking branch 'upstream/master' into CSPACE-5728
Aron Roberts [Mon, 14 Jan 2013 19:45:49 +0000 (11:45 -0800)]
Merge remote-tracking branch 'upstream/master' into CSPACE-5728

13 years agoCSPACE-5771 Allow admins to mark a tenant to be createdDisabled. This minimizes resou...
Patrick Schmitz [Mon, 14 Jan 2013 17:27:07 +0000 (09:27 -0800)]
CSPACE-5771 Allow admins to mark a tenant to be createdDisabled. This minimizes resources devoted to the tenant, and it will remain disabled until this setting is altered and the system restarted (the webapp reloaded). Permissions are created, as this cannot currently be done incrementally.

13 years agoCSPACE-5728: Revert change to AbstractMultiPartCollectionSpaceResourceImpl.java;...
Aron Roberts [Sat, 12 Jan 2013 01:34:46 +0000 (17:34 -0800)]
CSPACE-5728: Revert change to AbstractMultiPartCollectionSpaceResourceImpl.java; despite NetBeans IDE warning about not finding method signature in this case (perhaps due to JAX-RS annotations?) in ResourceBase, current call compiles and runs fine. Comment out 'no context' test group in XmlReplay-based tests of the batch job; see warning comment on top of that test group for the limited circumstances in which that test group should be run.

13 years agoCSPACE-5728: Substitute constants for two literal strings.
Aron Roberts [Sat, 12 Jan 2013 01:27:53 +0000 (17:27 -0800)]
CSPACE-5728: Substitute constants for two literal strings.

13 years agoCSPACE-5728: Refactoring to make it easier to override and extend, via subclasses...
Aron Roberts [Sat, 12 Jan 2013 00:25:13 +0000 (16:25 -0800)]
CSPACE-5728: Refactoring to make it easier to override and extend, via subclasses, the updating of values in CollectionObject records, from values retrieved from the most recent Movement record.

13 years agoCSPACE-5728: Batch job to update computed current location values now also supports...
Aron Roberts [Fri, 11 Jan 2013 23:42:31 +0000 (15:42 -0800)]
CSPACE-5728: Batch job to update computed current location values now also supports the 'group' invocation mode.

13 years agoCSPACE-5728: Skip checks for deleted CollectionObject records in the no-context invoc...
Aron Roberts [Fri, 11 Jan 2013 20:19:14 +0000 (12:19 -0800)]
CSPACE-5728: Skip checks for deleted CollectionObject records in the no-context invocation mode.

13 years agoCSPACE-5728: Removing extraneous change made to POM for JaxRsServiceProvider, origina...
Aron Roberts [Fri, 11 Jan 2013 04:09:59 +0000 (20:09 -0800)]
CSPACE-5728: Removing extraneous change made to POM for JaxRsServiceProvider, originally for Maven 3 compability under Mac OS X.

13 years agoCSPACE-5728: Removed extraneous import statement.
Aron Roberts [Fri, 11 Jan 2013 04:07:28 +0000 (20:07 -0800)]
CSPACE-5728: Removed extraneous import statement.

13 years agoCSPACE-5728: UpdateObjectLocationBatchJob now supports a 'no context' invocation...
Aron Roberts [Fri, 11 Jan 2013 04:03:00 +0000 (20:03 -0800)]
CSPACE-5728: UpdateObjectLocationBatchJob now supports a 'no context' invocation mode, which updates the computed current location value in all active CollectionObject records.

13 years agoCSPACE-5728: Initial work to support the 'no context' batch invocation mode (as yet...
Aron Roberts [Fri, 11 Jan 2013 02:20:47 +0000 (18:20 -0800)]
CSPACE-5728: Initial work to support the 'no context' batch invocation mode (as yet untested).

13 years agoCSPACE-5728: Internal refactoring to split a large method into multiple, smaller...
Aron Roberts [Thu, 10 Jan 2013 22:35:09 +0000 (14:35 -0800)]
CSPACE-5728: Internal refactoring to split a large method into multiple, smaller and more focused methods.

13 years agoCSPACE-5728: Skip soft-deleted CollectionObject records when batch updating computedC...
Aron Roberts [Thu, 10 Jan 2013 04:42:54 +0000 (20:42 -0800)]
CSPACE-5728: Skip soft-deleted CollectionObject records when batch updating computedCurrentLocation values.

13 years agoCSPACE-5728: Exclude soft-deleted Movement records from consideration when coming...
Aron Roberts [Thu, 10 Jan 2013 01:41:55 +0000 (17:41 -0800)]
CSPACE-5728: Exclude soft-deleted Movement records from consideration when coming up with computedCurrentLocation value.

13 years agoCSPACE-5728,CSPACE-5472: Re-enabled batch tests in IntegrationTests module.
Aron Roberts [Thu, 10 Jan 2013 00:41:34 +0000 (16:41 -0800)]
CSPACE-5728,CSPACE-5472: Re-enabled batch tests in IntegrationTests module.

13 years agoCSPACE-5728: Added single- and list-mode batch tests to XmlReplay master, at least...
Aron Roberts [Thu, 10 Jan 2013 00:23:26 +0000 (16:23 -0800)]
CSPACE-5728: Added single- and list-mode batch tests to XmlReplay master, at least for now. Added convenience methods to get list CSIDs and parameters from the batch invocation context.

13 years agoCSPACE-5728: Initial steps toward supporting list-mode invocation of the batch job...
Aron Roberts [Wed, 9 Jan 2013 23:39:10 +0000 (15:39 -0800)]
CSPACE-5728: Initial steps toward supporting list-mode invocation of the batch job to update computedCurrentLocation values. List CSIDs aren't currently appearing in the invocation context; to be investigated.

13 years agoCSPACE-5728: De-duplicate related Movement records being processed to find computed...
Aron Roberts [Wed, 9 Jan 2013 21:29:22 +0000 (13:29 -0800)]
CSPACE-5728: De-duplicate related Movement records being processed to find computed current location, regardless of the directionality of their relations. Lots of miscellaneous cleanup.

13 years agoCSPACE-5728: First successful top-to-bottom run of the single CSID batch job to updat...
Aron Roberts [Wed, 9 Jan 2013 20:20:03 +0000 (12:20 -0800)]
CSPACE-5728: First successful top-to-bottom run of the single CSID batch job to update computed current location. Uses JDOM, not dom4j, to get field value. XmlReplay test validation is also now more strict.

13 years agoCSPACE-5728: Alternate approach to getting field values via JDOM, rather than dom4j...
Aron Roberts [Wed, 9 Jan 2013 02:04:05 +0000 (18:04 -0800)]
CSPACE-5728: Alternate approach to getting field values via JDOM, rather than dom4j (the latter so far problematic). Not yet tested.

13 years agoCSPACE-5728: Relations in the reverse direction are now also reflected when computing...
Aron Roberts [Tue, 8 Jan 2013 23:00:54 +0000 (15:00 -0800)]
CSPACE-5728: Relations in the reverse direction are now also reflected when computing current location.

13 years agoCSPACE-5728: Add test for reverse direction of Movement-CollectionObject relation...
Aron Roberts [Tue, 8 Jan 2013 22:45:20 +0000 (14:45 -0800)]
CSPACE-5728: Add test for reverse direction of Movement-CollectionObject relation. One test commented out, as it requires an upcoming code change to support this direction.

13 years agoCSPACE-5728: Substitute a relation in the reverse (reciprocal) direction.
Aron Roberts [Tue, 8 Jan 2013 22:36:10 +0000 (14:36 -0800)]
CSPACE-5728: Substitute a relation in the reverse (reciprocal) direction.

13 years agoCSPACE-5728: Updated XmlReplay-based tests to verify that correct computedCurrentLoca...
Aron Roberts [Tue, 8 Jan 2013 22:31:28 +0000 (14:31 -0800)]
CSPACE-5728: Updated XmlReplay-based tests to verify that correct computedCurrentLocation value is present in CollectionObject record, following invocation of batch job.

13 years agoCSPACE-5728: Computed current location value now successfully updated for a single...
Aron Roberts [Tue, 8 Jan 2013 22:15:24 +0000 (14:15 -0800)]
CSPACE-5728: Computed current location value now successfully updated for a single CollectionObject specified in a batch invocation context.

13 years agoCSPACE-5728: Tests now successfully create related records. First pass at obtaining...
Aron Roberts [Tue, 8 Jan 2013 20:58:47 +0000 (12:58 -0800)]
CSPACE-5728: Tests now successfully create related records. First pass at obtaining the computed current location value from the related Movement record with the most recent location date; as yet untested.

13 years agoCSPACE-5728: Further work toward retrieving a list of related Movement records, for...
Aron Roberts [Tue, 8 Jan 2013 04:50:58 +0000 (20:50 -0800)]
CSPACE-5728: Further work toward retrieving a list of related Movement records, for CollectionObject records relevant to the batch request.

13 years agoCSPACE-5728: Sample updating of CollectionSpace payload. Several XML helper functions...
Aron Roberts [Tue, 8 Jan 2013 00:51:59 +0000 (16:51 -0800)]
CSPACE-5728: Sample updating of CollectionSpace payload. Several XML helper functions are not working as expected, per comments.

13 years agoCSPACE-5728: Adding abstract class.
Aron Roberts [Sat, 5 Jan 2013 01:57:01 +0000 (17:57 -0800)]
CSPACE-5728: Adding abstract class.

13 years agoCSPACE-5728: Batch job to update computed current location now uses abstract class...
Aron Roberts [Sat, 5 Jan 2013 01:34:42 +0000 (17:34 -0800)]
CSPACE-5728: Batch job to update computed current location now uses abstract class; invokes several of Ray's convenience methods.

13 years agoCSPACE-5728: Added abstract class on top of batch invocable interface, based largely...
Aron Roberts [Fri, 4 Jan 2013 23:00:44 +0000 (15:00 -0800)]
CSPACE-5728: Added abstract class on top of batch invocable interface, based largely on Ray's work in creating such a class for the UC Berkeley Botanical Garden implementation.

13 years agoCSPACE-5728: Added a skeletal (no-op) batch job and an initial XmlReplay-based test...
Aron Roberts [Fri, 4 Jan 2013 04:03:00 +0000 (20:03 -0800)]
CSPACE-5728: Added a skeletal (no-op) batch job and an initial XmlReplay-based test to invoke it, as a starting point for work on this issue.

13 years agoCSPACE-5765: Trivial comment change to ID generator table creation SQL script.
Aron Roberts [Thu, 3 Jan 2013 22:37:46 +0000 (14:37 -0800)]
CSPACE-5765: Trivial comment change to ID generator table creation SQL script.

13 years agoMerge pull request #81 from aronr/CSPACE-5813
Aron Roberts [Thu, 3 Jan 2013 22:22:23 +0000 (14:22 -0800)]
Merge pull request #81 from aronr/CSPACE-5813

CSPACE-5813: Allow multiple SQL scripts to be run by init handler.

13 years agoCSPACE-5813: Renamed class to reflect ability to run multiple scripts.
Aron Roberts [Thu, 3 Jan 2013 22:11:15 +0000 (14:11 -0800)]
CSPACE-5813: Renamed class to reflect ability to run multiple scripts.

13 years agoCSPACE-5813: RunSqlScript init handler now can run multiple scripts, each specified...
Aron Roberts [Thu, 3 Jan 2013 21:57:28 +0000 (13:57 -0800)]
CSPACE-5813: RunSqlScript init handler now can run multiple scripts, each specified as a property in services tenant bindings configuration.

13 years agoCSPACE-5765: Remove misleading comment. Currently, we can't safely drop the id_genera...
Aron Roberts [Thu, 3 Jan 2013 21:10:39 +0000 (13:10 -0800)]
CSPACE-5765: Remove misleading comment. Currently, we can't safely drop the id_generators table on each system startup, because that would lose state information about the last ID generated by each ID Generator.

13 years agoCSPACE-5765: Finishing up leftover work on the ID Generators table creation SQL script.
Aron Roberts [Thu, 3 Jan 2013 03:23:18 +0000 (19:23 -0800)]
CSPACE-5765: Finishing up leftover work on the ID Generators table creation SQL script.

13 years agoCSPACE-5782 Replace DataSource getConnection with DriverManager.getConnection(),...
Patrick Schmitz [Thu, 20 Dec 2012 23:30:07 +0000 (15:30 -0800)]
CSPACE-5782 Replace DataSource getConnection with DriverManager.getConnection(), since former uses connection pool and so does not reflect changes to setUrl.

13 years agoMerge pull request #80 from aronr/CSPACE-5498
Aron Roberts [Sat, 15 Dec 2012 01:54:58 +0000 (17:54 -0800)]
Merge pull request #80 from aronr/CSPACE-5498

CSPACE-5498: Soft delete relations when an endpoint record is soft deleted.

13 years agoMerge remote-tracking branch 'upstream/master' into CSPACE-5498
Aron Roberts [Sat, 15 Dec 2012 01:48:39 +0000 (17:48 -0800)]
Merge remote-tracking branch 'upstream/master' into CSPACE-5498

Conflicts:
3rdparty/nuxeo/nuxeo-platform-listener/build.xml
3rdparty/nuxeo/nuxeo-platform-listener/pom.xml

13 years agoMerge pull request #78 from aronr/CSPACE-5727
Aron Roberts [Sat, 15 Dec 2012 01:45:26 +0000 (17:45 -0800)]
Merge pull request #78 from aronr/CSPACE-5727

CSPACE-5727: Event handler to update object current locations on moves.

13 years agoCSPACE-5761 additional cleanup on reporting post-init
Patrick Schmitz [Sat, 15 Dec 2012 00:55:11 +0000 (16:55 -0800)]
CSPACE-5761 additional cleanup on reporting post-init

13 years agoMerge remote-tracking branch 'upstream/master' into CSPACE-5727
Aron Roberts [Fri, 14 Dec 2012 23:54:00 +0000 (15:54 -0800)]
Merge remote-tracking branch 'upstream/master' into CSPACE-5727

13 years agoMerge remote-tracking branch 'upstream/master' into CSPACE-5498
Aron Roberts [Fri, 14 Dec 2012 23:53:08 +0000 (15:53 -0800)]
Merge remote-tracking branch 'upstream/master' into CSPACE-5498

13 years agoCSPACE-5761 Fixed problems that emerged after the merge, including the naming of...
Patrick Schmitz [Fri, 14 Dec 2012 23:15:20 +0000 (15:15 -0800)]
CSPACE-5761 Fixed problems that emerged after the merge, including the naming of the lifesci repo.

13 years agoCSPACE-5727: Added null value checks to debugging-related method in JDBCTools.
Aron Roberts [Fri, 14 Dec 2012 21:22:05 +0000 (13:22 -0800)]
CSPACE-5727: Added null value checks to debugging-related method in JDBCTools.

13 years agoMerge branch 'master' of github.com:collectionspace/services
Patrick Schmitz [Fri, 14 Dec 2012 20:53:38 +0000 (12:53 -0800)]
Merge branch 'master' of github.com:collectionspace/services

13 years agoMerge branch 'master' of github.com:collectionspace/services
Patrick Schmitz [Fri, 14 Dec 2012 20:52:14 +0000 (12:52 -0800)]
Merge branch 'master' of github.com:collectionspace/services

Conflicts:
services/common/src/main/java/org/collectionspace/services/common/storage/JDBCTools.java

13 years agoMerge remote-tracking branch 'upstream/master' into CSPACE-5727
Aron Roberts [Fri, 14 Dec 2012 20:51:20 +0000 (12:51 -0800)]
Merge remote-tracking branch 'upstream/master' into CSPACE-5727

Conflicts:
services/common/src/main/java/org/collectionspace/services/common/storage/JDBCTools.java

13 years agoMove method getDatabaseName() which returns the database name for a given tenant...
Richard Millet [Fri, 14 Dec 2012 20:47:44 +0000 (12:47 -0800)]
Move method getDatabaseName() which returns the database name for a given tenant bindings repo domain from ConfigUtils to JDBCTools class.

13 years agoCSPACE-5761 removed duplicate dependency
Patrick Schmitz [Fri, 14 Dec 2012 20:32:07 +0000 (12:32 -0800)]
CSPACE-5761 removed duplicate dependency

13 years agoMerge remote-tracking branch 'upstream/master' into CSPACE-5498
Aron Roberts [Fri, 14 Dec 2012 20:22:18 +0000 (12:22 -0800)]
Merge remote-tracking branch 'upstream/master' into CSPACE-5498

13 years agoCSPACE-4979: Move method getDatabaseName() which returns the database name for a...
Richard Millet [Fri, 14 Dec 2012 20:18:04 +0000 (12:18 -0800)]
CSPACE-4979: Move method getDatabaseName() which returns the database name for a given tenant bindings repo domain from ConfigUtils to JDBCTools class.

13 years agoMerge branch 'CSPACE-5761'
Patrick Schmitz [Fri, 14 Dec 2012 19:50:06 +0000 (11:50 -0800)]
Merge branch 'CSPACE-5761'

Conflicts:
services/JaxRsServiceProvider/src/main/webapp/META-INF/context.xml
services/common/src/main/java/org/collectionspace/services/common/ServiceMain.java
services/common/src/main/java/org/collectionspace/services/common/storage/JDBCTools.java

13 years agoCSPACE-4979: Added method to ConfigUtils class called getDatabaseName() which returns...
Richard Millet [Fri, 14 Dec 2012 19:49:46 +0000 (11:49 -0800)]
CSPACE-4979: Added method to ConfigUtils class called getDatabaseName() which returns the database name for a given tenant bindings repo domain.

13 years agoCSPACE-5761 Added support to create databases as needed for repos on init. Sets up...
Patrick Schmitz [Fri, 14 Dec 2012 19:33:40 +0000 (11:33 -0800)]
CSPACE-5761 Added support to create databases as needed for repos on init. Sets up users, etc. Tested on Postgres, NOT TESTED on MySQL (but draws on the commands from the existing sql scripts, so should work).

13 years agoCSPACE-4979: Merge of multi-repo work with master branch.
Richard Millet [Fri, 14 Dec 2012 17:56:07 +0000 (09:56 -0800)]
CSPACE-4979: Merge of multi-repo work with master branch.

13 years agoMerge remote-tracking branch 'upstream/master' into CSPACE-5498
Aron Roberts [Fri, 14 Dec 2012 02:51:04 +0000 (18:51 -0800)]
Merge remote-tracking branch 'upstream/master' into CSPACE-5498

13 years agoMerge remote-tracking branch 'upstream/master' into CSPACE-5727
Aron Roberts [Fri, 14 Dec 2012 02:49:07 +0000 (18:49 -0800)]
Merge remote-tracking branch 'upstream/master' into CSPACE-5727

13 years agoCSPACE-5727: Updated comments for clarity; other minor cleanup.
Aron Roberts [Fri, 14 Dec 2012 01:56:50 +0000 (17:56 -0800)]
CSPACE-5727: Updated comments for clarity; other minor cleanup.

13 years agoCSPACE-5727: Further steps to make this event listener/handler more easily extensible...
Aron Roberts [Fri, 14 Dec 2012 01:49:04 +0000 (17:49 -0800)]
CSPACE-5727: Further steps to make this event listener/handler more easily extensible for implementers who just want to set additional field values, like a movable storage location (crate) value.

13 years agoMerge branch 'CSPACE-5657'
Patrick Schmitz [Thu, 13 Dec 2012 20:26:33 +0000 (12:26 -0800)]
Merge branch 'CSPACE-5657'

13 years agoCSPACE-5657 Completed work on auth and AuthZImport work to handle new perms, roles...
Patrick Schmitz [Thu, 13 Dec 2012 20:23:39 +0000 (12:23 -0800)]
CSPACE-5657 Completed work on auth and AuthZImport work to handle new perms, roles, associations, etc. Special cased the assignment of tenants to the tenantManager, so it only sits in (pseudo)tenant 0. Web service and perms work now. Need to develop regression tests, and the new web app that provides a UI on this. Also need to consider getting the tenantManager password from the environment, when building it. In any case, need to be able to update the password.

13 years agoCSPACE-5727: Refactored into abstract and implementation methods for easier extensibi...
Aron Roberts [Thu, 13 Dec 2012 01:40:38 +0000 (17:40 -0800)]
CSPACE-5727: Refactored into abstract and implementation methods for easier extensibility; e.g. for updating moveable locations (crates or equivalent) for some implementers.

13 years agoCSPACE-5727: Basic Movement record changes are working again, after adding handling...
Aron Roberts [Wed, 12 Dec 2012 21:49:19 +0000 (13:49 -0800)]
CSPACE-5727: Basic Movement record changes are working again, after adding handling of relation record events. Relation addition is also working to update computed current locations, but relation deletion (via the UI) is not.

13 years agoCSPACE-5727: Revised computed current location refName validation logic for clarity.
Aron Roberts [Wed, 12 Dec 2012 19:38:00 +0000 (11:38 -0800)]
CSPACE-5727: Revised computed current location refName validation logic for clarity.

13 years agoCSPACE-5727: Fixed typo in constant.
Aron Roberts [Wed, 12 Dec 2012 19:27:08 +0000 (11:27 -0800)]
CSPACE-5727: Fixed typo in constant.

13 years agoCSPACE-5727: First pass at integrating events pertaining to Relation records into...
Aron Roberts [Wed, 12 Dec 2012 19:26:11 +0000 (11:26 -0800)]
CSPACE-5727: First pass at integrating events pertaining to Relation records into the event handler that updates computed current locations. (This code is not yet tested.)

13 years agoCSPACE-5727: Restoring inadvertently deleted reference to build properties file from...
Aron Roberts [Wed, 12 Dec 2012 03:46:30 +0000 (19:46 -0800)]
CSPACE-5727: Restoring inadvertently deleted reference to build properties file from Ant buildfile.

13 years agoCSPACE-5498: Exclude soft deletion events involving Relation records themselves.
Aron Roberts [Wed, 12 Dec 2012 03:06:18 +0000 (19:06 -0800)]
CSPACE-5498: Exclude soft deletion events involving Relation records themselves.

13 years agoCSPACE-5727: Revised comment for clarity.
Aron Roberts [Wed, 12 Dec 2012 02:42:24 +0000 (18:42 -0800)]
CSPACE-5727: Revised comment for clarity.

13 years agoCSPACE-5727: Current locations for CollectionObjects are now also re-computed when...
Aron Roberts [Wed, 12 Dec 2012 02:37:09 +0000 (18:37 -0800)]
CSPACE-5727: Current locations for CollectionObjects are now also re-computed when the lifecycle state of related Movement records are transitioned in any manner, including to/from the 'soft deleted' state.

13 years agoCSPACE-5727: Cleaned up comments throughout. Log a success message indicating how...
Aron Roberts [Wed, 12 Dec 2012 01:45:29 +0000 (17:45 -0800)]
CSPACE-5727: Cleaned up comments throughout. Log a success message indicating how many CollectionObject records had their computed current locations updated.

13 years agoCSPACE-5727: Exclude non-active (e.g. soft-deleted, versioned) Movement records when...
Aron Roberts [Wed, 12 Dec 2012 01:31:00 +0000 (17:31 -0800)]
CSPACE-5727: Exclude non-active (e.g. soft-deleted, versioned) Movement records when computing the current location of a CollectionObject.

13 years agoCSPACE-5727: Get the computed current location from all relevant CollectionObject...
Aron Roberts [Wed, 12 Dec 2012 01:24:21 +0000 (17:24 -0800)]
CSPACE-5727: Get the computed current location from all relevant CollectionObject/Movement relations, whether the CollectionObject and Movement are, respectively, the subject or object of those relations.

13 years agoCSPACE-5727: Removed vestiges of former SQL-based approach for computing a Collection...
Aron Roberts [Wed, 12 Dec 2012 00:51:03 +0000 (16:51 -0800)]
CSPACE-5727: Removed vestiges of former SQL-based approach for computing a CollectionObject's current location.

13 years agoCSPACE-5727: First fully working version, using NXQL query and post-processing of...
Aron Roberts [Wed, 12 Dec 2012 00:01:11 +0000 (16:01 -0800)]
CSPACE-5727: First fully working version, using NXQL query and post-processing of returned Relation records to get current location. SQL queries, whether invoking a stored function or simply executing the same query directly, don't yet see the current state of the database when the event handler is invoked, so can't see the updated location date on a just-updated and saved Movement record.

13 years agoCSPACE-5727: Split off loop to update each CollectionObject requiring updating, follo...
Aron Roberts [Sat, 8 Dec 2012 01:48:29 +0000 (17:48 -0800)]
CSPACE-5727: Split off loop to update each CollectionObject requiring updating, following the check for records that require such updates. Inserted additional debug statements based on suggestions from Richard and Ray to track down an issue where the stored function is returning a stale value when run via JDBC from within the event listener; this value is only updated on a subsequent update of any kind to a relevant movement record.

13 years agoCSPACE-5727: Accommodate multiple relevant document types. Changes to comments and...
Aron Roberts [Fri, 7 Dec 2012 23:53:48 +0000 (15:53 -0800)]
CSPACE-5727: Accommodate multiple relevant document types. Changes to comments and log statements.

13 years agoCSPACE-5657 Step 2, adding Tenant resource and associated files to support a RESTful...
Patrick Schmitz [Fri, 7 Dec 2012 22:57:36 +0000 (14:57 -0800)]
CSPACE-5657 Step 2, adding Tenant resource and associated files to support a RESTful service to control tenancy.