Skip to content

Latest commit

 

History

History
53 lines (42 loc) · 2.01 KB

README.md

File metadata and controls

53 lines (42 loc) · 2.01 KB

CircleCI Build Status

health-check-shield

It is a simple project to verify the integrity of the application through a get request and using shields-io to generate a shield with the status: IS UP or IS DOWN.

requirements:

✓ have a public get endpoint
✓ this endpoint needs to use https
✓ this endpoint needs to respond to status code 200 to represent a good case (if all is well), all the other status will be considered as a bad case (if something is wrong).

getting start:

base url:

https://c1ncr9o0gj.execute-api.sa-east-1.amazonaws.com/default/health-api?kill_cache=1&app=<app_name>&url=<app_url>

For this demo I will use:
app_name = google
url = https://www.google.com

step 1 - replace the parameters

https://c1ncr9o0gj.execute-api.sa-east-1.amazonaws.com/default/health-api?kill_cache=1&app=google&url=https://www.google.com

step 2 - add into your readme

![health-check][health-check-svg]

<!-- alias -->
[health-check-svg]: https://c1ncr9o0gj.execute-api.sa-east-1.amazonaws.com/default/health-api?kill_cache=1&app=google&url=https://www.google.com

results examples

good case:

good-case

bad case:

bad-case