Explorar el Código

[oozie] Support for Job XML in action

Romain Rigaux hace 11 años
padre
commit
179c1a633a

+ 1 - 2
apps/oozie/src/oozie/templates/editor/workflow_editor.mako

@@ -273,8 +273,7 @@ ${ dashboard.layout_skeleton() }
             ${ _('Delete') } <i class="fa fa-plus"></i>
           </button>
           <br/>
-          prepares <input type="text" data-bind="value: properties.prepares" /></br>
-          job_xml <input type="text" data-bind="value: properties.job_xml" /></br>
+          ${ _('Job XML') } <input type="text" data-bind="value: properties.job_xml" /></br>
           proeperties <input type="text" data-bind="value: properties.properties" /></br>
           parameters <input type="text" data-bind="value: properties.parameters" /></br>
           archives <input type="text" data-bind="value: properties.archives" /></br>

+ 1 - 0
apps/oozie/src/oozie/views/editor2.py

@@ -177,6 +177,7 @@ def add_node(request):
       'files': [],
       'archives': [],
       'prepares': [],
+      'job_xml': '',
   })
 
   response['status'] = 0