Skip to content

Migrating configs of integration tests to Envoy API v3.#583

Merged
mum4k merged 4 commits intoenvoyproxy:masterfrom
mum4k:integ-api-v2-to-v3
Dec 2, 2020
Merged

Migrating configs of integration tests to Envoy API v3.#583
mum4k merged 4 commits intoenvoyproxy:masterfrom
mum4k:integ-api-v2-to-v3

Conversation

@mum4k
Copy link
Copy Markdown
Collaborator

@mum4k mum4k commented Dec 2, 2020

Verified that all integration tests pass after updating Envoy to commit 588d9344b31e6544869547c4bcd359b3b0f1d4cf, so this PR unblocks #575. Our next steps will be adding a good warning and a compatibility flag for users of Nighthawk. If they do send configs with Envoy API v2, we will break by default, but allow them to continue with the compatibility flag.

Summary of performed changes:

  • changing config to typed_config and listing the correct type.
  • migrating from deprecated field tls_context to transport_socket.
  • changing filter names to ones that match extension names in extensions_build_config.bzl.
  • cosmetic changes of enum value from auto to AUTO.

Also:

  • updating README and help displayed by the CLI in regards to passing in the --tls-context flag since this behavior is mirrored by one of the edited integration tests.
  • Adding the test_request_source_plugin.py integration test as a dependency of the integration_test py_binary which was forgotten before.

Works on #580

Signed-off-by: Jakub Sobon mumak@google.com

mum4k added 2 commits December 1, 2020 23:48
Adding `test_request_source_plugin.py` as a dependency of the
`integration_test` py_binary.

Signed-off-by: Jakub Sobon <mumak@google.com>
Signed-off-by: Jakub Sobon <mumak@google.com>
@mum4k mum4k requested review from eric846 and oschaaf December 2, 2020 05:06
@mum4k mum4k added the waiting-for-review A PR waiting for a review. label Dec 2, 2020
@mum4k
Copy link
Copy Markdown
Collaborator Author

mum4k commented Dec 2, 2020

@eric846 please review and assign back to me once done.

mum4k added 2 commits December 2, 2020 00:10
Signed-off-by: Jakub Sobon <mumak@google.com>
Signed-off-by: Jakub Sobon <mumak@google.com>
@eric846
Copy link
Copy Markdown
Contributor

eric846 commented Dec 2, 2020

LGTM

Copy link
Copy Markdown
Contributor

@eric846 eric846 left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Copy Markdown
Member

@oschaaf oschaaf left a comment

Choose a reason for hiding this comment

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

LGTM, but to make sure it's not left out by accident: will https://github.com/envoyproxy/nighthawk/blob/master/benchmarks/configurations/envoy_proxy.yaml go in a follow up?

@mum4k
Copy link
Copy Markdown
Collaborator Author

mum4k commented Dec 2, 2020

@mum4k mum4k merged commit d58d63a into envoyproxy:master Dec 2, 2020
@mum4k mum4k deleted the integ-api-v2-to-v3 branch December 2, 2020 19:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

waiting-for-review A PR waiting for a review.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants