Skip to content
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/#84: 채팅 파일 처리 #106

Merged
merged 11 commits into from
Aug 16, 2024
Merged

Conversation

hyunn522
Copy link
Member

📝 요약

🔖 변경 사항

  • S3Uploader에 Base64로 인코딩된 파일을 S3에 업로드하는 메소드 추가

✅ 리뷰 요구사항

약 2MB까지 테스트해보았을 때 잘 작동했습니다 S3에 업로드된 거 확인해주시면 될 것 같아요

📸 확인 방법 (선택)

image

📌 PR 진행 시 이러한 점들을 참고해 주세요

* P1 : 꼭 반영해 주세요 (Request Changes) - 이슈가 발생하거나 취약점이 발견되는 케이스 등
* P2 : 반영을 적극적으로 고려해 주시면 좋을 것 같아요 (Comment)
* P3 : 이런 방법도 있을 것 같아요~ 등의 사소한 의견입니다 (Chore)

@hyunn522 hyunn522 self-assigned this Aug 14, 2024
@hyunn522 hyunn522 linked an issue Aug 14, 2024 that may be closed by this pull request
2 tasks
Copy link
Collaborator

@seongjunnoh seongjunnoh left a comment

Choose a reason for hiding this comment

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

LGTM

case "text/plain" -> fileExtension = "txt";
default -> log.error("Unsupported file prefix: " + filePrefix);
}

Copy link
Collaborator

Choose a reason for hiding this comment

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

나중에 리펙토링시 enum 으로 관리하면 더 좋을것 같습니다!

log.info("Unsupported file prefix: " + filePrefix);
yield ".bin"; // 기본 확장자
}
};
Copy link
Collaborator

Choose a reason for hiding this comment

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

오 이렇게 메소드로 책임 분리하는거 좋습니다!

@hyunn522 hyunn522 merged commit 9521dbe into develop Aug 16, 2024
3 checks passed
@hyunn522 hyunn522 deleted the feat/#84/채팅-파일-처리 branch September 2, 2024 14:47
seongjunnoh pushed a commit that referenced this pull request Oct 30, 2024
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.

Feat: 채팅 파일 처리
2 participants