Improve healthcheck endpoint to allow caching and passing secret via query

Created on 18 April 2024, 7 months ago
Updated 28 May 2024, 6 months ago

Problem/Motivation

Currently healthcheck secret is provided by the header parameter.

Proposed resolution

- provide secret by the query parameter
https://git.drupalcode.org/project/ohdear_integration/-/blob/1.x/src/Con...

- cache max age for response
https://git.drupalcode.org/project/ohdear_integration/-/blob/1.x/src/Con...

And we'd have to include config.factory into the controller.

User interface changes

These two options are currently hidden in the ohdear configuration and not available via user interface. If there's a need for that, please create a follow up task.

Feature request
Status

Fixed

Version

2.0

Component

Code

Created by

🇸🇮Slovenia useernamee Ljubljana

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024