-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* SSO login bug fix * 🤖 Auto-update API types for TypeScript usage * Increment users list after adding users Signed-off-by: Muralidhar Basani <[email protected]> * From review --------- Signed-off-by: Muralidhar Basani <[email protected]> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Aindriú Lavelle <[email protected]>
- Loading branch information
1 parent
25090b6
commit d073e3e
Showing
10 changed files
with
291 additions
and
91 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,7 @@ | |
import io.aiven.klaw.model.requests.EnvModel; | ||
import io.aiven.klaw.model.requests.KwClustersModel; | ||
import io.aiven.klaw.model.requests.KwRolesPermissionsModel; | ||
import io.aiven.klaw.model.requests.RegisterUserInfoModel; | ||
import io.aiven.klaw.model.requests.TeamModel; | ||
import io.aiven.klaw.model.requests.UserInfoModel; | ||
import io.aiven.klaw.model.response.EnvParams; | ||
|
@@ -53,6 +54,18 @@ public UserInfoModel getUserInfoModel(String username, String role, String team) | |
return userInfoModel; | ||
} | ||
|
||
public RegisterUserInfoModel getRegisterUserInfoModel(String username, String role) { | ||
RegisterUserInfoModel userInfoModel = new RegisterUserInfoModel(); | ||
userInfoModel.setUsername(username); | ||
userInfoModel.setPwd("testpwd"); | ||
userInfoModel.setRole(role); | ||
userInfoModel.setTeamId(1001); | ||
userInfoModel.setFullname("New User"); | ||
userInfoModel.setMailid("[email protected]"); | ||
|
||
return userInfoModel; | ||
} | ||
|
||
public UserInfoModel getUserInfoModelSwitchTeams( | ||
String username, String role, int teamId, int switchTeamSize) { | ||
UserInfoModel userInfoModel = new UserInfoModel(); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.