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.
Richard Millet [Wed, 23 Nov 2011 18:33:29 +0000 (18:33 +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.
Richard Millet [Wed, 23 Nov 2011 07:34:38 +0000 (07:34 +0000)]
CSPACE-4526: Adding servlet-api dependency to imports/service pom. For some reason, Maven 2.2.1 was finding this javax artifact somewhere in the dependency tree, but Maven 3 was not. Seems like Maven 3 is being more rational.
Aron Roberts [Wed, 23 Nov 2011 00:55:52 +0000 (00:55 +0000)]
CSPACE-4526,CSPACE-1927: Temporarily commented out several XmlReplay-based tests of updating display names in authrefs, when a display name is updated in an authority, necessitated by Tomcat 6 / Nuxeo 5.4.x changes.
Patrick Schmitz [Tue, 22 Nov 2011 20:00:22 +0000 (20:00 +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.
Aron Roberts [Tue, 22 Nov 2011 05:26:57 +0000 (05:26 +0000)]
CSPACE-4256: Merged services trunk changes from r5918 through r6056 into the Apache 6 / Nuxeo 5.4.2 services branch. All tests ran successfully, except for two individual test cases in an authRefs-related XmlReplay test group, which have been commented out for now: afterUpdateGetLoan5 and afterUpdateGetLoan9. (Both appear to test if changes to a display name in a Person record are propagated to the display name in authRef-containing field(s) in Loan In.)
Aron Roberts [Tue, 22 Nov 2011 00:19:35 +0000 (00:19 +0000)]
CSPACE-4526: With Richard, parameterized additional data source configuration files via POM replacement. Some of these changes will be moot once integrated with forthcoming Nuxeo fix for JNDI corruption issue.
Aron Roberts [Sat, 19 Nov 2011 00:05:18 +0000 (00:05 +0000)]
CSPACE-3937,CSPACE-4490: In services Cataloging / CollectionObject schema, converted contentDate to a structured date; was formerly a scalar date field. Made the existing objectProductionDateGroup structured date field repeatable, renaming the parent element to objectProductionDateGroupList. Removed a legacy top-level set of scalar fields, believed to be unused, that appear to constitute an early prototype or placeholder for structured date.
Aron Roberts [Thu, 17 Nov 2011 19:47:05 +0000 (19:47 +0000)]
CSPACE-3943,CSPACE-3937: Added earliest and latest scalar date value fields, and scalar value computed flag, to objectProductionDate in services Cataloging / CollectionObject schemas. These fields will also appear in all other instances of structured dates created via CSPACE-3937.
Aron Roberts [Thu, 17 Nov 2011 04:06:40 +0000 (04:06 +0000)]
CSPACE-4469: The value of the uri element in the collectionspace_core part for Contact records now reflects the contextual path through which the Contact was created, with the 'owning' authority and item.
Aron Roberts [Wed, 16 Nov 2011 22:33:58 +0000 (22:33 +0000)]
CSPACE-4582: When retriving lists of taxon terms, the uri fields in list items now correctly reflect the name of the parent authority ('taxonomyauthority').
Patrick Schmitz [Tue, 15 Nov 2011 23:29:58 +0000 (23:29 +0000)]
CSPACE-4394 - Added a "ts" filter parameter to the list/search for authority items. Takes a pipe ('|', a.k.a. %7C when URL encoded) separated list of strings that will be matched against the termStatus. All terms with a matching term status will be excluded from the results. This can result in 0 results, without problems. This can also be combined with other params, including pt.
Richard Millet [Tue, 15 Nov 2011 22:10:22 +0000 (22:10 +0000)]
CSPACE-4526: More cleaning up some of the servlet initialization settings and log messages. Creating new "nuxeo-server" directory for embedded instance of Nuxeo EP. This is essentially the equivalent of the "nuxeo-client" directory for the two-server/remote Nuxeo EP.
Aron Roberts [Tue, 15 Nov 2011 07:26:36 +0000 (07:26 +0000)]
CSPACE-4057: Fixed another test to reflect change of fields to date datatype, after verifying that Nuxeo still generates a timestamp datatype in PostgreSQL as well as with MySQL, regardless of whether xs:date or xs:dateTime is used in the XSD schema.
Patrick Schmitz [Tue, 15 Nov 2011 00:22:26 +0000 (00:22 +0000)]
CSPACE-1927 Update to displayName for an authority item will update all the references to that item. Loops through found referring objects in sets of 100, updates the fields that match, and saves en bulk (does not invoke normal validation, etc.). Fixed some minor bugs in Person Validation handlers that would produce gratuitous errors.
Aron Roberts [Mon, 14 Nov 2011 23:38:04 +0000 (23:38 +0000)]
CSPACE-4057,CSPACE-3268,CSPACE-3269: Set datatype of multiple date fields, across various object, procedural and authority records, to a date type (xs:date) in services XSD schema. Revised tests accordingly. Added loanInAuthorizationDate and repeatable loanStatus group to Loan In Schema. Added borrowersAuthorizer and borrowersAuthorizationDate fields to Loan Out Schema, also renamed loanedObjectStatus repeatable group and its fields to name/prefix loanStatus.
Richard Millet [Fri, 11 Nov 2011 01:10:45 +0000 (01:10 +0000)]
CSPACE-4526: Updated client props to use port 8081 instead of 8180. Added code to cache result from JNDI lookups -improves performance as well as shields us from some forms of JNDI overwrites/corruption.
Aron Roberts [Thu, 10 Nov 2011 19:36:06 +0000 (19:36 +0000)]
CSPACE-3686: Comparisons of 'before and after' values of BigDecimal fields, which result from xs:decimal datatypes in services XSDs, should be done via BigDecimal's compareTo() method, which is scale-agnostic. Change made in CollectionObjectServiceTest to reflect this; we can use this type of comparison elsewhere in services client tests, as well.
Aron Roberts [Thu, 10 Nov 2011 03:28:03 +0000 (03:28 +0000)]
CSPACE-3686: In Cataloging / CollectionObject, Media and Blob services, Dimensions are now a subordinate, repeatable sub-group within groups of Measured Parts.
Richard Millet [Thu, 10 Nov 2011 00:53:50 +0000 (00:53 +0000)]
CSPACE-4526: Merged code from the current v1.12 trunk to this branch. Also, updated war bundle to include "nuxeo-client" folder for Nuxeo EP bootstrapping code.
Aron Roberts [Wed, 9 Nov 2011 03:30:30 +0000 (03:30 +0000)]
CSPACE-4568: Removed 'largetext' references to two fields that have been converted from string to numeric datatypes, collectionobjects_common:age and collectionobjects_common:ownershipExchangePriceValue, from Nuxeo database template config files for MySQL and PostgreSQL.
Aron Roberts [Sat, 5 Nov 2011 00:33:43 +0000 (00:33 +0000)]
CSPACE-3627: Committing Rick's patches to make a Title Translation sub-group within the Title group in the common schema for Cataloging / CollectionObject records.
Aron Roberts [Fri, 4 Nov 2011 01:50:01 +0000 (01:50 +0000)]
CSPACE-4533,CSPACE-3231: Changed the way that empty strings are handled in services request payloads. Now, for non-date values, these result in null values being passed to Nuxeo, rather than empty string values.
Aron Roberts [Wed, 2 Nov 2011 00:56:08 +0000 (00:56 +0000)]
CSPACE-4457,CSPACE-4472: Reviewed and updated the list of fields, in all remaining sections of Cataloging / CollectionObject records, that hold authority references and terms from controlled lists.
Aron Roberts [Wed, 2 Nov 2011 00:39:38 +0000 (00:39 +0000)]
CSPACE-4457,CSPACE-4472: Reviewed and updated the list of fields, in the Object Production Information and Object History and Association Information sections of Cataloging / CollectionObject records, that hold authority references and terms from controlled lists.
Aron Roberts [Tue, 1 Nov 2011 22:49:52 +0000 (22:49 +0000)]
CSPACE-4457,CSPACE-4472: Reviewed and updated the list of fields, in the Object Description Information section of Cataloging / CollectionObject records, that hold authority references and terms from controlled lists.
Aron Roberts [Fri, 28 Oct 2011 01:13:24 +0000 (01:13 +0000)]
CSPACE-4478,CSPACE-4479,CSPACE-4538: Uniformly added measuredBy, measuredPart, and measurementMethod fields to dimensions repeatable groups in the services, in CollectionObject / Cataloging records and Dimensions records, matching both the dimensions repeatable group already present in Media records and the wiki Dimensions schema. This schema change simply adds fields to an existing repeatable group, matching the wiki wireframe and the current UI layout, and doesn't attempt to address any requirements for sub-repeatability as per CSPACE-3686.
Patrick Schmitz [Wed, 26 Oct 2011 00:09:00 +0000 (00:09 +0000)]
CSPACE-4406 - added support for refObjs for vocabulary service items, so that termList items can check for usage. Uses new termRef configuration, so that authorityRefs paylaods do not include termList items in the results.
Patrick Schmitz [Mon, 24 Oct 2011 20:14:10 +0000 (20:14 +0000)]
CSPACE-3159 - changed getDomainId() to only dump stack trace when trace enabled. On initial startup, we were always dumping the stack when we created domains. The method still returns null, and the callers handle it appropriately.
Aron Roberts [Mon, 17 Oct 2011 22:24:27 +0000 (22:24 +0000)]
CSPACE-4457,CSPACE-4472: Reviewed and updated authRefs and termRefs for Object Identification Information group within Cataloging records, in prototype tenant bindings.