ONLY WHEN EMAIL FLAG IS ON
so that we know the system is not configured correctly, raise an exception when the api tries to connect to a configured SES service. See example of this for Redis:
|
raise SystemError("SYSTEM_STATUS_CACHE_BACKEND is not set") |
See fec website work on the topic: https://github.com/fecgov/openFEC/blob/de9ea87ba69b3b2aefb9ab1c1f14bc3512b045f7/webservices/config.py#L35 their solution groups critical services together in one place
Ensure that this failure happens while spinning up the api and leaves the incumbent instances running rather than replacing them and failing later.
QA Notes
null
DEV Notes
null
Design
null
See full ticket and images here: FECFILE-3394
ONLY WHEN EMAIL FLAG IS ON
so that we know the system is not configured correctly, raise an exception when the api tries to connect to a configured SES service. See example of this for Redis:
fecfile-web-api/django-backend/fecfiler/devops/utils/redis_utils.py
Line 10 in f08b3ec
See fec website work on the topic: https://github.com/fecgov/openFEC/blob/de9ea87ba69b3b2aefb9ab1c1f14bc3512b045f7/webservices/config.py#L35 their solution groups critical services together in one place
Ensure that this failure happens while spinning up the api and leaves the incumbent instances running rather than replacing them and failing later.
QA Notes
null
DEV Notes
null
Design
null
See full ticket and images here: FECFILE-3394