Skip to content

Service RadarProxy

Burke Mamlin edited this page Jul 25, 2022 · 1 revision

License

MPL 2.0

OpenMRS Radar Proxy

Simple proxy for OpenMRS Radar Data, using a service account to reflect Google Sheet data in the format needed by thoughtworks/build-your-own-radar OpenMRS Radar, allowing OpenMRS Radar to read data from the Google Sheet without having to bother with authentication details.

Technical Details

Repository: openmrs-contrib-radarproxy

A node express server exposes data from a Google Spreadsheet in a format needed by the radar tool. Necessary settings are provided to this server through environment variables so the data can be retrieved via /openmrs%20radar.json without the need for authentication.

Testing

You can test if radarproxy is working by visiting https://radarproxy.openmrs.org/openmrs%20radar.json (this should display JSON data from the om.rs/radardata Google sheet.

Troubleshooting

sudo docker restart $(sudo docker ps -f name=radarproxy -q)
Clone this wiki locally