Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* upgrade okta * use the new ResourceException location * use the new user status * use the new user status * replace factor soup * use correct sms user factor * replace password credential * replace user credential * replace user * replace ActivateFactorRequest * replace CallUserFactor * replace EmailUserFactor * replace FactorProvider * replace RecoveryQuestionCredential * replace userfactor * replace application * replace group * replace group type * replace user profile * replace client * replace _client.listGroup with groupApi.listGroup * replace client with apiclient * add a todo * add application api * update the new userbuilder * add user api and replace client.listUser calls * use group api to list group users * remove application api variable * replace single() with get(0) * replace user.update with userApi.updateUser and make arrayLists not empty * replace reset, deactivate, and activate with userApi * replace listGroup with userApi.listUserGroups * replace removeUser with unassignUserFromGroup * replace addToGroup with assignUserToGroup * replace user.(un)suspend with userApi.(un)suspend * replace user reset password with userapi reset password * replace user reactivate with userapi reactivate * use applicationApi assignGroupToApplication insted of createApplicationGroupAssignment * use group api to delete groups * add user api to live okta authentication * add user factor api getFactor * use userFactorApi to get factors instead of from user * use new PasswordCredential object * use RecoveryQuestionCredential object * use new SmsUserFactor * update enrollFactor to use userFactorApi * instantiate factors using new * use userApi to update user * use userFactorApi to activate factor * remove empty line * replace user status * update constructor to remove userAPI and factorAPI * exclude sl4j from okta sdk * remove mock list iterator * fix reset UserPassword to use correct method was previously using reactivate by accident * mock the getId method for deletefacility * make application api return application * fix assertion on "update user email resource exception error test" * add groups to group list in createUser_illegalGraphqlArgumentError_noGroupsFound * loosen the restrictions on matchers for listGroupUsers in getAllUsersForOrganization * mock group repsonse for "createUser_illegalGraphqlArgumentError_withoutLastName" * mock group repsonse for "createUser_illegalGraphqlArgumentError_withoutEmail" * update the mock to accept false param in "updateUserEmail_conflictingUser_error" * mock id from group in "getAllUsersWithStatusForOrganization" * add user to list in "getUserStatus" * fix mocks for update user privileges * clean up unused client variable and autowired constructor * fix authentication to work with new okta sdk * remove old wiremock mappings * add new wiremock mappings * Replace OktaClientProperties with strings because it's giving an error of bean not found * fix code smells * update rhino package to resolve vulnerability * move apiclient to be local variable remove curly brace around single statement labmda * remove useless initialize method add override annotations * move validation into a separate method * rename _client to client * REMOVE - add logging for cypress * remove expected body in mappings * REMOVE BODY MATCHING * move search parameter in right position * add mapping for list groups * REMOVE add logs * REMOVE update logs * remove q mapping * update mapping for q * remove console logs * change the group search q to use queryParameters section * set the url pattern to include a questionmark * set the url pattern to include a questionmark * remove extra slash from url pattern * change url pattern again and hope it works this time * add a matches statement * update additional patterns * update password setting to POST * update the remaining mappings for setting password to POST * change body pattern for account credentials * update the mapping for the security question * replace question mark with ' * change ' to ? in mapping * update wiremock * revert wiremock upgrade * change security question * change security question to town for first job * add priority * remove wiremock logs * TEST list users by q * update User Priveleges get users by q and search * add listUsers by q for getUserStatus * update okta to 10.2.2 * add logging to dev * update to encode string before using api * remove encoding from search term * encode username only in search term and don't encode for q * remove encoding * change Collector.toList() to .toList() thx java 17 * remove logs * upgrade to okta sdk 12 Replace ResourceException with ApiException * fix codsmells for assertThrows to only have one invocation * chain on object creation * Revert "chain on object creation" This reverts commit 1b33144. * remove todo * remove commit check e2e spec * add additional test for unknown user status * change the url pattern to remove CA * change query matching for get groups * rename variables to remove underscore and replace standard switch statements with enhanced switch statements * rename variables to remove underscore and replace standard switch statements with enhanced switch statements * add back assertions to tests for phone number and email * fix linting issue with empty statement * refactor resendActivationPasscode to use okta api * replace http call with sdk and return a proper object rather than a JsonObject * expand test coverage to include removing group * remove additional constructor in favor of just one * get error summary for apiexceptions * add log message for enroll security key * add log message for activating security key * add log message for password failed to set * remove ; from the prettified okta error since it's expected in the error handler * Revert "add log message for enroll security key" This reverts commit 107d471. * Revert "add log message for activating security key" This reverts commit 353f48b. * Revert "add log message for password failed to set" This reverts commit 2c1630b. * Revert "Revert "add log message for activating security key"" This reverts commit 603f8fe. * actually remove log message for error key enrollment * delete duplicate mappings * delete duplicate factors mappings * Revert "delete duplicate mappings" This reverts commit 7ec2fc1. * Revert "delete duplicate factors mappings" This reverts commit 1d1d9d1. * add okta preview to img-src * upgrade okta * remove RestClientException since it's not possible to send from api * update httpclient5 dependency to 5.2.1 * remove old comment * confirm phone number in sms factor test * update comment to be more claer * update mock to return results from q parameter only --------- Co-authored-by: Zedd Shmais <zedd@skylight.digital>
- Loading branch information