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

ENP Connect to DB when Deployed #159

Open
5 tasks
EvanParish opened this issue Feb 3, 2025 · 0 comments
Open
5 tasks

ENP Connect to DB when Deployed #159

EvanParish opened this issue Feb 3, 2025 · 0 comments
Labels
Notify Board trigger QA Issue requires QA collaboration

Comments

@EvanParish
Copy link
Contributor

User Story - Business Need

Currently the deployed ENP code cannot connect to the database hosted in RDS. This requires some changes to how we construct the database uri. It will no longer be passed in a single environment variable and will need to be constructed from a few different ones, see Additional Info below.

  • Ticket is understood, and QA has been contacted (if the ticket has a QA label).

User Story(ies)

As a backend engineer
I want to connect to the database when the application is deployed
So that the FastAPI codebase is useable when deployed

Additional Info and Resources

  • We will need to alter the code to build the database connection string based on the appropriate secrets. These secrets are available as environment variables.
    • DB_AUTH
    • DB_HOSTNAME
    • DB_HOSTNAME_READ

Acceptance Criteria

  • When ENP is deployed the code can connect to our database in RDS
  • Local database connection is still intact for running the app locally
  • This work is added to the sprint review slide deck (key win bullet point and demo slide)

QA Considerations

  • Endpoints that rely on database connections are able to execute successfully

Potential Dependencies

Out of Scope

@EvanParish EvanParish added Notify Board trigger QA Issue requires QA collaboration labels Feb 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Notify Board trigger QA Issue requires QA collaboration
Projects
None yet
Development

No branches or pull requests

1 participant