-
Notifications
You must be signed in to change notification settings - Fork 313
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(rest.identity.provider): Added new Identity rest APIs and Reques…
…t Handler (#4878) * First commit. * Some fixes and tests. * Added condition on shouldInvokeSetUserConfigSuccessfully * Added new module in the list * fixed tests. * Added the possibility to inject the identityService (mainly for testing purposes) * Fix tests * Fixed data test * fixed module name * updated expected data * Fix tests * fixed method names * Changed API to meet `JaxRsRequest` handler behavior * Fixed deleteUser path and tests. * Fixed test * Fixed test * Changed getUserConfig return type * Removed Gson * fixed test manifest.mf * Trying fix tests * fixed method path * removed wrong body * Test alternate delete * Test alternate delete * Yet another fix * Changed getDefinedPermissions returned object * Fixed methods name. * fixed test * Fixed absurd bug in test. * fixed identity.provider pom.xml * deleteUser has again a path parameter * Fixed deleteUser * Revert "deleteUser has again a path parameter" This reverts commit fa214e8. * removed comment * Fixed error and copyright * Fixed bug in UserAdminHelper#createUser * Added check on requestHandlerMethod * Added new getUser method * Fixed test * added missing @produces annotation. * fixed test * Fix test * Fix test * YA Fix test * YA Fix test * added tearDown with @afterclass * attempt to fix test * fix getUserConfigResponse * changed tests order * Added policy greedy * Refactored API * Test updated. * Fixed test * Added password validation before user creation. * Fixed some bugs. Added new `/password-requirements` method. * Added missing method to mock. * Fixed expected json * Refactored updateUser to reduce complexity. * fixed test * Keep original identity field values if they are not specified Signed-off-by: Nicola Timeus <[email protected]> * Added tests and several minor fixes. * Added rest.identity permission configuration in the snapshot_0.xml files. * Added rest.identity.provider to emulator configuration * Applied cleanup * Fixed sonar lint issue Signed-off-by: Nicola Timeus <[email protected]> * Minor naming changes Signed-off-by: Nicola Timeus <[email protected]> --------- Signed-off-by: Nicola Timeus <[email protected]> Co-authored-by: Nicola Timeus <[email protected]>
- Loading branch information
1 parent
d74484b
commit 17538d5
Showing
48 changed files
with
2,514 additions
and
24 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
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
Oops, something went wrong.