Aron Roberts [Fri, 16 Mar 2012 05:43:43 +0000 (22:43 -0700)]
Merge pull request #4 from aronr/cspace-4866
CSPACE-4866: Allowing uploading of UTF-8-containing XML files to the Imports service, via multipart forms based submission, by accepting 'application/xml' MIME type uploads as well as 'text/xml' uploads.
Aron Roberts [Fri, 16 Mar 2012 04:10:31 +0000 (21:10 -0700)]
CSPACE-4925: Services tenant bindings config changes, designating three fields as holding authRefs/termRefs in the new Inventory Control information group in Location / Movement / Inventory records.
Aron Roberts [Fri, 16 Mar 2012 02:23:42 +0000 (19:23 -0700)]
CSPACE-4866,CSPACE-4818: In Imports service, allow multipart/form-data upload of XML files using 'text/xml' MIME type, as well as 'application/xml', to support upload form functionality of that service. Minor cleanup of error and success messages, and of the HTML upload form.
Patrick Schmitz [Tue, 13 Mar 2012 16:07:59 +0000 (09:07 -0700)]
NOJIRA - Fixed config for groups objectName and objectNumber to specify schema. Title property without schema gets confused with dc:title, which returns the CSID.
Patrick Schmitz [Mon, 12 Mar 2012 04:51:54 +0000 (21:51 -0700)]
CSPACE-4783 - Applied a partial fix (hack) that will work until we put in a proper fix using a base schema for all authority items. Also fixed typo in tenant-bindings-proto.xml fix for authority perf problems. Placed taxonFullName declaration under authority, rather than item, service declaration.
Patrick Schmitz [Tue, 6 Mar 2012 01:08:30 +0000 (17:08 -0800)]
CSPACE-4875 Filled out the kw search support, returning list of items by serviceGroup. Also supports the meta-group "common". Added security filter to this and to the refObjs call so only searches in services the current user has rights to.
Aron Roberts [Mon, 5 Mar 2012 19:48:23 +0000 (11:48 -0800)]
Merge pull request #1 from ray-lee/CSPACE-4775
CSPACE-4775: Implement Structured dates in 4 fields in Cataloging. Merging in Ray's updates to CollectionObject / Cataloging schema in the Services. No code changes or test changes were required.
Richard Millet [Sat, 3 Mar 2012 00:25:26 +0000 (16:25 -0800)]
NOJIRA: Modified the Services log4j.properties file to show all ERROR and WARN level log messages in the console. Also, added back the "cspace-services-perf.log" log file for showing performance profiling. Added some documentation comments as well.
Richard Millet [Fri, 2 Mar 2012 00:31:45 +0000 (16:31 -0800)]
CSPACE-4747: Ridding the source tree of stale configuration files related to JNDI data source issues. Many of the stale files were artifacts of our previous JBoss deployment environment. Also removing the Nuxeo DM database template files since the CollectionSpace services no longer run inside the Nuxeo DM.
Aron Roberts [Wed, 29 Feb 2012 03:25:09 +0000 (19:25 -0800)]
CSPACE-4728,CSPACE-4684: Removed the former nightlyDist.sh script from the Services repo's scripts directory; this script can now be found under the name make-tomcat-cspace-tarball.sh in the Tools repo's scripts directory.
Richard Millet [Tue, 14 Feb 2012 20:00:10 +0000 (20:00 +0000)]
CSPACE-4734: 1) Updated trunk pom files to be use version v2.2-SNAPSHOT. 2) Some minor cleanup prior to GIT migration. 3) Also restored previous two commits that were lost when the slice was restored from a backup.
Aron Roberts [Fri, 3 Feb 2012 23:58:47 +0000 (23:58 +0000)]
CSPACE-4684,CSPACE-4728: In script for prepping a working Apache Tomcat folder for distribution of a tarball, added command to copy per-tenant settings.xml files to local-settings.xml, consistent with app layer configuration docs.
Aron Roberts [Sun, 29 Jan 2012 23:00:07 +0000 (23:00 +0000)]
CSPACE-4795: Committing Ray's patches to add the dimensionNote field to the dimension sub-group of the measuredPart group, in the relevant services schema.
Richard Millet [Sun, 29 Jan 2012 18:30:22 +0000 (18:30 +0000)]
CSPACE-1685: Removed thousands AND thousands AND thousands of lines of non-DRY testing code. Sadly, I could have removed more. We need to really try hard *not* to write this kind of code. It's a long-term maint. issue. We were a bit "penny wise, pound foolish" when we created this code.
Richard Millet [Sat, 28 Jan 2012 23:32:29 +0000 (23:32 +0000)]
CSPACE-1685: Removed thousands AND thousands AND thousands of lines of non-DRY testing code. Sadly, I could have removed more. We need to really try hard *not* to write this kind of code. It's a long-term maint. issue. We were a bit "penny wise, pound foolish" when we created this code.
Aron Roberts [Fri, 20 Jan 2012 18:06:06 +0000 (18:06 +0000)]
CSPACE-4773: Enabled remaining authRef and termRef fields in services prototype tenant bindings configuration, including the configuration entries for all remaining deeply nested fields.
Aron Roberts [Mon, 9 Jan 2012 21:30:30 +0000 (21:30 +0000)]
CSPACE-4727,CSPACE-4471,CSPACE-4472: Finished reviewing lists of fields in all records that hold authority references (authRefs) and vocabulary term references (termRefs) outside of Cataloging / CollectionObjects (previously checked in via r6251), and updated services prototype tenant bindings accordingly.
Aron Roberts [Thu, 5 Jan 2012 03:15:08 +0000 (03:15 +0000)]
CSPACE-4727,CSPACE-4471,CSPACE-4472: Completely reviewed the extensive list of fields in Cataloging / CollectionObject that hold authority references (authRefs) and vocabulary term references (termRefs), and updated services prototype tenant bindings accordingly. Reordered these configuration entries to follow the pattern of the various wiki schema pages for information groups in Cataloging, for ease of future maintenance. Made a minor update to a services authRefs test to reflect these configuration changes.
Aron Roberts [Wed, 4 Jan 2012 02:02:19 +0000 (02:02 +0000)]
CSPACE-3931,CSPACE-4490: Cleaned up / removed vestigial top-level otherNumber, otherNumberType fields in services schema for Cataloging / CollectionObject. (These were long ago replaced by a repeatable otherNumberList repeatable group, but were retained until now for backwards compatibility.) Also removed the vestigial remNumber field in that same record type.
Aron Roberts [Tue, 3 Jan 2012 23:06:42 +0000 (23:06 +0000)]
CSPACE-4727: Reformatted prototype services tenant bindings file prior to termRefs work. Minor improvements to comments, etc. Added missing service:properties tag in locations_common part.
Aron Roberts [Tue, 3 Jan 2012 07:33:15 +0000 (07:33 +0000)]
CSPACE-4572: Services client tests more widely check response status codes prior to getting entity bodies from those responses, thus helping prevent actual error responses from being masked by 'Could not find JaxbContextFinder for media type: text/plain ...' messages. In nearly all such places prior to calling getEntity(), also replaced more verbose checking of status codes with calls to assertStatusCode() method in a base client test class.
Richard Millet [Mon, 2 Jan 2012 20:21:08 +0000 (20:21 +0000)]
CSPACE-4748, CSPACE-4750: Added a new class to the http client hierarchy to consolidate/share existing code that deals with loading/creating xml payloads for the tests.
Richard Millet [Mon, 2 Jan 2012 18:13:54 +0000 (18:13 +0000)]
CSPACE-4748, CSPACE-4750: Fixed issue with image metadata not being correctly extracted. Also fixed problem with temporary image files showing up in the wrong locations. Included some minor cleanup of a few of the base client test classes.
Aron Roberts [Mon, 19 Dec 2011 01:29:00 +0000 (01:29 +0000)]
CSPACE-4684,CSPACE-4728: Adding services scripts directory for maintaining utility scripts used in continuous integration, distribution prep, and other such purposes under version control. Adding initial script used for prepping a copy of a working Apache Tomcat folder, under CollectionSpace 2.0, for distribution as a tarball. This prep include omitting copying of folders containing temporary items (e.g. logs, temp) and eliding passwords.
Richard Millet [Wed, 14 Dec 2011 23:57:22 +0000 (23:57 +0000)]
CSPACE-4735: Nuxeo database "templates" now deprecated since we're using an embedded Nuxeo model. The DM's nuxeoctl tool used to proces this for us and is no longer applicable.