Răsfoiți Sursa

[oozie] Add credentials default to the examples

Romain Rigaux 11 ani în urmă
părinte
comite
2672423cb0

Fișier diff suprimat deoarece este prea mare
+ 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']

Unele fișiere nu au fost afișate deoarece prea multe fișiere au fost modificate în acest diff