Aron Roberts [Mon, 7 Mar 2011 23:07:44 +0000 (23:07 +0000)]
CSPACE-3621: Increasing log level of post-init operations that add indices or modify field datatypes to 'info', as these operations may be expensive if performed on large datasets.
Aron Roberts [Mon, 7 Mar 2011 23:02:45 +0000 (23:02 +0000)]
CSPACE-3621: Post-init handler to modify field datatypes now checks whether the target field is already of the desired datatype before issuing an ALTER TABLE command. Minor changes to AddIndices post-init handler to follow the flow-of-control and logging conventions of ModifyFieldDatatypes.
Richard Millet [Fri, 4 Mar 2011 19:39:31 +0000 (19:39 +0000)]
CSPACE-3451: Renaming now obsolete "global" tenant-bindings.xml file. Instead look inside ..\services\common\src\main\cspace\config\services\tenants for separate tenant specific bindings. This file will now hold the "prototypical" bindings that apply to all tenants.
Aron Roberts [Thu, 3 Mar 2011 00:27:46 +0000 (00:27 +0000)]
CSPACE-1384,CSPACE-3505,CSPACE-3584: Updated tenant bindings files to reflect repeatability change in Media Handling schema that broke referring objects / refDocs tests in Intake service.
Aron Roberts [Wed, 2 Mar 2011 03:54:50 +0000 (03:54 +0000)]
CSPACE-1384,CSPACE-3505,CSPACE-3584: Updated Media Handling schema in the services layer to conform to the wiki schema. Added dimension summary field, made dimension group repeatable, and made relation and type fields singly repeatable.
Aron Roberts [Thu, 24 Feb 2011 06:26:18 +0000 (06:26 +0000)]
CSPACE-3267,CSPACE-3501,CSPACE-3502: Commit Rick's changes to acquisition to add Credit Line field, to cataloging to make Object Status repeatable, and to make Reference a group repeatable with changes to fields in that group.
Aron Roberts [Tue, 15 Feb 2011 00:02:10 +0000 (00:02 +0000)]
CSPACE-3325: Ant buildfile now checks for the active main Nuxeo config file's location in NUXEO_CONF environment variable, if present, before defaulting to /usr/local/share/jboss/bin/nuxeo.conf.
Aron Roberts [Mon, 14 Feb 2011 23:36:25 +0000 (23:36 +0000)]
CSPACE-3325: Nuxeo.conf updating now depends on availability of PropertyFile Ant task, rather than on version of Ant. Reset task now removes existing values from nuxeo.templates property, returning that property to its default state.
Patrick Schmitz [Sat, 12 Feb 2011 00:35:19 +0000 (00:35 +0000)]
CSPACE-577 - Make the set of fields returned for lists, be configurable in the tenant-bindings.xml. Added a new Class CommonList that supports this broadly, and then refactered the new DocHandlerBase to use configuration to build the list results. This is use by a small set of initial services: Blob, Media, Loansin, ObjectExits, and Acquisitions. Updated all the associated xsd files to remove the old results list schemas, updated Resource and DocHandlers, client and procy classes, tests, etc. for each of these 5 services.
Richard Millet [Tue, 8 Feb 2011 18:42:59 +0000 (18:42 +0000)]
CSPACE-3450: Tenant bindings are now split into separate files. We look for tenant bindings in the following deployment folder ..\cspace\config\services\tenants. There should be a folder in this folder for each tenant. Each tenant now has their own copy of the "tenant-bindings.xml" config file.
Richard Millet [Tue, 8 Feb 2011 18:09:19 +0000 (18:09 +0000)]
CSPACE-3450: Adding "cspace" directory so the Source tree config root looks like the Deployment tree config root. Makes AuthZ import behave like our .war init.
Richard Millet [Mon, 7 Feb 2011 22:36:18 +0000 (22:36 +0000)]
CSPACE-3450: Adding "cspace" directory so the Source tree config root looks like the Deployment tree config root. Makes AuthZ import behave like our .war init.
Aron Roberts [Sat, 5 Feb 2011 01:58:40 +0000 (01:58 +0000)]
CSPACE-2497: With Richard's help, identified a typo (stray character) in a content-type declaration for persons_common in tenant_bindings.xml, that was resulting in a 'MediaType is null' Exception in RemoteDocumentHandlerImpl and causing person tests to fail.
Aron Roberts [Sat, 5 Feb 2011 00:32:26 +0000 (00:32 +0000)]
CSPACE-2497: A post-init task now creates indexes on inAuthority (where relevant), displayName and shortIdentifier fields in all vocabulary and authority fields. Some minor tweaks to JDBC usage within commit.init. No longer configures displayname in locations_common as LARGETEXT, as this field is now indexed.
Aron Roberts [Fri, 4 Feb 2011 20:37:51 +0000 (20:37 +0000)]
CSPACE-2497: Trivial reformatting / pretty printing of tenant bindings file prior to editing. Fixed one log statement for add indicies operation that appears during startup.
Aron Roberts [Fri, 4 Feb 2011 00:50:25 +0000 (00:50 +0000)]
CSPACE-3237: Added minimal test verifying that data enclosed in double-quotes can be roundtripped to and from the repository in the services layer, on a create.
Patrick Schmitz [Tue, 1 Feb 2011 09:06:14 +0000 (09:06 +0000)]
CSPACE-2597 Updated DocHandlerBase to fetch DocHandlerParams from the service bindings, and then moved definitions for Media, Blob, ObjectExit and Acquisition to tenant-bindings.xml. Reduced the associated document handlers to minimal declarations.
Patrick Schmitz [Tue, 1 Feb 2011 05:40:15 +0000 (05:40 +0000)]
CSPACE-2597 Replaced the CommonListReflection class with support for DocHandlerParams.Params, in preparation for moving support to the DocHandlerBase class.
Patrick Schmitz [Tue, 1 Feb 2011 00:29:03 +0000 (00:29 +0000)]
CSPACE-2597 Work on code to make returnedFields configured by Xpath. Still one more step to link up config and doc handlers, and make this general across handlers.
Aron Roberts [Mon, 31 Jan 2011 18:51:00 +0000 (18:51 +0000)]
CSPACE-3478: Temporarily removed CollectionObject's Title field, which was recently moved into a repeatable / multivalued group of fields, from Nuxeo prefetch configuration until CSPACE-3341 is resolved.
Aron Roberts [Thu, 27 Jan 2011 06:05:52 +0000 (06:05 +0000)]
CSPACE-3238: Added convenience Ant targets in trunk/services' buildfile to generate dependencies / licensing reports, and to gather these reports with flattened names (e.g. objectexit.client.dependencies.html) into a single directory, for manual viewing or further automated processing. Note: a full generation of dependencies reports took nearly seven hours on a representative workstation.
Aron Roberts [Tue, 18 Jan 2011 23:41:43 +0000 (23:41 +0000)]
CSPACE-3419: Hibernate configuration file in Authentication service updated to use replaceable params, much like other similar config files throughout services.
Aron Roberts [Tue, 18 Jan 2011 22:55:01 +0000 (22:55 +0000)]
CSPACE-3325, CSPACE-3251: CollectionSpace-specific Nuxeo database templates directory is now automatically specified in the main Nuxeo config file, nuxeo.conf, as part of the services deployment process. Requires Ant 1.8.x and its PropertyFile task, checked for in the buildfile; will skip that step gracefully if not present. Cleans up CollectionSpace configuration changes and removes CollectoinSpace-specific directories upon an undeploy.
Aron Roberts [Sat, 8 Jan 2011 01:45:40 +0000 (01:45 +0000)]
CSPACE-2496,CSPACE-3550: Initial preparation for using database product-specific SQL commands, datatypes, etc. in post-init handlers. Declared additional singly repeatable fields in CollectionObject as large text fields, in tenant bindings.
Richard Millet [Fri, 7 Jan 2011 17:29:57 +0000 (17:29 +0000)]
CSPACE-1087, CSPACE-1141: Relation validation handler now prevents creating relationships where the subject ID and object ID are the same. Also, relation validation now enforces non-null values for subject id, predicate type, and object id upon creation.
Patrick Schmitz [Thu, 6 Jan 2011 22:46:43 +0000 (22:46 +0000)]
CSPACE-2863 - Allowed multiple DocRef instances to be returned for refObjs sub-resource when a document has multiple references to a single authority term. Updated tests to verify this.
Aron Roberts [Tue, 4 Jan 2011 01:47:19 +0000 (01:47 +0000)]
CSPACE-3325: Minor changes to Ant property names for clarity. Stubbed a task for updating the main Nuxeo config file with a reference to the relevant database templates folder, but left it commented out; this currently depends on an optional Ant task not guaranteed to be present in a build environment.
Aron Roberts [Mon, 3 Jan 2011 23:27:02 +0000 (23:27 +0000)]
CSPACE-3069: Minor changes to make changing the sort collator locale more convenient, and to prepare for future locale-related configuration of the CollectionSpace system.
Richard Millet [Mon, 3 Jan 2011 23:07:59 +0000 (23:07 +0000)]
CSPACE-1841: slf4j-*.jars needed to be updated to 1.5.8. Also, these jars were being included/packaged in our WAR file which was not necessary and potentially dangerous. So needed to change Maven scope to "provided" since we copy these jars over to a JBoss deployment directory. Be sure to perform an undeploy and deploy from the "commons" module.
Aron Roberts [Mon, 3 Jan 2011 21:13:59 +0000 (21:13 +0000)]
CSPACE-3224: Edited repository config file to define selected fields moved into repeatable groups in release 1.2 as 'largetext', to enable these fields to hold > 500 chars.
Richard Millet [Fri, 31 Dec 2010 20:24:31 +0000 (20:24 +0000)]
CSPACE-1071: Adding an example of how to create a custom Nuxeo EJB3/Remotable interface and service. We'll need this functionality not only to resolve issues like CSPACE-1071, but also many other current and future issues -like searches on complex types, efficient media handling, etc.