medic / cht-interoperability

CHT - eCHIS interoperability project
GNU Affero General Public License v3.0
2 stars 3 forks source link

feat: show uptime in the get requests #101

Closed njogz closed 1 year ago

njogz commented 1 year ago

Description

Show uptime in the get request ti show that the CD pipeline works

medic/interoperability#71

Code review checklist

License

The software is provided under AGPL-3.0. Contributions to this project are accepted under the same license.

samuelimoisili commented 1 year ago

We should add an API test for this functionality as well. We can mock the os.uptime() and process.uptime() functions.

We should add a test for the endpoint because it would reduce our code coverage if we skip this test.

njogz commented 1 year ago

I will add the test in a separate PR.