Aron Roberts [Fri, 7 Dec 2012 02:41:46 +0000 (18:41 -0800)]
CSPACE-5727: Event listener now successfully acquires a list of related CollectionObject / Cataloging records and the computed current location for each. Added trivial method useful when debugging JDBC results to JDBCTools class.
Patrick Schmitz [Thu, 6 Dec 2012 20:17:48 +0000 (12:17 -0800)]
CSPACE-5375 Fixed typo that caused unequal relations to be seen as equal, precluding replacement. Removed related cruft left over from earlier refactoring.
Aron Roberts [Thu, 6 Dec 2012 04:02:05 +0000 (20:02 -0800)]
CSPACE-5727: Added resources directory for listener, to store database function to obtain computed current location. Added pseudocode and initial code to check for existence of this function.
Aron Roberts [Thu, 6 Dec 2012 02:27:23 +0000 (18:27 -0800)]
CSPACE-5727: Removing vestigates of attempt to install computeCurrentLocation function via 'ant create_nuxeo_db'. This likely won't work, because PostgreSQL checks for the existence of the tables (relations) in the function before creating or replacing the function, and when we run ant_create_nuxeo_db during build, those tables haven't necessarily been created.
Aron Roberts [Thu, 6 Dec 2012 00:33:00 +0000 (16:33 -0800)]
CSPACE-5727: Added resource directory for storing CollectionObject-related SQL code. Initial pass at pseudocode for updating the non-normalized lastIdentifiedLocation field in CollectionObject records via an event listener, using a SQL function to obtain the value to go into that field.
Aron Roberts [Tue, 4 Dec 2012 19:38:45 +0000 (11:38 -0800)]
CSPACE-5727: Initial directory structure for an 'update object location on move' event listener. Cloned from the 'delete relations on soft delete' event listener, and still needs updates in several files to reflect the new module/package name.
Aron Roberts [Mon, 3 Dec 2012 20:48:41 +0000 (12:48 -0800)]
CSPACE-4796: Remove post-init check that effectively blocked the default 'reader' database account in PostgreSQL from obtaining read-only access to extension schemas.
Aron Roberts [Fri, 30 Nov 2012 02:23:47 +0000 (18:23 -0800)]
CSPACE-5506: Return a new Exception message and corresponding custom HTTP status code if a Nuxeo transaction times out or otherwise fails. Some of these Exceptions may result in transaction rollbacks, and can more generally leave data involved in the transaction in an unexpected state.
Aron Roberts [Thu, 29 Nov 2012 21:31:06 +0000 (13:31 -0800)]
CSPACE-5733: Moved vocabularyitems service to a new 'vocabulary' service type, thus pulling it out of the 'authority' type (and hence also out of the 'common' set of types, when authority services are optionally included in that set). Service types are currently used just in identifying document types to be scanned for authority references (refObjs) and in all records search, and in neither of these contexts should vocabularyitem records be included. We can either revert this change or include vocabularyitems in future sets as needed by future functionality.
Aron Roberts [Wed, 28 Nov 2012 01:49:40 +0000 (17:49 -0800)]
CSPACE-4661: Removing 'provided' scope from slf4j as well as log4j classes, to ensure that their JAR files are included in the cspace-services.war file. This is necessary for logging to cspace-services.jar, while still preserving log rolling, per Jesse and Aron's experiments.
Jesse Martinez [Fri, 9 Nov 2012 19:38:13 +0000 (14:38 -0500)]
CSPACE-4661: removing 'provided' scope for log4j dependency. This will force the log4j jar file to be added to the deployed services war file, and will catch the log4j.properties settings for the services app.
Aron Roberts [Fri, 26 Oct 2012 23:54:14 +0000 (16:54 -0700)]
CSPACE-5677: Added rudimentary initial XmlReplay-based tests of newly-added versioning functionality. These tests are currently restricted to verifying that, by default, versioned documents do not appear in list results and that only the current version is retrieved on a GET.
Patrick Schmitz [Fri, 26 Oct 2012 17:05:15 +0000 (10:05 -0700)]
CSPACE-5664 - Added support to services config to use the Nuxeo versioning support on a per-service, per tenant basis. Added support to filter versions from normal search and list queries. Did not add support for a query param to control this - that is a future feature as needed. Made lifesci tenant Movement use versioning, to test and demo this functionality. Performed basic testing, but needs additional test development.
Aron Roberts [Tue, 25 Sep 2012 23:24:18 +0000 (16:24 -0700)]
CSPACE-5552: Added test of displayName updates propagating to refName fields in collectionspace_core and relations records to the XmlReplay master file in IntegrationTests.
Aron Roberts [Tue, 25 Sep 2012 23:18:11 +0000 (16:18 -0700)]
CSPACE-5552: Added internal pagination to updates of display names in the refName fields of relation records. Added tenant ID constraint on NXQL query.
Aron Roberts [Tue, 25 Sep 2012 19:38:22 +0000 (12:38 -0700)]
CSPACE-5552: Add initial tests to verify that updating a display name field in a structured object also update display names in the refName fields in collectionspace_core and in associated relationship records.
Richard Millet [Mon, 24 Sep 2012 23:22:21 +0000 (16:22 -0700)]
CSPACE-5540: Relationships in relations-payloads to structured objects only differing by relationship metatypes are now considered new relationships by the handleRelations code. This means that the old identical relationships are deleted and new ones with the updated relationship metatype are created in their place.
Aron Roberts [Mon, 24 Sep 2012 23:03:11 +0000 (16:03 -0700)]
CSPACE-5556: Increase log level of message identifying unrecognized elements in request payloads to WARN from DEBUG. Suppress that log message for the 'csid' element (only).
Richard Millet [Thu, 20 Sep 2012 23:08:39 +0000 (16:08 -0700)]
CSPACE-5504: Added proper update handling for refName updates for authority items and structured objects -includes updating refNames in relationship records and in collectionspace_core schema.
Patrick Schmitz [Wed, 19 Sep 2012 23:33:25 +0000 (16:33 -0700)]
NOJIRA - Concept Authority SupportsHierarchy was in the wrong section, which was defeating the logic to handle hierarchy relations. Discovered in incidental testing.
Aron Roberts [Wed, 19 Sep 2012 02:05:05 +0000 (19:05 -0700)]
CSPACE-5440: Adding missing IntegrationTests changes, associated with integrating the relationshipMetaType field into relations and relations list payloads.
Aron Roberts [Tue, 18 Sep 2012 22:37:00 +0000 (15:37 -0700)]
CSPACE-5440,CSPACE-5509: Fully integrate relationshipMetaType field into the services, including reading and that field's value from, and emitting that value in, lists of relations records.
Rick Jaffe [Tue, 18 Sep 2012 20:04:08 +0000 (13:04 -0700)]
CSPACE-5080: Removing authRef, previously commented out during development, for the addressCountry field. The authRef was originally added in anticipation of the field being tied to the Place authority, based on the wiki schema.
Rick Jaffe [Fri, 14 Sep 2012 23:43:27 +0000 (16:43 -0700)]
CSPACE-5080: Initial work - adding termRef for addressCountry field in tenant-bindings. Commenting out authRef for same field -- it had been added in anticipation of this field being tied to Place authority.
Aron Roberts [Fri, 14 Sep 2012 19:05:06 +0000 (12:05 -0700)]
CSPACE-5518: Fixed case typo in XmlReplay payload file used in structured objects tests; this error didn't manifest on Mac OS X (filesystem case insensitivity?).
Aron Roberts [Fri, 14 Sep 2012 01:45:05 +0000 (18:45 -0700)]
CSPACE-5518: Completed adding XmlReplay-based tests of structured objects that use refNames ('id' form) to create and update related records, via relations-common-list payloads included in CollectionObjects create and update requests. These test CSID/refName and refName/CSID pairs as subject/object identifiers when creating records, and refName/refName, CSID/refName and refName/CSID pairs when updating records.
Aron Roberts [Thu, 13 Sep 2012 01:20:34 +0000 (18:20 -0700)]
CSPACE-5522: Clean up all relation records created by XmlReplay-based tests of structured objects. Set autoDeletePOSTS=true to delete all CollectionObject records created by these tests, as well. Remove one duplicate test, resulting from previous move of tests into a single test group. Remove superfluous 'auth' attributes.