Commit 8a4c65e
committed
refactor: Global, 도메인, QueryDSL 레포지토리 전반 Kotlin 마이그레이션(#131)
* feat: DateUtil.kt, FilenameUtil.kt, OriginArgumentUtil.kt 구현
* feat: HardDeleteTasklet.kt, BatchJobScheduler.kt 구현
* feat: CustomException.kt 구현
* feat: ErrorCode.kt, CommonErrorCode.kt 구현
* feat: ErrorResponse.kt, FieldErrorResponse.kt 구현
* feat: GlobalExceptionHandler.kt, ValidationExceptionHandler.kt 구현
* feat: CacheNameConstants.kt, CacheKeyConstants.kt, CookieConstants.kt, UrlConstants.kt, BatchConstants.kt 구현
* feat: CacheKeyFactory.kt 구현
* feat: StandardResponse.kt 구현
* feat: OriginExtractionFilter.kt, JwtAuthenticationFilter.kt 구현
* feat: SecurityResponseHandler.kt, CustomAccessDeniedHandler.kt 구현
* feat: CustomAuthenticationEntryPoint.kt 구현
* feat: WebSecurityConfig.kt, WebClientConfig.kt, SchedulerConfig.kt, RedisConfig.kt, RedisCacheConfig.kt, SwaggerConfig.kt 구현
* feat: JpaAuditingConfig.kt, QuerydslConfig.kt, S3Config.kt, TikaConfig.kt, CdnConfig.kt 구현
* feat: BatchJobScheduler.kt, BatchStepConfig.kt 구현
* feat: PomodoroQueryRepository.kt, PomodoroCommandRepository.kt 구현
* feat: StudyLogDailyMissionQueryRepository.kt, StudyLogDailyMissionCommandRepository.kt 구현
* feat: MissionQueryRepository.kt, MissionCommandRepository.kt 구현
* feat: DailyMissionQueryRepository.kt, DailyMissionCommandRepository.kt 구현
* feat: StampQueryRepository.kt, StampCommandRepository.kt 구현
* feat: TripQueryRepository.kt, TripCommandRepository.kt, DailyGoalCommandRepository.kt 구현
* feat: TripReportQueryRepository.kt, TripReportCommandRepository.kt, TripReportStudyLogCommandRepository.kt 구현
* feat: MemberQueryRepository.kt, MemberCommandRepository.kt 구현
* feat: TokenProperties.kt, KakaoOauthProperties.kt, RedisProperties.kt, SwaggerProperties.kt 프로퍼티 추가
* feat: S3Properties.kt, CdnProperties.kt 프로퍼티 추가
* feat: BaseTimeEntity.kt 구현
* feat: Pomodoro.kt, StudyLog.kt, StudyLogDailyMission.kt 구현
* feat: Mission.kt, DailyMission.kt, Stamp.kt 구현
* feat: Trip.kt, TripCategory.kt, DailyGoal.kt 구현
* feat: TripReport.kt, TripReportStudyLog.kt 구현
* feat: Member.kt, MemberCategory.kt, MemberRole.kt, SocialProvider.kt 구현
* feat: EntityExtentions 유틸 클래스를 구현하여, 엔티티 ID nullable 처리를 위한 requireId 확장 함수 추가
* feat: PomodoroQueryRepositoryAdapter.kt, PomodoroCommandRepositoryAdapter.kt 구현
* feat: MemberQueryRepositoryAdapter.kt, MemberCommandRepositoryAdapter.kt 구현
* feat: StudyLogQueryRepositoryAdapter.kt, StudyLogCommandRepositoryAdapter.kt 구현
* feat: StudyLogDailyMissionQueryRepositoryAdapter.kt, StudyLogDailyMissionCommandRepositoryAdapter.kt 구현
* feat: MissionQueryRepositoryAdapter.kt, MissionCommandRepositoryAdapter.kt, DailyMissionQueryRepositoryAdapter.kt, DailyMissionCommandRepositoryAdapter.kt 구현
* feat: StampQueryRepositoryAdapter.kt, StampCommandRepositoryAdapter.kt 구현
* feat: TripQueryRepositoryAdapter.kt, TripCommandRepositoryAdapter.kt, DailyGoalCommandRepositoryAdapter.kt 구현
* feat: TripReportQueryRepositoryAdapter.kt, TripReportCommandRepositoryAdapter.kt, TripReportStudyLogCommandRepositoryAdapter.kt 구현
* feat: MemberQueryRepositoryAdapter.kt, MemberCommandRepositoryAdapter.kt 구현
* refactor: ErrorCode 구현체를 프로퍼티 override 방식으로 변경하고 get 메서드 제거
* refactor: Java 설정 제거 및 Kotlin + QueryDSL(kapt) 기반으로 빌드 구성 전환
* refactor: plugin.jpa 적용에 따라 도메인 Entity를 open class에서 class로 변경
* test: PomodoroFixture.kt를 불변 생성자 기반 구조로 변경
* test: StudyLogFixture.kt를 불변 생성자 기반 구조로 변경
* test: MissionFixture.kt 불변 생성자 기반 구조로 변경
* test: StampFixture.kt 불변 생성자 기반 구조로 변경
* test: TripFixture.kt, DailyGoalFixture.kt, TripReportFixture.kt 불변 생성자 기반 구조로 변경
* test: CreatePomodoroRequestFixture.kt를 불변 생성자 기반 구조로 변경
* test: ConfirmStudyLogImageRequestFixture.kt, CreateStudyLogRequestFixture.kt, PresignStudyLogImageRequestFixture.kt를 불변 생성자 기반 구조로 변경
* test: CreateMissionRequestFixture.kt, UpdateMissionRequestFixture.kt 불변 생성자 기반 구조로 변경
* test: CreateStampRequestFixture.kt, UpdateStampRequestFixture.kt, UpdateStampOrderRequestFixture.kt 불변 생성자 기반 구조로 변경
* test: CreateTripRequestFixture.kt, CreateDailyGoalRequestFixture.kt, CreateTripReportRequestFixture.kt 불변 생성자 기반 구조로 변경
* test: UpdateTripRequestFixture.kt, UpdateDailyGoalRequestFixture.kt 불변 생성자 기반 구조로 변경
* test: PresignTripReportImageRequestFixture.kt, ConfirmTripReportImageRequestFixture.kt 불변 생성자 기반 구조로 변경
* chore: StudytripApplication.kt, StudytripApplicationTests.kt 추가
* chore: main java 패키지 삭제 (Kotlin 마이그레이션 완료)
* chore: test java 패키지 삭제 (Kotlin 마이그레이션 완료)
* chore: build.gadle에 commons-lang3 3.20.0 추가 (전이 의존성 CVE 대응)
* chore: build.gradle에서 Lombok 의존성 및 설정 제거
* fix: SpEL 호출 오류 해결을 위해 CacheKeyFactory 메서드에 @JvmStatic 추가1 parent d59e2fb commit 8a4c65e
383 files changed
Lines changed: 4168 additions & 5076 deletions
File tree
- src
- main
- java/com/ject/studytrip
- global
- annotation
- batch
- scheduler
- tasklet
- common
- constants
- entity
- factory
- response
- config
- properties
- exception
- error
- handler
- response
- security
- util
- member
- domain
- model
- repository
- infra/querydsl
- mission
- domain
- model
- repository
- infra/querydsl
- pomodoro
- domain
- model
- repository
- infra/querydsl
- sample
- stamp
- domain
- model
- repository
- infra/querydsl
- studylog
- domain
- model
- repository
- infra/querydsl
- trip
- domain
- model
- repository
- infra/querydsl
- kotlin/com/ject/studytrip
- auth
- application
- dto
- facade
- domain/error
- presentation/dto/response
- cleanup/application/facade
- dummy
- application
- dto
- facade
- service
- presentation
- controller
- dto/response
- global
- batch
- scheduler
- tasklet
- common
- constants
- entity
- factory
- response
- config
- properties
- exception
- error
- handler
- response
- security
- filter
- handler
- util
- image
- application/service
- domain/error
- infra
- s3/error
- tika/error
- member
- application
- dto
- facade
- domain
- error
- factory
- model
- policy
- repository
- infra/querydsl
- presentation
- controller
- dto/response
- mission
- application
- dto
- facade
- service
- domain
- error
- factory
- model
- policy
- repository
- infra/querydsl
- presentation/dto/response
- pomodoro
- application/dto
- domain
- error
- model
- policy
- repository
- infra/querydsl
- stamp
- application
- dto
- facade
- service
- domain
- error
- factory
- model
- policy
- repository
- infra/querydsl
- presentation/dto/response
- studylog
- application
- dto
- facade
- service
- domain
- error
- model
- policy
- repository
- infra/querydsl
- presentation
- controller
- dto/response
- trip
- application
- dto
- facade
- service
- domain
- error
- factory
- model
- policy
- repository
- infra/querydsl
- presentation
- controller
- dto/response
- test
- java/com/ject/studytrip
- kotlin/com/ject/studytrip
- auth/presentation/controller
- image/application/service
- member
- application/service
- fixture
- presentation/controller
- mission
- application/service
- fixture
- presentation/controller
- pomodoro
- application/service
- fixture
- stamp
- application/service
- fixture
- helper
- presentation/controller
- studylog
- application/service
- fixture
- presentation/controller
- trip
- application/service
- fixture
- 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 | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | 2 | | |
4 | 3 | | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
8 | 7 | | |
9 | 8 | | |
10 | | - | |
| 9 | + | |
11 | 10 | | |
12 | 11 | | |
13 | 12 | | |
| |||
19 | 18 | | |
20 | 19 | | |
21 | 20 | | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | 21 | | |
29 | 22 | | |
30 | 23 | | |
31 | 24 | | |
32 | 25 | | |
| 26 | + | |
33 | 27 | | |
34 | 28 | | |
35 | 29 | | |
36 | 30 | | |
37 | | - | |
38 | | - | |
39 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
40 | 35 | | |
41 | 36 | | |
42 | 37 | | |
| |||
46 | 41 | | |
47 | 42 | | |
48 | 43 | | |
49 | | - | |
50 | | - | |
| 44 | + | |
| 45 | + | |
51 | 46 | | |
52 | | - | |
| 47 | + | |
53 | 48 | | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
62 | 52 | | |
63 | 53 | | |
64 | 54 | | |
| |||
74 | 64 | | |
75 | 65 | | |
76 | 66 | | |
77 | | - | |
| 67 | + | |
78 | 68 | | |
79 | 69 | | |
80 | 70 | | |
81 | 71 | | |
82 | 72 | | |
83 | | - | |
84 | | - | |
| 73 | + | |
| 74 | + | |
85 | 75 | | |
86 | | - | |
| 76 | + | |
87 | 77 | | |
88 | 78 | | |
89 | | - | |
| 79 | + | |
90 | 80 | | |
91 | 81 | | |
92 | | - | |
93 | 82 | | |
94 | 83 | | |
95 | 84 | | |
96 | 85 | | |
97 | 86 | | |
98 | 87 | | |
99 | 88 | | |
100 | | - | |
| 89 | + | |
101 | 90 | | |
102 | 91 | | |
103 | 92 | | |
| |||
107 | 96 | | |
108 | 97 | | |
109 | 98 | | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | 99 | | |
120 | 100 | | |
121 | 101 | | |
| |||
126 | 106 | | |
127 | 107 | | |
128 | 108 | | |
129 | | - | |
130 | | - | |
131 | | - | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
132 | 130 | | |
133 | | - | |
Lines changed: 0 additions & 12 deletions
This file was deleted.
Lines changed: 0 additions & 10 deletions
This file was deleted.
Lines changed: 0 additions & 29 deletions
This file was deleted.
Lines changed: 0 additions & 23 deletions
This file was deleted.
Lines changed: 0 additions & 10 deletions
This file was deleted.
Lines changed: 0 additions & 17 deletions
This file was deleted.
Lines changed: 0 additions & 13 deletions
This file was deleted.
Lines changed: 0 additions & 36 deletions
This file was deleted.
Lines changed: 0 additions & 38 deletions
This file was deleted.
0 commit comments