-
Notifications
You must be signed in to change notification settings - Fork 485
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: moving consul access and role interface #4193
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.
still some questions and should refactor more.
internal/security/bootstrapper/command/setupacl/aclroles_test.go
Outdated
Show resolved
Hide resolved
cdf811a
to
7bb1638
Compare
Still need to add helper function for client creation and remove from loop |
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
@ItsRico , you will need to rebase and resolve the conflicts in internal/security/bootstrapper/command/setupacl/aclpolicies.go |
Had an issue with the rebase, need to try again |
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
3e94568
to
5b88078
Compare
Moving configureConsulAccess and createRole to go-mod-secrets to consolidate consul API. Closes: edgexfoundry#3227 Signed-off-by: Rico Chavez-Lopez <[email protected]>
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
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
Moving configureConsulAccess and createRole to go-mod-secrets to consolidate consul API.
Closes: #3227
Signed-off-by: Rico Chavez-Lopez [email protected]
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/main/.github/Contributing.md
PR Checklist
Please check if your PR fulfills the following requirements:
BREAKING CHANGE:
describing the break)Testing Instructions
https://github.com/ItsRico/edgex-go/tree/3227-testing
To test these changes,
In edgex-go, run
The unit tests for these changes can be found in aclroles_test.go and in go-mod-secrets's management_test.go.