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.
Laramie Crocker [Wed, 22 Dec 2010 20:35:20 +0000 (20:35 +0000)]
CSPACE-2496 Added handling of InitHandlers in ServiceMain, with changes to tenant-bindings.xml and some new classes. InitHandlers do not *do* anything yet.
Richard Millet [Tue, 21 Dec 2010 22:30:10 +0000 (22:30 +0000)]
CSPACE-3346: Removed refs to sun.misc.BASE64Decoder in ServletTools class and replaced with http://commons.apache.org/codec/. Found this when cleaning up my Eclipse settings files -stricter compliance settings triggered a build error on this usage.
Laramie Crocker [Mon, 20 Dec 2010 21:50:12 +0000 (21:50 +0000)]
CSPACE-705 Added collectionspace_core:updatedAt DESC to orderBy clause for all services that call RepositoryJavaClientImpl.getFiltered(). This enables LIST results to be sorted by updatedAt, with newest items on top.
Aron Roberts [Fri, 17 Dec 2010 22:22:36 +0000 (22:22 +0000)]
CSPACE-3224: Updated lists of fields that will be configured to hold large amounts of text in CLOB-type database fields, for all procedural record types except CollectionObject / Cataloging (to be worked on next).
Aron Roberts [Fri, 17 Dec 2010 00:40:15 +0000 (00:40 +0000)]
CSPACE-3338: 'ant import' target now fails with exit code 1 if an Exception is thrown that prevents the import from succeeding. A more concise and specific error message is also now printed.
Richard Millet [Thu, 16 Dec 2010 00:14:26 +0000 (00:14 +0000)]
CSPACE-1071: The suggestion from Nuxeo Support does not work -the results are not remotable. I've sent back a request for another suggestion. Meanwhile, I've placed functional code behind a new method inside the NuxeoUtils class called: boolean documentExists(). Dependent tasks like CSPACE-1023, should use this method. If and when we get more performant code from Nuxeo we can update this method.
Aron Roberts [Wed, 15 Dec 2010 00:38:40 +0000 (00:38 +0000)]
CSPACE-3251: Removed README.txt file from the collectionobject module, which formerly specified which fields will be defined as CLOB-types in the database, capable of holding large amounts of text. This configuration has been moved to the services/trunk/3rdparty/nuxeo module, and integrated into the services deployment process.
Aron Roberts [Wed, 15 Dec 2010 00:33:28 +0000 (00:33 +0000)]
CSPACE-3251: Added deployment and undeployment of the Nuxeo database configuration template folder, initially for MySQL, to the services 'ant deploy' and 'ant undeploy' targets.
Aron Roberts [Tue, 14 Dec 2010 18:37:07 +0000 (18:37 +0000)]
CSPACE-3251: Removed vestigial build.properties file from services' 3rdparty folder; that properties file does not appear to be used, and its properties definitions overlap with the main services build.properties file.
Aron Roberts [Tue, 14 Dec 2010 02:26:44 +0000 (02:26 +0000)]
CSPACE-3211: Temporarily commented out list tests for object exit, acquisitions to preclude list failures where there are existing records. See oe6.xml.
Laramie Crocker [Mon, 13 Dec 2010 22:28:32 +0000 (22:28 +0000)]
CSPACE-3311 fixed bug where AcquisitionDocumentModelHandler called acquisitionSourceList.getAcquisitionSource().add(acquisitionSource) when it meant to call ownerList.getOwner().add(owner)
Richard Millet [Fri, 10 Dec 2010 05:09:49 +0000 (05:09 +0000)]
CSPACE-3245: Committing final Media/Blob artifacts for v1.2 code-freeze. Full CRUD+L for Media and Blob schema records and CR+L for Media and Blob binaries and derivatives. Will need to add UD for Media and Blob binaries and derivatives during another sprint.
Aron Roberts [Thu, 9 Dec 2010 21:35:22 +0000 (21:35 +0000)]
CSPACE-2927: Added 23 repeatable groups to the CollectionObject schema, in the services layer. There are still some instance files and other artifacts that do not reflect all of these changes, but those do not currently cause tests to fail.
Laramie Crocker [Mon, 6 Dec 2010 23:46:45 +0000 (23:46 +0000)]
CSPACE-3175 applied objectexit refactoring to blob and media service. Also, refactored ObjectExitDocumentModelHandler, BlobDocumentModelHandler, and MediaDocumentModelHandler to use a new intermediary superclass, DocHandlerBase, which abstracts almost all the work of a DocumentModelHandler up and out of the service.
Laramie Crocker [Mon, 6 Dec 2010 23:42:44 +0000 (23:42 +0000)]
CSPACE-3175 moved deprecated and not-used methods out -- getObjectexitList(Map,String) and getObjectexitList(List) were not called anywhere, and search(MultivaluedMap<String,String> queryParams,String keywords) was only calling super.
Patrick Schmitz [Fri, 3 Dec 2010 23:06:24 +0000 (23:06 +0000)]
CSPACE-3226 - Added grants for reader account to mysql db setup. Enables report authoring on the local machine. Added examples of two domain access points, for testing, development, and as an example to implementers.
Richard Millet [Fri, 3 Dec 2010 22:46:42 +0000 (22:46 +0000)]
CSPACE-3245: Committing first round of image blob support for Media service. This code needs to move from its prototype location (in the CollectionObject service) to the Media and Blob services -this will be my next task.
Laramie Crocker [Fri, 3 Dec 2010 19:44:45 +0000 (19:44 +0000)]
CSPACE-338 Added bootstrap test class, XmlReplayDevTest.java, to kick off dev-master.xml for local development without having to hose xml-replay-master.xml
Laramie Crocker [Fri, 3 Dec 2010 19:43:05 +0000 (19:43 +0000)]
CSPACE-338 proper handling of POST,PUT,GET,DELETE errors when connecting. Moved java.net and java.io calls inside try block and report errors in ServiceResult struct, which then properly reports errors to maven surefire.
Aron Roberts [Thu, 2 Dec 2010 16:07:39 +0000 (16:07 +0000)]
CSPACE-139: Temporarily commented out @Test annotations in BlobAuthRefsTest and MediaAuthRefsTest classes until payloads for these two record types are reflected in these tests, and it's determined that either or both have at least one authref field.
Aron Roberts [Wed, 24 Nov 2010 23:50:26 +0000 (23:50 +0000)]
CSPACE-3231: Added test to determine whether it is possible to set a field value to null in the DB, when working with Susan on this issue. See also Patrick's follow-up comments on this issue.
Patrick Schmitz [Fri, 19 Nov 2010 07:55:59 +0000 (07:55 +0000)]
CSPACE-3077, 2742 - Get rid of test/test accounts, and super-admin role. Removed sql-script based initialization of test accounts, users, and roles. Changed default credentials used in XmlReplay tests to use tenant admin account. Changed ServiceMain to create SPRING_ADMIN_ROLE, rather than set it up in the sql scripts. Removed and updated a number of account and authentication tests that were in error, and depended upon the test accounts initialized in sql scripts.
Patrick Schmitz [Thu, 18 Nov 2010 00:46:22 +0000 (00:46 +0000)]
NOJIRA - cleaning up prefs files to remove 1.5 JDK references - should inherit from project, and must compile with 1.6 (required by current Nuxeo, so we should align to that).