Aron Roberts [Mon, 5 Mar 2012 19:48:23 +0000 (11:48 -0800)]
Merge pull request #1 from ray-lee/CSPACE-4775
CSPACE-4775: Implement Structured dates in 4 fields in Cataloging. Merging in Ray's updates to CollectionObject / Cataloging schema in the Services. No code changes or test changes were required.
Richard Millet [Sat, 3 Mar 2012 00:25:26 +0000 (16:25 -0800)]
NOJIRA: Modified the Services log4j.properties file to show all ERROR and WARN level log messages in the console. Also, added back the "cspace-services-perf.log" log file for showing performance profiling. Added some documentation comments as well.
Richard Millet [Fri, 2 Mar 2012 00:31:45 +0000 (16:31 -0800)]
CSPACE-4747: Ridding the source tree of stale configuration files related to JNDI data source issues. Many of the stale files were artifacts of our previous JBoss deployment environment. Also removing the Nuxeo DM database template files since the CollectionSpace services no longer run inside the Nuxeo DM.
Aron Roberts [Wed, 29 Feb 2012 03:25:09 +0000 (19:25 -0800)]
CSPACE-4728,CSPACE-4684: Removed the former nightlyDist.sh script from the Services repo's scripts directory; this script can now be found under the name make-tomcat-cspace-tarball.sh in the Tools repo's scripts directory.
Richard Millet [Tue, 14 Feb 2012 20:00:10 +0000 (20:00 +0000)]
CSPACE-4734: 1) Updated trunk pom files to be use version v2.2-SNAPSHOT. 2) Some minor cleanup prior to GIT migration. 3) Also restored previous two commits that were lost when the slice was restored from a backup.
Aron Roberts [Fri, 3 Feb 2012 23:58:47 +0000 (23:58 +0000)]
CSPACE-4684,CSPACE-4728: In script for prepping a working Apache Tomcat folder for distribution of a tarball, added command to copy per-tenant settings.xml files to local-settings.xml, consistent with app layer configuration docs.
Aron Roberts [Sun, 29 Jan 2012 23:00:07 +0000 (23:00 +0000)]
CSPACE-4795: Committing Ray's patches to add the dimensionNote field to the dimension sub-group of the measuredPart group, in the relevant services schema.
Richard Millet [Sun, 29 Jan 2012 18:30:22 +0000 (18:30 +0000)]
CSPACE-1685: Removed thousands AND thousands AND thousands of lines of non-DRY testing code. Sadly, I could have removed more. We need to really try hard *not* to write this kind of code. It's a long-term maint. issue. We were a bit "penny wise, pound foolish" when we created this code.
Richard Millet [Sat, 28 Jan 2012 23:32:29 +0000 (23:32 +0000)]
CSPACE-1685: Removed thousands AND thousands AND thousands of lines of non-DRY testing code. Sadly, I could have removed more. We need to really try hard *not* to write this kind of code. It's a long-term maint. issue. We were a bit "penny wise, pound foolish" when we created this code.
Aron Roberts [Fri, 20 Jan 2012 18:06:06 +0000 (18:06 +0000)]
CSPACE-4773: Enabled remaining authRef and termRef fields in services prototype tenant bindings configuration, including the configuration entries for all remaining deeply nested fields.
Aron Roberts [Mon, 9 Jan 2012 21:30:30 +0000 (21:30 +0000)]
CSPACE-4727,CSPACE-4471,CSPACE-4472: Finished reviewing lists of fields in all records that hold authority references (authRefs) and vocabulary term references (termRefs) outside of Cataloging / CollectionObjects (previously checked in via r6251), and updated services prototype tenant bindings accordingly.
Aron Roberts [Thu, 5 Jan 2012 03:15:08 +0000 (03:15 +0000)]
CSPACE-4727,CSPACE-4471,CSPACE-4472: Completely reviewed the extensive list of fields in Cataloging / CollectionObject that hold authority references (authRefs) and vocabulary term references (termRefs), and updated services prototype tenant bindings accordingly. Reordered these configuration entries to follow the pattern of the various wiki schema pages for information groups in Cataloging, for ease of future maintenance. Made a minor update to a services authRefs test to reflect these configuration changes.
Aron Roberts [Wed, 4 Jan 2012 02:02:19 +0000 (02:02 +0000)]
CSPACE-3931,CSPACE-4490: Cleaned up / removed vestigial top-level otherNumber, otherNumberType fields in services schema for Cataloging / CollectionObject. (These were long ago replaced by a repeatable otherNumberList repeatable group, but were retained until now for backwards compatibility.) Also removed the vestigial remNumber field in that same record type.
Aron Roberts [Tue, 3 Jan 2012 23:06:42 +0000 (23:06 +0000)]
CSPACE-4727: Reformatted prototype services tenant bindings file prior to termRefs work. Minor improvements to comments, etc. Added missing service:properties tag in locations_common part.
Aron Roberts [Tue, 3 Jan 2012 07:33:15 +0000 (07:33 +0000)]
CSPACE-4572: Services client tests more widely check response status codes prior to getting entity bodies from those responses, thus helping prevent actual error responses from being masked by 'Could not find JaxbContextFinder for media type: text/plain ...' messages. In nearly all such places prior to calling getEntity(), also replaced more verbose checking of status codes with calls to assertStatusCode() method in a base client test class.
Richard Millet [Mon, 2 Jan 2012 20:21:08 +0000 (20:21 +0000)]
CSPACE-4748, CSPACE-4750: Added a new class to the http client hierarchy to consolidate/share existing code that deals with loading/creating xml payloads for the tests.
Richard Millet [Mon, 2 Jan 2012 18:13:54 +0000 (18:13 +0000)]
CSPACE-4748, CSPACE-4750: Fixed issue with image metadata not being correctly extracted. Also fixed problem with temporary image files showing up in the wrong locations. Included some minor cleanup of a few of the base client test classes.
Aron Roberts [Mon, 19 Dec 2011 01:29:00 +0000 (01:29 +0000)]
CSPACE-4684,CSPACE-4728: Adding services scripts directory for maintaining utility scripts used in continuous integration, distribution prep, and other such purposes under version control. Adding initial script used for prepping a copy of a working Apache Tomcat folder, under CollectionSpace 2.0, for distribution as a tarball. This prep include omitting copying of folders containing temporary items (e.g. logs, temp) and eliding passwords.
Richard Millet [Wed, 14 Dec 2011 23:57:22 +0000 (23:57 +0000)]
CSPACE-4735: Nuxeo database "templates" now deprecated since we're using an embedded Nuxeo model. The DM's nuxeoctl tool used to proces this for us and is no longer applicable.
Richard Millet [Wed, 14 Dec 2011 22:26:32 +0000 (22:26 +0000)]
CSPACE-4735: Nuxeo database "templates" now deprecated since we're using an embedded Nuxeo model. The DM's nuxeoctl tool used to proces this for us and is no longer applicable.
Richard Millet [Wed, 14 Dec 2011 22:10:39 +0000 (22:10 +0000)]
CSPACE-4639: Until issue http://issues.collectionspace.org/browse/CSPACE-4639 is resolved, we need to use this patched Nuxeo artifact that is only available on our public Maven repository -see http://source.collectionspace.org:8081/artifactory Once the issue is resolved and a public version of the artifact becomes available, we should revert this dependency's version to be the following: <version>${nuxeo.core.version}</version>
Aron Roberts [Wed, 14 Dec 2011 03:11:15 +0000 (03:11 +0000)]
CSPACE-4632: Checking in config changes from Patrick to services tenant bindings that specify object name and number properties for Organization and Taxon records. These properties were already present for Person and Storage Location, but had been missing from the former two authorities.
Aron Roberts [Tue, 13 Dec 2011 20:13:36 +0000 (20:13 +0000)]
CSPACE-4687: Authority term references in the Measured By field, within the nested Measured Part / Dimensions structure in Cataloging / CollectionObject and Media records, are now returned by services calls to return authorityrefs. These terms aren't (yet) showing up in the termsused array sent from app to UI; this might require additional investigation.
Richard Millet [Tue, 13 Dec 2011 18:49:15 +0000 (18:49 +0000)]
CSPACE-4639: Until issue http://issues.collectionspace.org/browse/CSPACE-4639 is resolved, we need to use this patched Nuxeo artifact that is only available on our public Maven repository -see http://source.collectionspace.org:8081/artifactory Once the issue is resolved and a public version of the artifact becomes available, we should revert this dependency's version to be the following: <version>${nuxeo.core.version}</version>
Patrick Schmitz [Tue, 13 Dec 2011 03:48:45 +0000 (03:48 +0000)]
CSPACE-4629 displayName change propagation was not working for termList items. Also, at least one case (loanout status), the term was not configured. There are probably more cases of missing termRef configuration. Filing that as a separate bug.
Patrick Schmitz [Sat, 10 Dec 2011 03:04:20 +0000 (03:04 +0000)]
CSPACE-2323, CSPACE-3016, etc., Fixes to properly integrate with new Nuxeo libs, making code clean w.r.t. sessions, fixes to hierarchy handling in authorities.
Changed logging configuration to rotate among 10 files of 5MB each, so we have more context on the server. Also removed the stdout copy that was bloating catalina.out (on 1.13 QA, the file is over 1.1GB).
Added new tests to exercise refObjs and authRefs more carefully.
Tweaked XMLReplay to output clock times for each test, making it easier to align tests with log output.
Added some debug support for startup issues with Nuxeo and Workspaces.
Removed pointless output from LoanoutValidatorHandler.
Aron Roberts [Fri, 2 Dec 2011 00:32:26 +0000 (00:32 +0000)]
CSPACE-3937: Applying Rick's patches to convert Ownership Date in Cataloging / CollectionObject and Date in Media to structured date types, in services schema.
Aron Roberts [Thu, 1 Dec 2011 01:58:21 +0000 (01:58 +0000)]
CSPACE-4486,CSPACE-4589: Made Inscription Content (aka Textual Inscription) and Inscription Description (aka Non-Textual Inscription) fields into two repeatable groups in the Services layer; updated tests.
Richard Millet [Wed, 23 Nov 2011 21:36:39 +0000 (21:36 +0000)]
CSPACE-4526: Updated JaxRsServiceProvider build.xml's deploy and undeploy targets to delete Tomcat's copy of our context.xml file at $CATALINA_BASE/conf/[enginename]/[hostname]/cspace-services.xml. We expected Tomcat would replace this file when a new .war was deployed, but it is not. Since the settings in the this file override the ones inside the .war (and exploded war) and could be stale, we need to delete it.
Patrick Schmitz [Wed, 23 Nov 2011 21:12:08 +0000 (21:12 +0000)]
CSPACE-2818, CSPACE-3537 Refactored logic that handles authorityRefs, refObjs, and displayName update, so that it can handle authRefs in deeply nested structures. Still awaiting latest code from Nuxeo to integrate their updated search, but this change at least fixes 2818, and makes us ready for the fix for 3537 and 2323. Also cleaned up handling of authorityRefs for garbage values - now produces a log error and does not produce an authorityRef item (was producing an empty one). Also added a partial fix and notes to remove the hard-coded resource paths for authority types.