Aron Roberts [Tue, 21 May 2013 01:38:16 +0000 (18:38 -0700)]
CSPACE-6019: In the event listener / handler that keeps denormalized computedCurrentLocation values current in CollectionObject / Cataloging records, use the creation timestamp as a tiebreaker if two related Movement records otherwise have identical locationDate timestamps, with the most recently created Movement record assumed to represent a later physical movement.
Aron Roberts [Thu, 16 May 2013 00:43:31 +0000 (17:43 -0700)]
CSPACE-5989: Added configuration block, with commented-out override in demo lifesci tenant, for the setting that can constrain JDBC queries to the current tenant.
Aron Roberts [Tue, 14 May 2013 21:41:41 +0000 (14:41 -0700)]
CSPACE-5766: Reports service now dumps basic info about the existence of, and write access to, the Java / Tomcat temporary directory prior to calling JasperReports fillReport() method. This may help us debug one category of errors seen when CSPACE-5766-style problem occur.
Aron Roberts [Tue, 14 May 2013 03:36:48 +0000 (20:36 -0700)]
CSPACE-5304: Initial attempt at writing an XmlReplay-based test of the contents of a generated report. This is still a placeholder, basically just verifying that, with a report returned using the 'application/xml' MIME type, the resultant document can be parsed by an XML parser, in XmlReplay's context. Attempts to verify additional fidelity to an expected document have failed so far.
Aron Roberts [Tue, 30 Apr 2013 20:36:25 +0000 (13:36 -0700)]
CSPACE-5984,PAHMA-789: In the UpdateObjectLocationOnMove event handler, when receiving an event notification related to a Relation record, process only the CollectionObject that is the subject or object of the relation.
Aron Roberts [Fri, 26 Apr 2013 02:39:38 +0000 (19:39 -0700)]
CSPACE-5763: Allow date values to be used in generic name and number properties in summary lists.
CSPACE-5763: Consolidate handling of Nuxeo property values that aren't directly capable of being cast to a String. Handle decimal values as well as date values, in that category.
Aron Roberts [Tue, 23 Apr 2013 03:07:12 +0000 (20:07 -0700)]
CSPACE-5978: RunSqlScript init handler now reads and executes SQL script files from within a server directory, as well as from within its own JAR-packaged resources directory. SQL scripts in its own resources directory are run first, in the order they are specified in the services tenant bindings file. Thereafter, SQL scripts in the server directory are run in ascending filename order.
Aron Roberts [Thu, 18 Apr 2013 20:12:15 +0000 (13:12 -0700)]
CSPACE-5953: Disable repository location portion of dependencies report. This makes generating that report, for identifying software licenses, dramatically faster: from many hours down to under 15 minutes on my system.
Aron Roberts [Wed, 10 Apr 2013 02:02:23 +0000 (19:02 -0700)]
CSPACE-5943: Avoid emitting warnings if maximum list items list for JDBC queries isn't included in tenant bindings configuration; default value will be silently used instead.
Aron Roberts [Thu, 4 Apr 2013 20:33:33 +0000 (13:33 -0700)]
CSPACE-5943: Added stub code for restricting by tenant ID, where needed. Explicitly handle cases where partial term query parameter value is blank. Multiple improvements to comments and log statements.
Aron Roberts [Wed, 3 Apr 2013 21:37:43 +0000 (14:37 -0700)]
CSPACE-5943: Retrieve only a single column of ID values. Allow specifying max limit of items returned from JDBC queries via external configuration, in services tenant bindings.
Aron Roberts [Tue, 2 Apr 2013 03:22:33 +0000 (20:22 -0700)]
CSPACE-5943: Initial attempt at reflecting tenant bindings configuration settings on whether to include a starting wildcard in partial term matches, as yet untested.
Aron Roberts [Thu, 28 Mar 2013 21:48:10 +0000 (14:48 -0700)]
CSPACE-5943: For simple cases where we just want to populate a prepared statement's parameters with a set of String values, created a subclass of the prepared statement builder, and call that new subclass from RepositoryJavaClientImpl.
Aron Roberts [Wed, 27 Mar 2013 23:29:40 +0000 (16:29 -0700)]
CSPACE-5943: Initial work at getting values for SQL queries from individual document handlers. Still needs implementation in four other authorities, in addition to location and person. This is an interim solution with lots of code smells still to be worked out.
Aron Roberts [Mon, 25 Mar 2013 21:57:32 +0000 (14:57 -0700)]
CSPACE-5943: SQL query now invokes JDBCTools routine rather than replicating SQL execution code in RepositoryJavaClientImpl, via the use of a CachedRowSet. IDs returned are still not the correct ones; simplified SQL script used for testing needs at least one more join, a la CSPACE-5945.
Aron Roberts [Thu, 21 Mar 2013 21:21:21 +0000 (14:21 -0700)]
CSPACE-5940: Fix bug that resulted in 'bare' ampersands being present in collectionspace_core:refName values, when copying those values from refName fields in authority term (item) records.
Aron Roberts [Fri, 1 Feb 2013 23:03:32 +0000 (15:03 -0800)]
CSPACE-5845: First minor changes toward storing collectionspace_core:refName values with imported records.
CSPACE-5845: Created initial (failing) test of refName value in collectionspace_core.
CSPACE-5845: Placeholder method added for inserting refName values into collectionspace_core on import.
CSPACE-5845: Plain old id-style refNames now generated by Imports service and added to collectionspace_core:refName.
CSPACE-5845: Added (as yet untested) code to insert a provided refName, if any, into collectionspace_core:refName, and to add a display name to the ID form of refNames if the relevant service supports hierarchy.
CSPACE-5845: Generation of display name for refNames for record types with hierarchy is now working, with its own unit test.
CSPACE-5845: Add null checks. Add tests for extracting refName value from an authority record and adding that value to collectionspace_core:refName.
CSPACE-5845: Removed call in (partially-implemented) service test class that was triggering dependency-related issues.
CSPACE-5845: Added code (untested) to generate short identifier-based refNames for authority records, and to skip generating refNames for authority item records (rather than defaulting to giving them id-based refNames).
CSPACE-5845: Added test for generated authority record refName.
Aron Roberts [Thu, 7 Mar 2013 00:08:46 +0000 (16:08 -0800)]
CSPACE-5845: Applied standard code formatting to TemplateExpander, prior to work that may potentially revise this file in CSPACE-5845 and other work on Imports service.