refactor: S3 버킷 파일 구조 변경 #46
Merged
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.
✅ PR 유형
어떤 변경 사항이 있었나요?
✏️ 작업 내용
S3 버킷 구조를 다음과 같이 폴더 구조를 변경합니다.
Note
Amazon S3 버킷은
/을 통해 폴더의 계층 구조를 구별하기 때문에, 코드에서/을 사용해서, 구조를 변경하였습니다.AS-IS
TO-BE
초대장 썸네일 파일 구조 변경
초대장 QR 코드 파일 구조 변경
로직 변경으로 인해 수정이 필요한 테스트 코드로 수정 완료했습니다.

아래의 로그와 같이, 크롤링 봇이 의도치 않은 요청을 보내, 의도치 않은 오류가 발생하고 있었습니다.
이를 해결 위해,
/login엔드포인트에서POST을 제외한 모든 http method를 차단합니다.🔗 관련 이슈
💡 추가 사항
invitationId가 생성되기 전에 해당 url이 발급이 됩니다. 따라서 부득이하게invitation별로 관리를 하지 못하게 되었습니다.invitation이름으로 파일을 저장할 수 있도록 위와 같은 구조로 관리합니다.