gora-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lewis John McGibbney (JIRA)" <j...@apache.org>
Subject [jira] [Created] (GORA-236) Implement data model tool for gora-*-mapping.xml archetype's
Date Sat, 01 Jun 2013 02:14:19 GMT
Lewis John McGibbney created GORA-236:

             Summary: Implement data model tool for gora-*-mapping.xml archetype's  
                 Key: GORA-236
                 URL: https://issues.apache.org/jira/browse/GORA-236
             Project: Apache Gora
          Issue Type: New Feature
          Components: avro, build process, gora-core, schema
            Reporter: Lewis John McGibbney
            Priority: Minor
             Fix For: 0.4

The idea here is to lower the barrier for entry for folks wishing to get up and running with
Currently when pulling Gora Maven artifacts, the confiuguration process is 'usually' as follows
* write your gora.properties file
* write your .avsc which effectively determines your data and persistence model and storage
* generate your data store specific gora-${insert_data_store_here}-mapping.xml file

I think it would be real nice if we could provide a data modelling tool which effectively
can run within the GoraCompiler phase of the data modelling and persistent code generation
phase of the Gora lifecycle.
Effectively what this would require is some tool which would compliment the GoraCompiler and
would auto generate a template for your mapping file with default attributes, values, etc.

I think (and hope) that such a tool would enable us to lower the barrier further for new folk
wish to use Gora within their pipeline to persist data somewhere.

On my travels, I came across Xstream [0], which (AFAIK) reads JSON and produces XML. Maybe
this could be utilized to achieve the above.  

[0] http://xstream.codehaus.org/

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message