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

append app token to outgoing calls, if it is provided #7404

Merged
merged 2 commits into from Jan 18, 2024
Merged

append app token to outgoing calls, if it is provided #7404

merged 2 commits into from Jan 18, 2024

Conversation

vermillionsword
Copy link
Contributor

Description

This PR appends the App API Token to calls made using the transparent proxy functionality provided in grpc_proxy.go
It will only be appended if the environment variable exists

Issue reference

#7344

Checklist

Please make sure you've completed the relevant tasks for this PR, out of the following list:

Signed-off-by: Ryan Kelly <gatedlogic@live.com>
@vermillionsword vermillionsword requested review from a team as code owners January 18, 2024 04:48
@yaron2
Copy link
Member

yaron2 commented Jan 18, 2024

@vermillionsword see the minor linter error

Copy link
Member

@daixiang0 daixiang0 left a comment

Choose a reason for hiding this comment

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

LGTM

@daixiang0
Copy link
Member

@vermillionsword please fix DCO.

Signed-off-by: Ryan Kelly <gatedlogic@live.com>
@vermillionsword
Copy link
Contributor Author

@vermillionsword please fix DCO.

Fixed

Copy link

codecov bot commented Jan 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (8ff62ac) 62.39% compared to head (65f9183) 62.36%.

❗ Current head 65f9183 differs from pull request most recent head 0c4285e. Consider uploading reports for the commit 0c4285e to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #7404      +/-   ##
==========================================
- Coverage   62.39%   62.36%   -0.04%     
==========================================
  Files         240      240              
  Lines       22156    22159       +3     
==========================================
- Hits        13825    13820       -5     
- Misses       7173     7179       +6     
- Partials     1158     1160       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@yaron2 yaron2 merged commit aff656e into dapr:master Jan 18, 2024
16 of 20 checks passed
@ItalyPaleAle ItalyPaleAle added this to the v1.13 milestone Jan 18, 2024
whytem pushed a commit to whytem/dapr that referenced this pull request Jan 22, 2024
* append app token to outgoing calls, if it is provided

Signed-off-by: Ryan Kelly <gatedlogic@live.com>

* use declare and assign syntax

Signed-off-by: Ryan Kelly <gatedlogic@live.com>

---------

Signed-off-by: Ryan Kelly <gatedlogic@live.com>
Co-authored-by: Ryan Kelly <gatedlogic@live.com>
@vermillionsword vermillionsword deleted the 7344-append-app-token branch January 23, 2024 03:10
elena-kolevska pushed a commit to elena-kolevska/dapr that referenced this pull request Jan 24, 2024
* append app token to outgoing calls, if it is provided

Signed-off-by: Ryan Kelly <gatedlogic@live.com>

* use declare and assign syntax

Signed-off-by: Ryan Kelly <gatedlogic@live.com>

---------

Signed-off-by: Ryan Kelly <gatedlogic@live.com>
Co-authored-by: Ryan Kelly <gatedlogic@live.com>
elena-kolevska added a commit to elena-kolevska/dapr that referenced this pull request Jan 24, 2024
elena-kolevska added a commit to elena-kolevska/dapr that referenced this pull request Jan 24, 2024
elena-kolevska added a commit to elena-kolevska/dapr that referenced this pull request Jan 24, 2024
elena-kolevska pushed a commit to elena-kolevska/dapr that referenced this pull request Jan 25, 2024
* append app token to outgoing calls, if it is provided

Signed-off-by: Ryan Kelly <gatedlogic@live.com>

* use declare and assign syntax

Signed-off-by: Ryan Kelly <gatedlogic@live.com>

---------

Signed-off-by: Ryan Kelly <gatedlogic@live.com>
Co-authored-by: Ryan Kelly <gatedlogic@live.com>
Signed-off-by: Elena Kolevska <elena@kolevska.com>
elena-kolevska added a commit to elena-kolevska/dapr that referenced this pull request Jan 25, 2024
)"

This reverts commit b1215d5.

Signed-off-by: Elena Kolevska <elena@kolevska.com>
elena-kolevska added a commit to elena-kolevska/dapr that referenced this pull request Jan 25, 2024
…dapr#7404)""

This reverts commit 12406b9.

Signed-off-by: Elena Kolevska <elena@kolevska.com>
elena-kolevska added a commit to elena-kolevska/dapr that referenced this pull request Jan 25, 2024
…provided (dapr#7404)"""

This reverts commit c9381b9.

Signed-off-by: Elena Kolevska <elena@kolevska.com>
elena-kolevska pushed a commit to elena-kolevska/dapr that referenced this pull request Jan 25, 2024
* append app token to outgoing calls, if it is provided

Signed-off-by: Ryan Kelly <gatedlogic@live.com>

* use declare and assign syntax

Signed-off-by: Ryan Kelly <gatedlogic@live.com>

---------

Signed-off-by: Ryan Kelly <gatedlogic@live.com>
Co-authored-by: Ryan Kelly <gatedlogic@live.com>
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.

None yet

4 participants