-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
CHE-1078: UserService structural refactorings #1393
Conversation
} | ||
return preferencesManager.update(userId(), preferences); | ||
} | ||
|
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.
what about a update(String key, String value) and remove(String key) (no bulk mode)
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.
it may be useful
Build # 760 - FAILED Please check console output at http://ci.codenvy-dev.com/jenkins/job/che-pullrequests-build/760/ to view the results. |
* when password violates any rule | ||
*/ | ||
private void checkPassword(String password) throws BadRequestException { | ||
private static void checkPassword(String password) throws BadRequestException { | ||
if (password == null) { | ||
throw new BadRequestException("Password required"); |
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.
not covered by test
Build # 774 - FAILED Please check console output at http://ci.codenvy-dev.com/jenkins/job/che-pullrequests-build/774/ to view the results. |
I added tests and fixes. @skabashnyuk, @benoitf are you okay with the changes? |
@evoevodin ok for the changes, thx! void createUser(@NotNull String token, boolean isTemporary, AsyncRequestCallback callback); |
Build # 785 - FAILED Please check console output at http://ci.codenvy-dev.com/jenkins/job/che-pullrequests-build/785/ to view the results. |
1c6a463
to
1148b22
Compare
Build # 831 - FAILED Please check console output at http://ci.codenvy-dev.com/jenkins/job/che-pullrequests-build/831/ to view the results. |
Build # 1015 - FAILED Please check console output at http://ci.codenvy-dev.com/jenkins/job/che-pullrequests-build/1015/ to view the results. |
Build # 1026 - FAILED Please check console output at http://ci.codenvy-dev.com/jenkins/job/che-pullrequests-build/1026/ to view the results. |
Build # 1044 - FAILED Please check console output at http://ci.codenvy-dev.com/jenkins/job/che-pullrequests-build/1044/ to view the results. |
df487cd
to
a9732dc
Compare
Build # 1082 - FAILED Please check console output at http://ci.codenvy-dev.com/jenkins/job/che-pullrequests-build/1082/ to view the results. |
ok |
Build # 1130 - FAILED Please check console output at http://ci.codenvy-dev.com/jenkins/job/che-pullrequests-build/1130/ to view the results. |
I separated changes on different commits which can be reviewed separately:
@skabashnyuk, @benoitf, @akorneta please review the pull request.
Please pay attention on classes
User
,Profile
,UserManager
,ProfileManager
,PreferencesManager
,UserService
,ProfileService
,PreferencesService