You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oozie.apache.org by "Andras Piros (JIRA)" <ji...@apache.org> on 2018/07/31 08:44:00 UTC
[jira] [Commented] (OOZIE-3311) [fluent-job] Create an
ActionMarshaller
[ 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)