advanced_http.proto

Package: advancedhttp.options.gloo.solo.io Types:

Enums:

- [HealthCheckResult](#healthcheckresult)

Source File: github.com/solo-io/gloo/projects/gloo/api/v1/options/advanced_http/advanced_http.proto


ResponseAssertions

"responseMatchers": []advancedhttp.options.gloo.solo.io.ResponseMatcher
"noMatchHealth": .advancedhttp.options.gloo.solo.io.HealthCheckResult
Field Type Description
responseMatchers []advancedhttp.options.gloo.solo.io.ResponseMatcher A bunch of match rules, the first match wins out and short-circuits.
noMatchHealth .advancedhttp.options.gloo.solo.io.HealthCheckResult The default health response if none of the response health checks were matches. If omitted, defaults to unhealthy.

ResponseMatcher

Defines a transformation template.

"responseMatch": .advancedhttp.options.gloo.solo.io.ResponseMatch
"matchHealth": .advancedhttp.options.gloo.solo.io.HealthCheckResult
Field Type Description
responseMatch .advancedhttp.options.gloo.solo.io.ResponseMatch Defines the parameters to determine a single match.
matchHealth .advancedhttp.options.gloo.solo.io.HealthCheckResult The health response if this response_match is a match. If omitted, defaults to healthy.

ResponseMatch

ResponseMatches can be used to extract information from the request/response.

"jsonKey": .advancedhttp.options.gloo.solo.io.JsonKey
"ignoreErrorOnParse": bool
"header": string
"body": .google.protobuf.Empty
"regex": string
Field Type Description
jsonKey .advancedhttp.options.gloo.solo.io.JsonKey Configuration to get the json key. Treats the body as raw text if omitted.
ignoreErrorOnParse bool If set to true, Envoy will not throw an exception in case the json body parsing fails.
header string Extract information from headers. Only one of header or body can be set.
body .google.protobuf.Empty Extract information from the request/response body. Only one of body or header can be set.
regex string Only strings matching this regular expression will be considered a match. The most simple value for this field is ‘.*’, which matches the whole source. The field is required.

JsonKey

"path": []advancedhttp.options.gloo.solo.io.JsonKey.PathSegment
Field Type Description
path []advancedhttp.options.gloo.solo.io.JsonKey.PathSegment The path to retrieve the Value.

PathSegment

Specifies the segment in a path to retrieve value.

"key": string
Field Type Description
key string If specified, use the key to retrieve the value. If the key is not found, the value defaults to empty string.

HealthCheckResult

Description:

Name Description
default
healthy
degraded
unhealthy