From 8944105945fa053736da3cd7720b3e50f866eaa4 Mon Sep 17 00:00:00 2001 From: oosedus Date: Thu, 25 Jul 2024 21:50:34 +0900 Subject: [PATCH] =?UTF-8?q?S3=20=EB=B2=84=ED=82=B7=20=EC=97=B0=EA=B2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gradle/8.8/checksums/checksums.lock | Bin 17 -> 17 bytes .gradle/8.8/checksums/md5-checksums.bin | Bin 20847 -> 24347 bytes .gradle/8.8/checksums/sha1-checksums.bin | Bin 23681 -> 31187 bytes .../executionHistory/executionHistory.lock | Bin 17 -> 17 bytes .gradle/8.8/fileHashes/fileHashes.lock | Bin 17 -> 17 bytes .../buildOutputCleanup.lock | Bin 17 -> 17 bytes build.gradle | 8 +++++ .../api/member/MemberController.java | 4 +-- .../likelion/MZConnent/config/S3Config.java | 31 ++++++++++++++++++ 9 files changed, 41 insertions(+), 2 deletions(-) create mode 100644 src/main/java/likelion/MZConnent/config/S3Config.java diff --git a/.gradle/8.8/checksums/checksums.lock b/.gradle/8.8/checksums/checksums.lock index b35efe2aff0a5bda0f83f0f13792d1c6cccf7cf1..51b9879cb0050f29a04cf959751785bdd43b71da 100644 GIT binary patch literal 17 UcmZSXKG0g(lk~Za0Sp*(06KRC5dZ)H literal 17 UcmZSXKG0g(lk~Za0Rkoi06LrnHvj+t diff --git a/.gradle/8.8/checksums/md5-checksums.bin b/.gradle/8.8/checksums/md5-checksums.bin index bb41d80d47c06a94b615e0bdba189355b59cc1e5..12c57f59778f6b7aee6d1f85a9d8091ae098c313 100644 GIT binary patch literal 24347 zcmeI3i8ofy|G*#0zC=XUiVBe>NtQ?@+4p@5gJKxcr?0G$Ck19S%H4A2>%GeBp6&H$YOIsN^FjRTLhi$uyuY9>w@^BaYXGbyo{|9?lt=Yn-)>aL<>sriX5{GXmAJ`)oEo5Avc*c z&JW#5FX5~Dg6?06dFChEBdYR$Vj*{%k9pSNFQ)0|BF~}w{Kfo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^NN?;8BE~=4u(dw}s<9PR*+2w2AFSJQVMjos-lloo3o}Doccw@ln>Psl zeqy!?{r$m9#3E())nTPt&|Xx?k7|59F8O=&cbWC=0^7nZRI@_}Bj5ibdOk!1sYd-A&B^h}$=gfsu8G;c z`|omOWWrWS*isGQ7q*;9?q!85SPe~l8)mDZR<$t=7Nr`hvCg<-$ZOb0Mb<&`X~vQ3 z_!&g~SfWEU+D5PE+0S=hJ(RQkBb)e6v}e#n>(!zYR6{9OGH{LS8Girrj_GO7W&grf zX$mk~#i$}$M;ec+cZ@4>?hESzzG~ZwcL+a123UoNVg$yAY}g;vN@IEES1PG@AS#B9 z*bsv;zZ(x$Q{p2Ru|kky2rFBA=Ey(Y6PA~M?4oQqc#@a~dd@WqsD`G|?toQxW{oaQ zCDA<7ZWtjWj|jnF=n^I=23z}nolm9NiH$mAe%2+jw~>*?6j+prW|9owH}a1I-9oFL WJR9*2d6@*pf!QjwmgxQ=jQ;^ztB9@u delta 165 zcmbQekMaE?#tkMCg8Ho!e(vpGwN8uy4E#1v?v+rOd{;tZGOwh;^Mh$)<7=laB(it-QqKRv`Wh#JUOw zlS>s6C%;qBpKPiKlvgyE%&R0ZITVPWDoODChXMu$mdcHaKg2g0ED+x8=%L360C3Pg ABme*a diff --git a/.gradle/8.8/checksums/sha1-checksums.bin b/.gradle/8.8/checksums/sha1-checksums.bin index 4dc390e7894422f0302092abcae4d8ed63c0f0e7..94075388511c68acc6c9d66beccf3de89d342b2c 100644 GIT binary patch literal 31187 zcmeI4X*gA1|L~6~V}>MzN&_;MDI!BEQ!*v9%tPjRh>DV_L6ZoH29ZJ{ks%Z^M}w4E zDk(#$C_Q_hwf6o$_c{J=&UL?ep6jd^JJ;v;{p|1B-@W!)>zuRidl!Mg$N3L7!v8d$ z|M`>p7qtS^3Q#LRtpK$G)Cy25K&=3^0@MmnD?qIPwF1-%P%A*K0JQ?t3Q#LRtpK$G z)C&CnQUNpMLRi4X@JZ65e{h5n2wT{YKPIB%cX@_18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g(I2P*Q=;#>1A>Et~{)~df z$)TfTC+VnLMqQ-fB6x<6d*Q(0y#II)uio>ycvB3dk9#@8n>ZLP$f?j8N4`Sp3-0_& zeDlAlT;sE%V5)*!DykM~V6hGaLCqqo3Ffq+VV!xM9U(hHi)H9Ahy+ixi5#vP8ncGN zA8#*Kn8bodTE`kYO@*u}FvcM_7Aqq-JZ4Ty+CC9vWKJz|TG6EC@YUjmHaE1VFi9V? iM4?C=(hhq&4)dHq)$ diff --git a/build.gradle b/build.gradle index d96cf3e..14a5bb3 100644 --- a/build.gradle +++ b/build.gradle @@ -47,6 +47,14 @@ dependencies { // swagger implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.0.2' + + // s3 + implementation 'org.springframework.cloud:spring-cloud-starter-aws:2.2.6.RELEASE' + + // 파일 업로드 + implementation 'commons-io:commons-io:2.6' + implementation 'commons-fileupload:commons-fileupload:1.4' + } tasks.named('test') { diff --git a/src/main/java/likelion/MZConnent/api/member/MemberController.java b/src/main/java/likelion/MZConnent/api/member/MemberController.java index 471c450..d4e54de 100644 --- a/src/main/java/likelion/MZConnent/api/member/MemberController.java +++ b/src/main/java/likelion/MZConnent/api/member/MemberController.java @@ -25,7 +25,7 @@ public ResponseEntity getMyInfo(@AuthenticationPrincipal Use MemberInfoResponse memberInfo = memberService.getMemberInfoByEmail(email); log.info("멤버 정보 조회 성공: {}", memberInfo.getUsername()); - + return ResponseEntity.ok(memberInfo); } @@ -38,4 +38,4 @@ public ResponseEntity getMemberInfo(@PathVariable("userId") return ResponseEntity.ok(memberInfo); } -} +} \ No newline at end of file diff --git a/src/main/java/likelion/MZConnent/config/S3Config.java b/src/main/java/likelion/MZConnent/config/S3Config.java new file mode 100644 index 0000000..50d29c9 --- /dev/null +++ b/src/main/java/likelion/MZConnent/config/S3Config.java @@ -0,0 +1,31 @@ +package likelion.MZConnent.config; + + +import com.amazonaws.auth.AWSCredentials; +import com.amazonaws.auth.AWSStaticCredentialsProvider; +import com.amazonaws.auth.BasicAWSCredentials; +import com.amazonaws.services.s3.AmazonS3; +import com.amazonaws.services.s3.AmazonS3Client; +import com.amazonaws.services.s3.AmazonS3ClientBuilder; +import org.springframework.beans.factory.annotation.Value; +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; + +@Configuration +public class S3Config { + @Value("${cloud.aws.credentials.access-key}") + private String accessKey; + @Value("${cloud.aws.credentials.secret-key}") + private String secretKey; + @Value("${cloud.aws.region.static}") + private String region; + + @Bean + public AmazonS3Client amazonS3Client(){ + BasicAWSCredentials awsCreds = new BasicAWSCredentials(accessKey, secretKey); + return (AmazonS3Client) AmazonS3ClientBuilder.standard() + .withRegion(region) + .withCredentials(new AWSStaticCredentialsProvider(awsCreds)) + .build(); + } +}