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
CSPACE-323 changed directory structure of authentication service, refactored CoolectionSpaceClient to accommodate needs of AuthenticationServiceTest. added testng tests for authentication. authentication tests are enabled only if -Dcspace.server.secure=true property is used.
A services/authentication/service
A + services/authentication/service/src
A services/authentication/service/src/test/resources
A services/authentication/service/src/test/resources/log4j.properties
A services/authentication/service/src/main/resources/log4j.properties
A + services/authentication/service/pom.xml
A + services/authentication/service/build.xml
D services/authentication/src
D services/authentication/pom.xml
D services/authentication/build.xml
A services/authentication/client
A services/authentication/client/src
A services/authentication/client/src/test
A services/authentication/client/src/test/java
A services/authentication/client/src/test/java/org
A services/authentication/client/src/test/java/org/collectionspace
A services/authentication/client/src/test/java/org/collectionspace/services
A services/authentication/client/src/test/java/org/collectionspace/services/authentication
A services/authentication/client/src/test/java/org/collectionspace/services/authentication/client
A services/authentication/client/src/test/java/org/collectionspace/services/authentication/client/AuthenticationServiceTest.java
A services/authentication/client/src/test/resources
A services/authentication/client/src/test/resources/log4j.properties
A services/authentication/client/src/main
A services/authentication/client/src/main/java
A services/authentication/client/src/main/java/org
A services/authentication/client/src/main/java/org/collectionspace
A services/authentication/client/src/main/java/org/collectionspace/services
A services/authentication/client/src/main/java/org/collectionspace/services/authentication
A services/authentication/client/src/main/java/org/collectionspace/services/authentication/client
A services/authentication/client/src/main/resources
A services/authentication/client/pom.xml
M services/collectionobject/client/src/test/java/org/collectionspace/services/client/test/CollectionObjectServiceTest.java
M services/collectionobject/client/src/main/java/org/collectionspace/services/client/CollectionObjectClient.java
M services/intake/client/src/main/java/org/collectionspace/services/client/IntakeClient.java
M services/client/src/main/java/org/collectionspace/services/client/CollectionSpaceClient.java
A + services/client/src/main/java/org/collectionspace/services/client/BaseServiceClient.java
Aron Roberts [Thu, 30 Jul 2009 04:38:01 +0000 (04:38 +0000)]
CSPACE-245: Commented out six tests that are dependent on the prior creation and population of an 'id_patterns' database table, until that process is automated.
CSPACE-68 service client takes properties from collectionspace-client.properties as found from the classpath. while giving properties use -DforkMode=never if you are using maven 2.1 onwards.
CSPACE-267 intake service refactored to use java or rest apis of nuxeo using new framework
test: IntakeServiceTest
_M services
M services/JaxRsServiceProvider/src/main/java/org/collectionspace/services/jaxrs/CollectionSpaceJaxRsApplication.java
M services/JaxRsServiceProvider/pom.xml
M services/pom.xml
_M services/intake/service
D services/intake/service/src/main/java/org/collectionspace/services/IntakeResource.java
A services/intake/service/src/main/java/org/collectionspace/services/intake
A + services/intake/service/src/main/java/org/collectionspace/services/intake/IntakeResource.java
A + services/intake/service/src/main/java/org/collectionspace/services/intake/IntakeService.java
A + services/intake/service/src/main/java/org/collectionspace/services/intake/IntakeServiceNuxeoImpl.java
D services/intake/service/src/main/java/org/collectionspace/services/IntakeService.java
D services/intake/service/src/main/java/org/collectionspace/services/IntakeServiceNuxeoImpl.java
M services/intake/client/src/test/java/org/collectionspace/services/client/test/IntakeServiceTest.java
Aron Roberts [Mon, 27 Jul 2009 18:12:03 +0000 (18:12 +0000)]
CSPACE-245: Removed IDServiceTest, which used a non-standard (to the Services Team) RESTful client framework. Minor comment changes to SQL table creation script
CSPACE-173, CSPACE-325, CSPACE-71, CSPACE-72, CSPACE-73, CSPACE-74. Introduced key abstractions for repository client, document handler, factory and document wrapper in the services layer. Boiler plate code for interfacing with a repository via either Java Remote APIs or REST is moved to respective repository client implementations. A CS service only needs to implement a resource and a document handler. Exception management is improved such that GET, UPDATE and DELETE now return proper HTTP status codes if csid is invalid or not found. CollectionObject service is revamped to use new repository client framework. CollectionObjectService client test now asserts returned codes. Still need more rigorous negative tests.
Aron Roberts [Thu, 23 Jul 2009 18:47:15 +0000 (18:47 +0000)]
CSPACE-245,CSPACE-236: Completed move of ID Service-related classes into the org.collectionspace.services.id and org.collectionspace.services.test.id packages.
Aron Roberts [Thu, 23 Jul 2009 18:37:45 +0000 (18:37 +0000)]
CSPACE-245,CSPACE-236: Began moving all remaining ID Service-related classes, currently in the main org.collectionspace.services package, into org.collectionspace.services.id.
Aron Roberts [Wed, 22 Jul 2009 00:32:48 +0000 (00:32 +0000)]
CSPACE-245,CSPACE-234: A minimal ID Service is now working to deliver next IDs for patterns. ID Patterns and their state are now serialized and deserialized via XStream and stored via JDBC.