Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[datadog_synthetics_test] Add default value to http_version #2406

Merged

Conversation

Drarig29
Copy link
Contributor

@Drarig29 Drarig29 commented May 15, 2024

@Drarig29 Drarig29 force-pushed the corentin.girard/SYNTH-14142/default-http-version-to-any branch from 6185c3d to 0850731 Compare June 21, 2024 16:44
@Drarig29 Drarig29 changed the title Add default value to http_version [datadog_synthetics_test ] Add default value to http_version Jun 24, 2024
@Drarig29 Drarig29 force-pushed the corentin.girard/SYNTH-14142/default-http-version-to-any branch from 770136e to 0b7716f Compare June 25, 2024 08:44
@Drarig29 Drarig29 changed the base branch from master to corentin.girard/SYNTH-14355/multistep-grpc-step June 25, 2024 08:44
@Drarig29 Drarig29 force-pushed the corentin.girard/SYNTH-14142/default-http-version-to-any branch from 0b7716f to 65a3907 Compare June 25, 2024 08:48
@Drarig29 Drarig29 changed the title [datadog_synthetics_test ] Add default value to http_version [datadog_synthetics_test] Add default value to http_version Jun 25, 2024
@Drarig29 Drarig29 marked this pull request as ready for review June 25, 2024 08:51
@Drarig29 Drarig29 requested review from a team as code owners June 25, 2024 08:51
etnbrd
etnbrd previously approved these changes Jun 27, 2024
Copy link
Contributor

@etnbrd etnbrd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@nkzou nkzou force-pushed the corentin.girard/SYNTH-14142/default-http-version-to-any branch from 65a3907 to e004591 Compare July 3, 2024 20:51
urseberry
urseberry previously approved these changes Jul 3, 2024
@@ -730,7 +730,7 @@ Optional:
- `dns_server_port` (Number) DNS server port to use for DNS tests.
- `follow_redirects` (Boolean) Determines whether or not the API HTTP test should follow redirects.
- `host` (String) Host name to perform the test with.
- `http_version` (String) HTTP version to use for an HTTP request in an API test or step. Valid values are `http1`, `http2`, `any`.
- `http_version` (String) HTTP version to use for an HTTP request in an API test or step. Valid values are `http1`, `http2`, `any`. Defaults to `"any"`.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- `http_version` (String) HTTP version to use for an HTTP request in an API test or step. Valid values are `http1`, `http2`, `any`. Defaults to `"any"`.
- `http_version` (String) HTTP version to use for an HTTP request in an API test or step. Valid values are `http1`, `http2`, `any`. Defaults to `any`.

Copy link
Contributor

@etnbrd etnbrd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@nkzou nkzou merged commit ba28000 into master Jul 5, 2024
10 checks passed
@nkzou nkzou deleted the corentin.girard/SYNTH-14142/default-http-version-to-any branch July 5, 2024 13:49
bharling pushed a commit to bharling/terraform-provider-datadog that referenced this pull request Jul 8, 2024
…g#2406)

* Fix location of `http_version`

* Add a default value for `httpVersion`

* update cassettes

* make docs

* update monitor test that uses a synthetics test

* deprecate request_defintion.http_version instead of removing it

---------

Co-authored-by: Kevin Zou <kevin.zou@datadoghq.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants