-
Notifications
You must be signed in to change notification settings - Fork 0
feat: 임시 앨범 이미지 업로드 PresignedURL 발급 & 임시 앨범 이미지 삭제 API 구현 #206
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: 임시 앨범 이미지 업로드 PresignedURL 발급 & 임시 앨범 이미지 삭제 API 구현 #206
Conversation
...pi/src/main/java/org/cherrypic/domain/tempalbum/repository/TempAlbumImageRepositoryImpl.java
Outdated
Show resolved
Hide resolved
| CREATE_OVER_LIMIT(400, "임시 앨범은 5개 이상으로 만들 수 없습니다."), | ||
| TEMP_ALBUM_CAPACITY_EXCEEDED(400, "임시 앨범의 용량을 초과했습니다."), | ||
| IMAGES_NOT_IN_TEMP_ALBUM(400, "임시 앨범에 속해 있지 않은 이미지가 포함되어 있습니다."), | ||
| DUPLICATE_HASHES(400, "중복되는 md5 해시값이 존재합니다."), |
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.
DUPLICATE_HASHES 에러 코드가 이미 ImageErrorCode에 정의되어 있던데 재활용하는게 더 좋아보여요!
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.
검증 메서드와 엔티티 자체도 달라서 분리했습니다!
cherrypic-api/src/main/java/org/cherrypic/domain/image/service/ImageServiceImpl.java
Outdated
Show resolved
Hide resolved
cherrypic-api/src/main/java/org/cherrypic/domain/image/service/ImageServiceImpl.java
Show resolved
Hide resolved
241aa03 to
9df1ac3
Compare
ht3064
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.
고생하셨습니다!
|



🌱 관련 이슈
📌 작업 내용 및 특이사항
📚 참고사항