Skip to content

UserStory2#60

Merged
Maslyna merged 56 commits intodevfrom
code_revision
Mar 29, 2023
Merged

UserStory2#60
Maslyna merged 56 commits intodevfrom
code_revision

Conversation

@LordRenDS
Copy link

No description provided.

LordRenDS and others added 30 commits March 21, 2023 00:18
* Configure project

* Create prepopulate sql scripts

* Create DTO for talent

* Create talent entity and related tables

* Create base SecurityConfig and TalentRepository

* Edit config and add dependencies

* Edit data and schema

* Edit entity and dto: remove @NotNull from different linked tables, remove some fields from ShortTalent

* Add to schema table: user_info, authority and user_authority

* Create entity: UserInfo, Authority and UserAuthority

* Create UserInfoRepository
Created TalentEntityRepository
Updated TalentRepository
Created PageConfig, that takes config from application.properties
Created ShortTalentDTO
Created TalentMapper and his impl
Created TalentService and his impl
------------
Added `GET(/api/talents)` endpoint, that returns us the `List<ShortTalentDTO>`
Added pagination to `GET(/api/talents)` endpoint
    - To use pagination you may use RequestParams:
         - page (gives us requested page)
         - size (gives us requested size of page)
Updated TalentController
Updated TalentRepository
Created TalentEntityRepository
Created FullTalentDTO
Created TalentServiceMock
Created PageConfig, that takes config from application.properties
Created ShortTalentDTO
Created TalentMapper and his impl
Created TalentService and his impl
------------
Added `GET(/api/talents)` endpoint, that returns us the `List<ShortTalentDTO>`
Added pagination to `GET(/api/talents)` endpoint
    - To use pagination you may use RequestParams:
         - page (gives us requested page)
         - size (gives us requested size of page)
Added simple exception handling
…at returns to us the FullTalentDTO

Updated FullTalentDTO
Updated TalentMapper
Updated TalentService
Created pagination.properties
Created Talent controller
Created Talent service (impl and mock)
Created exception handler
Added pagination
* Updated project structure

* Refactored code

* Added profiles
bugfix: java.io.FileNotFoundException: Could not open ServletContext resource [/pagination.properties]
BugFix: nullPointerExceptions in TalentMapperImpl were removed
User registration returns jwt-token
Created SessionInfoDTO
Created TalentEntityRepository
Updated TalentRepository
Created PageConfig, that takes config from application.properties
Created ShortTalentDTO
Created TalentMapper and his impl
Created TalentService and his impl
------------
Added `GET(/api/talents)` endpoint, that returns us the `List<ShortTalentDTO>`
Added pagination to `GET(/api/talents)` endpoint
    - To use pagination you may use RequestParams:
         - page (gives us requested page)
         - size (gives us requested size of page)
@LordRenDS LordRenDS added 🐸 backend Tasks for backend team user story #2 Tasks for 2nd user story labels Mar 29, 2023
@LordRenDS LordRenDS added this to the Sprint 1 milestone Mar 29, 2023
@Maslyna Maslyna merged commit 4b8f338 into dev Mar 29, 2023
@LordRenDS LordRenDS deleted the code_revision branch March 29, 2023 21:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🐸 backend Tasks for backend team user story #2 Tasks for 2nd user story

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Task#3 Add to service Task#2 Add to controller Task#1 Create DTO User story #2

2 participants