Closed josh-chamberlain closed 3 months ago
Prior to eliminating regular_api_check.py
, we may want to evaluate whether migrating some of these checks to the Health Monitoring repo is useful. I have a few reasons for why they may not be, however:
I've created an issue advocating for what to include in health monitoring: Police-Data-Accessibility-Project/health-monitoring#3.
@josh-chamberlain @maxachis I went ahead and completed the outlined changes in the linked branch. I can hold off on submitting the PR if you wanted to evaluate if there are any checks worth saving before moving forward
@josh-chamberlain @maxachis I went ahead and completed the outlined changes in the linked branch. I can hold off on submitting the PR if you wanted to evaluate if there are any checks worth saving before moving forward
@EvilDrPurple From my vantage point, you can go ahead and submit: After reviewing, I only saw one that might need re-adding, and only as an integration test, not as a health check: I've noted that in Police-Data-Accessibility-Project/data-sources-app#329
Saving the pagination check is good, but I figured since this wasn't working anyway it'd be better to deprecate and move to the new tests. Thanks y'all! @EvilDrPurple you could feel free to look at Police-Data-Accessibility-Project/data-sources-app#329 if you want to work on tests in the new infrastructure.
Context
We used to have a github action that periodically ran to check the API for basic functionality. Now, we have the health monitoring repo.
These tests were related to Police-Data-Accessibility-Project/data-sources-app#154
Requirements
VUE_APP_PDAP_API_KEY
andVUE_APP_PDAP_TOKEN
variables at the org levelVUE_APP_PDAP_API_KEY
variable