Richard Millet [Fri, 28 Aug 2009 17:12:02 +0000 (17:12 +0000)]
CSPACE-398: I created an abstract base class for service resources. It helps consolidate setup and use of the client and the document handler. The resource class defined in "NewRelationResource.java" shows an example of how to use this base class.
Aron Roberts [Fri, 28 Aug 2009 02:48:59 +0000 (02:48 +0000)]
CSPACE-360,CSPACE-384: For client test framework: Restored two inadvertently deleted files. Moved all three files in framework to main tree in client module, from test tree, due to unresolved issues in sharing test code across modules.
Aron Roberts [Thu, 27 Aug 2009 19:49:30 +0000 (19:49 +0000)]
CSPACE-360,CSPACE-384: Introduced dependency on surefire plugin 2.4+ in client module to allow packaging of client test framework files into test-jar, even when tests are skipped. See http://bit.ly/IOnaZ
Aron Roberts [Thu, 27 Aug 2009 19:14:06 +0000 (19:14 +0000)]
CSPACE-360,CSPACE-384: POM file additions to generate a jar file containing client test framework files in the 'client' module, and then use (depend on) those files in 'collectionobject/client'.
Aron Roberts [Thu, 20 Aug 2009 03:34:23 +0000 (03:34 +0000)]
CSPACE-360,CSPACE-338: Added more negative tests, based on HttpClient, and begin looking into generalization for test classes. (May later migrate HttpClient-based tests to RESTeasy ClientResponse.)
Richard Millet [Tue, 18 Aug 2009 20:54:57 +0000 (20:54 +0000)]
CSPACE-343: Updated POM files to use new CSpace repository URLS that now uses a "cached" set of artifacts from Nuxeo.org's "public" and "public-snaphots" repositories. Our CSpace repo is now configured to *NOT* auto-update its cache. We can update it manually as needed.
Sanjay Dalal [Thu, 13 Aug 2009 18:35:20 +0000 (18:35 +0000)]
CSPACE-182 see CSPACE 328/329/330, relevant pom.xmls changed to depend on 5.2.1 and 1.5.1. doc-type pom.xmls still need version properties locally
CSPACE-328 built nuxeo using 5.2GA source updated wiki with notes see http://wiki.collectionspace.org/display/collectionspace/Build+Nuxeo+5.2
CSPACE-329 nuxeo domain uses 5.2GA, Mysql and JDK 1.6, see http://wiki.collectionspace.org/display/collectionspace/Configure+Nuxeo+domain
CSPACE-330 ran all services tests to verify build works. changed NuxeoConnector to use new properties for remote API fix from Nuxeo
CSPACE-303 ant deploy and dist now depend on package instead of install,
CSPACE-89 dist-jboss-domains (calls dist-jboss-nuxeo and dist-jboss-cspace) packages two working domains, dist packages just cspace binaries.
M 3rdparty/pom.xml
D 3rdparty/nuxeo/nuxeo-client/lib/nuxeo-core-query-1.5-SNAPSHOT.jar
A 3rdparty/nuxeo/nuxeo-client/lib/5.2.M4
AM 3rdparty/nuxeo/nuxeo-client/lib/5.2.M4/nuxeo-core-query-1.5-SNAPSHOT.jar
AM 3rdparty/nuxeo/nuxeo-client/lib/5.2.M4/nuxeo-core-api-1.5-SNAPSHOT.jar
AM 3rdparty/nuxeo/nuxeo-client/lib/5.2.M4/nuxeo-runtime-osgi-1.5-SNAPSHOT.jar
AM 3rdparty/nuxeo/nuxeo-client/lib/5.2.M4/nuxeo-runtime-1.5-SNAPSHOT.jar
AM 3rdparty/nuxeo/nuxeo-client/lib/5.2.M4/nuxeo-core-schema-1.5-SNAPSHOT.jar
AM 3rdparty/nuxeo/nuxeo-client/lib/5.2.M4/nuxeo-common-1.5-SNAPSHOT.jar
D 3rdparty/nuxeo/nuxeo-client/lib/nuxeo-core-api-1.5-SNAPSHOT.jar
D 3rdparty/nuxeo/nuxeo-client/lib/nuxeo-runtime-osgi-1.5-SNAPSHOT.jar
D 3rdparty/nuxeo/nuxeo-client/lib/nuxeo-runtime-1.5-SNAPSHOT.jar
A 3rdparty/nuxeo/nuxeo-client/lib/5.2.GA
AM 3rdparty/nuxeo/nuxeo-client/lib/5.2.GA/nuxeo-core-query-1.5.1-SNAPSHOT.jar
AM 3rdparty/nuxeo/nuxeo-client/lib/5.2.GA/nuxeo-core-api-1.5.1-SNAPSHOT.jar
AM 3rdparty/nuxeo/nuxeo-client/lib/5.2.GA/nuxeo-runtime-osgi-1.5.1-SNAPSHOT.jar
AM 3rdparty/nuxeo/nuxeo-client/lib/5.2.GA/nuxeo-runtime-1.5.1-SNAPSHOT.jar
AM 3rdparty/nuxeo/nuxeo-client/lib/5.2.GA/nuxeo-core-schema-1.5.1-SNAPSHOT.jar
AM 3rdparty/nuxeo/nuxeo-client/lib/5.2.GA/nuxeo-common-1.5.1-SNAPSHOT.jar
D 3rdparty/nuxeo/nuxeo-client/lib/nuxeo-core-schema-1.5-SNAPSHOT.jar
D 3rdparty/nuxeo/nuxeo-client/lib/nuxeo-common-1.5-SNAPSHOT.jar
M 3rdparty/nuxeo/pom.xml
M 3rdparty/nuxeo/build.xml
M 3rdparty/build.xml
_M services/authentication/service
M services/authentication/service/build.xml
_M services/authentication/client
M services/authentication/build.xml
M services/collectionobject/3rdparty/nuxeo-platform-cs-collectionobject/pom.xml
M services/collectionobject/3rdparty/nuxeo-platform-cs-collectionobject/build.xml
M services/collectionobject/3rdparty/build.xml
M services/collectionobject/pom.xml
M services/collectionobject/build.xml
M services/JaxRsServiceProvider/pom.xml
M services/JaxRsServiceProvider/build.xml
M services/common/src/main/java/org/collectionspace/services/nuxeo/client/java/NuxeoConnector.java
M services/common/pom.xml
M services/common/build.xml
M services/pom.xml
M services/id/pom.xml
M services/id/build.xml
M services/build.xml
M services/intake/3rdparty/nuxeo-platform-cs-intake/pom.xml
M services/intake/3rdparty/nuxeo-platform-cs-intake/build.xml
M services/intake/3rdparty/build.xml
M services/intake/pom.xml
M services/intake/build.xml
_M services/relation/service
M services/relation/3rdparty/build.xml
M services/relation/3rdparty/nuxeo-platform-cs-relation/pom.xml
M services/relation/3rdparty/nuxeo-platform-cs-relation/build.xml
M services/relation/pom.xml
M services/relation/build.xml
_M services/relation/client
M services/relation/client/pom.xml
M build.properties
M build.xml
M pom.xml
Sanjay Dalal [Thu, 13 Aug 2009 17:15:35 +0000 (17:15 +0000)]
NOJIRA checking in stuff before sandbox move
A sanjay/prototypes/restws/HelloWorldDocService/nbactions.xml
M sanjay/prototypes/restws/HelloWorldDocService/pom.all.xml
A sanjay/prototypes/restws/HelloWorldDocService/nb-configuration.xml
M sanjay/prototypes/restws/HelloWorldDocService/pom.xml
A sanjay/prototypes/restws/HelloWorldDocService/README.txt
M sanjay/prototypes/jaxrs-prototype/jaxrs-nuxeo-service/pom.xml
M sanjay/prototypes/jaxrs-prototype/jaxrs-nuxeo-javaapi-service/pom.xml
A sanjay/nuxeo
A sanjay/nuxeo/NuxeoApp.java
A sanjay/nuxeo/ConnectionListener.java
A sanjay/nuxeo/LoginHandler.java
A sanjay/nuxeo/DefaultLoginHandler.java
A sanjay/nuxeo/NuxeoClient.java
Sanjay Dalal [Thu, 13 Aug 2009 17:06:03 +0000 (17:06 +0000)]
NOJIRA fixed sql to fix the following error.
ERROR 1133 (42000): Can't find any matching row in the user table
+-------+------+-----------------------------------------------+
| Level | Code | Message |
+-------+------+-----------------------------------------------+
| Error | 1133 | Can't find any matching row in the user table |
+-------+------+-----------------------------------------------+
M src/main/resources/db/mysql/create_id_generators_table.sql
Aron Roberts [Wed, 12 Aug 2009 21:13:50 +0000 (21:13 +0000)]
CSPACE-330,CSPACE-327: Added 'updateIntake' test dependency to the 'deleteIntake' test, akin to corresponding change made for CollectionObject tests in r566.
Richard Millet [Wed, 12 Aug 2009 20:18:37 +0000 (20:18 +0000)]
CSPACE-330: Added 'updateCollectionObject' test dependency to the 'deleteCollectionObject' test. Delete test was running first which prevented update test from passing.
Aron Roberts [Wed, 12 Aug 2009 01:48:04 +0000 (01:48 +0000)]
CSPACE-336,CSPACE-321: Moved unit tests of the JDBC implementation of the ID service to TestNG from JUnit; additional minor changes to reflect switch to ID generators from ID patterns
Aron Roberts [Wed, 12 Aug 2009 01:33:34 +0000 (01:33 +0000)]
CSPACE-236: Changes to serializer test class to reflect ongoing transition from ID patterns to ID generators at top-level of ID Service. Bugfix to one variable in IDGeneratorSerializer.
Aron Roberts [Tue, 11 Aug 2009 20:02:50 +0000 (20:02 +0000)]
CSPACE-336,CSPACE-321: Updated JDBC implementation of ID Service and associated tests to partly reflect refactoring to use IDGenerators, rather than IDPatterns, as highest level objects in the service.
Aron Roberts [Mon, 10 Aug 2009 20:28:11 +0000 (20:28 +0000)]
CSPACE-332,CSPACE-271: Changed encoding of five Relation-services files to Unicode (UTF-8 encoding, no BOM [byte order mark]), to fix 'unmappable character for encoding UTF8' compilation errors under Linux, perhaps triggered by copyright symbol in comments.
Richard Millet [Sat, 8 Aug 2009 07:30:45 +0000 (07:30 +0000)]
CSPACE-332: Changed test to look for http status code 200-ok after delete. Majority of this task is now finished. Need to qualify with more testing now.
Aron Roberts [Thu, 6 Aug 2009 22:00:45 +0000 (22:00 +0000)]
CSPACE-347: Added negative tests and additional (stubbed) tests for major responses from CRUD operations in the Intake Service. Made constructor in IntakeServiceClient public, conforming with CollectionObjectService.
Aron Roberts [Thu, 6 Aug 2009 21:29:34 +0000 (21:29 +0000)]
CSPACE-327,CSPACE-337: deleteCollectionObject() in CollectionObject client tests now also depends on getCollectionObject(), to ensure that we always run the latter test first.
Richard Millet [Mon, 3 Aug 2009 23:20:23 +0000 (23:20 +0000)]
NOJIRA: Needed to change the package name on two of the test classes because the folder path did not match the package path. The Eclipse IDE was choking on this.
CSPACE-324 added initial set of tests (support for various http methods, check for service existence, check for server existence, etc.) for service layer. moved isSecureServer to CollectionSpaceClient/BaseServiceClient