Browse Source

[oozie] Add credentials default to the examples

Romain Rigaux 10 years ago
parent
commit
2672423cb0

File diff suppressed because it is too large
+ 0 - 0
apps/oozie/src/oozie/fixtures/initial_oozie_examples.json


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

@@ -347,10 +347,8 @@ class Node():
       self.data['properties']['files'] = []
     if 'archives' not in self.data['properties']:
       self.data['properties']['archives'] = []
-    if 'sla_enabled' not in self.data['properties']:
-      self.data['properties']['sla_enabled'] = False
     if 'sla' not in self.data['properties']:
-      self.data['properties']['sla'] = []
+      self.data['properties']['sla'] = Workflow.SLA_DEFAULT
 
   def get_template_name(self):
     return 'editor2/gen/workflow-%s.xml.mako' % self.data['type']

Some files were not shown because too many files changed in this diff