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
Aron Roberts [Wed, 22 Apr 2009 22:31:59 +0000 (22:31 +0000)]
CSPACE-88: Revamped VersionResource to PingResource, which better reflects the nature of this service - a ping or echo service. (Returning a global version number for the application isn't currently meaningful, as Patrick pointed out.) Service now also responds on requests for both 'ping' and 'echo' path elements.
Aron Roberts [Wed, 22 Apr 2009 03:05:28 +0000 (03:05 +0000)]
Added a trivial 'version' service, per Richard's suggestion, so that clients can 'ping' the service and retrieve a version identifier. This could be expanded upon in the future to provide more info about the installed service, runtime, et al.
CSPACE-66 Extended the JAX-RS prototype to exchange multi-part content (each part corresponding elements from different schemas hello.xsd or world.xsd) between the service provider and consumer
CSPACE-66 Extended the JAX-RS prototype to exchange multi-part content (each part corresponding elements from different schemas hello.xsd or world.xsd) between the service provider and consumer
Richard Millet [Fri, 10 Apr 2009 22:07:01 +0000 (22:07 +0000)]
CSPACE-69: Add new string constants for PersonNuxeo and CollectionObject workspaces. Also gave these constants the values for our Nuxeo instance on demo.collectionspace.org.
Richard Millet [Fri, 10 Apr 2009 18:25:38 +0000 (18:25 +0000)]
CSPACE-63: Abstract base class "CollectionObjectClient" now has method for getting the CollectionSpace URL prefix from a system property. If the property is not set then a default of 'http://localhost:8080/helloworld/cspace-nuxeo' is used.
Richard Millet [Thu, 9 Apr 2009 23:48:42 +0000 (23:48 +0000)]
CSPACE-64: Fixed problem caused by using the incorrect response XML element name when parsing the response from Nuxeo's "browse" rest API. Changed from "csid" to "id"
Richard Millet [Thu, 9 Apr 2009 02:37:59 +0000 (02:37 +0000)]
Adding this interface for common/global values and settings to all CollectionSpace service resources. Currently contains the hardcoded Nuxeo workspace UUID.
Sanjay Dalal [Mon, 30 Mar 2009 23:02:55 +0000 (23:02 +0000)]
CSPACE-30, getPerson uses export operation of Nuxeo RESTAPIs.
M HelloWorld/HelloWorldClient/src/test/java/org/collectionspace/hello/client/test/PersonNuxeoServiceTest.java
M HelloWorld/HelloWorldNuxeoService/src/main/java/org/collectionspace/hello/services/PersonNuxeoResource.java
Sanjay Dalal [Thu, 26 Mar 2009 19:07:12 +0000 (19:07 +0000)]
CSPACE-30 hello.xsd schema changed (made it flat) to accommodate requirements of
nuxeo repository and rest apis. HelloWorldDocService renamed to HelloWorldNuxeo
Service. Added support for create, update and delete in addition to list.
Sanjay Dalal [Thu, 26 Mar 2009 19:06:38 +0000 (19:06 +0000)]
CSPACE-30 hello.xsd schema changed (made it flat) to accommodate requirements of
nuxeo repository and rest apis. HelloWorldDocService renamed to HelloWorldNuxeo
Service. Added support for create, update and delete in addition to list.
Sanjay Dalal [Thu, 26 Mar 2009 18:58:01 +0000 (18:58 +0000)]
CSPACE-30 hello.xsd schema changed (made it flat) to accommodate requirements of nuxeo repository and rest apis. HelloWorldDocService renamed to HelloWorldNuxeoService. Added support for create, update and delete in addition to list.
M services/trunk/3rdparty/nuxeo/nuxeo-platform-cs/src/main/resources/schemas/hello.xsd
M services/trunk/3rdparty/nuxeo/nuxeo-platform-cs/src/main/resources/OSGI-INF/ecm-types-contrib.xml
M services/trunk/3rdparty/nuxeo/nuxeo-platform-cs/src/main/resources/OSGI-INF/layouts-contrib.xml
M services/trunk/HelloWorld/HelloWorldJaxb/src/main/resources/hello.xsd
D services/trunk/HelloWorld/HelloWorldDocService
M services/trunk/HelloWorld/HelloWorldClient/nbactions.xml
AM + services/trunk/HelloWorld/HelloWorldNuxeoService
D services/trunk/HelloWorld/HelloWorldNuxeoService/pom.all.xml
D services/trunk/HelloWorld/HelloWorldNuxeoService/src/main/java/org/collectionspace/hello/services/PersonDocResource.java
D services/trunk/HelloWorld/HelloWorldNuxeoService/src/main/java/org/collectionspace/hello/services/HelloworldDocApplication.java
AM + services/trunk/HelloWorld/HelloWorldNuxeoService/src/main/java/org/collectionspace/hello/services/PersonNuxeoResource.java
AM + services/trunk/HelloWorld/HelloWorldNuxeoService/src/main/java/org/collectionspace/hello/services/HelloworldNuxeoApplication.java
M services/trunk/HelloWorld/HelloWorldNuxeoService/src/main/webapp/WEB-INF/web.xml
M services/trunk/HelloWorld/HelloWorldNuxeoService/pom.xml
A + services/trunk/HelloWorld/HelloWorldNuxeoService/README.txt
Aron Roberts [Thu, 26 Mar 2009 17:28:15 +0000 (17:28 +0000)]
CSPACE-18: CollectionObject service is now running in JBoss, and raw XML tests to create and update are succeeding. (curl-based tests to delete and retrieve individual objects and lists are also succeeding.) Additional notes may be posted as a comment to this issue.
Note that this cannot be verified to be working as of 2009-03-26 10:27 due to a JBoss WAR file issue.
Aron Roberts [Mon, 23 Mar 2009 19:26:45 +0000 (19:26 +0000)]
Ant build script to copy WAR file to JBoss deployment directory now uses the JBOSS_HOME environment variable, if a local properties file doesn't set the deployment directory property.
Removed an extraneous schema file after renaming collections/list-type schemas.
Aron Roberts [Mon, 23 Mar 2009 18:28:59 +0000 (18:28 +0000)]
CSPACE-12,CSPACE-13: Renamed collectionObjects to collectionObjectsList, per Richard's suggestion. This naming convention is suggested, going forward, for schemas that refer to collections or lists of 0-n items.
Aron Roberts [Fri, 20 Mar 2009 20:42:51 +0000 (20:42 +0000)]
Copying Sanjay's HelloWorld project (with in-memory Collections storage, not using Nuxeo/MySQL) to Aron's sandbox, in preparation for adding a CollectionObject service. This copy builds and runs successfully under JBoss on Mac OS X.
Aron Roberts [Mon, 16 Mar 2009 21:06:29 +0000 (21:06 +0000)]
Modified sample XML instance document for CollectionObject to match changes in schema.
Updated comments, including reflecting new filenames.
Converted all horizontal tabs to 2 spaces.
Aron Roberts [Mon, 16 Mar 2009 20:12:40 +0000 (20:12 +0000)]
Removed extraneous files, leaving just one set of current files - RELAX NG schema, generated W3C XML Schema, and sample XML instance document - for collectionObject, collectionObjects (a list of zero or more collectionObject(s)), and serviceErrorResponse.
Added a utility script for validating W3C XML Schema documents via XMLStarlet.
Made all defaultCollectionObject elements required, although their values may be blank (empty).
Aron Roberts [Sat, 14 Mar 2009 00:24:15 +0000 (00:24 +0000)]
CSPACE-20: Added our Release 0.1 namespace to the RELAX NG schema document and example file for our service error responses.
Generated a W3C XML Schema (XSD) schema document for service error responses.
Aron Roberts [Fri, 13 Mar 2009 23:36:18 +0000 (23:36 +0000)]
Add schema (RELAX NG, tool-generated XSD) for a list of collection objects.
Add an example XML document representing a list of collection objects.
Add a wrapper XSD schema, Hello.xsd, corresponding to Sanjay's document of the same name in the prototype. This document includes declarations for both individual collection objects and lists of collection objects.
Changed sample documents to use realistic-looking hex strings for CSpace ID values, rather than sequences of (pseudo) random alphanumeric characters.
Aron Roberts [Fri, 13 Mar 2009 20:48:25 +0000 (20:48 +0000)]
CSPACE-12: Added a 'no namespace prefix' instance of the rudimentary Rel. 0.1 collection object schema, in W3C XML Schema (XSD), where there is no namespace prefix associated with the default collection object schema. This schema also has a hand-added 'version' attribute.
Aron Roberts [Fri, 13 Mar 2009 20:34:48 +0000 (20:34 +0000)]
CSPACE-12: Added a namespace-qualified version of the rudimentary Rel. 0.1 collectionObject schema, in both RELAX NG and (via tool generation) W3C XML Schema (XSD).
Added missing XSD datatype library declaration to full RELAX NG collection object schema ( the schema that is sans namespaces).
Minor correction on intro comments in rng-to-xsd script.