-
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.
refactor: presentation 레이어로 controller 위치 수정
이 프로젝트의 controller는 사용자 입력을 처리하는 주로 처리하기 때문에 presentation 레이어로 옮겼습니다
- Loading branch information
Showing
23 changed files
with
61 additions
and
56 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
9 changes: 0 additions & 9 deletions
9
...ain/java/com/flow/sa46lll/fileshield/application/port/in/BlockCustomExtensionUseCase.java
This file was deleted.
Oops, something went wrong.
8 changes: 0 additions & 8 deletions
8
...tion/src/main/java/com/flow/sa46lll/fileshield/application/port/in/GetExtensionQuery.java
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
...tion/dto/BlockCustomExtensionCommand.java → ...ield/dto/BlockCustomExtensionCommand.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
...ion/dto/BlockCustomExtensionResponse.java → ...eld/dto/BlockCustomExtensionResponse.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
...plication/dto/BlockedExtensionMapper.java → ...ileshield/dto/BlockedExtensionMapper.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
...application/dto/GetExtensionResponse.java → .../fileshield/dto/GetExtensionResponse.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/dto/GetExtensionsResponse.java → ...fileshield/dto/GetExtensionsResponse.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/BlockCustomExtensionResponseMapper.java → ...r/BlockCustomExtensionResponseMapper.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
...cation/src/main/java/com/flow/sa46lll/fileshield/port/in/BlockCustomExtensionUseCase.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 @@ | ||
package com.flow.sa46lll.fileshield.port.in; | ||
|
||
import com.flow.sa46lll.fileshield.dto.BlockCustomExtensionCommand; | ||
import com.flow.sa46lll.fileshield.dto.BlockCustomExtensionResponse; | ||
|
||
public interface BlockCustomExtensionUseCase { | ||
|
||
BlockCustomExtensionResponse blockCustom(final BlockCustomExtensionCommand blockCustomExtensionCommand); | ||
} |
8 changes: 8 additions & 0 deletions
8
...ield-application/src/main/java/com/flow/sa46lll/fileshield/port/in/GetExtensionQuery.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.flow.sa46lll.fileshield.port.in; | ||
|
||
import com.flow.sa46lll.fileshield.dto.GetExtensionsResponse; | ||
|
||
public interface GetExtensionQuery { | ||
|
||
GetExtensionsResponse findAll(); | ||
} |
2 changes: 1 addition & 1 deletion
2
...ort/in/UnblockCustomExtensionUseCase.java → ...ort/in/UnblockCustomExtensionUseCase.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
.../port/in/UpdateFixedExtensionUsecase.java → .../port/in/UpdateFixedExtensionUsecase.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
...on/port/out/ExtensionPersistencePort.java → ...ld/port/out/ExtensionPersistencePort.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
10 changes: 5 additions & 5 deletions
10
...cation/service/ExtensionQueryService.java → ...shield/service/ExtensionQueryService.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
18 changes: 9 additions & 9 deletions
18
...ation/service/ExtensionUpdateService.java → ...hield/service/ExtensionUpdateService.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
dependencies { | ||
implementation(project(':fileshield-domain')) | ||
implementation(project(':fileshield-application')) | ||
implementation(project(':fileshield-presentation')) | ||
implementation(project(':fileshield-infrastructure')) | ||
implementation 'org.springframework.boot:spring-boot-starter-web' | ||
} |
2 changes: 1 addition & 1 deletion
2
...otstrap/src/main/java/com/flow/sa46lll/fileshield/adapter/in/web/ApiControllerAdvice.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
...ucture/src/main/java/com/flow/sa46lll/fileshield/adapter/ExtensionPersistenceAdapter.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
5 changes: 3 additions & 2 deletions
5
...d/adapter/in/web/ExtensionController.java → ...l/fileshield/api/ExtensionController.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
18 changes: 9 additions & 9 deletions
18
...apter/in/web/ExtensionRestController.java → ...leshield/api/ExtensionRestController.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
...leshield/application/dto/ApiResponse.java → ...w/sa46lll/fileshield/dto/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