Commit 3570b8d
authored
feat: 파일 업로드 엔티티 매핑 설정 및 운영환경 Graceful ShutDown 추가
* Feat: 운영환경 추가 설정
- mulipart로 파일 업로드 시, 최대 허용 크기 설정
- Graceful Shutdown 적용
* Fix: 파일 업로드 EntityType 수정
기존 : POST, PROFILE, AVATAR
변경 : POST, PROFILE, STUDY_ROOM
* Feat: AttachmentMappingRepository 메서드 추가
- deleteAllByEntityTypeAndEntityId (EntityType과 EnityId에 해당하는 파일 매핑 정보 모두 삭제)
* Fix: AttachmentMappingRepository 메서드 수정
- findByEntityTypeAndEntityId -> findAllByEntityTypeAndEntityId1 parent 4a86607 commit 3570b8d
File tree
3 files changed
+17
-3
lines changed- src/main
- java/com/back/domain/file
- entity
- repository
- resources
3 files changed
+17
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
10 | | - | |
11 | | - | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
77 | 82 | | |
78 | 83 | | |
79 | 84 | | |
| |||
86 | 91 | | |
87 | 92 | | |
88 | 93 | | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
89 | 100 | | |
90 | 101 | | |
91 | 102 | | |
| |||
0 commit comments