Skip to content

Updating the API to account for audit table, and refactoring.#4845

Merged
jrothacker merged 2 commits into
jr/source-of-truth/mainfrom
jr/source-of-truth/api
Apr 3, 2025
Merged

Updating the API to account for audit table, and refactoring.#4845
jrothacker merged 2 commits into
jr/source-of-truth/mainfrom
jr/source-of-truth/api

Conversation

@jrothacker
Copy link
Copy Markdown
Contributor

Purpose

We want to use the new Audit table everywhere that the previous sac table or dissemination tables were used previously.

How

This is updating the API app to use the audit table, adding new endpoints where it makes sense for both sac and audit to run in parallel.

Testing Done

Linting, Unit Tests, End to End, Manual Tests.

Copy link
Copy Markdown
Contributor

@rnovak338 rnovak338 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work on the API refactoring, I cross-checked to ensure nothing is missing from the original two files.

Linting, e2e, unit tests are passing on my end, I left two more comments for review before approval.

Comment thread backend/config/urls.py
Comment thread backend/dissemination/management/commands/migrate_audits.py Outdated
@jrothacker jrothacker force-pushed the jr/source-of-truth/api branch from e16fe03 to 742eee1 Compare April 2, 2025 22:42
@jrothacker jrothacker merged commit 44bf4d4 into jr/source-of-truth/main Apr 3, 2025
@jrothacker jrothacker deleted the jr/source-of-truth/api branch April 3, 2025 18:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants