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).
Patrick Schmitz [Wed, 17 Nov 2010 22:32:46 +0000 (22:32 +0000)]
CSPACE-3090 Added code to create default admin and reader users for each tenancy at startup. These are tied to the respective appropriate roles. Disabled code in sql scripts to create test@collectionspace.org and other misc users/accounts.
Aron Roberts [Thu, 11 Nov 2010 06:30:30 +0000 (06:30 +0000)]
CSPACE-2933: Added client tests for repeatable currentLocation group in Intake service records. Renamed outer element to currentLocationGroupList for naming consistency with other recent repeatability changes.
Richard Millet [Tue, 9 Nov 2010 03:09:39 +0000 (03:09 +0000)]
CSPACE-3158: All new accounts created by the services need to have the "ROLE_SPRING_ADMIN" role -this is a private internal service-level only role. This role will not be exposed to the end user or service consumer
Aron Roberts [Mon, 8 Nov 2010 21:38:20 +0000 (21:38 +0000)]
CSPACE-2932: Implement the Main Body group of three fields as a repeatable group in Organization item records, in the services layer. Complications include a short display name computed from one of those three fields, shortName; a missing shortName field in the UI layer reflecting possible confusion with the shortIdentifier field; and a change in the summary field for app layer mini-records to the displayName field, from the longName field. Although all services and app layer tests pass, and behavior in the UI appears appropriate, we should remain vigilant for any unexpected side effects that may crop up from this change.
Richard Millet [Fri, 5 Nov 2010 06:38:19 +0000 (06:38 +0000)]
CSPACE-3070: Fixed several existing boundary condition errors that were revealed by the previous commit -see http://fisheye.collectionspace.org/changelog/collectionspace/?cs=3415
Patrick Schmitz [Tue, 2 Nov 2010 20:16:51 +0000 (20:16 +0000)]
CSPACE-3070 - Added support to clear the Spring ACL cache when we make changes (adding or removing perms from a role). This should fix a number of the problems we have been seeing with changes not being enforced. Awaiting better tests to consider the bug closed.
Also propagated another bug fix in AuthorizationDelegate to a separate case. Made some comments to indicate some places where we need to have a more robust (tenant-specific) name for roles, to address CSPACE-3144.