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

refactor: Rework for refactoring go-mod-secrets #3181

Merged
merged 5 commits into from
Feb 20, 2021

Conversation

lenny-goodell
Copy link
Member

PR Checklist

Please check if your PR fulfills the following requirements:

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

If your build fails due to your commit message not passing the build checks, please review the guidelines here: https://github.com/edgexfoundry/edgex-go/blob/master/.github/Contributing.md.

What is the current behavior?

SecretStoreClinet in this repo, not in go-mod-secrets.
Inconsistant configuration for SecretStore

Issue Number: #3180

What is the new behavior?

Moved SecretStoreClient to go-mod-secrets
Cleaned up configuration to be more consistent across services
SecrectService confg names chnaged to SecretStore for Proxy Setup and SecretStore Setup

Added Type = 'vault' to all [SecretStore] configurations

Dependent on these PRs:
edgexfoundry/go-mod-secrets#91
edgexfoundry/go-mod-bootstrap#171

Does this PR introduce a breaking change?

  • Yes
  • No

BREAKING CHANGE:
All existing SecretStore configuration must add Type = 'vault'
SecrectService confg names chnaged to SecretStore for Proxy Setup and SecretStore Setup

New Imports

  • Yes
  • No

Specific Instructions

Are there any specific instructions or things that should be known prior to reviewing?

Other information

@lenny-goodell lenny-goodell marked this pull request as draft February 18, 2021 22:08
@lenny-goodell lenny-goodell linked an issue Feb 18, 2021 that may be closed by this pull request
Copy link
Contributor

@jim-wang-intel jim-wang-intel left a comment

Choose a reason for hiding this comment

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

understand this is still in draft, wanna get my review in first so we don't miss it; thanks!

@lenny-goodell lenny-goodell force-pushed the refactored-secrets branch 2 times, most recently from ba9a289 to a1bc207 Compare February 19, 2021 19:20
bnevis-i
bnevis-i previously approved these changes Feb 19, 2021
Copy link
Contributor

@jim-wang-intel jim-wang-intel left a comment

Choose a reason for hiding this comment

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

i think there is some logic needs to be fine tuned a bit

@lenny-goodell lenny-goodell marked this pull request as ready for review February 19, 2021 23:41
lenny added 5 commits February 19, 2021 16:41
Moved SecretStoreClient to go-mod-secrets
Cleaned up configuation to be more consistant across services

closes edgexfoundry#3180

Signed-off-by: lenny <[email protected]>
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
7.7% 7.7% Duplication

Copy link
Contributor

@jim-wang-intel jim-wang-intel left a comment

Choose a reason for hiding this comment

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

LGTM, excellent!

@lenny-goodell
Copy link
Member Author

recheck

@lenny-goodell lenny-goodell merged commit 61638ca into edgexfoundry:master Feb 20, 2021
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.

Update security services for refactored go-mod-secrets
3 participants