-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* create a model to store user_skill and add remove unused columns in users and skills model * create a model to store user_skill and add/remove unused columns in users and skills model * change id to integer * check if a skill already exists before creating one, make `updated_at` optional in TrackedProperties * remove unit and integration test and remove skill service & skill service implementation * add todo * rename SkillType to SkillTypeEnum * set logging level debug in application-dev instead of application * add todo * remove endorsements list * add reference to user table in skills modal * Build api to create a new endorsement * create api to update an endorsement * remove unused files * remove unused code in endorsement controller * chagne import order * change the skills project structure to match the new one * rename exceptions folder to small case exceptions and create user not found and skill already exists exceptions * create enums folder and move skill type enum to the folder * rename Conifg to config, move generic response and jwtAuthenticationFilter to utils * add api to get all endorsements for a skill using skill id in skillsapi * remove skills package * fix build error * move api to create a endorsement to the new folder structure * add api to update endorsement in apis/endorsements api and remove old Endorsement folder * move health check api to the api folder & metric service inside the services folder * fix formatting * create annotation and aspect to handle authorized roles to an api * add authorizred roles annotation to skillsapi & endorsementsapi class * set authorized role for creating a skill to only superuser * fix formatting * create api to get all skill requests * apply spotless * set endorsement id * run spotlesscheck * remove comments * add super user role check in skills/requests api * build the `skill/requests` api to get all skill requests and their endorsements * fix duplicate data issue when getting all skill requests * improve comment * change data to requests in SkillRequestDto * fix formatting * fix wrong id being set in endorserDetails * fix formatting error * create api to login via rds backend * add permitted paths to security config * fix formatting * change permitted routes to non auth routes * improve the internal server error exception handler by adding time stamp, error message and details * fix formatting * remove user table and use RdsUserViewModel instead * remove auth api and fix logging in update endorsement api * fix formatting * change EndorsementViewModel to use builder pattern * Remove commented code * Change error to info * Refactor: Move post endorsements in skills route (#143) * build api to approve/reject skill request (#144) * build api to approve/reject skill request * fix formatting --------- Co-authored-by: Prakash <[email protected]> Co-authored-by: Prakash Choudhary <[email protected]>
- Loading branch information
1 parent
ba3cf55
commit 23b7af4
Showing
40 changed files
with
381 additions
and
433 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
49 changes: 0 additions & 49 deletions
49
skill-tree/src/main/java/com/RDS/skilltree/User/UserDRO.java
This file was deleted.
Oops, something went wrong.
43 changes: 0 additions & 43 deletions
43
skill-tree/src/main/java/com/RDS/skilltree/User/UserDTO.java
This file was deleted.
Oops, something went wrong.
23 changes: 0 additions & 23 deletions
23
skill-tree/src/main/java/com/RDS/skilltree/User/UserModel.java
This file was deleted.
Oops, something went wrong.
7 changes: 0 additions & 7 deletions
7
skill-tree/src/main/java/com/RDS/skilltree/User/UserRepository.java
This file was deleted.
Oops, something went wrong.
15 changes: 0 additions & 15 deletions
15
skill-tree/src/main/java/com/RDS/skilltree/User/UserService.java
This file was deleted.
Oops, something went wrong.
70 changes: 0 additions & 70 deletions
70
skill-tree/src/main/java/com/RDS/skilltree/User/UserServiceImpl.java
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
skill-tree/src/main/java/com/RDS/skilltree/annotations/AuthorizedRoles.java
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.