-
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: Move the common middlewares to go-mod-bootstrap #567
Conversation
Closes edgexfoundry#565. - Define the common middleware funcs on the router level. - Skip Ping in the auth handler func. Signed-off-by: Lindsey Cheng <[email protected]>
Return next handlerFunc for Ping instead of nil in VaultAuthenticationHandlerFunc. Signed-off-by: Lindsey Cheng <[email protected]>
Codecov Report
❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more. @@ Coverage Diff @@
## main #567 +/- ##
==========================================
+ Coverage 58.68% 58.75% +0.06%
==========================================
Files 29 30 +1
Lines 2418 2468 +50
==========================================
+ Hits 1419 1450 +31
- Misses 907 922 +15
- Partials 92 96 +4
|
Revert back to invoke authenticationHook on the route level instead of on the server router level. Signed-off-by: Lindsey Cheng <[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
Closes #565.
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/main/.github/Contributing.md
PR Checklist
Please check if your PR fulfills the following requirements:
BREAKING CHANGE:
describing the break)Testing Instructions
New Dependency Instructions (If applicable)