HTTP Argument Setter Action

The HTTP Argument Setting Action plugin is available in the Hub.

Plugin version: 1.1.1

Performs an HTTP request to fetch arguments to set in the pipeline.

This is most commonly used when the structure of a pipeline is static, and its configuration needs to be managed outside the pipeline.

The HTTP response must return the arguments in a list:

{ "arguments" : [ { "name": "argument name", "value": "argument value" }, ... ] }

Recommended: For better security and ease of use, use the GCS Argument Setter rather than the HTTP Argument Setter, which doesn’t provide authentication support.

Configuration

Property

Macro Enabled?

Description

Property

Macro Enabled?

Description

URL

Yes

Required. URL to fetch arguments from.

HTTP Method

Yes

Required. HTTP method to use when making the request. The following HTTP methods are available:

  • GET

  • POST

  • PUT

  • DELETE

  • HEAD

  • OPTIONS

Default is GET.

Request Body

Yes

Optional. Body to use when making the request.

Connection Timeout (milliseconds)

No

Optional. Maximum amount of time in milliseconds to wait for a connection to be established.

Default is 60000 (1 minute).

Read Timeout (milliseconds)

No

Optional. Maximum amount of time in milliseconds to wait for a response after a connection has been established.

Default is 60000 (1 minute).

Number of Retries

Yes

Optional. Number of times to retry a failed request before failing the pipeline.

Default is 0.

Follow RedirectsY

No

Optional. Whether to follow HTTP redirects.

Default is YES.

Request Headers

No

Optional. Headers to use when making the request.

 



Created in 2020 by Google Inc.