Florent,

It would probably be useful to synchronized the mapping models used by
jackrabbit-spi2cmis and chemistry-jcr. How do you think this could be
done?

That would definitely be a good idea and I was thinking about it a while ago. Optimally we could do jcr2cmis <-> cmis2jcr and also cmis2jcr <-> jcr2cmis and get the identity mapping in both cases. That would be great for integration testing.

AFAIK chemistry-jcr does the mapping more or less on the fly. For spi2cmis I tried to isolate the mapping into the various ...Transformer classes. I think it would be a nice approach if chemistry-jcr would also factor its mapping into separate classes containing the inverse mappings of the above. That would give us a good opportunity for unit testing: plugging the Transformers from both modules together should again result in identity maps. I'll ping Dominique about this.

Michael


Bye,
Florent

On Thu, Jan 21, 2010 at 1:14 AM, Michael Dürig <[email protected]> wrote:
Over at Apache Jackrabbit I just committed an initial version of an spi2cmis
module to the sandbox:

https://svn.apache.org/repos/asf/jackrabbit/sandbox/jackrabbit-spi2cmis

Since the module uses Apache Chemistry I thought I drop a note to this list.
If this is not appreciated I apologize for the noise. Feedback is welcome.

Michael


Jackrabbit SPI to CMIS -- spi2cmis

Introduction
------------
This is an experimental implementation of a bridge from JCR to the
emerging Content Management Interoperability Services standard (CMIS).
Visit http://www.oasis-open.org/committees/tc_home.php?wg_abbrev=cmis
for more information on CMIS.

This implementation depends on Apache Jackrabbit SPI on the JCR side
and on Apache Chemistry on the CMIS side. See
http://jackrabbit.apache.org/jackrabbit-spi.html for more information
on Apache Jackrabbit SPI and  http://incubator.apache.org/chemistry/
for more information on Apache Chemistry.


Features
--------
* Exposing meta data from a CMIS repository as JCR hierarchy.

* Mapping CMIS object types to JCR node and property types.

* Interoperable with Apache Chemistry's CMIS implementation, Nuxeo's
 CMIS demo at http://cmis.demo.nuxeo.org/nuxeo/site/cmis/repository
 and with Alfresco's CMIS Repository at
 http://cmis.alfresco.com/service/cmis.


Not (yet) implemented
---------------------
* Content streams: currently there is no way to access the content
 stream of a CMIS document.

* Mapping to nt:folder, nt:file: cmis:folder and cmis:document should
 map to nt:folder and nt:file in JCR.

* Query support

* Access control support

* Multi-filing support

* Support for relationships

* Support for policies

* Support for versioning


Getting started
---------------
You can build spi2cmis with Maven 2.2.1 and Java 5:

   mvn clean install

Please refer to the tests in /src/test for basic usage information
of the spi2cmis module.








Reply via email to