Skip to content

Commit

Permalink
EPMRPP-96070 || Provide uuid on user replication by default in db
Browse files Browse the repository at this point in the history
  • Loading branch information
pbortnik committed Oct 14, 2024
1 parent c81255d commit d5041f4
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ dependencies {
api 'com.epam.reportportal:commons-dao'
api 'com.epam.reportportal:commons'
} else {
api 'com.github.reportportal:commons-dao:cce9625'
api 'com.github.reportportal:commons-dao:174d57a'
api 'com.github.reportportal:commons:50a1192'
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,6 @@ private void updateUser(User user, UserResource userResource, GitHubClient gitHu
private User createUser(UserResource userResource, GitHubClient gitHubClient) {
User user = new User();
String login = normalizeId(userResource.getLogin());
user.setUuid(UUID.randomUUID());
user.setLogin(login);
updateUser(user, userResource, gitHubClient);
user.setUserType(UserType.GITHUB);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@ private User createNewUser(DirContextOperations ctx, Map<String, String> syncAtt
String email, String login) {
User newUser = new User();
newUser.setLogin(login);
newUser.setUuid(UUID.randomUUID());

String fullName = getFullName(ctx, syncAttributes);
newUser.setFullName(fullName);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ public User replicateUser(ReportPortalSamlAuthentication samlAuthentication) {

User user = new User();
user.setLogin(userName);
user.setUuid(UUID.randomUUID());

List<Attribute> details = samlAuthentication.getDetails();

Expand Down

0 comments on commit d5041f4

Please sign in to comment.