소스 검색

[oozie] Add credentials default to the examples

Romain Rigaux 11 년 전
부모
커밋
2672423cb0
2개의 변경된 파일1개의 추가작업 그리고 3개의 파일을 삭제
  1. 0 0
      apps/oozie/src/oozie/fixtures/initial_oozie_examples.json
  2. 1 3
      apps/oozie/src/oozie/models2.py

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 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'] = []
       self.data['properties']['files'] = []
     if 'archives' not in self.data['properties']:
     if 'archives' not in self.data['properties']:
       self.data['properties']['archives'] = []
       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']:
     if 'sla' not in self.data['properties']:
-      self.data['properties']['sla'] = []
+      self.data['properties']['sla'] = Workflow.SLA_DEFAULT
 
 
   def get_template_name(self):
   def get_template_name(self):
     return 'editor2/gen/workflow-%s.xml.mako' % self.data['type']
     return 'editor2/gen/workflow-%s.xml.mako' % self.data['type']

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.