diff --git a/.github/workflows/build-deploy.yml b/.github/workflows/build-deploy.yml
index ee9d501..d3a5956 100644
--- a/.github/workflows/build-deploy.yml
+++ b/.github/workflows/build-deploy.yml
@@ -28,6 +28,10 @@ jobs:
run: echo "${{ secrets.MYSQL_SETTING }}" > /home/runner/work/UniBond-server/UniBond-server/unibond/src/main/resources/application-MYSQL.properties
shell: bash
+ - name: add S3 connection settings
+ run: echo "${{ secrets.S3_SETTING }}" > /home/runner/work/UniBond-server/UniBond-server/unibond/src/main/resources/application-S3.properties
+ shell: bash
+
- name: Permission for gradlew
run: chmod +x ./unibond/gradlew
shell: bash
diff --git a/appspec.yml b/appspec.yml
index a44d815..de138ff 100644
--- a/appspec.yml
+++ b/appspec.yml
@@ -17,4 +17,4 @@ hooks:
AfterInstall:
- location: scripts/deploy.sh
timeout: 60
- runas: ubuntu
+ runas: root
diff --git a/unibond/.gitignore b/unibond/.gitignore
index a17f5e4..79c249a 100644
--- a/unibond/.gitignore
+++ b/unibond/.gitignore
@@ -17,6 +17,7 @@ wrapper
## key files
application-MYSQL.properties
+application-S3.properties
### STS ###
.apt_generated
diff --git a/unibond/BOOT-INF/classes/static/docs/experience-community.html b/unibond/BOOT-INF/classes/static/docs/experience-community.html
index 86ec029..2cb2cfc 100644
--- a/unibond/BOOT-INF/classes/static/docs/experience-community.html
+++ b/unibond/BOOT-INF/classes/static/docs/experience-community.html
@@ -454,6 +454,12 @@
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
-Content-Length: 902
+Content-Length: 3572
{
"isSuccess" : true,
"code" : 1000,
"message" : "요청에 성공하였습니다.",
"result" : {
- "numberOfElements" : 2,
+ "numberOfElements" : 9,
"postPreviewList" : [ {
+ "createdDate" : "2023-12-27T03:06:30.422445",
+ "ownerProfileImg" : "https://unibond-img-bucket.s3.ap-northeast-2.amazonaws.com/user/KakaoTalk_20230528_222457241_05.png",
+ "ownerNick" : "5jizzi",
+ "disease" : "13번 염색체 장완 21-22 부분의 결손",
+ "contentPreview" : "경험 기록 게시판 게시물 업로드 테스트",
+ "boardType" : "EXPERIENCE",
+ "isEnd" : true
+ }, {
+ "createdDate" : "2023-12-27T02:59:28.089643",
+ "ownerProfileImg" : "https://unibond-img-bucket.s3.ap-northeast-2.amazonaws.com/user/KakaoTalk_20230528_222457241_05.png",
+ "ownerNick" : "5jizzi",
+ "disease" : "13번 염색체 장완 21-22 부분의 결손",
+ "contentPreview" : "경험 기록 게시판 게시물 업로드 테스트",
+ "boardType" : "EXPERIENCE",
+ "isEnd" : true
+ }, {
+ "createdDate" : "2023-12-27T02:51:55.763824",
+ "ownerProfileImg" : "https://unibond-img-bucket.s3.ap-northeast-2.amazonaws.com/user/KakaoTalk_20230528_222457241_05.png",
+ "ownerNick" : "5jizzi",
+ "disease" : "13번 염색체 장완 21-22 부분의 결손",
+ "contentPreview" : "경험 기록 게시판 게시물 업로드 테스트",
+ "boardType" : "EXPERIENCE",
+ "isEnd" : true
+ }, {
+ "createdDate" : "2023-12-26T04:09:10.8631",
+ "ownerProfileImg" : "http://testimg1",
+ "ownerNick" : "jisoo2",
+ "disease" : "5번 염색체 장완의 결손 증후군",
+ "contentPreview" : "경험 기록 게시판 게시물 업로드 테스트",
+ "boardType" : "EXPERIENCE",
+ "isEnd" : true
+ }, {
+ "createdDate" : "2023-12-26T04:09:05.784257",
+ "ownerProfileImg" : "http://testimg1",
+ "ownerNick" : "jisoo2",
+ "disease" : "5번 염색체 장완의 결손 증후군",
+ "contentPreview" : "경험 기록 게시판 게시물 업로드 테스트",
+ "boardType" : "EXPERIENCE",
+ "isEnd" : true
+ }, {
+ "createdDate" : "2023-12-26T04:02:22.167476",
+ "ownerProfileImg" : "http://testimg1",
+ "ownerNick" : "jisoo2",
+ "disease" : "5번 염색체 장완의 결손 증후군",
+ "contentPreview" : "경험 기록 게시판 게시물 업로드 테스트",
+ "boardType" : "EXPERIENCE",
+ "isEnd" : true
+ }, {
+ "createdDate" : "2023-12-26T03:43:15.496574",
+ "ownerProfileImg" : "http://testimg1",
+ "ownerNick" : "jisoo2",
+ "disease" : "5번 염색체 장완의 결손 증후군",
+ "contentPreview" : "경험 기록 게시판 게시물 업로드 테스트",
+ "boardType" : "EXPERIENCE",
+ "isEnd" : true
+ }, {
"createdDate" : "2023-11-16T14:18:33.129163",
"ownerProfileImg" : "http://testimg3",
"ownerNick" : "jiwoon",
@@ -507,12 +569,263 @@
} ],
"lastPage" : true,
"totalPages" : 1,
- "totalElements" : 2,
+ "totalElements" : 9,
"size" : 30
}
}
+