-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: (#672) UseCase 에 slack api 로직 추가 & SendBugService
- Loading branch information
Showing
4 changed files
with
36 additions
and
9 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
8 changes: 8 additions & 0 deletions
8
dms-core/src/main/kotlin/team/aliens/dms/domain/bug/service/SendBugService.kt
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 team.aliens.dms.domain.bug.service | ||
|
||
import team.aliens.dms.domain.bug.model.BugReport | ||
|
||
interface SendBugService { | ||
|
||
fun sendBugReport(bugReport: BugReport) | ||
} |
15 changes: 15 additions & 0 deletions
15
dms-core/src/main/kotlin/team/aliens/dms/domain/bug/service/SendBugServiceImpl.kt
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,15 @@ | ||
package team.aliens.dms.domain.bug.service | ||
|
||
import team.aliens.dms.common.annotation.Service | ||
import team.aliens.dms.domain.bug.model.BugReport | ||
import team.aliens.dms.domain.bug.spi.SendBugPort | ||
|
||
@Service | ||
class SendBugServiceImpl( | ||
private val sendBugPort: SendBugPort | ||
) : SendBugService { | ||
|
||
override fun sendBugReport(bugReport: BugReport) { | ||
sendBugPort.sendBugReport(bugReport) | ||
} | ||
} |
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