-
Notifications
You must be signed in to change notification settings - Fork 5
[Feat/OPS-275] 스페이스 썸네일 이미지 저장 #71
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
Merged
The head ref may contain hidden characters: "feat/OPS-275-BE-feat-\uC2A4\uD398\uC774\uC2A4-\uC378\uB124\uC77C-\uC774\uBBF8\uC9C0-\uC800\uC7A5"
Merged
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
294b7a7
chore : S3 환경 설정
0545806
feat : S3Service 구성
615af3d
chore : multipart 데이터 크기 설정
52dad13
feat : S3 업로드 테스트용 엔드포인트 생성
8a00a06
feat : S3 연동 완료
eb215bb
feat : space entity에 imageUrl 항목 추가
2420efa
feat : 썸네일 캡처 테스트용
409cea2
feat : 썸네일 촬영 테스트 엔드포인트 작성
a4f8beb
feat : 스페이스 썸네일 갱신 API 생성
24fcba9
feat : 스페이스 이미지 갱신 기능 완성
aa48b78
feat : 스페이스 목록 반환 시 썸네일 url 같이 반환
a33a697
feat : 스페이스 단건 조회 테스트 케이스 작성
8eae4d5
feat : 스페이스 단건 조회 구현
4bbac12
feat : 스페이스 목록 조회 페이징 기능 추가
616db50
Merge remote-tracking branch 'origin/develop' into feat/OPS-275-BE-fe…
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -5,6 +5,7 @@ | |
| public record SpaceMembershipInfo( | ||
| Integer id, | ||
| String name, | ||
| String thumbnailUrl, | ||
| Authority authority | ||
| ) { | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2,6 +2,7 @@ | |
|
|
||
| public record SpaceMembershipInfoWithoutAuthority( | ||
| Integer id, | ||
| String name | ||
| String name, | ||
| String thumbnailUrl | ||
| ) { | ||
| } | ||
10 changes: 10 additions & 0 deletions
10
src/main/java/org/tuna/zoopzoop/backend/domain/space/space/dto/res/ResBodyForSpaceInfo.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| package org.tuna.zoopzoop.backend.domain.space.space.dto.res; | ||
|
|
||
| public record ResBodyForSpaceInfo ( | ||
| Integer spaceId, | ||
| String spaceName, | ||
| String thumbnailUrl, | ||
| String userAuthority, | ||
| Integer sharingArchiveId | ||
| ){ | ||
| } |
26 changes: 26 additions & 0 deletions
26
...in/java/org/tuna/zoopzoop/backend/domain/space/space/dto/res/ResBodyForSpaceListPage.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| package org.tuna.zoopzoop.backend.domain.space.space.dto.res; | ||
|
|
||
| import lombok.Getter; | ||
| import org.springframework.data.domain.Page; | ||
| import org.tuna.zoopzoop.backend.domain.space.space.dto.etc.SpaceMembershipInfo; | ||
|
|
||
| import java.util.List; | ||
|
|
||
| @Getter | ||
| public class ResBodyForSpaceListPage { | ||
| private final List<SpaceMembershipInfo> spaces; // 현재 페이지의 데이터 | ||
| private final int page; // 현재 페이지 번호 (0부터 시작) | ||
| private final int size; // 페이지 크기 | ||
| private final long totalElements; // 전체 요소 수 | ||
| private final int totalPages; // 전체 페이지 수 | ||
| private final boolean isLast; // 마지막 페이지 여부 | ||
|
|
||
| public ResBodyForSpaceListPage(Page<SpaceMembershipInfo> page) { | ||
| this.spaces = page.getContent(); | ||
| this.page = page.getNumber(); | ||
| this.size = page.getSize(); | ||
| this.totalElements = page.getTotalElements(); | ||
| this.totalPages = page.getTotalPages(); | ||
| this.isLast = page.isLast(); | ||
| } | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.