Skip to content

Ext_Authz duration dynamic metadata#19316

Merged
zuercher merged 27 commits intoenvoyproxy:mainfrom
llu94:authz_duration
Feb 3, 2022
Merged

Ext_Authz duration dynamic metadata#19316
zuercher merged 27 commits intoenvoyproxy:mainfrom
llu94:authz_duration

Conversation

@llu94
Copy link
Copy Markdown
Contributor

@llu94 llu94 commented Dec 19, 2021

Risk Level: low
Testing: unit testing
Docs Changes: n/a
Release Notes: inline

Issue Link: #19255

Signed-off-by: Lucas Lu <lucasludev@gmail.com>
Signed-off-by: Lucas Lu <lucasludev@gmail.com>
Signed-off-by: Lucas Lu <lucasludev@gmail.com>
@llu94 llu94 requested a review from dio as a code owner December 19, 2021 01:38
@repokitteh-read-only
Copy link
Copy Markdown

Hi @llu94, welcome and thank you for your contribution.

We will try to review your Pull Request as quickly as possible.

In the meantime, please take a look at the contribution guidelines if you have not done so already.

🐱

Caused by: #19316 was opened by llu94.

see: more, trace.

@repokitteh-read-only
Copy link
Copy Markdown

CC @envoyproxy/api-shepherds: Your approval is needed for changes made to (api/envoy[\w/]*/(v1alpha\d?|v1|v2alpha\d?|v2))|(api/envoy/type/(matcher/)?\w+.proto).
CC @envoyproxy/api-shepherds: Your approval is needed for changes made to (api/envoy/|docs/root/api-docs/).
envoyproxy/api-shepherds assignee is @adisuissa
CC @envoyproxy/api-watchers: FYI only for changes made to (api/envoy/|docs/root/api-docs/).

🐱

Caused by: #19316 was opened by llu94.

see: more, trace.

Copy link
Copy Markdown
Contributor

@adisuissa adisuissa left a comment

Choose a reason for hiding this comment

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

Thanks for working on this.
Not sure why you get the API changes, but they LGTM.
Left a few comments on the rest of the code.
/lgtm api
/wait

Signed-off-by: Lucas Lu <lucasludev@gmail.com>
Signed-off-by: Lucas Lu <lucasludev@gmail.com>
Signed-off-by: Lucas Lu <lucasludev@gmail.com>
Signed-off-by: Lucas Lu <lucasludev@gmail.com>
Copy link
Copy Markdown
Member

@dio dio left a comment

Choose a reason for hiding this comment

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

Thanks for working on this. A couple of comments from me:

Signed-off-by: Lucas Lu <lucasludev@gmail.com>
Signed-off-by: Lucas Lu <lucasludev@gmail.com>
@llu94 llu94 requested review from adisuissa and dio January 4, 2022 18:19
@jmarantz
Copy link
Copy Markdown
Contributor

jmarantz commented Jan 7, 2022

@llu94 please do not force-push to github PRs that are in review: https://github.com/envoyproxy/envoy/blob/main/CONTRIBUTING.md has detail about why that's bad and what to do instead.

llu94 added 2 commits January 9, 2022 23:20
Signed-off-by: Lucas Lu <lucasludev@gmail.com>
Signed-off-by: Lucas Lu <lucasludev@gmail.com>
llu94 added 4 commits January 14, 2022 18:43
Signed-off-by: Lucas Lu <lucasludev@gmail.com>
Signed-off-by: Lucas Lu <lucasludev@gmail.com>
Signed-off-by: Lucas Lu <lucasludev@gmail.com>
Signed-off-by: Lucas Lu <lucasludev@gmail.com>
Signed-off-by: Lucas Lu <lucasludev@gmail.com>
adisuissa
adisuissa previously approved these changes Jan 21, 2022
Copy link
Copy Markdown
Contributor

@adisuissa adisuissa left a comment

Choose a reason for hiding this comment

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

LGTM, thanks.
/assign-from @envoyproxy/senior-maintainers

@repokitteh-read-only
Copy link
Copy Markdown

@envoyproxy/senior-maintainers assignee is @zuercher

🐱

Caused by: a #19316 (review) was submitted by @adisuissa.

see: more, trace.

Copy link
Copy Markdown
Member

@zuercher zuercher left a comment

Choose a reason for hiding this comment

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

Thanks! Please see my comments below.

llu94 added 2 commits January 22, 2022 22:25
Signed-off-by: Lucas Lu <lucasludev@gmail.com>
Signed-off-by: Lucas Lu <lucasludev@gmail.com>
llu94 added 4 commits January 27, 2022 12:52
Signed-off-by: Lucas Lu <lucasludev@gmail.com>
Signed-off-by: Lucas Lu <lucasludev@gmail.com>
Signed-off-by: Lucas Lu <lucasludev@gmail.com>
Signed-off-by: Lucas Lu <lucasludev@gmail.com>
@llu94
Copy link
Copy Markdown
Contributor Author

llu94 commented Jan 28, 2022

@zuercher I have made some changes to the test in line with your suggestions using a simulated time system.

@llu94 llu94 requested review from adisuissa and zuercher January 31, 2022 18:46
Signed-off-by: Lucas Lu <lucasludev@gmail.com>
Copy link
Copy Markdown
Member

@zuercher zuercher left a comment

Choose a reason for hiding this comment

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

Thanks!

@llu94
Copy link
Copy Markdown
Contributor Author

llu94 commented Feb 2, 2022

No worries. Thanks to you and all of the other reviewers for guiding me through this first PR. I am by no means good with C++ and this code base is pretty daunting at times.

Copy link
Copy Markdown
Contributor

@adisuissa adisuissa left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@llu94
Copy link
Copy Markdown
Contributor Author

llu94 commented Feb 3, 2022

I can't merge it. Not authorized. Can someone else do it for me?

@zuercher zuercher merged commit 4d6ce6d into envoyproxy:main Feb 3, 2022
joshperry pushed a commit to joshperry/envoy that referenced this pull request Feb 13, 2022
Adds a dynamic metadata field named ext_authz_duration with the duration of completed ext_authz requests.

Risk Level: low
Testing: unit testing
Docs Changes: documented new dynamic metadata
Release Notes: n/a
Fixes Issue: envoyproxy#19255

Signed-off-by: Lucas Lu <lucasludev@gmail.com>
Signed-off-by: Josh Perry <josh.perry@mx.com>
@llu94 llu94 deleted the authz_duration branch March 27, 2022 02:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants