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] [Resolved] (GORA-236) Implement a JSON/Java-to-XML mapping tool to auto-generate gora-*-mapping.xml files
Date Fri, 14 May 2021 16:00:01 GMT

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

Lewis John McGibbney resolved GORA-236.
    Resolution: Won't Fix

> 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