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.
Aron Roberts [Fri, 13 Mar 2009 19:59:11 +0000 (19:59 +0000)]
CSPACE-12: Added a 'full' collectionObject schema in RELAX NG that includes, rather than incorporating by reference, the serviceMetadata and defaultCollectionObject schemas. This, in turn, was used as input to the 'Trang' utility to generate a W3C XML Schema (XSD) version of the collection object schema. Also included two trivial utility scripts to wrap RELAX NG validation and RELAX NG-to-XSD generation.
NB: the XSD version of the collection object schema included with this commit does not include a CSpace- or Hello World-specific namespace.
Aron Roberts [Mon, 9 Mar 2009 22:12:28 +0000 (22:12 +0000)]
CSPACE-12, CSPACE-13, CSPACE-20: Revised the service's response schema and corresponding example document, and renamed both documents to 'serviceErrorResponse', to reflect that CSpace services will only return these responses upon error, not upon success.
Minor revision to datatype for objectNumber in defaultCollectionObject.
Sanjay Dalal [Thu, 5 Mar 2009 23:31:21 +0000 (23:31 +0000)]
CSPACE-14, created new resource - Identifier. service providers use jaxb as well. fixed maven dependencies. xml schema has namespace. same xsd contains schema for both Person and Identifier resources. un/marshalling works with namespace - XmlRootElement is generated.
Aron Roberts [Thu, 5 Mar 2009 22:37:32 +0000 (22:37 +0000)]
The defaultCollectionObject schema was revised to include all of the fields, in the Object ID Information section of the Object Data Wireframe, that have been identified for use in the Release 0.1 demo.
The sample site- or instance-specific schema has been changed to reflect MMI data, rather than PAHMA data, and includes both actual fields (with names exposed in its online collection catalog).
Schemas now include 'interleave' tags to allow elements to be included in any order.
Example file now includes sample data from a MMI collection object record.
Aron Roberts [Thu, 5 Mar 2009 20:46:32 +0000 (20:46 +0000)]
Reflects significant changes in the CollectionObject schema per work by Richard and Aron on 2009-03-04. Decorations for UI and database hinting have been removed, and the generic 'entity' core is no longer used.
Sanjay Dalal [Thu, 5 Mar 2009 00:39:08 +0000 (00:39 +0000)]
CSPACE-11 initial checkin
A src/services/trunk/sandbox/sanjay
A src/services/trunk/sandbox/sanjay/prototypes
A src/services/trunk/sandbox/sanjay/prototypes/restws
A src/services/trunk/sandbox/sanjay/prototypes/restws/HelloWorld
A src/services/trunk/sandbox/sanjay/prototypes/restws/HelloWorld/HelloWorldJaxb
A src/services/trunk/sandbox/sanjay/prototypes/restws/HelloWorld/HelloWorldJaxb/.classpath
A src/services/trunk/sandbox/sanjay/prototypes/restws/HelloWorld/HelloWorldJaxb/nb-configuration.xml
A src/services/trunk/sandbox/sanjay/prototypes/restws/HelloWorld/HelloWorldJaxb/.project
A src/services/trunk/sandbox/sanjay/prototypes/restws/HelloWorld/HelloWorldJaxb/src
A src/services/trunk/sandbox/sanjay/prototypes/restws/HelloWorld/HelloWorldJaxb/src/test
A src/services/trunk/sandbox/sanjay/prototypes/restws/HelloWorld/HelloWorldJaxb/src/test/java
A src/services/trunk/sandbox/sanjay/prototypes/restws/HelloWorld/HelloWorldJaxb/src/main
A src/services/trunk/sandbox/sanjay/prototypes/restws/HelloWorld/HelloWorldJaxb/src/main/java
A src/services/trunk/sandbox/sanjay/prototypes/restws/HelloWorld/HelloWorldJaxb/src/main/resources
A src/services/trunk/sandbox/sanjay/prototypes/restws/HelloWorld/HelloWorldJaxb/src/main/resources/person.xsd
A src/services/trunk/sandbox/sanjay/prototypes/restws/HelloWorld/HelloWorldJaxb/pom.xml
A src/services/trunk/sandbox/sanjay/prototypes/restws/HelloWorld/HelloWorldJaxb/.settings
A src/services/trunk/sandbox/sanjay/prototypes/restws/HelloWorld/HelloWorldJaxb/.settings/org.eclipse.jdt.core.prefs
A src/services/trunk/sandbox/sanjay/prototypes/restws/HelloWorld/HelloWorldJaxb/.settings/org.maven.ide.eclipse.prefs
AM src/services/trunk/sandbox/sanjay/prototypes/restws/HelloWorld/helloworld.war
A src/services/trunk/sandbox/sanjay/prototypes/restws/HelloWorld/HelloWorldClient
A src/services/trunk/sandbox/sanjay/prototypes/restws/HelloWorld/HelloWorldClient/nbactions.xml
A src/services/trunk/sandbox/sanjay/prototypes/restws/HelloWorld/HelloWorldClient/.classpath
A src/services/trunk/sandbox/sanjay/prototypes/restws/HelloWorld/HelloWorldClient/nb-configuration.xml
A src/services/trunk/sandbox/sanjay/prototypes/restws/HelloWorld/HelloWorldClient/.project
A src/services/trunk/sandbox/sanjay/prototypes/restws/HelloWorld/HelloWorldClient/src
A src/services/trunk/sandbox/sanjay/prototypes/restws/HelloWorld/HelloWorldClient/src/test
A src/services/trunk/sandbox/sanjay/prototypes/restws/HelloWorld/HelloWorldClient/src/test/java
A src/services/trunk/sandbox/sanjay/prototypes/restws/HelloWorld/HelloWorldClient/src/test/java/org
A src/services/trunk/sandbox/sanjay/prototypes/restws/HelloWorld/HelloWorldClient/src/test/java/org/collectionspace
A src/services/trunk/sandbox/sanjay/prototypes/restws/HelloWorld/HelloWorldClient/src/test/java/org/collectionspace/hello
A src/services/trunk/sandbox/sanjay/prototypes/restws/HelloWorld/HelloWorldClient/src/test/java/org/collectionspace/hello/client
A src/services/trunk/sandbox/sanjay/prototypes/restws/HelloWorld/HelloWorldClient/src/test/java/org/collectionspace/hello/client/PersonServiceTest.java
A src/services/trunk/sandbox/sanjay/prototypes/restws/HelloWorld/HelloWorldClient/src/test/resources
A src/services/trunk/sandbox/sanjay/prototypes/restws/HelloWorld/HelloWorldClient/src/test/resources/log4j.xml
A src/services/trunk/sandbox/sanjay/prototypes/restws/HelloWorld/HelloWorldClient/src/main
A src/services/trunk/sandbox/sanjay/prototypes/restws/HelloWorld/HelloWorldClient/src/main/java
A src/services/trunk/sandbox/sanjay/prototypes/restws/HelloWorld/HelloWorldClient/src/main/java/org
A src/services/trunk/sandbox/sanjay/prototypes/restws/HelloWorld/HelloWorldClient/src/main/java/org/collectionspace
A src/services/trunk/sandbox/sanjay/prototypes/restws/HelloWorld/HelloWorldClient/src/main/java/org/collectionspace/hello
A src/services/trunk/sandbox/sanjay/prototypes/restws/HelloWorld/HelloWorldClient/src/main/java/org/collectionspace/hello/client
A src/services/trunk/sandbox/sanjay/prototypes/restws/HelloWorld/HelloWorldClient/src/main/java/org/collectionspace/hello/client/PersonClient.java
A src/services/trunk/sandbox/sanjay/prototypes/restws/HelloWorld/HelloWorldClient/src/main/java/org/collectionspace/hello/client/PersonProxy.java
A src/services/trunk/sandbox/sanjay/prototypes/restws/HelloWorld/HelloWorldClient/src/main/resources
A src/services/trunk/sandbox/sanjay/prototypes/restws/HelloWorld/HelloWorldClient/temp-testng-customsuite.xml
A src/services/trunk/sandbox/sanjay/prototypes/restws/HelloWorld/HelloWorldClient/pom.xml
A src/services/trunk/sandbox/sanjay/prototypes/restws/HelloWorld/HelloWorldClient/.settings
A src/services/trunk/sandbox/sanjay/prototypes/restws/HelloWorld/HelloWorldClient/.settings/org.eclipse.jdt.core.prefs
A src/services/trunk/sandbox/sanjay/prototypes/restws/HelloWorld/HelloWorldClient/.settings/org.maven.ide.eclipse.prefs
A src/services/trunk/sandbox/sanjay/prototypes/restws/HelloWorld/pom.xml
A src/services/trunk/sandbox/sanjay/prototypes/restws/HelloWorld/HelloWorldService
A src/services/trunk/sandbox/sanjay/prototypes/restws/HelloWorld/HelloWorldService/nbactions.xml
A src/services/trunk/sandbox/sanjay/prototypes/restws/HelloWorld/HelloWorldService/nb-configuration.xml
A src/services/trunk/sandbox/sanjay/prototypes/restws/HelloWorld/HelloWorldService/src
A src/services/trunk/sandbox/sanjay/prototypes/restws/HelloWorld/HelloWorldService/src/test
A src/services/trunk/sandbox/sanjay/prototypes/restws/HelloWorld/HelloWorldService/src/test/java
A src/services/trunk/sandbox/sanjay/prototypes/restws/HelloWorld/HelloWorldService/src/test/java/org
A src/services/trunk/sandbox/sanjay/prototypes/restws/HelloWorld/HelloWorldService/src/test/java/org/collectionspace
A src/services/trunk/sandbox/sanjay/prototypes/restws/HelloWorld/HelloWorldService/src/test/java/org/collectionspace/hello
A src/services/trunk/sandbox/sanjay/prototypes/restws/HelloWorld/HelloWorldService/src/test/java/org/collectionspace/hello/test
A src/services/trunk/sandbox/sanjay/prototypes/restws/HelloWorld/HelloWorldService/src/test/java/org/collectionspace/hello/test/PersonResourceTest.java
A src/services/trunk/sandbox/sanjay/prototypes/restws/HelloWorld/HelloWorldService/src/main
A src/services/trunk/sandbox/sanjay/prototypes/restws/HelloWorld/HelloWorldService/src/main/java
A src/services/trunk/sandbox/sanjay/prototypes/restws/HelloWorld/HelloWorldService/src/main/java/org
A src/services/trunk/sandbox/sanjay/prototypes/restws/HelloWorld/HelloWorldService/src/main/java/org/collectionspace
A src/services/trunk/sandbox/sanjay/prototypes/restws/HelloWorld/HelloWorldService/src/main/java/org/collectionspace/hello
A src/services/trunk/sandbox/sanjay/prototypes/restws/HelloWorld/HelloWorldService/src/main/java/org/collectionspace/hello/services
A src/services/trunk/sandbox/sanjay/prototypes/restws/HelloWorld/HelloWorldService/src/main/java/org/collectionspace/hello/services/HelloworldApplication.java
A src/services/trunk/sandbox/sanjay/prototypes/restws/HelloWorld/HelloWorldService/src/main/java/org/collectionspace/hello/services/PersonResource.java
A src/services/trunk/sandbox/sanjay/prototypes/restws/HelloWorld/HelloWorldService/src/main/java/org/collectionspace/hello/entity
A src/services/trunk/sandbox/sanjay/prototypes/restws/HelloWorld/HelloWorldService/src/main/java/org/collectionspace/hello/entity/Person.java
A src/services/trunk/sandbox/sanjay/prototypes/restws/HelloWorld/HelloWorldService/src/main/resources
A src/services/trunk/sandbox/sanjay/prototypes/restws/HelloWorld/HelloWorldService/src/main/webapp
A src/services/trunk/sandbox/sanjay/prototypes/restws/HelloWorld/HelloWorldService/src/main/webapp/WEB-INF
A src/services/trunk/sandbox/sanjay/prototypes/restws/HelloWorld/HelloWorldService/src/main/webapp/WEB-INF/web.xml
A src/services/trunk/sandbox/sanjay/prototypes/restws/HelloWorld/HelloWorldService/build.properties
A src/services/trunk/sandbox/sanjay/prototypes/restws/HelloWorld/HelloWorldService/pom.xml
A src/services/trunk/sandbox/sanjay/prototypes/restws/HelloWorld/HelloWorldService/README.txt
Aron Roberts [Sat, 28 Feb 2009 00:21:31 +0000 (00:21 +0000)]
An initial set of WADL-related resources, including the PDF copy of the spec, a RELAX NG Compact Format schema document for validating WADL documents, an XSLT stylesheet for generating HTML documentation from WADL documents, and a sample WADL document.
Aron Roberts [Fri, 27 Feb 2009 23:31:08 +0000 (23:31 +0000)]
CSPACE-12, CSPACE-13: Added all of the fields in the Hello, World example to the sample XML documents, and populated several fields with data from a sample PAHMA record of a Paiute Basket.
Changed the 'displayed' entity field attribute to a Boolean datatype, from an enumerated 'choice'.
Aron Roberts [Fri, 27 Feb 2009 22:23:13 +0000 (22:23 +0000)]
CSPACE-12, CSPACE-13: First iteration of a schema and example document for a service response - the result code, result message, and data returned from a CSpace service.
Aron Roberts [Thu, 26 Feb 2009 04:09:27 +0000 (04:09 +0000)]
CSPACE 12: Second iteration of RELAX NG schema for defining and validating an entity, and also - by way of example - a CollectionObject payload. This iteration now defines a set of core fields common to every entity object, a base definition for each field in that object, and two different alternatives - one using infoBlocks, one without - for enclosing sets of related fields. This set of schema now successfully validates a pair of test entity files, also included with this iteration. There are also comments about how we might perform in-line validation using Schematron rules.