예제 #1
0
파일: conf.py 프로젝트: 15580056814/hue
def config_validator(user):
  res = []

  status = get_oozie_status(user)

  if 'NORMAL' not in status:
    res.append((NICE_NAME, _("The app won't work without a running Oozie server")))

  return res
예제 #2
0
파일: conf.py 프로젝트: sandredd/hue-1
def config_validator(user):
  res = []

  if not 'test' in sys.argv: # Avoid tests hanging
    status = get_oozie_status(user)

    if 'NORMAL' not in status:
      res.append((NICE_NAME, _("The app won't work without a running Oozie server")))

  return res
예제 #3
0
파일: conf.py 프로젝트: rferolino/hue
def config_validator():
  res = []

  if not 'test' in sys.argv: # Avoid tests hanging
    status = get_oozie_status()
  
    if 'NORMAL' not in status:
      res.append((NICE_NAME, _("The app won't work without a running Oozie server")))

  return res
예제 #4
0
def config_validator(user):
    res = []

    status = get_oozie_status(user)

    if 'NORMAL' not in status:
        res.append((NICE_NAME,
                    _("The app won't work without a running Oozie server")))

    return res