Skip to content

Fail at spinup when ses is not bound #2272

Description

@exalate-issue-sync

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions