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

Feat: metadata endpoint #512

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Feat: metadata endpoint #512

wants to merge 3 commits into from

Conversation

thekaveman
Copy link
Member

Closes #510

Testing this PR

  1. Checkout the branch locally, open in devcontainer
  2. Reset the DB: flask drop-db then flask init-db
  3. Confirm you see a record in the metadata table in the Sqlite database code -r /tmp/test.db
  4. Launch the app with F5
  5. Hit the /metadata endpoint, confirm output is as expected

@thekaveman thekaveman requested a review from a team as a code owner December 19, 2024 00:11
@thekaveman thekaveman self-assigned this Dec 19, 2024
@thekaveman thekaveman added the enhancement New feature or request label Dec 19, 2024
Copy link

Coverage report

Click to see where and how coverage changed

FileStatementsMissingCoverageCoverage
(new stmts)
Lines missing
  eligibility_server
  app.py
  eligibility_server/db
  models.py 11
  setup.py
Project Total  

This report was generated by python-coverage-comment-action

@thekaveman thekaveman marked this pull request as draft December 19, 2024 00:18
@thekaveman
Copy link
Member Author

thekaveman commented Dec 19, 2024

See #510 (comment) for why this is in Draft.

@thekaveman thekaveman marked this pull request as ready for review December 20, 2024 16:13
@thekaveman thekaveman changed the title Feat: metadata Feat: metadata endpoint Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Store and expose the database load timestamp
1 participant