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.
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.
Aron Roberts [Fri, 7 Sep 2012 04:15:58 +0000 (21:15 -0700)]
CSPACE-5518: Committing latest state of XmlReplay tests for structured (hierarchical) CollectionObjects. Create with relations test fails; am checking this in for Richard's use 'as is.'
Aron Roberts [Thu, 6 Sep 2012 22:13:05 +0000 (15:13 -0700)]
CSPACE-5518: Tests now create an initial set of hierarchical relationships between CollectionObjects, and include a skeletal set of hierarchy tests. Need to add more such tests, as well testing the contents of response payloads. As well, we may also need to clean up relations created by the tests.
Aron Roberts [Thu, 6 Sep 2012 21:31:17 +0000 (14:31 -0700)]
CSPACE-5518: Create initial XmlReplay-based test for structured objects, starting out by simply creating, reading, and deleting a three-level hierarchy of CollectonObjects relating to items in a chess set.
Richard Millet [Thu, 6 Sep 2012 07:33:45 +0000 (00:33 -0700)]
CSPACE-5488: Adjusted order-by-with-pt-field configuration to take place only when partial-term queries are requested; otherwise just the default order-by field is used.
Richard Millet [Thu, 30 Aug 2012 00:01:18 +0000 (17:01 -0700)]
CSPACE-5492: Cleaning up some of the tangled dependency issues related to refactoring the relations hierarchy code from authority items to a more general case usage.
Richard Millet [Wed, 29 Aug 2012 19:22:34 +0000 (12:22 -0700)]
CSPACE-5489: Added "supports hierarchy" field to document handler parameter list in the tenant bindings schema. Also added method to check this param in the base class for document handlers."