Merge pull request #941 from alphagov/load-service-on-auth

Load service on auth
This commit is contained in:
minglis
2017-05-17 10:49:00 +01:00
committed by GitHub
14 changed files with 75 additions and 109 deletions

View File

@@ -199,6 +199,7 @@ class Config(object):
######################
class Development(Config):
SQLALCHEMY_ECHO = False
NOTIFY_EMAIL_DOMAIN = 'notify.tools'
CSV_UPLOAD_BUCKET_NAME = 'development-notifications-csv-upload'
NOTIFY_ENVIRONMENT = 'development'
@@ -237,7 +238,7 @@ class Test(Config):
Queue('send-email', Exchange('default'), routing_key='send-email'),
Queue('research-mode', Exchange('default'), routing_key='research-mode')
]
REDIS_ENABLED = True
API_RATE_LIMIT_ENABLED = True
API_HOST_NAME = "http://localhost:6011"
@@ -296,6 +297,7 @@ class Sandbox(CloudFoundryConfig):
NOTIFY_ENVIRONMENT = 'sandbox'
CSV_UPLOAD_BUCKET_NAME = 'cf-sandbox-notifications-csv-upload'
FROM_NUMBER = 'sandbox'
REDIS_ENABLED = False
configs = {