Skip to content

User story#3, 4#61

Merged
Maslyna merged 30 commits intodevfrom
UserStory#3(1.0)
Apr 3, 2023
Merged

User story#3, 4#61
Maslyna merged 30 commits intodevfrom
UserStory#3(1.0)

Conversation

@Maslyna
Copy link

@Maslyna Maslyna commented Apr 3, 2023

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
Added annotation @UrlList
# Conflicts:
#	src/main/java/com/provedcode/talent/TalentController.java
#	src/main/java/com/provedcode/talent/model/dto/FullTalentDTO.java
#	src/main/java/com/provedcode/talent/model/entity/Talent.java
#	src/main/java/com/provedcode/talent/model/entity/TalentAttachedFile.java
#	src/main/java/com/provedcode/talent/model/entity/TalentContact.java
#	src/main/java/com/provedcode/talent/model/entity/TalentDescription.java
#	src/main/java/com/provedcode/talent/model/entity/TalentLink.java
#	src/main/java/com/provedcode/talent/model/entity/TalentSkill.java
#	src/main/java/com/provedcode/talent/repo/TalentRepository.java
#	src/main/java/com/provedcode/talent/service/TalentService.java
#	src/main/java/com/provedcode/talent/service/impl/TalentServiceImpl.java
#	src/main/java/com/provedcode/user/controller/AuthenticationController.java
#	src/main/java/com/provedcode/user/model/dto/RegistrationDTO.java
#	src/main/java/com/provedcode/user/service/impl/AuthenticationServiceImpl.java
#	src/main/resources/application-dev.properties
@Maslyna Maslyna added this to the Sprint 1 milestone Apr 3, 2023
@LordRenDS LordRenDS self-requested a review April 3, 2023 18:41
@Maslyna Maslyna merged commit 09d260a into dev Apr 3, 2023
@Maslyna Maslyna deleted the UserStory#3(1.0) branch April 3, 2023 18:42
@LordRenDS LordRenDS added user story #3 Tasks for 3d user story user story #4 Tasks for 4d user story 🐸 backend Tasks for backend team labels May 15, 2023
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 #3 Tasks for 3d user story user story #4 Tasks for 4d user story

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants