Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(entity): modify entity & tables (#85)
* refactor: modify entity * refactor: modify create table query * fix: fix compile error * refactor(base): separate createAt modifiedAt column * feat(entity): add entity cost, cost_history, heart, meeting, meeting_request, team_member * feat(enum): Apply JPA Attribute Converter to Enum field of entity (#86) * feat(code): add initialize code sql on local envirionment (#87) * feat(codeFixture): add getter methods * feat(sql): add code insert sql to submodule * feat(code): add find code by code_value query & test * refactor(repository): change code setUp method in AbstractRepositoryUnitTest --------- Co-authored-by: KAispread <[email protected]> * refactor(image): change api request&response data (#88) * refactor(s3): add s3Service * refactor(member): add profileImage upload api * refactor(profileImage): delete unused controller * chore(application.yml): add multipart file and request size option * test(member): add test case for profileImage upload API * refactor(s3): add bucket parameter to upload function * chore(member): change request url from underbar to dash * refactor(member): move function for profileImage upload from MemberService to MemberImageService * refactor(team): modify data type from Integer to DrinkRate Enum * refactor(member): modify nickname length from 20 to 10 * refactor(member): change api request&response data (#89) * refactor(error): change class name TeamAlreadyExistsException -> TeamExistsException * feat(member): add Member Delete Method & team field & setting team * feat(team): add setting teamLeader method * feat(member): add member delete * test(member): test member delete method * refactor(member): change member api classification * feat(code): add initialize code sql on local envirionment (#87) * feat(codeFixture): add getter methods * feat(sql): add code insert sql to submodule * feat(code): add find code by code_value query & test * refactor(repository): change code setUp method in AbstractRepositoryUnitTest --------- Co-authored-by: KAispread <[email protected]> * feat(valid): add bean validator for create Member RequestDto * test(valid): test bean validator * feat(error): add error messages for validator * refactor(member): refactor CreateMemberRequestDto * feat(code): add query findByCodePk and CodePk static factory method * test(code): test query * refactor(member): create member api refactoring * test(member): test create member service method * test(member): test create member api * test(member): read member detail api test refactoring * refactor(member): change MemberDetailResponseDto specification * refactor(fixture): change MemberDetailResponseDto specification * refactor(member): modify memberService specification * feat(member): add find member with fetch join & test * refactor(member): modify member spec * refactor(member): change member api controller & test * refactor(member): refactor read member service code * test(member): test read member * fix(member): fix compile error * refactor(team): modify data type from Integer to DrinkRate Enum * refactor(member): add Member update method and change nickname length * feat(member): add MBTI exception * refactor(team): remove unnecessary field on team constructor * test(member): test member nickname length validation * test(member): test update member * feat(member): add update member (nickname, mbti) * refactor(member): remove unused dto * style(member): change number controller parameter * refactor(member): change nickname length validation 3 -> 2 * feat(member): add nickname format validation * refactor(validate): change CustomFormatValidator static REGX instance * feat(member): add update value validation logic * feat(member): add bean valid annotation that validate nickname format --------- Co-authored-by: KAispread <[email protected]> Co-authored-by: chaerim <[email protected]> * fix(test): make test red to green (#91) * test: fix test authorization to green * test: fix test red to green * refactor(auth): make load Member code clean * test(auth): add findByPhoneNumber query test * fix(auth): fix bug MemberPrincipal-toString() * feat(code): add CodePk format validator * test(code): test validateCodePkFormat method * feat(code): add query find Code list by CodePk list * refactor(code): refactoring findCodeList and test * style(test): change display name --------- Co-authored-by: KAispread <[email protected]> * refactor(persist): refactor persist login (#92) * refactor(member): move imageAuth field into ProfileImage * refactor(persist): change PersistResponseDto field * refactor(persist): remove PersistRepository from MemberRepository * refactor(test): change PersistLoginRepository bean type * test: add test before query refactoring * fix(test): make test red to green (#91) * test: fix test authorization to green * test: fix test red to green * refactor(auth): make load Member code clean * test(auth): add findByPhoneNumber query test * fix(auth): fix bug MemberPrincipal-toString() * feat(code): add CodePk format validator * test(code): test validateCodePkFormat method * feat(code): add query find Code list by CodePk list * refactor(code): refactoring findCodeList and test * style(test): change display name --------- Co-authored-by: KAispread <[email protected]> * feat(persist): implement persist login * fix(persist): fix compile error * feat(profileImage): Add a method that returns boolean value --------- Co-authored-by: KAispread <[email protected]> * refactor(member): change input data validation logic * refactor(team): change api request&response data (#90) * refactor(s3): add s3Service * refactor(member): add profileImage upload api * feat(teamImage): add teamImage entity * refactor(member): change member api classification * refactor(team): change team api classification * chore: do cherry-pick f73a733 * chore: do cherry-pick 73a07da * feat(team): add setting teamLeader method * refactor(team): add parameter to createTeam * refactor(member): delete unused service function * Merge into E2I-80-rim/modify-team-api from refactor-kai-83/modify-entity * refactor(team): modify CreateTeamRequestDto field * refactor(teamImage): change column name from order to sequence * chore(member): change collegeType description * feat(team): add api to create team * feat(team): add api to update team * feat(team): add api to delete team * chore: change spring max-request-size * feat(team): add api to read team * refactor(team): add validation to create team * refactor(team): add orphanRemoval = true option to teamMembers * refactor(dto): delete builder annotation * refactor(dto): change parameter to TeamMember for TeamMemberResponseDto --------- Co-authored-by: KAispread <[email protected]> * fix: Add exception handler and EndPointcheckfilter to security (#93) * test: add RequestEndPointChecker to AbstractIntegrationTest * feat(filter): add RequestEndPointChecker to filter * test(filter): add api test for endpoint check filter * feat(error): add exception handler caused by controller * fix(member): Add handling null from profile image instance --------- Co-authored-by: KAispread <[email protected]> * chore(test): change collegeType data description * fix: change test code error * feat(log): add logging filter & AOP module (#94) * feat(member): add DynamicUpdate to Member Entity for optimize query * test: change test type to DynamicTest * chore(log): add log4j2 dependency & configuration file * cherry-pick: fix: Add exception handler and EndPointcheckfilter to security (#93) * feat(log): add module counting query invocation in one http request * feat(log): add filter logging request and response information * feat(log): add logging filter to spring security * feat(log): add memberId to MDC after authenticated * feat(log): add Controller, Service Log AOP module * refactor(log): change log format * style: change error message and resolver logic * refactor: change Aspect getMemberId() logic * fix: fix compile error in Integration Test * test: combine Test environment to reduce rising Spring Boot Server * refactor(log): change log framework (#97) * chore: change log framework log4j2 to logback * refactor: change log module log4j2 to slf4j --------- Co-authored-by: KAispread <[email protected]> --------- Co-authored-by: KAispread <[email protected]> Co-authored-by: chaerim <[email protected]> * test(team): add controller, service test (#96) * test(team): add test case for TeamService * test(team): add test case for TeamController --------- Co-authored-by: LeeKiWoo <[email protected]> * feat(phone): phone validate response * fix: change test code error * refactor(member): change nickname length * test(fix): fix member test fali --------- Co-authored-by: KAispread <[email protected]> Co-authored-by: Chaerim1001 <[email protected]> Co-authored-by: chaerim <[email protected]>
- Loading branch information