Explorar o código

HUE-8729 [oozie] Add property archive to Spark Action

Change-Id: I5282b88291910e02c658d4ddbf17b28276227e0c
Ying Chen %!s(int64=6) %!d(string=hai) anos
pai
achega
1da717c
Modificáronse 1 ficheiros con 8 adicións e 1 borrados
  1. 8 1
      apps/oozie/src/oozie/models2.py

+ 8 - 1
apps/oozie/src/oozie/models2.py

@@ -2125,7 +2125,14 @@ class SparkAction(Action):
           'help_text': _('Path to file to put in the running directory.'),
           'type': ''
      },
-    'class': {
+     'archives': {
+          'name': 'archives',
+          'label': _('Archives'),
+          'value': [],
+          'help_text': _('zip, tar and tgz/tar.gz uncompressed into the running directory.'),
+          'type': ''
+     },
+     'class': {
           'name': 'class',
           'label': _('Main class'),
           'value': '',