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

[BugFix] Avoid token print in FE log. #52511

Merged
merged 2 commits into from
Nov 6, 2024

Conversation

xyllq999
Copy link
Contributor

@xyllq999 xyllq999 commented Oct 31, 2024

Signed-off-by: [email protected]

Why I'm doing:

What I'm doing:

Fixes #issue

What type of PR is this:

  • BugFix
  • Feature
  • Enhancement
  • Refactor
  • UT
  • Doc
  • Tool

Does this PR entail a change in behavior?

  • Yes, this PR will result in a change in behavior.
  • No, this PR will not result in a change in behavior.

If yes, please specify the type of change:

  • Interface/UI changes: syntax, type conversion, expression evaluation, display information
  • Parameter changes: default values, similar parameters but with different default values
  • Policy changes: use new policy to replace old one, functionality automatically enabled
  • Feature removed
  • Miscellaneous: upgrade & downgrade compatibility, etc.

Checklist:

  • I have added test cases for my bug fix or my new feature
  • This pr needs user documentation (for new or modified features or behaviors)
    • I have added documentation for my new feature or new function
  • This is a backport pr

Bugfix cherry-pick branch check:

  • I have checked the version labels which the pr will be auto-backported to the target branch
    • 3.3
    • 3.2
    • 3.1
    • 3.0
    • 2.5

@xyllq999 xyllq999 requested review from a team as code owners October 31, 2024 15:16
@xyllq999 xyllq999 changed the title 避免FE日志打印URL打印明文token,修改GET请求为POST。 [BugFix] Avoid token print in FE log by change GET to POST url. Oct 31, 2024
@xyllq999 xyllq999 changed the title [BugFix] Avoid token print in FE log by change GET to POST url. [BugFix] Avoid token print in FE log. Nov 1, 2024
Copy link

sonarcloud bot commented Nov 4, 2024

@xyllq999
Copy link
Contributor Author

xyllq999 commented Nov 4, 2024

@gengjun-git Could you pls review this PR and rerun the pipeline check?

Copy link

github-actions bot commented Nov 5, 2024

[Java-Extensions Incremental Coverage Report]

pass : 0 / 0 (0%)

Copy link

github-actions bot commented Nov 5, 2024

[FE Incremental Coverage Report]

fail : 3 / 9 (33.33%)

file detail

path covered_line new_line coverage not_covered_line_detail
🔵 com/starrocks/common/util/Util.java 0 4 00.00% [325, 328, 344, 351]
🔵 com/starrocks/http/rest/RestBaseAction.java 3 5 60.00% [106, 109]

Copy link

github-actions bot commented Nov 5, 2024

[BE Incremental Coverage Report]

pass : 0 / 0 (0%)

@xyllq999
Copy link
Contributor Author

xyllq999 commented Nov 5, 2024

[FE Incremental Coverage Report]

fail : 3 / 9 (33.33%)

file detail

path covered_line new_line coverage not_covered_line_detail
🔵 com/starrocks/common/util/Util.java 0 4 00.00% [325, 328, 344, 351]
🔵 com/starrocks/http/rest/RestBaseAction.java 3 5 60.00% [106, 109]

I don't think it's necessary to supplement the UT. It is just about log print. @gengjun-git

@alvin-celerdata alvin-celerdata merged commit a0b2d35 into StarRocks:main Nov 6, 2024
61 of 62 checks passed
Copy link

github-actions bot commented Nov 6, 2024

@Mergifyio backport branch-3.3

Copy link

github-actions bot commented Nov 6, 2024

@Mergifyio backport branch-3.2

Copy link
Contributor

mergify bot commented Nov 6, 2024

backport branch-3.3

✅ Backports have been created

Copy link
Contributor

mergify bot commented Nov 6, 2024

backport branch-3.2

✅ Backports have been created

mergify bot pushed a commit that referenced this pull request Nov 6, 2024
Signed-off-by: [email protected]
Signed-off-by: xyllq999 <[email protected]>
(cherry picked from commit a0b2d35)
mergify bot pushed a commit that referenced this pull request Nov 6, 2024
Signed-off-by: [email protected]
Signed-off-by: xyllq999 <[email protected]>
(cherry picked from commit a0b2d35)

# Conflicts:
#	fe/fe-core/src/main/java/com/starrocks/common/util/Util.java
wanpengfei-git pushed a commit that referenced this pull request Nov 6, 2024
renzhimin7 pushed a commit to renzhimin7/starrocks that referenced this pull request Nov 7, 2024
wanpengfei-git pushed a commit that referenced this pull request Nov 9, 2024
Signed-off-by: Kevin Xiaohua Cai <[email protected]>
Co-authored-by: xyllq999 <[email protected]>
Co-authored-by: Kevin Xiaohua Cai <[email protected]>
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