-
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
refactor: Secret Provider for all services #134
refactor: Secret Provider for all services #134
Conversation
Refactored Secret Provider per ADR so it can be used by all services (core, support, App & Device) closes #126 Signed-off-by: lenny <[email protected]>
In Draft until Secret Provider ADR is approved and dependent PR merged. |
Signed-off-by: lenny <[email protected]>
eb10c7c
to
e3ea31a
Compare
e3ea31a
to
ba729e3
Compare
…mplementations Signed-off-by: lenny <[email protected]>
ba729e3
to
a8a073e
Compare
Codecov Report
@@ Coverage Diff @@
## master #134 +/- ##
==========================================
- Coverage 58.07% 55.97% -2.11%
==========================================
Files 8 14 +6
Lines 458 661 +203
==========================================
+ Hits 266 370 +104
- Misses 183 277 +94
- Partials 9 14 +5
Continue to review full report at Codecov.
|
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.
overall looks pretty good. just some minor tweaks to change
Signed-off-by: lenny <[email protected]>
Reworked container DIC get functions Swith to use RWMutex for secrest cache. Signed-off-by: lenny <[email protected]>
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
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?
Secret provider only used by core/support services. App service has own implementation. Device services don't have one.
Issue Number: #126
This PR is dependent on edgexfoundry/go-mod-secrets#71
What is the new behavior?
Refactored Secret Provider per ADR so it can be used by all services (core, support, App & Device)
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