-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- 웹만을 고려하지 않고 확장성 있는 의미로 web 패키지 -> api 패키지로 명칭 변경 - 영속성 관리 차원에서 persistence 패키지 내부에 rdbms, searchengine 패키지 이동 - logs 패키지는 controller에서 활용되는 부분이므로 api 패키지 하위로 이동 - security 관련 설정은 전 프로젝트를 아우르므로 common 패키지 하위에 security 패키지 생성 후 관리 예정 - 실제 외부 영속성과 통신하는 부분은 Repository로 끝나도록 명칭 변경 (예외는 존재) - 가독성 향상을 위해 adapter layer에서 명시적으로 entity 패키지를 생성하여 관리 - domain 패키지는 비즈니스 로직을 구현하는 부분인 application 패키지 내부로 이동하는게 더 자연스럽다는 의견 반영
- Loading branch information
Showing
32 changed files
with
59 additions
and
111 deletions.
There are no files selected for viewing
16 changes: 0 additions & 16 deletions
16
webtoon-search-back/webtoon-search/Dockerfile-spring-original
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
...hoh/webtoonsearch/common/ApiResponse.java → ...ebtoonsearch/adapter/api/ApiResponse.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
2 changes: 1 addition & 1 deletion
2
...rch/adapter/web/member/NaverUserInfo.java → ...rch/adapter/api/member/NaverUserInfo.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
2 changes: 1 addition & 1 deletion
2
...ch/adapter/web/member/OAuth2UserInfo.java → ...ch/adapter/api/member/OAuth2UserInfo.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
2 changes: 1 addition & 1 deletion
2
...h/adapter/web/member/OAuthController.java → ...h/adapter/api/member/OAuthController.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
2 changes: 1 addition & 1 deletion
2
.../adapter/web/member/PrincipalDetails.java → .../adapter/api/member/PrincipalDetails.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
4 changes: 2 additions & 2 deletions
4
.../web/webtoon/SearchWebtoonController.java → .../api/webtoon/SearchWebtoonController.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
2 changes: 1 addition & 1 deletion
2
...er/web/webtoon/SearchWebtoonResponse.java → ...er/api/webtoon/SearchWebtoonResponse.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
4 changes: 2 additions & 2 deletions
4
...r/web/webtoon/SelectRecordController.java → ...r/api/webtoon/SelectRecordController.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
2 changes: 1 addition & 1 deletion
2
...pter/web/webtoon/SelectRecordRequest.java → ...pter/api/webtoon/SelectRecordRequest.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
7 changes: 0 additions & 7 deletions
7
.../main/java/com/samsamohoh/webtoonsearch/adapter/persistence/MemberPersistenceAdapter.java
This file was deleted.
Oops, something went wrong.
6 changes: 0 additions & 6 deletions
6
.../main/java/com/samsamohoh/webtoonsearch/adapter/persistence/SearchPersistenceAdpater.java
This file was deleted.
Oops, something went wrong.
7 changes: 0 additions & 7 deletions
7
.../main/java/com/samsamohoh/webtoonsearch/adapter/persistence/SelectPersistenceAdapter.java
This file was deleted.
Oops, something went wrong.
8 changes: 8 additions & 0 deletions
8
...main/java/com/samsamohoh/webtoonsearch/adapter/persistence/rdbms/MemberJpaRepository.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,8 @@ | ||
package com.samsamohoh.webtoonsearch.adapter.persistence.rdbms; | ||
|
||
import com.samsamohoh.webtoonsearch.adapter.persistence.rdbms.entity.RegisterMemberEntity; | ||
import org.springframework.data.jpa.repository.JpaRepository; | ||
|
||
public interface MemberJpaRepository extends JpaRepository<RegisterMemberEntity, Long> { | ||
RegisterMemberEntity findByProviderId(String providerId); | ||
} |
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
8 changes: 8 additions & 0 deletions
8
...main/java/com/samsamohoh/webtoonsearch/adapter/persistence/rdbms/SelectJpaRepository.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,8 @@ | ||
package com.samsamohoh.webtoonsearch.adapter.persistence.rdbms; | ||
|
||
import com.samsamohoh.webtoonsearch.adapter.persistence.rdbms.entity.SelectRecordEntity; | ||
import org.springframework.data.jpa.repository.JpaRepository; | ||
|
||
public interface SelectJpaRepository extends JpaRepository<SelectRecordEntity, String> { | ||
|
||
} |
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
2 changes: 1 addition & 1 deletion
2
...ter/persistence/RegisterMemberEntity.java → ...ce/rdbms/entity/RegisterMemberEntity.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
2 changes: 1 addition & 1 deletion
2
...apter/persistence/SelectRecordEntity.java → ...ence/rdbms/entity/SelectRecordEntity.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
File renamed without changes.
File renamed without changes.
6 changes: 1 addition & 5 deletions
6
...dapter/config/OpenSearchClientConfig.java → ...engine/config/OpenSearchClientConfig.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
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...pter/persistence/SearchWebtoonEntity.java → ...rchengine/entity/SearchWebtoonEntity.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
2 changes: 1 addition & 1 deletion
2
...ebtoonsearch/domain/MemberValidation.java → .../application/domain/MemberValidation.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
2 changes: 1 addition & 1 deletion
2
...btoonsearch/domain/SearchableWebtoon.java → ...application/domain/SearchableWebtoon.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
6 changes: 3 additions & 3 deletions
6
...ain/java/com/samsamohoh/webtoonsearch/application/service/PrincipalOauth2UserService.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
2 changes: 1 addition & 1 deletion
2
...search/adapter/config/SecurityConfig.java → ...ommon/security/config/SecurityConfig.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
7 changes: 3 additions & 4 deletions
7
.../web/SearchWebtoonControllerUnitTest.java → .../api/SearchWebtoonControllerUnitTest.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