Skip to content

Commit

Permalink
Issue #LR-676 merge: Delete User API (#1235)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jayaprakash8887 authored Dec 12, 2023
1 parent 5e59c84 commit 3487567
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ private void inputKafkaTopic(Request request) throws Exception {
logger.info("UserDeletionBackgroundJobActor::inputKafkaTopic:: roles size:: " + roles.size());
User user = userService.getUserById(userId, request.getRequestContext());
String rootOrgId = user.getRootOrgId();
String userName = user.getUserName();

List<Map<String, Object>> suggestedUsersList = new ArrayList<>();
Map<String, Object> searchQueryMap = new HashMap<>();
Expand Down Expand Up @@ -110,6 +111,7 @@ private void inputKafkaTopic(Request request) throws Exception {
Map<String, Object> eData = new HashMap<>();
eData.put(JsonKey.ORGANISATION_ID, rootOrgId);
eData.put(JsonKey.USER_ID, userId);
eData.put(JsonKey.USERNAME, userName);
eData.put(JsonKey.SUGGESTED_USERS, suggestedUsersList);
eData.put(JsonKey.MANAGED_USERS, managedUsersList);
eData.put(JsonKey.ACTION, JsonKey.DELETE_USER_ACTON);
Expand Down

0 comments on commit 3487567

Please sign in to comment.