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

Verify that a Device is Opened and Claimed Before Calling Health #10

Open
bmcecilia3 opened this issue Oct 5, 2023 · 0 comments
Open

Comments

@bmcecilia3
Copy link
Collaborator

Problem: Currently, health checks are failing because the endpoint is being called before a device is opened and claimed.

Solution: Add a check in health endpoints of all devices to verify that each device is opened and claimed before returning the device health.

Acceptance Criteria: When health is called, first check what state the device is in (Opened, Claimed or Closed). If the device is in an 'opened' or 'closed' state, skip the device health check and immediately return that the device is 'NOT_READY'. If the device has been 'opened' and 'claimed', then proceed to the health check an return the result of the health check (either READY or NOT_READY)

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

No branches or pull requests

1 participant