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
cspace-62 added ant build for collectionobject. co doctype is copied to correct lcoation in jboss domain. deploy depends on install instead of package to make sure local maven repository is populated. removed dependencies to defunct local directory locations.
M services/authentication/build.xml
M services/collectionobject/3rdparty/nuxeo-platform-cs-collectionobject/build.xml
A services/collectionobject/3rdparty/build.xml
A services/collectionobject/build.xml
M services/JaxRsServiceProvider/pom.xml
M services/JaxRsServiceProvider/build.xml
M services/common/build.xml
M services/pom.xml
M services/id/service/pom.xml
M services/build.xml
M 3rdparty/nuxeo/build.xml
M 3rdparty/build.xml
M build.xml
CSPACE-62 added ant builds where needed. ant also calls maven targets. ant deploy/undeploy tasks could be used to copy necessary war, jar, config, etc. files to proper locations in JBoss domain provider build.properties are pointing to the correct jboss home. deploy/undeploy targets of a parent call these on children as well.
Aron Roberts [Wed, 1 Jul 2009 01:13:08 +0000 (01:13 +0000)]
CSPACE-235,CSPACE-237: Fixed a number of minor errors in ID generator and ID part test classes, uncovered in part through code coverage reports. (These issues were marked as FIXED earlier; now they're 'more' fixed.)
Aron Roberts [Mon, 29 Jun 2009 22:36:29 +0000 (22:36 +0000)]
CSPACE-79: Experiments with draft template for Java class-level comments. Includes Subversion keyword substitution, and UTF-8 (no BOM) document encoding's effect on the Copyright symbol.
Sanjay Dalal [Mon, 29 Jun 2009 19:04:53 +0000 (19:04 +0000)]
CSPACE-227, CSPACE-228, CSPACE-229 configured service layer for authentication, tested end to end. commented out to not break tests. see wiki for enabling authentication (coming up) both for jaxrs layer as well as for jaxrs client-based consumer.
Sanjay Dalal [Fri, 26 Jun 2009 22:54:16 +0000 (22:54 +0000)]
CSPACE-225, CSPACE-226 added database login provider (extension to JBossDBLoginProvider) with db realm schema, various config to enable authentication in JBoss and webapp, db init creates cspace db, dump of db realm working for authentication test
Aron Roberts [Fri, 26 Jun 2009 19:27:44 +0000 (19:27 +0000)]
CSPACE-245: Stubbed out bare-bones client-side tests of a generic HTTP service, which will subsequently be adapted to test the RESTful interface to the ID Service.
Aron Roberts [Thu, 25 Jun 2009 03:17:22 +0000 (03:17 +0000)]
CSPACE-245: Initiated work on ID Service, via a shell project cloned from CollectionObject. The vast majority of the project is currently commented out, and Client library dir was removed for now. Unit tests of POJOs currently succeed, and a rudimentary central Resource class can be compiled. The current IDPattern class will need to be refactored to split code from data.
Sanjay Dalal [Wed, 24 Jun 2009 18:46:04 +0000 (18:46 +0000)]
CSPACE-253 uses jboss system property to read config file. commented in NuxeoConnector that ServiceMain.getInstance().getServerRootDir() can't be used during loadBundles due to recursion
Sanjay Dalal [Tue, 23 Jun 2009 18:19:12 +0000 (18:19 +0000)]
CSPACE-242 checks if nuxeo-client exists using jboss.server.home.dir system property.If the dir does not exist, it logs an error message and throws IllegalStateException with the same message as well.
Aron Roberts [Thu, 11 Jun 2009 04:09:13 +0000 (04:09 +0000)]
NOJIRA Updated REST-based APIs slide presentation to reflect Sanjay's comments. This is also a newer .pptx file, created from scratch in PowerPoint. Removed the previous .ppt copy, which had been created by export from Google Docs, along with its accompanying note.
Sanjay Dalal [Thu, 21 May 2009 21:29:03 +0000 (21:29 +0000)]
CSPACE-59, CSPACE-60, added common service layer initialization (reading config, initializing nuxeo client runtime, etc.). also communicates with nuxeo repository to retrieve all workspace ids used by services deployed. requires fix in nuxeo-runtime. fixed bug introduced in collectionobject documenttype from the earlier build.
Sanjay Dalal [Thu, 14 May 2009 20:37:12 +0000 (20:37 +0000)]
CSPACE-65, CSPACE-176 cspace service layer can access nuxeo repository running in a separate jvm using remote java apis of Nuxeo. CRUD operations of MultischemaResource seems to work. this requires fixes in nuxeo-runtime's JBossServiceLocator code.
Sanjay Dalal [Wed, 6 May 2009 16:14:57 +0000 (16:14 +0000)]
cspace-84 created parent child relationships between several projects, repository info. is only in parent projects, added top-level project to build all children projects at a service level, fixed dependencies between the projects, clean package commands now work recursively from top level service trunk