-
Notifications
You must be signed in to change notification settings - Fork 3
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: session creator is no longer singleton #154
base: main
Are you sure you want to change the base?
Conversation
Unit Tests Coverage Report
Minimum allowed coverage is Generated by 🐒 cobertura-action against 63a3d3e |
c0158dc
to
3f0b018
Compare
@@ -35,9 +29,9 @@ private static class SessionFactorySingleton { | |||
* @return new session if the client can be authenticated | |||
* @throws AuthenticationException if the client fails to be authenticated | |||
*/ | |||
public static Session createSession(String credentialType, Map<String, String> credentialMap) | |||
public Session createSession(String credentialType, Map<String, String> credentialMap) |
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.
change impacts Moquette?
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.
1 question about impact to Moquette.
3f0b018
to
63a3d3e
Compare
Issue #, if available:
Description of changes:
Minor refactor. This moves IPC registration until the end of the install phase, and also makes the SessionManage injectable.
Why is this change necessary:
How was this change tested:
Any additional information or context required to review the change:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.