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

check_data_service() only works with staging API? #36

Open
Aariq opened this issue Nov 12, 2024 · 1 comment
Open

check_data_service() only works with staging API? #36

Aariq opened this issue Nov 12, 2024 · 1 comment

Comments

@Aariq
Copy link
Collaborator

Aariq commented Nov 12, 2024

The check_data_service() function pings "https://services-staging.usanpn.org/web-services/geo.html" but there doesn't seem to be an equivalent "https://services.usanpn.org/web-services/geo.html" page.

@Aariq
Copy link
Collaborator Author

Aariq commented Nov 19, 2024

Low priority because this is only used to skip tests if a service is down. There is no equivalent endpoint because production services don't use swagger. Instead, build check_service() functions that do reliable, fast queries and check that something is returned. Eventually, these might be nice to include at the top of each function to have it fail fast and return an informative error message if services are down.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant