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.
Aron Roberts [Thu, 7 Jun 2012 20:12:23 +0000 (13:12 -0700)]
CSPACE-5271: Added initial draft of UriTemplate class. Renamed UriBuilder to UriTemplateBuilder, to better describe its purpose and to avoid potential conflict with same-named RESTEasy class.
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.