gora-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Ratnasekera (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (GORA-236) Implement a JSON/Java-to-XML mapping tool to auto-generate gora-*-mapping.xml files
Date Thu, 02 May 2019 08:29:00 GMT

     [ https://issues.apache.org/jira/browse/GORA-236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Kevin Ratnasekera updated GORA-236:
    Fix Version/s:     (was: 0.9)

> Implement a JSON/Java-to-XML mapping tool to auto-generate gora-*-mapping.xml files
> -----------------------------------------------------------------------------------
>                 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, maven, schema
>            Reporter: Lewis John McGibbney
>            Assignee: Lewis John McGibbney
>            Priority: Minor
>             Fix For: 1.0
> The idea here is to lower the barrier for entry for folks wishing to get up and running
with Gora.
> 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,
> 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 was sent by Atlassian JIRA

View raw message