Skip to content

Commit

Permalink
Issue #LR-676 feat: Delete User API
Browse files Browse the repository at this point in the history
  • Loading branch information
Jayaprakash8887 authored and Jayaprakash8887 committed Dec 12, 2023
1 parent 6c73fa1 commit 05e5206
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 05e5206

Please sign in to comment.