-
Notifications
You must be signed in to change notification settings - Fork 0
♻️ refactor : 결제 서비스 주소 변경 #38
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -63,7 +63,7 @@ public Payment savePayment(ConfirmPaymentRequest confirmPaymentRequest) throws E | |||||||||||||||
| Payment saved = paymentPort.savePayment(payment); | ||||||||||||||||
|
|
||||||||||||||||
| // 주문 정보 전달 | ||||||||||||||||
| orderFeignPort.completeOrder(saved.getOrderId()); | ||||||||||||||||
| orderFeignPort.completeOrder(Long.valueOf(saved.getOrderId())); | ||||||||||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🛠️ Refactor suggestion 타입 변환 시 예외 처리 필요
다음과 같이 수정하는 것을 권장합니다: - orderFeignPort.completeOrder(Long.valueOf(saved.getOrderId()));
+ try {
+ orderFeignPort.completeOrder(Long.valueOf(saved.getOrderId()));
+ } catch (NumberFormatException e) {
+ log.error("주문 ID 형식 오류: {}", saved.getOrderId(), e);
+ throw new IllegalStateException(ErrorCode.BAD_REQUEST.getMessage());
+ }📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||||||||||||
|
|
||||||||||||||||
| return saved; | ||||||||||||||||
|
|
||||||||||||||||
|
|
||||||||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💡 Verification agent
🧩 Analysis chain
서비스 URL 업데이트 확인됨
주문 서비스의 URL이
http://34.127.7.212:8101에서http://54.66.149.225:8100으로 변경되었습니다. 이 변경사항이 모든 환경(개발, 테스트, 프로덕션)에서 일관되게 적용되었는지 확인하세요.다음 스크립트를 실행하여 다른 서비스에서도 이 새 URL을 참조하고 있는지 확인하세요:
🏁 Script executed:
Length of output: 37
다른 환경 설정 파일에도 이전 URL이 남아있을 수 있으므로, 코드뿐 아니라 설정 파일 전체를 대상으로 재검색해 주세요.
🏁 Script executed:
Length of output: 181
이전 서비스 URL 참조 수정 필요
서비스 URL이
http://34.127.7.212:8101에서http://54.66.149.225:8100으로 변경되었으나, 아래 파일에 아직 이전 URL이 남아 있습니다. 모든 참조를 새 URL로 업데이트해주세요.수정 예시:
🤖 Prompt for AI Agents