-
Notifications
You must be signed in to change notification settings - Fork 2
feat: 카카오 챗봇 API 구현 #485
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
feat: 카카오 챗봇 API 구현 #485
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
94a91ab
feat: 카카오 챗봇 식단 API 구성
Choi-JJunho 5a3b8fd
refactor: adapter 형태로 수정
Choi-JJunho 118bbf2
feat: bus 남은시간 API 구현
Choi-JJunho ebd7f43
feat: bus 경로 API 구현
Choi-JJunho a48ea10
refactor: 로깅용 코드 제거
Choi-JJunho b00525e
refactor: KoinException 구체화
Choi-JJunho 6e99960
refactor: Exception 정리 구체화
Choi-JJunho 340562e
refactor: getFullMessage로 변경
Choi-JJunho 968917a
refactor: slack 알림 dev 이외에도 포함되도록 수정
Choi-JJunho 2063b67
test: 테스트 수정
Choi-JJunho b5a02b3
Merge branch 'develop' of https://github.com/BCSDLab/KOIN_API_V2 into…
Choi-JJunho 90f5e27
refactor: 미사용 변수 제거
Choi-JJunho 5248d2f
refactor: 메뉴 검증 추가
Choi-JJunho d5c7dee
fix: 오타수정
Choi-JJunho 46325a4
refactor: magicNumber 상수 추출
Choi-JJunho 5d9361c
refactor: 페이코로 변경
Choi-JJunho 2217068
refactor: 표준예외, 커스텀예외 구분
Choi-JJunho 920034d
style: 라인 포맷팅
Choi-JJunho e73b6b2
fix: 결과 joiner 참조 수정
Choi-JJunho 1a18017
style: 순서 변경
Choi-JJunho 35b10ab
refactor: from 활용
Choi-JJunho 1f1c4fa
refactor: Enum 활용하도록 수정
Choi-JJunho 61f7e1d
refactor: 변수명 수정
Choi-JJunho 209e8d5
refactor: 자바 기본 예외 래핑
Choi-JJunho 076a630
refactor: 제약조건 수정
Choi-JJunho File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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
11 changes: 8 additions & 3 deletions
11
src/main/java/in/koreatech/koin/domain/bus/exception/BusDirectionNotFoundException.java
This file contains hidden or 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,15 +1,20 @@ | ||
| package in.koreatech.koin.domain.bus.exception; | ||
|
|
||
| public class BusDirectionNotFoundException extends IllegalArgumentException { | ||
| import in.koreatech.koin.global.exception.KoinIllegalArgumentException; | ||
|
|
||
| public class BusDirectionNotFoundException extends KoinIllegalArgumentException { | ||
|
|
||
| private static final String DEFAULT_MESSAGE = "정상적인 버스 방향이 아닙니다."; | ||
|
|
||
| public BusDirectionNotFoundException(String message) { | ||
| super(message); | ||
| } | ||
|
|
||
| public BusDirectionNotFoundException(String message, String detail) { | ||
| super(message, detail); | ||
| } | ||
|
|
||
| public static BusDirectionNotFoundException withDetail(String detail) { | ||
| String message = String.format("%s %s", DEFAULT_MESSAGE, detail); | ||
| return new BusDirectionNotFoundException(message); | ||
| return new BusDirectionNotFoundException(DEFAULT_MESSAGE, detail); | ||
| } | ||
| } |
11 changes: 8 additions & 3 deletions
11
src/main/java/in/koreatech/koin/domain/bus/exception/BusIllegalArrivalTime.java
This file contains hidden or 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,15 +1,20 @@ | ||
| package in.koreatech.koin.domain.bus.exception; | ||
|
|
||
| public class BusIllegalArrivalTime extends IllegalArgumentException { | ||
| import in.koreatech.koin.global.exception.KoinIllegalArgumentException; | ||
|
|
||
| public class BusIllegalArrivalTime extends KoinIllegalArgumentException { | ||
|
|
||
| private static final String DEFAULT_MESSAGE = "버스 도착 시각이 잘못되었습니다."; | ||
|
|
||
| public BusIllegalArrivalTime(String message) { | ||
| super(message); | ||
| } | ||
|
|
||
| public BusIllegalArrivalTime(String message, String detail) { | ||
| super(message, detail); | ||
| } | ||
|
|
||
| public static BusIllegalArrivalTime withDetail(String detail) { | ||
| String message = String.format("%s %s", DEFAULT_MESSAGE, detail); | ||
| return new BusIllegalArrivalTime(message); | ||
| return new BusIllegalArrivalTime(DEFAULT_MESSAGE, detail); | ||
| } | ||
| } |
11 changes: 8 additions & 3 deletions
11
src/main/java/in/koreatech/koin/domain/bus/exception/BusIllegalStationException.java
This file contains hidden or 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,15 +1,20 @@ | ||
| package in.koreatech.koin.domain.bus.exception; | ||
|
|
||
| public class BusIllegalStationException extends IllegalArgumentException { | ||
| import in.koreatech.koin.global.exception.KoinIllegalArgumentException; | ||
|
|
||
| public class BusIllegalStationException extends KoinIllegalArgumentException { | ||
|
|
||
| private static final String DEFAULT_MESSAGE = "버스 정류장이 잘못되었습니다."; | ||
|
|
||
| public BusIllegalStationException(String message) { | ||
| super(message); | ||
| } | ||
|
|
||
| public BusIllegalStationException(String message, String detail) { | ||
| super(message, detail); | ||
| } | ||
|
|
||
| public static BusIllegalStationException withDetail(String detail) { | ||
| String message = String.format("%s %s", DEFAULT_MESSAGE, detail); | ||
| return new BusIllegalStationException(message); | ||
| return new BusIllegalStationException(DEFAULT_MESSAGE, detail); | ||
| } | ||
| } |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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
12 changes: 9 additions & 3 deletions
12
src/main/java/in/koreatech/koin/domain/bus/exception/BusTypeNotSupportException.java
This file contains hidden or 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,14 +1,20 @@ | ||
| package in.koreatech.koin.domain.bus.exception; | ||
|
|
||
| public class BusTypeNotSupportException extends IllegalArgumentException { | ||
| import in.koreatech.koin.global.exception.KoinIllegalArgumentException; | ||
|
|
||
| public class BusTypeNotSupportException extends KoinIllegalArgumentException { | ||
|
|
||
| private static final String DEFAULT_MESSAGE = "해당 버스타입에는 지원하지 않는 기능입니다."; | ||
|
|
||
| public BusTypeNotSupportException(String message) { | ||
| super(message); | ||
| } | ||
|
|
||
| public BusTypeNotSupportException(String message, String detail) { | ||
| super(message, detail); | ||
| } | ||
|
|
||
| public static BusTypeNotSupportException withDetail(String detail) { | ||
| String message = String.format("%s %s", DEFAULT_MESSAGE, detail); | ||
| return new BusTypeNotSupportException(message); | ||
| return new BusTypeNotSupportException(DEFAULT_MESSAGE, detail); | ||
| } | ||
| } |
This file contains hidden or 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 hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.