Chore: Azure Blob → AWS S3 스토리지 전환 및 prod 프로파일 AWS 이관 (#38) - #41
Merged
Conversation
4 tasks
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
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.
🔗 Related Issue
📝 Summary
prod프로파일을 RDS·SSM 기준으로 재구성.🚀 Key Changes
S3Properties(@ConfigurationProperties) ·S3StorageConfig·S3StorageServicescans/{userId}/{uuid}.{ext}, S3 lifecycle(90일 만료) 규칙과 정합resolveKey가 형식·경로순회, 타 사용자 키를 차단verifyUploadObject로 실제 업로드 여부·크기·타입 확인DB_HOST기반 접속,sslmode=require유지path_pattern/images/*→/menus/*💥 Breaking Changes
Content-Type(티켓 발급 시와 동일)과If-None-Match: *필요. 누락 시403 SignatureDoesNotMatchPOST /api/v1/uploads/sas호출 필수UploadTicketResponse.readUrl제거 — 3필드로 축소storageKey형식 변경 —menu-{uuid}.jpg→scans/{userId}/{uuid}.jpgmenu_images.image_url의미 변경 — https URL →s3://URI (비공개 버킷이라 평문 URL은 403)✅ Self-Check List
spotlessApply(palantirJavaFormat) 포맷팅을 적용했습니다.Optional·명시적 예외 처리로 null 안전성을 확보했습니다.System.out.println, TODO가 남아있지 않습니다../gradlew build통과 (테스트 96건 / 실패 0건)