[
https://issues.apache.org/jira/browse/OOZIE-2980?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daniel Becker updated OOZIE-2980:
---------------------------------
Attachment: OOZIE-2980-003-wip.patch
Renamed the _oozie-jobs-api_ directory to _jobs-api_ to adapt to the naming
scheme of the other subprojects.
Corrected the name of the *unmarshalWorkflowApp()* method to
*marshalWorkflowApp()* in the file *TestJAXBWorkflow.java* as it marshals, not
unmarshals a workflow.
> JAXB Proof of Concept
> ---------------------
>
> Key: OOZIE-2980
> URL: https://issues.apache.org/jira/browse/OOZIE-2980
> Project: Oozie
> Issue Type: Sub-task
> Components: client
> Affects Versions: 4.3.0
> Reporter: Andras Piros
> Assignee: Daniel Becker
> Attachments: OOZIE-2980-001-wip.patch, OOZIE-2980-002-wip.patch,
> OOZIE-2980-003-wip.patch
>
> Original Estimate: 24h
> Time Spent: 24h
> Remaining Estimate: 0h
>
> Create a proof of concept w/ JAXB that:
> * only works for workflows
> * given a workflow XSD file
> Following activities in descending complexity order:
> * auto-generates the JAXB beans w/ the
> [*{{jaxb2-maven-plugin}}*|http://www.mojohaus.org/jaxb2-maven-plugin/Documentation/v2.2/]
> * code / configs are stored in a Maven subproject
> * can read a {{workflow.xml}} into JAXB beans
> * can write a JAXB bean into {{workflow.xml}}
> * make unit tests for XML -> JAXB and JAXB -> XML use cases
> * parametrization ({{job.properties}} key / value pairs), as well as EL
> functions (like {{$\{wf:currentUser()\}}}) are stored as plain strings
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)