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

set dapr-api-token to healthz requests when needed #1145

Merged
merged 2 commits into from
Sep 7, 2023

Conversation

famarting
Copy link
Contributor

Description

Implements the changes for #1144

I followed the same pattern that is used in CreateInvokeMethodRequest which is the only other related to the use of the http client being used for the healthz requests.

Issue reference

We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation.

Please reference the issue this PR will close: #1144

Checklist

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

  • Code compiles correctly
  • Created/updated tests
  • Extended the documentation

I think this changes don't require docs or test changes... existing tests and docs already cover this behaviour

@famarting famarting requested review from a team as code owners September 7, 2023 10:30
Signed-off-by: Fabian Martinez <46371672+famarting@users.noreply.github.com>
@codecov
Copy link

codecov bot commented Sep 7, 2023

Codecov Report

Patch coverage has no change and project coverage change: -0.05% ⚠️

Comparison is base (87329f6) 66.47% compared to head (431bd1b) 66.42%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1145      +/-   ##
==========================================
- Coverage   66.47%   66.42%   -0.05%     
==========================================
  Files         171      171              
  Lines        5754     5758       +4     
  Branches      624      626       +2     
==========================================
  Hits         3825     3825              
- Misses       1782     1784       +2     
- Partials      147      149       +2     
Flag Coverage Δ
net6 66.42% <0.00%> (-0.05%) ⬇️
net7 66.42% <0.00%> (-0.05%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed Coverage Δ
src/Dapr.Client/DaprClientGrpc.cs 73.56% <0.00%> (-0.35%) ⬇️

☔ View full report in Codecov by Sentry.

📢 Have feedback on the report? Share it here.

@halspang halspang merged commit 99d874a into dapr:master Sep 7, 2023
8 of 10 checks passed
@famarting famarting deleted the set-api-token-to-health-reqs branch September 8, 2023 09:10
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.

Healthz API calls not using DAPR_API_TOKEN
3 participants