OpenFunction Configuration
The openfunction plugin invokes synchronous OpenFunction endpoints with request forwarding, optional Basic credentials, and sub-path preservation. Configuration covers plugin parameters.
Parameters
See plugin common configurations for configuration options available to all plugins.
function_uri
URI of the synchronous OpenFunction endpoint. Wildcard route suffixes are appended to this URI. A pathless endpoint uses
/; pathless support was introduced in API7 Enterprise 3.9.20 and 3.10.7, and in APISIX 3.19.0.authorization
Basic authentication added to the function request.
service_token
Value encoded into the Basic
Authorizationheader. It replaces any client-supplied Authorization header. When omitted, the client Authorization header is forwarded unchanged. API7 Gateway encrypts the value with AES at rest. APISIX encrypts it before etcd storage when field encryption is enabled.
max_req_body_size
valid value:
greater than or equal to 1Maximum request body size buffered in memory. A larger body returns
400 Bad Request. Introduced in API7 Enterprise 3.9.17 and 3.10.4, and in APISIX 3.18.0.timeout
valid value:
greater than or equal to 100Function request timeout in milliseconds.
ssl_verify
If true, verify the function endpoint TLS certificate.
keepalive
If true, keep function connections alive for reuse.
keepalive_timeout
valid value:
greater than or equal to 1000Idle keepalive timeout in milliseconds.
keepalive_pool
valid value:
greater than or equal to 1Maximum connections in the keepalive pool.