Aron Roberts [Fri, 20 Apr 2012 22:34:53 +0000 (15:34 -0700)]
CSPACE-5024: Resolved issue with adding tests for a second authority (Storage Location); item payload needed to have displayNameComputed flag set to false, or displayName was set to null. Added maintenance clarity via revisions to comments in expected responses and filename changes.
Richard Millet [Fri, 20 Apr 2012 19:27:18 +0000 (12:27 -0700)]
CSPACE-5025: Adding 'prepare' 'handle' 'complete' phases to RepositoryClient delete operations. Adding validate for soft and hard deletes on relationship records.
Signed-off-by: Richard Millet <remillet@berkeley.edu>
Aron Roberts [Fri, 20 Apr 2012 02:45:32 +0000 (19:45 -0700)]
CSPACE-5024: Initiated XmlReplay-based tests of searching across all vocabularies within a given authority. Current tests simply create authorities and items in preparation for searching; search tests are commented out.
Aron Roberts [Thu, 19 Apr 2012 20:42:31 +0000 (13:42 -0700)]
CSPACE-3560,CSPACE-3923,CSPACE-5049: Commented out UTF-8 tests of the XmlReplay-based tests of the Imports service. The deleteObjectExitUTF8 test is failing on Patrick's workstation, with an empty CSID in the DELETE URL.
Patrick Schmitz [Thu, 19 Apr 2012 20:04:53 +0000 (13:04 -0700)]
CSPACE-5024 Added support in services to search across all vocabs of a given authority type. Only supports search, but supports all forms (keyword, partial term, advanced search). Callers must pass "_ALL_" as the parent specifier to access this. E.g. http://localhost:8180/cspace-services/personauthorities/_ALL_/items/?pt=joe
Aron Roberts [Wed, 18 Apr 2012 22:27:40 +0000 (15:27 -0700)]
CSPACE-3560: Added UTF-8, special characters, multiple records / record types XmlReplay-based tests for the Imports Service. Adding new test datafiles.
Aron Roberts [Thu, 12 Apr 2012 17:52:22 +0000 (10:52 -0700)]
Merge pull request #17 from aronr/cspace-4983-addtl
CSPACE-4983: Temporary workaround to reduce query complexity when retrieving lists of objects that reference an authority term. This is a regression to query only procedural records, rather than both procedural records and cataloging records.
Aron Roberts [Thu, 12 Apr 2012 17:32:41 +0000 (10:32 -0700)]
CSPACE-4963: Query for referring objects (records which refer to a particular authority term) temporarily restricted to procedural records, rather than also including cataloging / collectionobject records, to reduce query complexity.
Aron Roberts [Tue, 10 Apr 2012 16:13:29 +0000 (09:13 -0700)]
CSPACE-4814: Cleanup of changes to Import service to emit additional info about imported records in response, in part to support automated tests. Removed comments, extraneous assignment; added wrapper element.
Aron Roberts [Mon, 9 Apr 2012 20:23:14 +0000 (13:23 -0700)]
Merge pull request #16 from aronr/cspace-4814
CSPACE-4814: Added initial XmlReplay-based test of the Imports service in the services' IntegrationTests module. Responses from requests to the Imports service now include a report on total number of records imported, and numbers of records imported by doctype, in part to facilitate automated testing.
Aron Roberts [Sat, 7 Apr 2012 00:49:23 +0000 (17:49 -0700)]
Merge pull request #15 from rjaffe/master
CODE-19: Pull request for updates to Place authority contribution. All changes look sensible, relative to the purpose of this pull request; services tests ran successfully.
Aron Roberts [Thu, 5 Apr 2012 00:19:11 +0000 (17:19 -0700)]
Merge pull request #13 from aronr/cspace-4817
CSPACE-4817: ImportsResource now extends AbstractCollectionSpaceResourceImpl, rather than ResourceBase, in part to help avoid potentially indeterminate scenarios where ResourceBase.create() entirely handles requests to the Imports service, rather than ImportsResource.create().
Aron Roberts [Thu, 5 Apr 2012 00:11:02 +0000 (17:11 -0700)]
CSPACE-4817: ImportsResource now extends AbstractCollectionSpaceResourceImpl, rather than ResourceBase, in part to help avoid potentially indeterminate scenarios where ResourceBase.create() entirely handles requests to the Imports service, rather than ImportsResource.create().
Rick Jaffe [Tue, 3 Apr 2012 00:37:30 +0000 (17:37 -0700)]
CODE-16: Adding fieldCollectionPlace (CollectionObjects) to service:ListResultField in tenant-bindings-proto so it will show up in 'Used by' area of sidebar
Patrick Schmitz [Mon, 2 Apr 2012 23:08:50 +0000 (16:08 -0700)]
CSPACE-4963 Building up test cases with lifesci tenant. Also split up the create_db target in ant to make it faster to develop and test schema changes.
Aron Roberts [Mon, 2 Apr 2012 19:51:04 +0000 (12:51 -0700)]
CSPACE-4814: Beachhead commit of a passing XmlReplay-based test for POSTs to the imports service. Despite '200' status code in result and success message, import does not currently succeed.
Aron Roberts [Thu, 29 Mar 2012 01:01:56 +0000 (18:01 -0700)]
Merge pull request #12 from aronr/cspace-4983
CSPACE-4983: Commented out 25 entries for fields declared as authRefs in services tenant bindings configuration, as these fields' data are associated with yet-to-be-implemented authority services (e.g. Concept, albeit coming soon; Subject; Collecting Event, et al.). This may help temporarily simplify the complex joins being performed for refObjs searches, which in turn are causing PostgreSQL to create extremely large temp files, potentially a cause of broken refObjs queries recently on nightly.
Aron Roberts [Thu, 29 Mar 2012 00:03:46 +0000 (17:03 -0700)]
CSPACE-4983: Commented out additional authRef declarations for yet-to-be-implemented authorities. A total of 25 such declarations have now been commented out.
Aron Roberts [Wed, 28 Mar 2012 23:39:30 +0000 (16:39 -0700)]
CSPACE-4983: Commented out 13 authRef declarations for CollectionObject / Cataloging fields, in services tenant bindings. All for for authority services that are yet to be implemented in services master; e.g. Concept, People, Concept, Subject, FieldCollectionEvent. All are currently being treated as ordinary text fields in app layer configuration. This change may help reduce the complexity of joins that have caused PostgreSQL to run out of temp file space.
Richard Millet [Wed, 28 Mar 2012 00:24:46 +0000 (17:24 -0700)]
CSPACE-4964: A shuffling of methods from ServiceMain.java to AuthorizationCommon.java in preparation for dynamic creation of workflow/lifecycle permissions.
Patrick Schmitz [Tue, 27 Mar 2012 15:48:29 +0000 (08:48 -0700)]
CSPACE-4693 - working on using lifesci tenant to prove the merge code works as we want. Also fixing up some problems with tenant-specific (extended) document types, and functionality in relations, refObjs, serviceGroup search, etc.
Aron Roberts [Tue, 27 Mar 2012 01:05:26 +0000 (18:05 -0700)]
CSPACE-4928: Slightly generalized how logical datatypes are configured, when modifying datatypes for database columns during post-init process. Did this otherwise long-intended cleanup in part to experiment with setting date-only datatypes. Dates are stored correctly in the database as date-only, but are still returned with timestamps in UTC, without additional changes to services code.
Aron Roberts [Thu, 22 Mar 2012 23:40:28 +0000 (16:40 -0700)]
Merge pull request #10 from aronr/cspace-4633
CSPACE-4633: When changing field (column) datatypes in the database during services post-init phase, get database name from JDBC URL used in current connection, rather than from configuration in tenant bindings, where it is no longer present.
Aron Roberts [Thu, 22 Mar 2012 23:38:06 +0000 (16:38 -0700)]
CSPACE-4633: When changing field (column) datatypes in the database during services post-init phase, get database name from JDBC URL used in current connection, rather than from configuration in tenant bindings, where it is no longer present.
Aron Roberts [Thu, 22 Mar 2012 03:25:36 +0000 (20:25 -0700)]
Merge pull request #9 from aronr/cspace-4945
CSPACE-4945: Change character case in test data used by services MovementSortByTest, to ensure that tests succeed regardless of locale-based case variations in sort order, since tests have no control over this configuration. Mixed case text was being ordered differently on Linux / Windows systems and on Mac OS X systems.
Aron Roberts [Thu, 22 Mar 2012 02:57:46 +0000 (19:57 -0700)]
CSPACE-4945: Once again make MovementSortByTest case-insensitive. The underlying issue appears to be that sort order is non-deterministic across platforms, and varies depending on the configured locale, and perhaps even the OS vendor's implementation of locale-related configuration. For now, work around this by setting values in relevant fields in test records to use a single character case, to reduce the probability that case-specific ordering differences across platforms will cause sortBy tests to fail.
Aron Roberts [Wed, 21 Mar 2012 21:12:01 +0000 (14:12 -0700)]
CSPACE-4945: Restore case-sensitivity in comparisons in sortBy tests in Movement service; mismatch between sorting order out of the database and checked-for sort order was breaking these tests in Mac OS X, with left-over record(s) from the MovementServiceTest.
Patrick Schmitz [Tue, 20 Mar 2012 19:46:04 +0000 (12:46 -0700)]
CSPACE-4943 - fixed problem with refObjs call and extended schemas. Added tests to cover this, which includes adding an extension to the Person schema in the lifesci tenant.