Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 686 Bytes

README.md

File metadata and controls

30 lines (23 loc) · 686 Bytes

Wait-for-OpenMRS Github Action

This action waits for both the FHIR and REST endpoints of an OpenMRS instance to be available.

Inputs

target-url

Where OpenMRS is running, (e.g.) http://isanteplus:8080/openmrs

Required

interval

The interval between checking OpenMRS status, in seconds.

Required

timeout

The amount of time to try to connect before timing out, in seconds. Required

Example usage

uses: I-TECH-UW/[email protected]
with:
  target-url: http://localhost:8080/openmrs
  timeout: 1000
  interval: 10
docker run ghcr.io/i-tech-uw/wait-for-openmrs-action:latest http://openmrs:8080/openmrs 10 10000