-
Notifications
You must be signed in to change notification settings - Fork 56
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
feat: Use SecretProvider to get Config/Registry access tokens #202
feat: Use SecretProvider to get Config/Registry access tokens #202
Conversation
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.
suggested minor tweaks
3cc5534
to
a5f44bb
Compare
SecretProvider now created during config processing and used to get access token(s) when using Config and registry clients closes #199 Signed-off-by: lenny <[email protected]>
Signed-off-by: lenny <[email protected]>
a5f44bb
to
82dd4e3
Compare
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.
LGTM
Codecov Report
@@ Coverage Diff @@
## master #202 +/- ##
==========================================
+ Coverage 48.24% 52.47% +4.23%
==========================================
Files 15 11 -4
Lines 711 646 -65
==========================================
- Hits 343 339 -4
+ Misses 356 293 -63
- Partials 12 14 +2
Continue to review full report at Codecov.
|
PR Checklist
Please check if your PR fulfills the following requirements:
If your build fails due to your commit message not passing the build checks, please review the guidelines here: https://github.com/edgexfoundry/go-mod-bootstrap/blob/master/.github/Contributing.md.
What is the current behavior?
SecretProvider currently create via bootstrap handler long after Config and Registry clients are created.
Issue Number: #199
What is the new behavior?
SecretProvider now created during config processing and used to get access tokens when creating the Config and registry clients
Does this PR introduce a breaking change?
New Imports
Specific Instructions
Are there any specific instructions or things that should be known prior to reviewing?
Other information