-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
refactor(google-cloud-logging): unify google-cloud-oauth.lua file #11596
Merged
Merged
Changes from all commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
0e5538c
feat: support gcp secret manager
HuanXin-Chen 8eabd06
docs(secret): integrating gcp usage introduction
HuanXin-Chen 16a815b
style(gcp): fix some style about gcp secret
HuanXin-Chen 95ee16a
style(gcp): fix the success.json style
HuanXin-Chen 1205deb
style(gcp): fix the secret docs
HuanXin-Chen 11acef1
fix(secret): fix some gcp logic
HuanXin-Chen a213043
fix(secret): gcp code and test
HuanXin-Chen 4ea2590
feat(secret): support ther gcp string value
HuanXin-Chen 6fd6389
feat(secret): return decode err
HuanXin-Chen 3e780e7
cli(common): add the expact
HuanXin-Chen 113a96c
cli(common): remove the expact
HuanXin-Chen 1d017a7
feat(secret): put the oauth into utils
HuanXin-Chen eeb5712
merge(): remote-tracking branch 'upstream/master' into feat-gcp-secret
HuanXin-Chen 9464092
fix(secret): fix the test1
HuanXin-Chen c8ced2f
feat(secret): using serverless to test and fix some style
HuanXin-Chen 7174810
fix(secret): resolved the docs conflicts
HuanXin-Chen 626654f
style(secret): _M.get and test case
HuanXin-Chen 749aa95
Merge branch 'master' into feat-gcp-secret
HuanXin-Chen 873bd12
fix(secret): just code style
HuanXin-Chen 23bb722
fix(secret): scope should not be used in the plural
HuanXin-Chen 02a1910
docs(secret): fix the example
HuanXin-Chen d7e5676
Merge branch 'feat-gcp-secret' of https://github.com/HuanXin-Chen/api…
HuanXin-Chen 5fdadbd
style(secret): fix the lint problem
HuanXin-Chen 0f53faa
fix(utils): remove the default entries
HuanXin-Chen cdcd661
style(secret): remove some tips
HuanXin-Chen a4cc432
style(secret): code style
HuanXin-Chen 49c6a6f
Merge remote-tracking branch 'upstream/master' into feat-gcp-secret
HuanXin-Chen ad3af95
style(gcp): remove sanity
HuanXin-Chen 06bca22
refactor(google-cloud-logging): using utils fie replace
HuanXin-Chen 231a7a0
Merge remote-tracking branch 'upstream/master' into refactor-gcp-log
HuanXin-Chen 8568d55
docs(google-cloud-logging): update the docs
HuanXin-Chen 4f1c2f5
fix(google-cloud-logging): compatible scopes
HuanXin-Chen 7026313
style: fix the lint
HuanXin-Chen 60cd8d5
docs(google-cloud-logging): scopes->scope
HuanXin-Chen 9c772e7
更新 Makefile
HuanXin-Chen File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why should this be renamed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
According to OAuth2/OIDC rules, scope should not be used in the plural.

There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@HuanXin-Chen
So this means breakchange right?
I'd suggest keeping
scopes
as an alias forscope
for now, and documenting that it's deprecated. (That is, ifscopes
is used in the configuration, our code needs to rewrite it asscope
to be passed to google_oauth)That way users won't experience breakage issues when upgrading and the documentation will remind them to change this field.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point, I'll make the changes tonight. Thank you, mentor.🫡
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Resolved.