Skip to content

Commit

Permalink
Add exclude-plugin parameter to /health endpoint (#242)
Browse files Browse the repository at this point in the history
Backported from StyraInc/enterprise-opa#64

Secondary concerns ftw!

Signed-off-by: Anders Eknert <anders@styra.com>
  • Loading branch information
anderseknert committed Mar 5, 2024
1 parent 746acb5 commit 547d54e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions open_api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -524,6 +524,7 @@ paths:
parameters:
- $ref: '#/components/parameters/bundlesParameter'
- $ref: '#/components/parameters/pluginsParameter'
- $ref: "#/components/parameters/excludePluginParameter"
tags:
- Health API
responses:
Expand Down Expand Up @@ -668,6 +669,16 @@ components:
required: false
schema:
type: boolean
excludePluginParameter :
name: exclude-plugin
description: String parameter to exclude a plugin from status checks. Can be added multiple times. Does nothing if plugins is not true. This parameter is useful for special use cases where a plugin depends on the server being fully initialized before it can fully initialize itself.
in: query
required: false
schema:
type: array
default: [ ]
items:
type: string
responses:
successResult:
description: Success
Expand Down

0 comments on commit 547d54e

Please sign in to comment.