Skip to content

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

@bmcecilia3

Description

@bmcecilia3

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions