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.)
Aron Roberts [Fri, 25 May 2012 21:41:31 +0000 (14:41 -0700)]
CSPACE-5012: When populating collectionspace_core:uri with URIs for authority item records, handle extensions to the authorities doctypes by getting their base (unqualified) doctypes.
Richard Millet [Thu, 24 May 2012 22:03:15 +0000 (15:03 -0700)]
CSPACE-5036: Final support for CMIS query to list all items/resources in a relationship with specified subject_csid. Uses 'rtSbj' query param on service list requests. For example, http://localhost:8180/cspace-services/collectionobjects?rtSbj=8d1ab4a3-9319-4793-beda returns a list of collection objects related to the document with csid=8d1ab4a3-9319-4793-beda as the subject.
Aron Roberts [Thu, 24 May 2012 01:44:50 +0000 (18:44 -0700)]
CSPACE-5012: Simplified generation of collectionspace_core:uri values, based very loosely on a discussion of future registry directions with Patrick. inAuthority value in authority item uri values is currently stubbed.
Aron Roberts [Wed, 23 May 2012 15:33:20 +0000 (08:33 -0700)]
NOJIRA: Updating build.properties release version to 2.5, from 2.2. Relates to Richard's commit e96b3d77ce5b84ccb7a0e535cb940f10c64d0ffd to update services POMs in master to release 2.5.
Richard Millet [Tue, 15 May 2012 23:38:59 +0000 (16:38 -0700)]
CSPACE-5133: Fixed compilation problem with common list item return type -now items are an entry in HashMap<String, Object> not HashMap<String, String>.
Richard Millet [Tue, 15 May 2012 23:24:37 +0000 (16:24 -0700)]
CSPACE-5133: Adding mock additional display names to list result for partial term searches. Do this so we can test full-stack integration of term completion with P/NP terms.
Signed-off-by: Richard Millet <remillet@berkeley.edu>
Aron Roberts [Tue, 15 May 2012 22:37:10 +0000 (15:37 -0700)]
CSPACE-5137,CSPACE-5167: On create and update requests, service validator handlers now check whether a termDisplayName is included with each term in the request payload, rather than checking for either a termDisplayName or a termName.
Patrick Schmitz [Tue, 15 May 2012 15:25:20 +0000 (08:25 -0700)]
CSPACE-5059 Re-enabled creation of missing shortId values from (term)displayNames for the simple create by auto-complete in the UI. Fixed a minor bug with the expected element name in list results.
Aron Roberts [Sat, 12 May 2012 00:07:20 +0000 (17:07 -0700)]
CSPACE-5169: Updated services doctype configuration for the six current Authority services with current path to termDisplayName field, to enable Nuxeo prefetch of data for that field.
Aron Roberts [Fri, 11 May 2012 22:00:37 +0000 (15:00 -0700)]
CSPACE-5132: Updated XPath values in services tenant bindings config to reflect nested paths to termDisplayName in objectNameProperty values for authority services.
Aron Roberts [Fri, 11 May 2012 21:31:49 +0000 (14:31 -0700)]
CSPACE-5132: Changed field name to termDisplayName from displayName in each item emitted in lists of authority items, to align with P/NP work in the App layer.
Aron Roberts [Fri, 11 May 2012 02:25:54 +0000 (19:25 -0700)]
CSPACE-5135: Uncommented line in XmlReplay master file to re-enable tests of the Imports service; all tests in IntegrationTests module still pass. No payloads in those Imports tests appear to be affected by recent authority item schema changes.
Aron Roberts [Fri, 11 May 2012 00:12:53 +0000 (17:12 -0700)]
CSPACE-5124: Update Place authority item schema in services Nuxeo and JAXB XSD files to reflect the current wiki schema and App layer config. Specifically: 1) add placeSource field; 2) remove placeRecordAdminStatus field; 3) rename placeIdentifier field to placeID; 4) rename 'note' field to placeNote. Renaming as in 3) and 4) is for consistency with wiki schema for Place and with naming conventions used in other authority item schemas.