[ 
https://issues.apache.org/jira/browse/OOZIE-3311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16563308#comment-16563308
 ] 

Andras Piros commented on OOZIE-3311:
-------------------------------------

Good idea [~matijhs]! Those {{ActionMarshaller}} classes could reside in 
{{org.apache.fluentjob.api.serialization}} package, and could share some 
functionality of the existing {{WorkflowMarshaller}}.

Interesting question is the handling of the XML namespaces, see 
{{WorkflowMarshaller#filterPackages()}}. Another detail to bear in mind can be 
generalizing the method signature (instead of overriding the method any single 
time we need a new {{Action}} to support), like {{ActionMarshaller#marshal(Node 
node)}}.

> [fluent-job] Create an ActionMarshaller
> ---------------------------------------
>
>                 Key: OOZIE-3311
>                 URL: https://issues.apache.org/jira/browse/OOZIE-3311
>             Project: Oozie
>          Issue Type: Sub-task
>            Reporter: Mate Juhasz
>            Assignee: Mate Juhasz
>            Priority: Major
>
> It would be handy to create action xmls in unit tests via the Fluent-Job API, 
> thus an "action to xml" conversion could be implemented.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to