mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-19 14:09:20 -04:00
move service to broadcast org when broadcasting is enabled
we want to keep track of all broadcast services across govt easily. As such, when broadcasting is enabled for a service, we've decided we're going to add the service to a special broadcasting organisation. This organisation is defined in the config file. It's hard coded for production, if you want to test locally, you should set BROADCAST_ORGANISATION_ID in your local environment.
This commit is contained in:
@@ -84,6 +84,8 @@ class Config(object):
|
||||
ASSET_DOMAIN = ''
|
||||
ASSET_PATH = '/static/'
|
||||
|
||||
BROADCAST_ORGANISATION_ID = os.environ.get('BROADCAST_ORGANISATION_ID')
|
||||
|
||||
NOTIFY_SERVICE_ID = 'd6aa2c68-a2d9-4437-ab19-3ae8eb202553'
|
||||
|
||||
|
||||
@@ -177,6 +179,8 @@ class Live(Config):
|
||||
ASSET_DOMAIN = 'static.notifications.service.gov.uk'
|
||||
ASSET_PATH = 'https://static.notifications.service.gov.uk/'
|
||||
|
||||
BROADCAST_ORGANISATION_ID = '38e4bf69-93b0-445d-acee-53ea53fe02df'
|
||||
|
||||
|
||||
class CloudFoundryConfig(Config):
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user