Skip to content

Commit

Permalink
Develop -> Test 브랜치 머지 (#69)
Browse files Browse the repository at this point in the history
* BE/#33 `ThumnailImageMultipartFile` S3 업로드 폴더 명 수정 (#68)

* BE/#34 `TrackDetail` 도메인 `prompt` 필드 VARCHAR 사이즈 수정 (#67)

* BE/#35 테스트 서버 배포하기 (#66)

* Fix: `build.gradle`에서 plain 빌드파일 생성하지 않도록 변경

* Feat: `test.Dockerfile` 생성

* Feat: `appspec.yml` 파일 작성

* Feat: `spring-actuator` 의존성 추가 및 `redis` 의존성 주석처리

* Feat: `test_deploy.yml` 추가

* Fix: `appspec.yml` - 컨테이너 명 수정

* Feat: `.gitignore` 파일에 `init_test.sql` 추가
  • Loading branch information
gerry-mandering authored Apr 19, 2024
1 parent e106bca commit 12a66cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public class TrackDetail extends BaseTimeEntity {
@Id
private Long id;

@Column(nullable = false)
@Column(nullable = false, length = 1024)
private String prompt;

@OneToOne(fetch = FetchType.LAZY)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public class ThumbnailImageMultipartFile implements MultipartFile {
public ThumbnailImageMultipartFile(MultipartFile file, String trackTitle) throws IOException {
this.bytes = ImageResizer.resize(file, 300, 300);
this.name = "thumbnailImage";
this.originalFilename = "image/" + UUID.randomUUID().toString() + "-" + trackTitle + "-thumbnail" + ".jpeg";
this.originalFilename = "thumbnail/" + UUID.randomUUID().toString() + "-" + trackTitle + ".jpeg";
this.contentType = file.getContentType();
this.isEmpty = this.bytes == null || this.bytes.length == 0;
this.size = this.bytes.length;
Expand Down

0 comments on commit 12a66cf

Please sign in to comment.