Commit ace01e0
committed
refactor: Pomodoro, StudyLog 기능 전반 Kotlin 마이그레이션(#120)
* feat: PomodoroQueryService.kt, PomodoroCommandService.kt 구현
* feat: PomodoroRepository.kt, PomodoroJpaRepository.kt, PomodoroRepositoryAdapter.kt 구현
* feat: PomodoroErrorCode.kt, PomodoroPolicy.kt 구현
* feat: PomodoroFactory.kt 구현
* feat: StudyLogController.kt 구현
* feat: StudyLogFacade.kt 구현
* feat: StudyLogQueryService.kt, StudyLogCommandService.kt 구현
* feat: StudyLogRepository.kt, StudyLogJpaRepository.kt, StudyLogRepositoryAdapter.kt 구현
* feat: StudyLogErrorCode, StudyLogPolicy 구현
* feat: StudyLogFactory.kt 구현
* feat: CreatePomodoroRequest.kt DTO 추가
* feat: PomodoroInfo.kt DTO 추가
* feat: CreateStudyLogRequest.kt, PresignStudyLogImageRequest.kt, ConfirmStudyLogImageRequest.kt DTO 추가
* feat: CreateStudyLogResponse.kt, PresignedStudyLogImageResponse.kt, LoadStudyLogsSliceResponse.kt DTO 추가
* feat: StudyLogInfo.kt, StudyLogDetail.kt, StudyLogSliceInfo.kt, PresignedStudyLogImageInfo.kt DTO 추가
* refactor: Kotlin–Java 혼용 환경에서 안정적인 접근을 위해 도메인 엔티티에 명시적 getter 추가
* refactor: Kotlin–Java 혼용 환경에서 안정적인 접근을 위해 BaseTimeEntity에 명시적 getter 추가
* refactor: record → data class 전환에 따른 DTO 접근자 호출 방식(x() → getX()) 수정
* refactor: Policy에서 삭제 여부 판단을 위해 BaseTimeEntity에 isDeleted 메서드 추가
* refactor: java pomodoro presentation, application 패키지 제거 (Kotlin 마이그레이션 완료)
* refactor: java pomodoro domain factory, policy, error 패키지 제거 (Kotlin 마이그레이션 완료)
* refactor: java pomodoro infra jpa 패키지 제거 (Kotlin 마이그레이션 완료)
* refactor: java studyLog presentation 패키지 제거 (Kotlin 마이그레이션 완료)
* refactor: java studyLog application facade 패키지 제거 (Kotlin 마이그레이션 완료)
* refactor: java studyLog domain error, policy 패키지 제거 (Kotlin 마이그레이션 완료)
* test: PomodoroFixture.kt, CreatePomodoroRequestFixture.kt 추가
* test: PomodoroTestHelper.kt 추가
* test: PomodoroQueryServiceTest.kt, PomodoroCommandServiceTest.kt 단위 테스트 추가
* test: test java pomodoro 패키지 제거 (Kotlin 마이그레이션 완료)
* test: StudyLogFixture.kt, CreateStudyLogRequestFixture.kt, PresignStudyLogImageRequestFixture.kt, ConfirmStudyLogImageRequestFixture.kt 추가
* test: StudyLogTestHelper.kt 추가
* test: StudyLogQueryServiceTest, StudyLogCommandServiceTest 단위 테스트 추가
* test: StudyLogControllerIntegrationTest 통합 테스트 추가
* test: TokenFixture에 authorization 정적 메서드 추가
* test: StampTestHelper에 getStamp 정적 메서드 추가
* chore: build.gradle에 Kotlin 환경 설정 추가
* chore: build.gradle에 Spotless Kotlin 포맷팅 설정 추가1 parent 3de9eae commit ace01e0
103 files changed
Lines changed: 3205 additions & 2975 deletions
File tree
- src
- main
- java/com/ject/studytrip
- global/common/entity
- member/domain/model
- mission/domain/model
- pomodoro
- application
- dto
- service
- domain
- error
- factory
- model
- policy
- repository
- infra/jpa
- presentation/dto/request
- stamp
- application/service
- domain/model
- studylog
- application
- dto
- facade
- service
- domain
- error
- factory
- model
- policy
- repository
- infra/jpa
- presentation/dto
- request
- response
- trip
- domain/model
- presentation/dto/response
- kotlin/com/ject/studytrip
- pomodoro
- application
- dto
- service
- domain
- error
- factory
- policy
- repository
- infra/jpa
- presentation/dto/request
- studylog
- application
- dto
- facade
- service
- domain
- error
- factory
- policy
- repository
- infra/jpa
- presentation
- controller
- dto
- request
- response
- test
- java/com/ject/studytrip
- auth/fixture
- pomodoro
- application/service
- fixture
- helper
- stamp/helper
- studylog
- application/service
- fixture
- helper
- presentation/controller
- trip/application/service
- kotlin/com/ject/studytrip
- pomodoro
- application/service
- fixture
- helper
- studylog
- application/service
- fixture
- helper
- presentation/controller
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
8 | 11 | | |
9 | 12 | | |
10 | 13 | | |
| |||
52 | 55 | | |
53 | 56 | | |
54 | 57 | | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
55 | 63 | | |
56 | 64 | | |
57 | 65 | | |
| |||
71 | 79 | | |
72 | 80 | | |
73 | 81 | | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
74 | 88 | | |
75 | 89 | | |
76 | 90 | | |
77 | 91 | | |
78 | 92 | | |
79 | 93 | | |
80 | 94 | | |
81 | | - | |
| 95 | + | |
82 | 96 | | |
83 | 97 | | |
84 | 98 | | |
| |||
96 | 110 | | |
97 | 111 | | |
98 | 112 | | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
99 | 120 | | |
100 | 121 | | |
101 | 122 | | |
| |||
Lines changed: 16 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | 7 | | |
9 | 8 | | |
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
13 | 12 | | |
14 | | - | |
15 | 13 | | |
16 | 14 | | |
17 | 15 | | |
| |||
21 | 19 | | |
22 | 20 | | |
23 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
24 | 38 | | |
Lines changed: 32 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | 13 | | |
15 | 14 | | |
16 | 15 | | |
| |||
74 | 73 | | |
75 | 74 | | |
76 | 75 | | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
77 | 108 | | |
Lines changed: 12 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | 12 | | |
14 | 13 | | |
15 | 14 | | |
| |||
32 | 31 | | |
33 | 32 | | |
34 | 33 | | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
35 | 46 | | |
Lines changed: 16 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | 14 | | |
16 | 15 | | |
17 | 16 | | |
| |||
43 | 42 | | |
44 | 43 | | |
45 | 44 | | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
46 | 61 | | |
Lines changed: 0 additions & 12 deletions
This file was deleted.
Lines changed: 0 additions & 50 deletions
This file was deleted.
Lines changed: 0 additions & 33 deletions
This file was deleted.
Lines changed: 0 additions & 34 deletions
This file was deleted.
Lines changed: 0 additions & 18 deletions
This file was deleted.
0 commit comments