mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-01 23:55:58 -05:00
Add letter-scan bucket name to config
This commit is contained in:
@@ -328,6 +328,8 @@ class Development(Config):
|
|||||||
LETTERS_PDF_BUCKET_NAME = 'development-letters-pdf'
|
LETTERS_PDF_BUCKET_NAME = 'development-letters-pdf'
|
||||||
TEST_LETTERS_BUCKET_NAME = 'development-test-letters'
|
TEST_LETTERS_BUCKET_NAME = 'development-test-letters'
|
||||||
DVLA_RESPONSE_BUCKET_NAME = 'notify.tools-ftp'
|
DVLA_RESPONSE_BUCKET_NAME = 'notify.tools-ftp'
|
||||||
|
LETTERS_PDF_BUCKET_NAME = 'development-letters-pdf'
|
||||||
|
LETTERS_SCAN_BUCKET_NAME = 'development-letters-scan'
|
||||||
|
|
||||||
ADMIN_CLIENT_SECRET = 'dev-notify-secret-key'
|
ADMIN_CLIENT_SECRET = 'dev-notify-secret-key'
|
||||||
SECRET_KEY = 'dev-notify-secret-key'
|
SECRET_KEY = 'dev-notify-secret-key'
|
||||||
@@ -365,6 +367,8 @@ class Test(Development):
|
|||||||
LETTERS_PDF_BUCKET_NAME = 'test-letters-pdf'
|
LETTERS_PDF_BUCKET_NAME = 'test-letters-pdf'
|
||||||
TEST_LETTERS_BUCKET_NAME = 'test-test-letters'
|
TEST_LETTERS_BUCKET_NAME = 'test-test-letters'
|
||||||
DVLA_RESPONSE_BUCKET_NAME = 'test.notify.com-ftp'
|
DVLA_RESPONSE_BUCKET_NAME = 'test.notify.com-ftp'
|
||||||
|
LETTERS_PDF_BUCKET_NAME = 'test-letters-pdf'
|
||||||
|
LETTERS_SCAN_BUCKET_NAME = 'test-letters-scan'
|
||||||
|
|
||||||
# this is overriden in jenkins and on cloudfoundry
|
# this is overriden in jenkins and on cloudfoundry
|
||||||
SQLALCHEMY_DATABASE_URI = os.getenv('SQLALCHEMY_DATABASE_URI', 'postgresql://localhost/test_notification_api')
|
SQLALCHEMY_DATABASE_URI = os.getenv('SQLALCHEMY_DATABASE_URI', 'postgresql://localhost/test_notification_api')
|
||||||
@@ -393,6 +397,8 @@ class Preview(Config):
|
|||||||
LETTERS_PDF_BUCKET_NAME = 'preview-letters-pdf'
|
LETTERS_PDF_BUCKET_NAME = 'preview-letters-pdf'
|
||||||
TEST_LETTERS_BUCKET_NAME = 'preview-test-letters'
|
TEST_LETTERS_BUCKET_NAME = 'preview-test-letters'
|
||||||
DVLA_RESPONSE_BUCKET_NAME = 'notify.works-ftp'
|
DVLA_RESPONSE_BUCKET_NAME = 'notify.works-ftp'
|
||||||
|
LETTERS_PDF_BUCKET_NAME = 'preview-letters-pdf'
|
||||||
|
LETTERS_SCAN_BUCKET_NAME = 'preview-letters-scan'
|
||||||
FROM_NUMBER = 'preview'
|
FROM_NUMBER = 'preview'
|
||||||
API_RATE_LIMIT_ENABLED = True
|
API_RATE_LIMIT_ENABLED = True
|
||||||
CHECK_PROXY_HEADER = True
|
CHECK_PROXY_HEADER = True
|
||||||
@@ -405,6 +411,8 @@ class Staging(Config):
|
|||||||
LETTERS_PDF_BUCKET_NAME = 'staging-letters-pdf'
|
LETTERS_PDF_BUCKET_NAME = 'staging-letters-pdf'
|
||||||
TEST_LETTERS_BUCKET_NAME = 'staging-test-letters'
|
TEST_LETTERS_BUCKET_NAME = 'staging-test-letters'
|
||||||
DVLA_RESPONSE_BUCKET_NAME = 'staging-notify.works-ftp'
|
DVLA_RESPONSE_BUCKET_NAME = 'staging-notify.works-ftp'
|
||||||
|
LETTERS_PDF_BUCKET_NAME = 'staging-letters-pdf'
|
||||||
|
LETTERS_SCAN_BUCKET_NAME = 'staging-letters-scan'
|
||||||
STATSD_ENABLED = True
|
STATSD_ENABLED = True
|
||||||
FROM_NUMBER = 'stage'
|
FROM_NUMBER = 'stage'
|
||||||
API_RATE_LIMIT_ENABLED = True
|
API_RATE_LIMIT_ENABLED = True
|
||||||
@@ -419,6 +427,8 @@ class Live(Config):
|
|||||||
LETTERS_PDF_BUCKET_NAME = 'production-letters-pdf'
|
LETTERS_PDF_BUCKET_NAME = 'production-letters-pdf'
|
||||||
TEST_LETTERS_BUCKET_NAME = 'production-test-letters'
|
TEST_LETTERS_BUCKET_NAME = 'production-test-letters'
|
||||||
DVLA_RESPONSE_BUCKET_NAME = 'notifications.service.gov.uk-ftp'
|
DVLA_RESPONSE_BUCKET_NAME = 'notifications.service.gov.uk-ftp'
|
||||||
|
LETTERS_PDF_BUCKET_NAME = 'production-letters-pdf'
|
||||||
|
LETTERS_SCAN_BUCKET_NAME = 'production-letters-scan'
|
||||||
STATSD_ENABLED = True
|
STATSD_ENABLED = True
|
||||||
FROM_NUMBER = 'GOVUK'
|
FROM_NUMBER = 'GOVUK'
|
||||||
FUNCTIONAL_TEST_PROVIDER_SERVICE_ID = '6c1d81bb-dae2-4ee9-80b0-89a4aae9f649'
|
FUNCTIONAL_TEST_PROVIDER_SERVICE_ID = '6c1d81bb-dae2-4ee9-80b0-89a4aae9f649'
|
||||||
@@ -440,6 +450,8 @@ class Sandbox(CloudFoundryConfig):
|
|||||||
LETTERS_PDF_BUCKET_NAME = 'cf-sandbox-letters-pdf'
|
LETTERS_PDF_BUCKET_NAME = 'cf-sandbox-letters-pdf'
|
||||||
TEST_LETTERS_BUCKET_NAME = 'cf-sandbox-test-letters'
|
TEST_LETTERS_BUCKET_NAME = 'cf-sandbox-test-letters'
|
||||||
DVLA_RESPONSE_BUCKET_NAME = 'notify.works-ftp'
|
DVLA_RESPONSE_BUCKET_NAME = 'notify.works-ftp'
|
||||||
|
LETTERS_PDF_BUCKET_NAME = 'cf-sandbox-letters-pdf'
|
||||||
|
LETTERS_SCAN_BUCKET_NAME = 'cf-sandbox-virus-check-pdf'
|
||||||
FROM_NUMBER = 'sandbox'
|
FROM_NUMBER = 'sandbox'
|
||||||
REDIS_ENABLED = False
|
REDIS_ENABLED = False
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user