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

Create CANHistory endpoint #3277

Closed
wants to merge 12 commits into from

Conversation

rajohnson90
Copy link
Contributor

@rajohnson90 rajohnson90 commented Jan 7, 2025

What changed

Creating /can-history endpoint so users can retrieve the history of all actions performed on can. Adding test data to the database so that the can history can be interacted with from the front end in dev environments before any can history events have been triggered.

Issue

OPS-3276

How to test

Run all tests

Definition of Done Checklist

  • OESA: Code refactored for clarity
  • OESA: Dependency rules followed
  • Automated unit tests updated and passed
  • Automated integration tests updated and passed
  • Automated quality tests updated and passed
  • Automated load tests updated and passed
  • Automated a11y tests updated and passed
  • Automated security tests updated and passed
  • 90%+ Code coverage achieved
  • Form validations updated

@rajohnson90 rajohnson90 added python Pull requests that update Python code Dev Backend Ready Backend, Pipeline, or other UX related work is refined, and ready for Developers labels Jan 7, 2025
@rajohnson90 rajohnson90 self-assigned this Jan 7, 2025
@@ -31,6 +31,7 @@ services:
/bin/sh -c "
. .venv/bin/activate &&
alembic upgrade head &&
DATA=./data_tools/data/ops_event.json5 python ./data_tools/src/import_static_data/import_data.py
Copy link
Contributor

@jonnalley jonnalley Jan 9, 2025

Choose a reason for hiding this comment

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

@rajohnson90 I think you'll need an && on the end of this line. That is likely why the current pipeline is failing on this

@rajohnson90
Copy link
Contributor Author

I missed that a single commit had a capital letter in it and there's no good way to fix it. Recreating this PR in #3288 where there is no commit-lint issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Dev Backend Ready Backend, Pipeline, or other UX related work is refined, and ready for Developers python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants