frankframework icon indicating copy to clipboard operation
frankframework copied to clipboard

Healthcheck should ignore manually stopped adapters

Open ricardovh opened this issue 3 years ago • 1 comments

❗ please do not add sensitive information in issues, you can provide extra information via email using issue number as reference ❗

Describe the issue When manually stopping an adapter/receiver, the healthcheck endpoint on api/server/health goes from 200 OK to 503 Service Unavailable. When using this endpoint for a healthcheck in a container orchestration platform, this would mark the container as unhealthy and might trigger a new instance of the image to be started with the adapter started again.

Reporter Ricardo

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Screenshots If applicable, add screenshots to help explain your problem.

Configuration

Please provide the configuration of the Pipe or Receiver with the problem.

Input

Please provide an example of the input message. 
Alternatively, provide a Ladybug report.

Environment

Please go to the console of your Frank, click on 'Information' and copy-paste the results here. 

Additional Environment

  • DBMS: [e.g. Oracle, MSSQL, MariaDB, MySql, PostgreSQL]
  • Browser: [e.g. Chrome, Safari, Edge, Firefox]

Additional Context Add any other context about the problem here. (f.e. ladybug report / test adapter with larva test)

ricardovh avatar Jun 27 '22 09:06 ricardovh

In a container orchestration platform we might disable the possibility to manually stop and start adapters

jacodg avatar Jun 27 '22 11:06 jacodg

Replaced by more generic issue #4114

ricardovh avatar Dec 01 '22 15:12 ricardovh