-
Notifications
You must be signed in to change notification settings - Fork 0
[FEATURE] 운송장 번호 및 발송일 조회 #154
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
Conversation
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.
Summary of Changes
Hello @Jimin730, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!
이 PR은 사용자가 대여 ID를 기반으로 배송 운송장 번호와 발송일을 확인할 수 있도록 시스템 기능을 확장합니다. 이는 사용자에게 배송 상태에 대한 투명성을 제공하고, 특히 OUTBOUND 배송에 대한 정보를 효율적으로 검색할 수 있게 하여 전반적인 사용자 경험을 향상시킵니다.
Highlights
- 운송장 번호 및 발송일 조회 기능 추가: 대여 ID를 통해 배송 운송장 번호와 발송일자를 조회하는 새로운 API 엔드포인트가 추가되었습니다.
- OUTBOUND 배송 정보 필터링: 조회되는 배송 정보는 'OUTBOUND' 상태의 배송으로 제한됩니다.
- API 문서화 및 테스트 케이스: 새로운 API는 Swagger를 통해 문서화되었으며, 성공 및 예외 시나리오에 대한 단위 테스트가 추가되었습니다.
Using Gemini Code Assist
The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.
Invoking Gemini
You can request assistance from Gemini at any point in your pull request via creating an issue comment (i.e. comment on the pull request page) using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands.
| Feature | Command | Description |
|---|---|---|
| Code Review | /gemini review |
Performs a code review for the current pull request in its current state. |
| Pull Request Summary | /gemini summary |
Provides a summary of the current pull request in its current state. |
| Comment | @gemini-code-assist | Responds in comments when explicitly tagged, both in issue comments and review comments. |
| Help | /gemini help |
Displays a list of available commands. |
Customization
To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.
Limitations & Feedback
Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.
You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.
Footnotes
-
Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution. ↩
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.
Code Review
이 PR은 대여 ID로 운송장 번호와 발송일을 조회하는 새로운 기능을 추가합니다. 전반적으로 코드 변경 사항은 명확하며, 새로운 API 엔드포인트, 서비스 로직, 그리고 관련 테스트가 포함되어 있습니다. 몇 가지 개선점을 제안합니다. TrackingNumberResponse에서 발생할 수 있는 NullPointerException을 방지하기 위한 수정이 필요하며, 이는 중요한 문제입니다. 또한, 테스트 코드의 검증 로직을 더 명확하게 수정하고, CHERRY 프로젝트 스타일 가이드에 맞게 코드 포맷을 일부 수정할 것을 제언합니다. Swagger 문서의 가독성을 높이는 방안도 포함되었습니다.
src/main/java/ok/cherry/shipping/application/response/TrackingNumberResponse.java
Show resolved
Hide resolved
src/test/java/ok/cherry/shipping/application/ShippingServiceTest.java
Outdated
Show resolved
Hide resolved
src/main/java/ok/cherry/global/swagger/shipping/ShippingControllerDoc.java
Outdated
Show resolved
Hide resolved
chanwonlee
left a comment
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.
운송장 번호 조회 기능 확인했습니다. 빠르게 기능 추가해주셔서 감사합니다!
고생하셧습니다 👍🏻
관련 Issue (필수)
주요 변경 사항 (필수)
OUTBOUND상태의 배송만 조회합니다.리뷰어 참고 사항
swagger
response
{ "trackingNumber": "25090213363012345678", "startAt": "2025-01-10" }추가 정보
없음
PR 작성 체크리스트 (필수)