Skip to content

[REFACTOR]이미지 업로드 api (cloudfront)#150

Merged
catomat0 merged 12 commits intodevelopfrom
fix-#142-S3-api
Feb 11, 2026
Merged

[REFACTOR]이미지 업로드 api (cloudfront)#150
catomat0 merged 12 commits intodevelopfrom
fix-#142-S3-api

Conversation

@kwonminsooo
Copy link
Collaborator

@kwonminsooo kwonminsooo commented Feb 11, 2026

📌 PR 개요

  • 이미지 업로드 api cloud front 방식으로 업데이트
  • S3 계층구조 수정

🔗 관련 이슈


🛠 변경 사항

  • 기존 presigned url 에서 cloud-front 방식으로 변경

⚠️ 리뷰 시 참고 사항


✅ 체크리스트

  • 로컬에서 정상 실행됨
  • 로그 / 네이밍 정리
  • main / develop 직접 커밋 아님

@kwonminsooo kwonminsooo linked an issue Feb 11, 2026 that may be closed by this pull request
@coderabbitai
Copy link

coderabbitai bot commented Feb 11, 2026

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch fix-#142-S3-api

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@kwonminsooo kwonminsooo changed the title [refactor]이미지 업로드 api (cloudfront) [REFACTOR]이미지 업로드 api (cloudfront) Feb 11, 2026
choehyeonjin added a commit that referenced this pull request Feb 11, 2026
[FIX] 프로필 조회 응답에 이메일/소셜 정보 추가
@catomat0
Copy link
Collaborator

최신 develop 브랜치로 업데이트 부탁드립니다!

@kwonminsooo
Copy link
Collaborator Author

최신 develop 브랜치로 업데이트 부탁드립니다!

업데이트 완료하였습니다!

Comment on lines 132 to 137
private String buildCloudFrontUrl(String key) {
String cf = props.cloudfrontDomain();
if (cf == null || cf.isBlank()) {
throw new GeneralException(S3ErrorCode.EMPTY_KEY);
}
String base = cf.endsWith("/") ? cf.substring(0, cf.length() - 1) : cf;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

EMPTY_KEY 보단 만드신 CLOUDFRONT_FAILED 가 나중에 에러 찾기 쉬울거같습니다

Comment on lines 47 to 50
region: ${AWS_REGION}
access-key: ${AWS_ACCESS_KEY_ID}
secret-key: ${AWS_SECRET_ACCESS_KEY}
enabled: true
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

액세스키랑 시크릿키 사용안하시면 두개 필드 삭제해주시고 노션 환경변수파일도 수정 부탁드립니다!

@catomat0 catomat0 merged commit 001d8c6 into develop Feb 11, 2026
2 checks passed
catomat0 added a commit that referenced this pull request Feb 11, 2026
* chore: OCR result DTO 패키지 분리

* [CHORE] Auth 파트 정리 및 계층 정리 (#161)

* Chore: 명세서 성공 응답으로 통일 수정

* Chore: 리다이렉트 url 기본값 변경

* Remove: infra/redis 삭제

* Chore: auth파트 DTO 분리

---------

Co-authored-by: catomat0 <catomat0@github.com>

* [REFACTOR]이미지 업로드 api (cloudfront) (#150)

* [refactor]cloudfront 방식으로 변경

* [refactor]이미지업로드 cloudfront 방식으로 변경

* test-yaml 수정

* pull

* application yaml 수정

* 리뷰 수정

* dto request response result 분리

* fix 오류 수정

* controller 수정

---------

Co-authored-by: choehyeonjin <guswls2616@naver.com>
Co-authored-by: 하지명 <104803823+hajimeong@users.noreply.github.com>
Co-authored-by: catomat0 <catomat0@github.com>
Co-authored-by: kwonminsooo <118319151+kwonminsooo@users.noreply.github.com>
catomat0 added a commit that referenced this pull request Feb 12, 2026
* chore: OCR result DTO 패키지 분리

* chore: Analyze result DTO 패키지 분리

* [CHORE] Auth 파트 정리 및 계층 정리 (#161)

* Chore: 명세서 성공 응답으로 통일 수정

* Chore: 리다이렉트 url 기본값 변경

* Remove: infra/redis 삭제

* Chore: auth파트 DTO 분리

---------

Co-authored-by: catomat0 <catomat0@github.com>

* [REFACTOR]이미지 업로드 api (cloudfront) (#150)

* [refactor]cloudfront 방식으로 변경

* [refactor]이미지업로드 cloudfront 방식으로 변경

* test-yaml 수정

* pull

* application yaml 수정

* 리뷰 수정

* dto request response result 분리

* fix 오류 수정

* controller 수정

* [FIX] 프롬 쿼리문 수정 (#166)

* [refactor]cloudfront 방식으로 변경

* [refactor]이미지업로드 cloudfront 방식으로 변경

* test-yaml 수정

* pull

* application yaml 수정

* 리뷰 수정

* dto request response result 분리

* fix 오류 수정

* controller 수정

* Fix: 쿼리문 수정

---------

Co-authored-by: Minsu Kwon <kms37480@naver.com>
Co-authored-by: catomat0 <catomat0@github.com>

---------

Co-authored-by: hajimeong <ha_01@naver.com>
Co-authored-by: choehyeonjin <guswls2616@naver.com>
Co-authored-by: 하지명 <104803823+hajimeong@users.noreply.github.com>
Co-authored-by: catomat0 <catomat0@github.com>
Co-authored-by: kwonminsooo <118319151+kwonminsooo@users.noreply.github.com>
Co-authored-by: eunwoo <enu_i@naver.com>
Co-authored-by: Minsu Kwon <kms37480@naver.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FIX]이미지업로드 url 문제 해결

2 participants