application: ENTER_APPID_HERE
version: 1
runtime: python27
threadsafe: no
api_version: 1

inbound_services:
- warmup

libraries:
- name: PIL
  version: 1.1.7
- name: pycrypto
  version: 2.3
- name: webapp2
  version: latest

builtins:
- deferred: on


handlers:

# App Hosting Dev Console Admin, Warm Up handler, etc.

- url: /ahadmin/.*
  script: $PYTHON_LIB/google/appengine/ext/admin
  secure: always
  login: admin

- url: /_ah/warmup
  script: cauliflowervest.server.main.app
  secure: always
  login: admin

# Crons.

- url: /cron/group_sync
  script: cauliflowervest.server.cron.group_sync.app
  secure: always
  login: admin

# Static Files

- url: /static
  static_dir: cauliflowervest/server/static
  secure: always
  login: required

# Regular URL handlers.

- url: /(bitlocker|duplicity|filevault|luks|provisioning|xsrf-token)/.*
  script: cauliflowervest.server.main.app
  secure: always
  # login requirement explicitly omitted for OAuth2 support.


- url: /.*
  script: cauliflowervest.server.main.app
  secure: always
  login: required

application: ENTER_APPID_HERE
version: 1
runtime: python27
threadsafe: no
api_version: 1

inbound_services:
- warmup

libraries:
- name: PIL
  version: 1.1.7
- name: pycrypto
  version: 2.3
- name: webapp2
  version: latest

builtins:
- deferred: on


handlers:

# App Hosting Dev Console Admin, Warm Up handler, etc.

- url: /ahadmin/.*
  script: $PYTHON_LIB/google/appengine/ext/admin
  secure: always
  login: admin

- url: /_ah/warmup
  script: cauliflowervest.server.main.app
  secure: always
  login: admin

# Crons.

# Disabled by default; uncomment if group_sync is implemented in your environment.
# - url: /cron/group_sync
#   script: cauliflowervest.server.cron.group_sync.app
#   secure: always
#   login: admin

# Static Files

- url: /static
  static_dir: cauliflowervest/server/static
  secure: always
  login: required

# Regular URL handlers.

- url: /(bitlocker|duplicity|filevault|luks|provisioning|xsrf-token)/.*
  script: cauliflowervest.server.main.app
  secure: always
  # login requirement explicitly omitted for OAuth2 support.


- url: /.*
  script: cauliflowervest.server.main.app
  secure: always
  login: required

Disable /cron/group_sync by default, given it's not implemented.
Disable /cron/group_sync by default, given it's not implemented.

Comment out /cron/group_sync in app.yaml by default, given it's not implemented.  This should only run if CauliflowerVest customers implement their own group_sync.