Skip to content

Enable ext_proc HTTP service API - #37869

Merged
yanavlasov merged 3 commits into
envoyproxy:mainfrom
yanjunxiang-google:mxn_stress_test
Jan 13, 2025
Merged

yanavlasov merged 3 commits into
envoyproxy:mainfrom
yanjunxiang-google:mxn_stress_test

Conversation

@yanjunxiang-google

@yanjunxiang-google yanjunxiang-google commented Jan 3, 2025 •

Copy link
Copy Markdown
Contributor

This is a follow up PR for the ext_proc HTTP client support:
#35676

This PR enables the HTTP service API in the ext_proc filter configuration.

@repokitteh-read-only

Copy link
Copy Markdown

As a reminder, PRs marked as draft will not be automatically assigned reviewers,
or be handled by maintainer-oncall triage.

Please mark your PR as ready when you want it to be reviewed!

🐱

Caused by: #37869 was opened by yanjunxiang-google.

see: more, trace.

@repokitteh-read-only

Copy link
Copy Markdown

CC @envoyproxy/api-shepherds: Your approval is needed for changes made to (api/envoy/|docs/root/api-docs/).
envoyproxy/api-shepherds assignee is @wbpcode
CC @envoyproxy/api-watchers: FYI only for changes made to (api/envoy/|docs/root/api-docs/).

🐱

Caused by: #37869 was opened by yanjunxiang-google.

see: more, trace.

@yanjunxiang-google
yanjunxiang-google marked this pull request as ready for review January 3, 2025 22:50
@yanjunxiang-google

Copy link
Copy Markdown
Contributor Author

/assign @yanavlasov @tyxia @jmarantz

@jmarantz

jmarantz commented Jan 5, 2025

Copy link
Copy Markdown
Contributor

I'll defer to Yan for this

tyxia
tyxia previously approved these changes Jan 6, 2025

@tyxia tyxia left a comment •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM, Thanks.

I think we can expose this API, but I remember there are some TODOs (e.g., this comment. Has this comment been addressed? This doesn't block this PR though

@yanjunxiang-google

yanjunxiang-google commented Jan 7, 2025 •

Copy link
Copy Markdown
Contributor Author

LGTM, Thanks.

I think we can expose this API, but I remember there are some TODOs (e.g., this comment. Has this comment been addressed? This doesn't block this PR though

Thanks for the comments!

Removing that dynamic_cast needs some refactoring efforts with the existing gRPC client. I filed this issue to track this refactoring work: #37904. Let's revisit this when we have some bandwidth.

Agreed the refactoring issue should not be a blocker.

Signed-off-by: Yanjun Xiang <[email protected]>
tyxia
tyxia previously approved these changes Jan 7, 2025

@tyxia tyxia left a comment •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I will wait for API approval before merging.

Also on second thought, @yanjunxiang-google do you want to mark HTTP support status as alpha etc since we only have done envoy tests alone. I don't have strong opinion and may defer to other reviewers.

@yanjunxiang-google

Copy link
Copy Markdown
Contributor Author

I will wait for API approval before merging.

Also on second thought, @yanjunxiang-google do you want to mark HTTP support status as alpha etc since we only have done envoy tests alone. I don't have strong opinion and may defer to other reviewers.

That's okay with me. However, how do we mark an individual feature under an extension as Alpha?

@tyxia

tyxia commented Jan 8, 2025

Copy link
Copy Markdown
Member

I will wait for API approval before merging.
Also on second thought, @yanjunxiang-google do you want to mark HTTP support status as alpha etc since we only have done envoy tests alone. I don't have strong opinion and may defer to other reviewers.

That's okay with me. However, how do we mark an individual feature under an extension as Alpha?

i just think spell it out: add comment saying it is in alpha status . Also you can use markdown format to highlight this for example:

// .. warning::

@wbpcode wbpcode left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM. Thanks. Please merge the main to resolve the conflict.

@yanjunxiang-google

Copy link
Copy Markdown
Contributor Author

I will wait for API approval before merging.
Also on second thought, @yanjunxiang-google do you want to mark HTTP support status as alpha etc since we only have done envoy tests alone. I don't have strong opinion and may defer to other reviewers.

That's okay with me. However, how do we mark an individual feature under an extension as Alpha?

i just think spell it out: add comment saying it is in alpha status . Also you can use markdown format to highlight this for example:

// .. warning::

Is there a standard way for marking an API as "Alpha"? Any example?

Signed-off-by: Yanjun Xiang <[email protected]>
@yanavlasov

yanavlasov commented Jan 13, 2025 •

Copy link
Copy Markdown
Contributor

The http_service field is already annotated as work in progress. There is nothing else needed.

https://storage.googleapis.com/envoy-pr/a3a7347/docs/api-v3/extensions/filters/http/ext_proc/v3/ext_proc.proto.html#envoy-v3-api-msg-extensions-filters-http-ext-proc-v3-extprocperroute

@yanavlasov
yanavlasov merged commit e2084ce into envoyproxy:main Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants