Skip to content
This repository has been archived by the owner on Aug 13, 2022. It is now read-only.

S3 설정 #40

Closed
zeroooooowest opened this issue Apr 5, 2021 · 0 comments · Fixed by #42
Closed

S3 설정 #40

zeroooooowest opened this issue Apr 5, 2021 · 0 comments · Fixed by #42
Assignees

Comments

@zeroooooowest
Copy link
Collaborator

zeroooooowest commented Apr 5, 2021

#42

@zeroooooowest zeroooooowest self-assigned this Apr 5, 2021
zeroooooowest added a commit that referenced this issue Apr 5, 2021
zeroooooowest added a commit that referenced this issue Apr 5, 2021
1. spring-cloud-starter-aws
2. jaxb-api
zeroooooowest added a commit that referenced this issue Apr 5, 2021
우선 MultipartFile 을 전달 받아 File로 전환한 뒤
S3에 Public 읽기 권한으로 업로드하고 로컬에 생성된 파일 삭제 후
S3 객체 URL을 반환합니다.
zeroooooowest added a commit that referenced this issue Apr 6, 2021
aws.yaml 파일에 있던 설정 중
cloud.aws.s3.bucket을 application.yaml에 추가

기존에 스프링 실행시 Map 으로 주던 방식에서
spring.config.import=optioanl:aws.yaml추가하는 방식으로 변경
zeroooooowest added a commit that referenced this issue Apr 6, 2021
테스트시 AWS관련 빈 생성 문제로 깨지는 현상 해결
@zeroooooowest zeroooooowest linked a pull request Apr 6, 2021 that will close this issue
zeroooooowest added a commit that referenced this issue Apr 7, 2021
[#40] AWS S3 상에 업로드하는 서비스 구현
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant