|
The following comment has been added to this issue: |
[ Permlink ] |
Author: Thierry Delprat
Date: 03/05/07 01:35
Comment:
Data import
===========
Target :
--------
The target is to provide an easy and pluggable way to import content into the Nuxeo5.
The entry point used will be the core API via the Platform service:
- connect via POJO on stand alone core
- via EJB remoting on JBoss embeded core
Pipeline :
----------
In order to provide a pluggable solution, we use a NxRuntime service with 3 Extension points:
- Data Reader : read data from a source
- read all data from an external source
- read some data from the core (NXQL query)
=> return simple DocumentModel like artifacts (HashMaps or XML tree)
- Data transformer : convert read data to the storage structure
- field mapping
- meta-data extraction
- Data Writer : write data to the target destination
- write to an external source
- write to the core
=> The writter may implement batch writting for transactions optimisations
NXDocumentPipe also support an configuration Extension Point that defines the configuration of a pipe :
- one reader with one config
- one converter with one config
- one writer with one config
Starter kit :
-------------
Beside the DocumentPipe service, we must provide :
- a core reader :
- NXQL based extraction
- supports pagination
- a simple XSLT converter
- DM => XML =XLST=> XML => DM
- a simple Field mapper
- a core writer
- supports batch transations
- configuration for base path
- configuration for events disconnection
- starts reIndexall at the end
- a XML reader : reads XML representation of DocumentModels
- a XML writer : serialize DocumentModel as a simple <doc><schema><field> tree
|
|
Implement an import / export feature that allows to export a list of documents (any type) and repository-related information (ex: security, versioning, etc.).
The export format should be XML based and reuse the XMLSchema definition of content type.
|
|
|
|
|
|
_______________________________________________
ECM-tickets mailing list
ECM-tickets@lists.nuxeo.com
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets