-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix: session 가져오는 로직 변경 및 Long에서 MemberId 반환하도록 변경 - 기존 Long으로 사용시 AuthArgumentResolver가 동작안하고 기본 argumentresolver가 동작 * refactor: 리뷰 내용 없을 경우 예외 반환 * refactor: session 없을 시, 예외 던지도록 변경 * fix: 시간정보 null일 때 처리 * feat: 인덱스 적용 - 주차장 공간 인덱스 적용 - 조회 조건에서 회원 id에 인덱스 적용 - 리뷰에서 주차장 id, 리뷰 id 복합 인덱스 적용 * refactor: 인터셉터에서 사용하는 세션 쿼리 개선 - readOnly 트랜잭션으로 읽어오고 만료기한 update를 위해 조회 추가 쿼리 발생(총 3회)에서 2회로 개선 * fix: CircuitBreaker 테스트 시간 조정 * fix: 세션 쿼리 테스트 커밋 안된 부분 커밋
- Loading branch information
Showing
28 changed files
with
153 additions
and
93 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
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
12 changes: 6 additions & 6 deletions
12
...main/java/com/parkingcomestrue/parking/api/searchcondition/SearchConditionController.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
6 changes: 3 additions & 3 deletions
6
app-api/src/main/java/com/parkingcomestrue/parking/application/member/MemberService.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
21 changes: 21 additions & 0 deletions
21
app-api/src/main/java/com/parkingcomestrue/parking/application/member/dto/MemberId.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
package com.parkingcomestrue.parking.application.member.dto; | ||
|
||
import lombok.Getter; | ||
|
||
@Getter | ||
public class MemberId { | ||
|
||
private long id; | ||
|
||
private MemberId(long id) { | ||
this.id = id; | ||
} | ||
|
||
public static MemberId from(long id) { | ||
return new MemberId(id); | ||
} | ||
|
||
public boolean isGuestUser() { | ||
return id < 0; | ||
} | ||
} |
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
5 changes: 5 additions & 0 deletions
5
...rc/main/java/com/parkingcomestrue/parking/application/review/dto/ReviewCreateRequest.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
Oops, something went wrong.