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 [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.
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.
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 [Tue, 5 Jun 2012 18:46:46 +0000 (11:46 -0700)]
CSPACE-5301,CSPACE-5073: Added refName parsing test for item display name containing a single apostrophe (') character. Added log4j properties file to suppress non-fatal exception when running common-api tests. Tests now output to console using logger, like other tests.
Aron Roberts [Tue, 5 Jun 2012 15:42:14 +0000 (08:42 -0700)]
CSPACE-5301,CSPACE-5073: Added two unit test cases for refNamedisplay names containing colons and parens, both separator characters used elsewhere in refNames.
Aron Roberts [Tue, 5 Jun 2012 02:30:06 +0000 (19:30 -0700)]
Merge pull request #33 from aronr/cspace-5301
CSPACE-5301: refName parsing for authorities and authority items now uses tokenization code exclusively, rather than tokenization code in some code path(s) and regex code in other(s). The tokenization code, among its many virtues, handles parens in the displayName parts of refNames with aplomb. After making this change, all services tests (including refName-specific parsing tests in the common-api module) pass. As well, it is now possible to save authority item records with the addition of a broader or narrower term, whose displayname contains parens.
Aron Roberts [Tue, 5 Jun 2012 02:05:21 +0000 (19:05 -0700)]
CSPACE-5301: refName parsing for authorities (as contrasted with authority items) now also uses tokenization code exclusively, rather then tokenization code in some code path(s) and regex code in other(s).
Aron Roberts [Tue, 5 Jun 2012 00:11:23 +0000 (17:11 -0700)]
CSPACE-5301: refName parsing for authority items now uses tokenization code exclusively, rather then tokenization code in some code path(s) and regex code in other(s).
Aron Roberts [Sun, 3 Jun 2012 21:14:54 +0000 (14:14 -0700)]
Merge pull request #31 from jessemartinez/CSPACE-5292
CSPACE-5292: Updating Jasper iReports files, which generate a sample report for a single Acquisitions record, to remove the unused and incorrect accessiondate field that was recently converted into a structured date field. Verified that the current report is broken, and that Jesse's replacement files generate a correct report for all included fields.
Aron Roberts [Fri, 1 Jun 2012 22:17:43 +0000 (15:17 -0700)]
CSPACE-5241: Import records now accept additional attributes on the <import> tag: createdAt, createdBy, updatedAt, and updatedBy. These allow some implementer-requested metadata from legacy systems to be imported.
Aron Roberts [Fri, 1 Jun 2012 20:50:50 +0000 (13:50 -0700)]
CSPACE-5294,CSPACE-4579,CSPACE-5241: Minor tweak to FileTools method, to revert to defaulting to system encoding, as suggested by Richard. Traced and documented behavior of a key macro variable expansion method in Imports service, in part to verify CSPACE-4579 functionality and in preparation for work on CSPACE-5241.
Jesse Martinez [Fri, 1 Jun 2012 14:51:31 +0000 (10:51 -0400)]
CSPACE-5292: updating Jasper iReports files to remove unused and incorrect accessiondate field that was recently converted into a structured date field. This new field type was breaking the Jasper template. Since that field, even when formatted correctly, wasn't used it was safe to remove entirely from the template. I also modified the report template in minor ways to fix field widths.
Aron Roberts [Fri, 1 Jun 2012 03:39:39 +0000 (20:39 -0700)]
CSPACE-5293: Make common-api FileTools.saveFile() method always use UTF-8 encoding. This method is invoked by the Imports service to create intermediate files; on some platforms / environments, these files were being written using a non-UTF-8 encoding.
Aron Roberts [Thu, 31 May 2012 02:13:44 +0000 (19:13 -0700)]
CSPACE-5012: Now correctly retrieves values from both namespaced and non-namespaced elements, as well as from records that have multiple schema parts (such as a common and extension part). Uses an abominable hack to wrap the XML fragment before extracting inAuthority value.
Aron Roberts [Wed, 30 May 2012 22:48:04 +0000 (15:48 -0700)]
CSPACE-5012: Tenant unqualify the docType prior to using it to construct the collectionspace_core:uri value; previous commit to TemplateExpander didn't do this.
Aron Roberts [Wed, 30 May 2012 20:50:25 +0000 (13:50 -0700)]
Merge pull request #30 from aronr/cspace-5012-addtl
CSPACE-5012: Remove redundant code block following Ray's change to always remove tenant qualification from doctype names, when constructing the collectionspace_core:uri values for imported records.
Aron Roberts [Wed, 30 May 2012 16:50:57 +0000 (09:50 -0700)]
CSPACE-5012: Remove redundant code block following Ray's change to always remove tenant qualification from doctype names, when constructing the collectionspace_core:uri values for imported records.
Aron Roberts [Fri, 25 May 2012 23:21:47 +0000 (16:21 -0700)]
Merge pull request #26 from aronr/cspace-5012
CSPACE-5012: Populate the 'uri' value in collectionspace_core when importing records via the Imports service. (Note: does not yet work for Contacts or any other sub-resources.)