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.
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.
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.
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.
Aron Roberts [Thu, 13 Oct 2011 20:11:53 +0000 (20:11 +0000)]
CSPACE-4457,CSPACE-4472: Reviewed and updated authRefs and termRefs for Person records, in prototype tenant bindings. Added missing namespace declarations to commented-out termRefs.
Patrick Schmitz [Thu, 13 Oct 2011 18:38:11 +0000 (18:38 +0000)]
CSPACE-4481 Missing call in RelationDocumentModelHandler.handleUpdate() to do the work that .handleCreate was doing to populate the doctype, uri, etc. Fixing this surfaced more test case bugs (i.e., assuming that relation fields were string buckets without semantics).
Patrick Schmitz [Thu, 13 Oct 2011 00:35:15 +0000 (00:35 +0000)]
CSPACE-3178 Modified authorityItem create and update to accept refNames in place of csids for children and parent identifiers in relations. Extensive cleanup related to relations, and to refName handling. Fixed bugs in handling of relations payloads. Many tests cleaned up to properly handle refNames. Lots of cleanup related to build dependencies among authority packages. Restructured authority project to properly separate jaxb and services classes (to resolve dependency cycles).
Aron Roberts [Wed, 12 Oct 2011 21:26:04 +0000 (21:26 +0000)]
CSPACE-4457,CSPACE-4472: Reviewed and updated authRefs and termRefs for Loan Out records, in prototype tenant bindings. Also, a correction to the previous commit comment on these issues: r5708 committed similar changes for Media records, not for Movement records.
Aron Roberts [Wed, 12 Oct 2011 01:40:13 +0000 (01:40 +0000)]
CSPACE-3178: Quick hack to disable use of garbage refNames in taxonomy authority (taxon) client tests, since refNames are now generated by the services.
Patrick Schmitz [Mon, 10 Oct 2011 23:47:50 +0000 (23:47 +0000)]
CSPACE-4470 Refactor the resourceMap to use the service name rather than the fully qualified classname. Cleaner, and makes the map usable in converting refName to CSID.
Aron Roberts [Mon, 10 Oct 2011 23:37:00 +0000 (23:37 +0000)]
CSPACE-4468: Validation for creation of new Relation records now accepts either CSIDs or refNames as identifiers for the subject and object of the relation.
Aron Roberts [Mon, 10 Oct 2011 21:42:42 +0000 (21:42 +0000)]
CSPACE-4464: Ignore <uri> values in update payloads for Contacts records. The services now generate the value of that field, which usually will include contextual information for the owning authority and authority item.
Aron Roberts [Mon, 10 Oct 2011 21:26:23 +0000 (21:26 +0000)]
CSPACE-4468,CSPACE-4470: Added subjectRefName and objectRefName fields to Relation record schema in support of making refNames alternate identifiers for Relation records, alongside CSIDs. Added subjectDocumentType and objectDocumentType fields to Relation record schema to continue transitioning to new style field names, from ambiguous old style names like 'documentType1' and 'documentType2'.
Aron Roberts [Fri, 7 Oct 2011 23:07:00 +0000 (23:07 +0000)]
CSPACE-4464: The 'uri' values in lists of Contact records now reflect the context in which the list was requested; e.g. /personauthorities/{csid}/items/{csid}/contacts/{csid}, /orgauthorities/{csid}/items/{csid}/contacts/{csid}, or simply /contacts/{csid}.
Richard Millet [Wed, 5 Oct 2011 22:17:03 +0000 (22:17 +0000)]
CSPACE-3442: Added /roles/{csid}/accountroles/ resource to the "authorization" service. Use this method to get a list of accounts that are associated to a specified role.
Aron Roberts [Tue, 4 Oct 2011 16:56:51 +0000 (16:56 +0000)]
CSPACE-3178,CSPACE-2215: Payloads to create authority or voculabulary resources now no longer require short identifiers. Short identifiers will be generated from display names, consistent with handling of vocabulary or authority item payloads. Created utility method to isolate logic around identifier generation, to facilitate future work on CSPACE-2215.
Aron Roberts [Sat, 1 Oct 2011 00:49:43 +0000 (00:49 +0000)]
CSPACE-3178: Vocabulary service and various authority services now accept null or blank short identifiers in create payloads, when creating items (terms) in a vocabulary or authority, because (per other recent work on this issue) short identifiers are now generated if not supplied. When creating vocabularies (as opposed to terms within a vocabulary), short identifiers are still required, per Patrick. Short identifiers provided in update payloads are now ignored.
Aron Roberts [Fri, 30 Sep 2011 20:51:24 +0000 (20:51 +0000)]
CSPACE-3911: Workaround to make it possible to ingest legal XML documents containing XML entities (e.g. '&', '<', '"') into the Imports service, by 'double-encoding' ampersands at the start of those entities. This is intended to preserve those entities past an initial parse, that takes place during a pre-processor stage of the import process.
Aron Roberts [Wed, 28 Sep 2011 01:53:10 +0000 (01:53 +0000)]
CSPACE-3178,CSPACE-2215: First iteration of automatic creation of refNames from short identifiers, and of short identifiers from display names, in authority and vocabulary services. Currently, client-supplied refNames are still accepted, rather than being dropped; this will change soon.
Aron Roberts [Tue, 20 Sep 2011 23:31:39 +0000 (23:31 +0000)]
CSPACE-3270,CSPACE-4172,CSPACE-3332,CSPACE-1018: Updated Contact schema to reflect current wiki schema. Updated Contact service to use AbstractCommonList and DocHandlerBase. Includes stub code to generate a displayname from constituent fields.
Aron Roberts [Wed, 14 Sep 2011 23:27:08 +0000 (23:27 +0000)]
CSPACE-4233: Converted services fields in CollectionObject / Cataloging, Acquisition, Dimension and Media records to integer or decimal datatypes, as appropriate. Also converted apparently internal field in Blob record to decimal datatype, to match its counterpart in Media.
Aron Roberts [Thu, 8 Sep 2011 20:27:02 +0000 (20:27 +0000)]
CSPACE-4365: Switched to xs:decimal from xs:float in XSD datatype declarations for objectPurchasePriceValue field in Acquisitions records, in the services. While a more appropriate XML Schema datatype, this did not result in any changes in the database (even after dropping and re-creating the database): this field was still defined as datatype 'double precision' in PostgreSQL.
Aron Roberts [Thu, 8 Sep 2011 19:50:10 +0000 (19:50 +0000)]
CSPACE-4376: Updated version number in services POMs and build.properties to 1.12-SNAPSHOT, from 1.11-SNAPSHOT. Starting after removing local Maven repository, services build/deployment succeeds and all tests pass.