-
Notifications
You must be signed in to change notification settings - Fork 1
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
Feat: TMDB를 통해 영화정보를 가져오도록 한다 #24
Merged
Merged
Conversation
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
cheolwon1994
requested review from
pingu9,
ddnjs,
inyoung0215 and
dev-khg
as code owners
November 16, 2023 08:40
src/main/java/com/catcher/batch/core/database/CatcherItemRepository.java
Show resolved
Hide resolved
src/main/java/com/catcher/batch/core/database/CategoryRepository.java
Outdated
Show resolved
Hide resolved
src/main/java/com/catcher/batch/infrastructure/properties/MovieProperties.java
Show resolved
Hide resolved
inyoung0215
approved these changes
Nov 19, 2023
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.
오오오 제가 고민하던 부분을 딱! 👍
Co-authored-by: cheolwon1994 <[email protected]>
�batch 공통처리 부분 + 페스티벌 반영
src/main/java/com/catcher/batch/core/database/CatcherItemRepository.java
Show resolved
Hide resolved
dev-khg
reviewed
Nov 21, 2023
src/main/java/com/catcher/batch/core/domain/entity/BaseTimeEntity.java
Outdated
Show resolved
Hide resolved
dev-khg
approved these changes
Nov 21, 2023
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.
고생하셨습니다!
dev-khg
reviewed
Nov 21, 2023
dev-khg
reviewed
Nov 21, 2023
src/main/java/com/catcher/batch/core/domain/entity/CatcherItem.java
Outdated
Show resolved
Hide resolved
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
SWIT
티켓
고려한 사항
TMDB의 특성상 한 페이지에 최대 20개의 영화밖에 못가져온다. 따라서 첫 호출에 대한 응답으로 totalPages를 받고 이를 바탕으로 for문을 돌려야 한다. 이를 효율적이게 할 수 있는 방법 2가지 중 시간이 조금이라도 더 빠른 병렬을 이용한다
(1) 병렬
소요 시간
(2) 비동기
소요 시간(밑 결과)
변경 사항
TODO
Update시 썸네일URL, 개봉일 변경 여부 확인UpdatedAt 칼럼을 계속 수정해줘야 하기 때문에 무조건 갱신하도록테스트 코드 작성