mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-23 17:01:35 -05:00
Merge pull request #64 from alphagov/separate_queue_name_per_environment
updated environment variables.
This commit is contained in:
@@ -30,22 +30,24 @@ class Development(Config):
|
|||||||
ADMIN_CLIENT_SECRET = 'dev-notify-secret-key'
|
ADMIN_CLIENT_SECRET = 'dev-notify-secret-key'
|
||||||
DELIVERY_CLIENT_USER_NAME = 'dev-notify-delivery'
|
DELIVERY_CLIENT_USER_NAME = 'dev-notify-delivery'
|
||||||
DELIVERY_CLIENT_SECRET = 'dev-notify-secret-key'
|
DELIVERY_CLIENT_SECRET = 'dev-notify-secret-key'
|
||||||
|
NOTIFICATION_QUEUE_PREFIX = 'notification_development'
|
||||||
|
|
||||||
|
|
||||||
class Test(Development):
|
class Test(Development):
|
||||||
SQLALCHEMY_DATABASE_URI = 'postgresql://localhost/test_notification_api'
|
SQLALCHEMY_DATABASE_URI = 'postgresql://localhost/test_notification_api'
|
||||||
|
NOTIFICATION_QUEUE_PREFIX = 'notification_test'
|
||||||
|
|
||||||
|
|
||||||
class Preview(Config):
|
class Preview(Config):
|
||||||
pass
|
NOTIFICATION_QUEUE_PREFIX = 'notification_preview'
|
||||||
|
|
||||||
|
|
||||||
class Staging(Config):
|
class Staging(Config):
|
||||||
pass
|
NOTIFICATION_QUEUE_PREFIX = 'notification_staging'
|
||||||
|
|
||||||
|
|
||||||
class Live(Config):
|
class Live(Config):
|
||||||
pass
|
NOTIFICATION_QUEUE_PREFIX = 'notification_live'
|
||||||
|
|
||||||
|
|
||||||
configs = {
|
configs = {
|
||||||
|
|||||||
Reference in New Issue
Block a user