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.
Richard Millet [Tue, 11 Sep 2012 22:52:00 +0000 (15:52 -0700)]
CSPACE-5489: Changed list handling code for authority items to no longer supply refname since it is now part of all common list results and handled in the base class. Also removed all refName list result fields from tenant bindings since they are always included for all objects/resources.
Aron Roberts [Tue, 11 Sep 2012 02:05:23 +0000 (19:05 -0700)]
CSPACE-5122: Added tests for showAllRelations calls for mid-level and bottom-level records in a hierarchy of structured objects. These are currently commented out, as showAllRelations doesn't appear to properly include sibling relationships in its responses.
Aron Roberts [Mon, 10 Sep 2012 23:20:26 +0000 (16:20 -0700)]
CSPACE-5520: Corrected XmlReplay-based tests of structured objects to create parent/child relationships with each create request. As Richard observed, when sending a relations-common-list payload with a record to be created, that payload must only include relations where that record is either a subject or object of the relationship.
Aron Roberts [Mon, 10 Sep 2012 19:46:42 +0000 (12:46 -0700)]
CSPACE-5520: Redid changes from commit 98a38422024f6ddfd02a8adbd7e9524a21358779, again with correct commit comment: Added expected payload for a relations obj= test of structured objects.
Richard Millet [Fri, 7 Sep 2012 23:42:17 +0000 (16:42 -0700)]
CSPACE-5518: Updating ServiceContext factory methods to accept a UriInfo rather than MultivaluedMap<String, String> queryParams = ui.getQueryParameters();
Aron Roberts [Fri, 7 Sep 2012 22:58:08 +0000 (15:58 -0700)]
CSPACE-5120: Updated structured object tests. All are now in a single test group, because variable values weren't being shared between some groups. Tweaked payloads, including namespace prefixes.
Aron Roberts [Fri, 7 Sep 2012 18:47:50 +0000 (11:47 -0700)]
CSPACE-5518,CSPACE-5520: Remove dev-master, committed temporarily to master branch during CSPACE-5518 work. Add missing objectName var in XmlReplay test of structured objects.