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.
Aron Roberts [Tue, 21 Jul 2009 00:20:51 +0000 (00:20 +0000)]
CSPACE-245: Store and retrieve last-generated IDs directly in MySQL via JDBC. Next step: need to store and retrieve ID Patterns with part types and values.
Aron Roberts [Thu, 16 Jul 2009 00:42:23 +0000 (00:42 +0000)]
CSPACE-245: First (primitive, stubbed) working version of the ID Service. Resolved "Failed processing arguments of public javax.ws.rs.core.Response" error by initializing Response via a ResponseBuilder. Added test for IDServiceJdbcImpl.
CSPACE-303 added cspace-service.war property in build.properties, changed descripions of a few targets
M services/JaxRsServiceProvider/build.xml
M services/build.xml
M build.properties
M build.xml
NOJIRA reverted the change in parent so proper manifest could be included as requried by nuxeo
M collectionobject/3rdparty/nuxeo-platform-cs-collectionobject/pom.xml
M intake/3rdparty/nuxeo-platform-cs-intake/pom.xml
M relation/3rdparty/nuxeo-platform-cs-relation/pom.xml
Aron Roberts [Mon, 13 Jul 2009 20:20:13 +0000 (20:20 +0000)]
CSPACE-245: Removed extraneous build.properties file from main ID Service project folder, as well as entire 'nuxeo-platform-cs-id' directory from project's 3rdparty directory, as per Sanjay's suggestions.
CSPACE-303 added dist(ribution) target to all ant build files (where reqd.) in order to create a single compressed file that could be exploded in a jboss cspace domain. changed parent build of doctype builds (collectionobject, intake, relation) to not rely on nuxeo. fixed typos. removed ref. to cspace-services.war from the top level build.
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/pom.xml
M services/collectionobject/3rdparty/build.xml
M services/collectionobject/build.xml
D services/JaxRsServiceProvider/build.properties
M services/JaxRsServiceProvider/build.xml
M services/common/build.xml
_M services/intake/service
_M services/intake/jaxb
M services/intake/3rdparty/pom.xml
_M services/intake/3rdparty/nuxeo-platform-cs-intake
D services/intake/3rdparty/nuxeo-platform-cs-intake/build.properties
M services/intake/3rdparty/nuxeo-platform-cs-intake/pom.xml
M services/intake/3rdparty/nuxeo-platform-cs-intake/build.xml
A services/intake/3rdparty/build.xml
_M services/intake/client
A services/intake/build.xml
_M services/id/service
_M services/id/jaxb
M services/relation/3rdparty/pom.xml
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/build.xml
M services/build.xml
D src/main/assembly
D src/main/config
D src/main/filters
D src/main/resources/schemas
D src/main/webapp
M 3rdparty/nuxeo/build.xml
M 3rdparty/build.xml
M build.properties
M build.xml
M pom.xml
CSPACE-272 created an extensible document type to store relations. table is created in db. layout config still has problems so relation creation using nuxeo webapp (for testing purposes) is not yet working.
A relation
A relation/3rdparty
A relation/3rdparty/pom.xml
A relation/3rdparty/build.xml
A relation/3rdparty/nuxeo-platform-cs-relation
A relation/3rdparty/nuxeo-platform-cs-relation/src
A relation/3rdparty/nuxeo-platform-cs-relation/src/test
A relation/3rdparty/nuxeo-platform-cs-relation/src/main
A relation/3rdparty/nuxeo-platform-cs-relation/src/main/java
A relation/3rdparty/nuxeo-platform-cs-relation/src/main/resources
A relation/3rdparty/nuxeo-platform-cs-relation/src/main/resources/META-INF
A relation/3rdparty/nuxeo-platform-cs-relation/src/main/resources/META-INF/MANIFEST.MF
A relation/3rdparty/nuxeo-platform-cs-relation/src/main/resources/schemas
A relation/3rdparty/nuxeo-platform-cs-relation/src/main/resources/schemas/relation.xsd
A relation/3rdparty/nuxeo-platform-cs-relation/src/main/resources/OSGI-INF
A relation/3rdparty/nuxeo-platform-cs-relation/src/main/resources/OSGI-INF/deployment-fragment.xml
A relation/3rdparty/nuxeo-platform-cs-relation/src/main/resources/OSGI-INF/ecm-types-contrib.xml
A relation/3rdparty/nuxeo-platform-cs-relation/src/main/resources/OSGI-INF/core-types-contrib.xml
A relation/3rdparty/nuxeo-platform-cs-relation/src/main/resources/OSGI-INF/layouts-contrib.xml
A relation/3rdparty/nuxeo-platform-cs-relation/pom.xml
A relation/3rdparty/nuxeo-platform-cs-relation/build.xml
A relation/pom.xml
A relation/build.xml