-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #95 from makevook/issue/94
refactor: spring modulith 도입 및 패키지 리팩토링
- Loading branch information
Showing
148 changed files
with
574 additions
and
439 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
8 changes: 0 additions & 8 deletions
8
api/src/main/java/vook/server/api/app/contexts/demo/application/DemoTermSearchService.java
This file was deleted.
Oops, something went wrong.
6 changes: 0 additions & 6 deletions
6
...src/main/java/vook/server/api/app/contexts/term/exception/TermLimitExceededException.java
This file was deleted.
Oops, something went wrong.
6 changes: 0 additions & 6 deletions
6
...src/main/java/vook/server/api/app/contexts/user/exception/AlreadyOnboardingException.java
This file was deleted.
Oops, something went wrong.
6 changes: 0 additions & 6 deletions
6
...src/main/java/vook/server/api/app/contexts/user/exception/AlreadyRegisteredException.java
This file was deleted.
Oops, something went wrong.
6 changes: 0 additions & 6 deletions
6
.../main/java/vook/server/api/app/contexts/user/exception/NotReadyToOnboardingException.java
This file was deleted.
Oops, something went wrong.
6 changes: 0 additions & 6 deletions
6
api/src/main/java/vook/server/api/app/contexts/user/exception/NotRegisteredException.java
This file was deleted.
Oops, something went wrong.
6 changes: 0 additions & 6 deletions
6
api/src/main/java/vook/server/api/app/contexts/user/exception/UserNotFoundException.java
This file was deleted.
Oops, something went wrong.
6 changes: 0 additions & 6 deletions
6
api/src/main/java/vook/server/api/app/contexts/user/exception/WithdrawnUserException.java
This file was deleted.
Oops, something went wrong.
6 changes: 0 additions & 6 deletions
6
...a/vook/server/api/app/contexts/vocabulary/exception/VocabularyLimitExceededException.java
This file was deleted.
Oops, something went wrong.
6 changes: 0 additions & 6 deletions
6
...n/java/vook/server/api/app/contexts/vocabulary/exception/VocabularyNotFoundException.java
This file was deleted.
Oops, something went wrong.
20 changes: 0 additions & 20 deletions
20
api/src/main/java/vook/server/api/app/crosscontext/polices/VocabularyPolicy.java
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
@ApplicationModule( | ||
type = ApplicationModule.Type.OPEN | ||
) | ||
package vook.server.api.config; | ||
|
||
import org.springframework.modulith.ApplicationModule; |
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
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: 6 additions & 0 deletions
6
api/src/main/java/vook/server/api/domain/common/exception/DomainException.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,6 @@ | ||
package vook.server.api.domain.common.exception; | ||
|
||
import vook.server.api.globalcommon.exception.AppException; | ||
|
||
public class DomainException extends AppException { | ||
} |
7 changes: 4 additions & 3 deletions
7
...pp/common/exception/ExceptionAdvisor.java → ...in/common/exception/ExceptionAdvisor.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
...ver/api/app/common/entity/BaseEntity.java → ...r/api/domain/common/model/BaseEntity.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: 7 additions & 0 deletions
7
api/src/main/java/vook/server/api/domain/common/package-info.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,7 @@ | ||
@ApplicationModule( | ||
type = ApplicationModule.Type.OPEN, | ||
displayName = "Domain Common" | ||
) | ||
package vook.server.api.domain.common; | ||
|
||
import org.springframework.modulith.ApplicationModule; |
4 changes: 2 additions & 2 deletions
4
...pi/app/contexts/demo/domain/DemoTerm.java → ...erver/api/domain/demo/model/DemoTerm.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
...texts/demo/domain/DemoTermRepository.java → ...domain/demo/model/DemoTermRepository.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
...contexts/demo/domain/DemoTermSynonym.java → ...pi/domain/demo/model/DemoTermSynonym.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
...emo/domain/DemoTermSynonymRepository.java → ...demo/model/DemoTermSynonymRepository.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
9 changes: 9 additions & 0 deletions
9
api/src/main/java/vook/server/api/domain/demo/package-info.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,9 @@ | ||
@ApplicationModule( | ||
type = ApplicationModule.Type.OPEN, | ||
allowedDependencies = { | ||
"common" | ||
} | ||
) | ||
package vook.server.api.domain.demo; | ||
|
||
import org.springframework.modulith.ApplicationModule; |
6 changes: 3 additions & 3 deletions
6
...ontexts/demo/application/DemoService.java → .../api/domain/demo/service/DemoService.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
8 changes: 8 additions & 0 deletions
8
api/src/main/java/vook/server/api/domain/demo/service/DemoTermSearchService.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 vook.server.api.domain.demo.service; | ||
|
||
import vook.server.api.domain.demo.service.data.DemoTermSearchParams; | ||
import vook.server.api.domain.demo.service.data.DemoTermSearchResult; | ||
|
||
public interface DemoTermSearchService { | ||
DemoTermSearchResult search(DemoTermSearchParams params); | ||
} |
2 changes: 1 addition & 1 deletion
2
...pplication/data/DemoTermSearchParams.java → ...mo/service/data/DemoTermSearchParams.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
...pplication/data/DemoTermSearchResult.java → ...mo/service/data/DemoTermSearchResult.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: 6 additions & 0 deletions
6
api/src/main/java/vook/server/api/domain/term/exception/TermLimitExceededException.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,6 @@ | ||
package vook.server.api.domain.term.exception; | ||
|
||
import vook.server.api.domain.common.exception.DomainException; | ||
|
||
public class TermLimitExceededException extends DomainException { | ||
} |
4 changes: 2 additions & 2 deletions
4
...er/api/app/contexts/term/domain/Term.java → ...ok/server/api/domain/term/model/Term.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
.../contexts/term/domain/TermRepository.java → ...api/domain/term/model/TermRepository.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
...app/contexts/term/domain/TermSynonym.java → ...er/api/domain/term/model/TermSynonym.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
...pp/contexts/term/domain/VocabularyId.java → ...r/api/domain/term/model/VocabularyId.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
Oops, something went wrong.