Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configuration and Pre-work for GSPC Email Enhancement #690

Open
JennaySDavis opened this issue Oct 30, 2024 · 1 comment
Open

Configuration and Pre-work for GSPC Email Enhancement #690

JennaySDavis opened this issue Oct 30, 2024 · 1 comment

Comments

@JennaySDavis
Copy link
Contributor

Tech Task:

  • Complete pre-work for the GSPC Email enhancement.
@felder101
Copy link
Contributor

Reached out to the service and delivery team regarding possible approved tools that could be utilize to help with resolving our email processing. Per discussion possible solutions are the following.

  • Using Postgres triggers to send email when record has been added to the database. There is no current known working example within GSA and there might be limitations with application database being hosted on cloud.gov.
  • Create an small application that will run independently of the training application to process queued emails from the database. This will increase the scope of the approved ATO as another application is added with this solution. This solution significantly increase effort compared to other solutions.
  • Utilize FastAPI background task to send emails in the background. This utilize existing framework and will not require a lot of code changes, however there are updates that need to be made to the database with this change.

Based on the research I believe utilizing the FastAPI background task will resolve our limitation with sending emails and and will require the least amount of code changes compared to the other solutions mentioned.

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

No branches or pull requests

2 participants