Update Dockerfile to have HEALTHCHECK
Open, NormalPublic

Description

Add in Dockerfile the HEALTHCHECK line:

  • gateways
  • midtiers
  • backends
tomaluca created this task.Jul 3 2018, 9:04 AM
tomaluca triaged this task as Normal priority.
atundo added a comment.Jul 3 2018, 9:40 AM

Have you any suggestion for the healthcheck command I should perform? Otherwise, I will do on my own.

For instance: the midtiers and the gateways should expose /actuator/health HTTP endpoint.

Not yet, think we have to experiment and afterwards unify the check command

atundo updated the task description. (Show Details)Jul 3 2018, 11:52 AM
atundo added a comment.EditedJul 3 2018, 12:10 PM

Not yet, think we have to experiment and afterwards unify the check command

So, let's try this solution. The endpoints are:

  • /_meta/info: it returns a JSON object with a bunch of information about the service ("version": "commit_id " is required)
  • /_meta/status: it returns an HTTP status code 200 OK or 204 NO CONTENT
atundo updated the task description. (Show Details)Jul 7 2018, 10:06 PM
atundo updated the task description. (Show Details)Jul 7 2018, 10:08 PM