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

[#11120] [#11121] Implement HTTP request interceptor and structured logging #11160

Merged

Conversation

wkurniawan07
Copy link
Member

Fixes #11120
Fixes #11121

Fixing two issues together because both involves creating a filter to intercept incoming HTTP requests.

The last commit enables structured logging.

@wkurniawan07 wkurniawan07 added this to the V8.0.0 milestone May 28, 2021
@wkurniawan07 wkurniawan07 added the s.ToReview The PR is waiting for review(s) label May 29, 2021
Copy link
Contributor

@rrtheonlyone rrtheonlyone 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 the work here @wkurniawan07 - looks good.

Wondering how I go about testing this locally? i.e Is there anything specifically I need to change to build and run the web server

My comments are below:

Copy link
Contributor

@rrtheonlyone rrtheonlyone 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
Contributor

@jianhandev jianhandev left a comment

Choose a reason for hiding this comment

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

LGTM

@wkurniawan07 wkurniawan07 added s.ToMerge The PR is approved by all reviewers including final reviewer; ready for merging and removed s.ToReview The PR is waiting for review(s) labels May 31, 2021
@wkurniawan07 wkurniawan07 merged commit 3e87118 into TEAMMATES:teammatesv8 May 31, 2021
@wkurniawan07 wkurniawan07 deleted the runtime-upgrade/trace branch May 31, 2021 13:50
wkurniawan07 added a commit that referenced this pull request Jun 2, 2021
…ogging (#11160)

* Replace Config.getRequestId with tracing function with ThreadLocal

* Replace DeadlineExceededException with self-maintained timer

* Include automated request endpoints in origin check configuration

* Incorporate structured logging to enable grouping of logs
wkurniawan07 added a commit that referenced this pull request Jun 6, 2021
…ogging (#11160)

* Replace Config.getRequestId with tracing function with ThreadLocal

* Replace DeadlineExceededException with self-maintained timer

* Include automated request endpoints in origin check configuration

* Incorporate structured logging to enable grouping of logs
@wkurniawan07 wkurniawan07 added the c.DevOps Process-related or build-related improvement and addition label Jun 6, 2021
wkurniawan07 added a commit that referenced this pull request Jun 6, 2021
…ogging (#11160)

* Replace Config.getRequestId with tracing function with ThreadLocal

* Replace DeadlineExceededException with self-maintained timer

* Include automated request endpoints in origin check configuration

* Incorporate structured logging to enable grouping of logs
daongochieu2810 pushed a commit to daongochieu2810/teammates that referenced this pull request Jul 5, 2021
…r and structured logging (TEAMMATES#11160)

* Replace Config.getRequestId with tracing function with ThreadLocal

* Replace DeadlineExceededException with self-maintained timer

* Include automated request endpoints in origin check configuration

* Incorporate structured logging to enable grouping of logs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c.DevOps Process-related or build-related improvement and addition s.ToMerge The PR is approved by all reviewers including final reviewer; ready for merging
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants