Aron Roberts [Wed, 1 Aug 2012 23:36:35 +0000 (16:36 -0700)]
Merge pull request #48 from collectionspace/CSPACE-5433
CSPACE-5433: Calls to merge in a set of standard list results fields into another set of list results fields from per-tenant configuration are now synchronized. (Code and schema changes made by Richard, merged in by Aron.)
Richard Millet [Wed, 1 Aug 2012 21:21:29 +0000 (14:21 -0700)]
CSPACE-5433: Left most of the code alone, but added a synchronization flag to the shared list item structure. Now this list item array gets modified only once and in a synchronized manner.
Aron Roberts [Fri, 20 Jul 2012 18:32:57 +0000 (11:32 -0700)]
Merge pull request #43 from rjaffe/CSPACE-5405
CSPACE-5405: Fixing authRefs in tenant-binding-proto.xml; modifying CollectionObjectAuthRefsTest.java to match (i.e., to expect to find refNames for previously commented-out authRefs).
Aron Roberts [Thu, 19 Jul 2012 18:43:34 +0000 (11:43 -0700)]
CSPACE-5406: First pass at generating valid <uri> values in refObjs list items for authority item records that also contain authority references in their fields.
Aron Roberts [Fri, 13 Jul 2012 00:00:41 +0000 (17:00 -0700)]
CSPACE-5397: Initial take on returning just the appropriate set of list results on refObjs searches, including appropriate values in the pagination headers.
Aron Roberts [Tue, 10 Jul 2012 23:56:27 +0000 (16:56 -0700)]
CSPACE-5359: findDocs now accepts an ORDER BY statement, while still defaulting to returning documents in descending order by updatedAt timestamps. When updating display names in authority references, we now obtain documents in ascending order by createdAt timestamps, which should be static for existing records.
Aron Roberts [Mon, 9 Jul 2012 18:21:04 +0000 (11:21 -0700)]
CSPACE-5227: Improved error messages when attempting to save an authority item record with an invalid payload, such as when containing a term with a missing display name.
Richard Millet [Thu, 5 Jul 2012 22:22:57 +0000 (15:22 -0700)]
CSPACE-5359: Removing private static class member for storing/cacheing getCommonServiceTypes. This is better (more safely) computed with in the getter. Performance should not be an issue with this change.
Richard Millet [Wed, 20 Jun 2012 01:30:45 +0000 (18:30 -0700)]
CSPACE-5129: Cleaned up repository session managment and transaction management when making resource to resource method calls. The ServiceContext is now able to keep track of RepositorySession instances and keeps reference counts on them. Only when the reference count drops to 0 is it released and the transaction closed.
Richard Millet [Wed, 13 Jun 2012 20:52:32 +0000 (13:52 -0700)]
CSPACE-5036: Since we can't seem to get paging on CMIS queries working, we need to update the paging info in the list results to show meaning statistics.
Aron Roberts [Sat, 9 Jun 2012 16:19:57 +0000 (09:19 -0700)]
CSPACE-5271: Contact UriTemplate now has correct template type and path when stored in the UriTemplateRegistry. As well, its 'servicename' variable is no longer pre-populated, and a value for this variable must be now provided when building contact sub-resource URIs.
Patrick Schmitz [Sat, 9 Jun 2012 03:58:02 +0000 (20:58 -0700)]
CSPACE-3771, CSPACE-4791 refObjs call did not support wf_deleted filter, so was not correctly ignoring soft-deleted records. Since term delete checks for refObjs, this caused failure on term delete for which referencing objects had been (soft) deleted.
Aron Roberts [Sat, 9 Jun 2012 00:44:57 +0000 (17:44 -0700)]
CSPACE-5271: List of docType keys for the UriTemplateRegistry now comes from tenant bindings configuration (albeit for an arbitrary tenant). All docTypes appear to be populated successfully. There is currently only one entry for the Contact doctype - whichever is last populated in the registry - although there can be multiple authority item types that count Contacts as a sub-resource.
Patrick Schmitz [Sat, 9 Jun 2012 00:09:11 +0000 (17:09 -0700)]
CSPACE-4989, CSPACE-4115 Simplified queries that compute the referencing objects given a refName. Will improve performance, and make the system more stable. Enabled checking Cataloging records, for Used-By computations.
Aron Roberts [Fri, 8 Jun 2012 21:15:08 +0000 (14:15 -0700)]
CSPACE-5271: Remove per-resource cacheing of UriTemplateMap; likely would not have worked as designed. Make generic method for getting a UriTemplate by type in ResourceBase and sub-classes.
Aron Roberts [Fri, 8 Jun 2012 18:45:10 +0000 (11:45 -0700)]
CSPACE-5271: Store type in UriTemplates. Establish initial pattern for returning multiple registry entries from resource base classes. Lots of miscellaneous cleanup.