From 46ef7d7193a7047c8f52a884d4469a8d0a6ceceb Mon Sep 17 00:00:00 2001 From: "jin.geonwoo" Date: Sat, 7 Feb 2026 22:42:25 +0900 Subject: [PATCH 1/5] =?UTF-8?q?hotfix:=20Note.noteType=EC=97=90=20?= =?UTF-8?q?=EB=8C=80=ED=95=9C=20=EC=BB=AC=EB=9F=BC=20=EC=A0=95=EC=9D=98=20?= =?UTF-8?q?=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/projectlyrics/server/domain/note/entity/Note.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/projectlyrics/server/domain/note/entity/Note.java b/src/main/java/com/projectlyrics/server/domain/note/entity/Note.java index 355735ea..269a3274 100644 --- a/src/main/java/com/projectlyrics/server/domain/note/entity/Note.java +++ b/src/main/java/com/projectlyrics/server/domain/note/entity/Note.java @@ -35,7 +35,7 @@ public class Note extends BaseEntity { private NoteStatus noteStatus; @Enumerated(EnumType.STRING) - @Column(nullable = false, columnDefinition = "VARCHAR(50) DEFAULT 'FREE'") + @Column(nullable = false) private NoteType noteType; @OneToOne(fetch = FetchType.LAZY, cascade = CascadeType.ALL, orphanRemoval = true) From 98a0f9e517ac10b3383185152bd3a7cf759d07a3 Mon Sep 17 00:00:00 2001 From: "jin.geonwoo" Date: Sat, 7 Feb 2026 22:43:28 +0900 Subject: [PATCH 2/5] =?UTF-8?q?hotfix:=20api=20=EB=AC=B8=EC=84=9C=20?= =?UTF-8?q?=EC=83=9D=EC=84=B1=EC=9D=84=20=EC=9C=84=ED=95=B4=20=EB=B9=8C?= =?UTF-8?q?=EB=93=9C=20=EC=8A=A4=ED=8E=99=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/Dev-CI-CD.yml | 7 ++++++- .github/workflows/Prod-CI-CD.yaml | 5 +++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/Dev-CI-CD.yml b/.github/workflows/Dev-CI-CD.yml index 0d87dd5f..6c595a3d 100644 --- a/.github/workflows/Dev-CI-CD.yml +++ b/.github/workflows/Dev-CI-CD.yml @@ -57,9 +57,14 @@ jobs: cp firebase-key.json ./src/main/resources/firebase-key.json shell: bash + - name: run tests for api docs generation + run: | + ./gradlew test --continue + continue-on-error: true + - name: build with gradle run: | - ./gradlew bootjar + ./gradlew bootjar -x test - name: login into docker uses: docker/login-action@v2 diff --git a/.github/workflows/Prod-CI-CD.yaml b/.github/workflows/Prod-CI-CD.yaml index 5b01cd2e..1b7f69dd 100644 --- a/.github/workflows/Prod-CI-CD.yaml +++ b/.github/workflows/Prod-CI-CD.yaml @@ -57,6 +57,11 @@ jobs: cp firebase-key.json ./src/main/resources/firebase-key.json shell: bash + - name: run tests for api docs generation + run: | + ./gradlew test --continue + continue-on-error: true + - name: build with gradle run: | ./gradlew bootjar -x test From a3dbf6011d0dc853b516330bf016d3dcf564bfac Mon Sep 17 00:00:00 2001 From: "jin.geonwoo" Date: Sun, 8 Feb 2026 01:26:40 +0900 Subject: [PATCH 3/5] =?UTF-8?q?hotfix:=20MongoConfig=20disabled=20?= =?UTF-8?q?=EC=B2=98=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../server/global/configuration/MongoConfig.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/projectlyrics/server/global/configuration/MongoConfig.java b/src/main/java/com/projectlyrics/server/global/configuration/MongoConfig.java index d1c3c1af..97569b33 100644 --- a/src/main/java/com/projectlyrics/server/global/configuration/MongoConfig.java +++ b/src/main/java/com/projectlyrics/server/global/configuration/MongoConfig.java @@ -25,9 +25,12 @@ public class MongoConfig { private boolean isMongoAvailable(MongoTemplate mongoTemplate) { try { + /* + Mongo DB 연결 가능할 때까지 disabled 처리합니다. mongoTemplate.getDb().runCommand(new org.bson.Document("ping", 1)); log.info("MongoDB 연결 성공"); - return true; + */ + return false; } catch (Exception e) { log.warn("MongoDB 연결 실패 — NoOp 리포지토리로 대체됩니다. 이유: {}", e.getMessage()); return false; From 042544aa80be823722fd90294d141f19003da567 Mon Sep 17 00:00:00 2001 From: "jin.geonwoo" Date: Sun, 8 Feb 2026 01:36:22 +0900 Subject: [PATCH 4/5] =?UTF-8?q?hotfix:=20NoteControllerTest=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../server/domain/note/api/NoteControllerTest.java | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/test/java/com/projectlyrics/server/domain/note/api/NoteControllerTest.java b/src/test/java/com/projectlyrics/server/domain/note/api/NoteControllerTest.java index 57b3f151..47846be2 100644 --- a/src/test/java/com/projectlyrics/server/domain/note/api/NoteControllerTest.java +++ b/src/test/java/com/projectlyrics/server/domain/note/api/NoteControllerTest.java @@ -86,6 +86,8 @@ private RestDocumentationResultHandler getNoteCreateDocument() { .optional(), fieldWithPath("status").type(JsonFieldType.STRING) .description("노트 등록 상태" + getEnumValuesAsString(NoteStatus.class)), + fieldWithPath("noteType").type(JsonFieldType.STRING) + .description("노트 유형" + getEnumValuesAsString(NoteType.class)), fieldWithPath("songId").type(JsonFieldType.NUMBER) .description("곡 ID") ) @@ -216,6 +218,8 @@ private RestDocumentationResultHandler getNoteDetailDocument() { .description("노트 내용"), fieldWithPath("status").type(JsonFieldType.STRING) .description("노트 등록 상태" + getEnumValuesAsString(NoteStatus.class)), + fieldWithPath("noteType").type(JsonFieldType.STRING) + .description("노트 유형" + getEnumValuesAsString(NoteType.class)), fieldWithPath("createdAt").type(JsonFieldType.STRING) .description("노트 생성 시간"), fieldWithPath("lyrics.lyrics").type(JsonFieldType.STRING) @@ -333,6 +337,8 @@ private RestDocumentationResultHandler getNoteListOfUserDocument() { .description("노트 내용"), fieldWithPath("data[].status").type(JsonFieldType.STRING) .description("노트 등록 상태" + getEnumValuesAsString(NoteStatus.class)), + fieldWithPath("data[].noteType").type(JsonFieldType.STRING) + .description("노트 유형" + getEnumValuesAsString(NoteType.class)), fieldWithPath("data[].createdAt").type(JsonFieldType.STRING) .description("노트 생성 시간"), fieldWithPath("data[].lyrics.lyrics").type(JsonFieldType.STRING) @@ -437,6 +443,8 @@ private RestDocumentationResultHandler getNoteListDocument() { .description("노트 내용"), fieldWithPath("data[].status").type(JsonFieldType.STRING) .description("노트 등록 상태" + getEnumValuesAsString(NoteStatus.class)), + fieldWithPath("data[].noteType").type(JsonFieldType.STRING) + .description("노트 유형" + getEnumValuesAsString(NoteType.class)), fieldWithPath("data[].createdAt").type(JsonFieldType.STRING) .description("노트 생성 시간"), fieldWithPath("data[].lyrics.lyrics").type(JsonFieldType.STRING) @@ -540,6 +548,8 @@ private RestDocumentationResultHandler getNoteListByArtistDocument() { .description("노트 내용"), fieldWithPath("data[].status").type(JsonFieldType.STRING) .description("노트 등록 상태" + getEnumValuesAsString(NoteStatus.class)), + fieldWithPath("data[].noteType").type(JsonFieldType.STRING) + .description("노트 유형" + getEnumValuesAsString(NoteType.class)), fieldWithPath("data[].createdAt").type(JsonFieldType.STRING) .description("노트 생성 시간"), fieldWithPath("data[].lyrics.lyrics").type(JsonFieldType.STRING) @@ -643,6 +653,8 @@ private RestDocumentationResultHandler getNoteListBySongDocument() { .description("노트 내용"), fieldWithPath("data[].status").type(JsonFieldType.STRING) .description("노트 등록 상태" + getEnumValuesAsString(NoteStatus.class)), + fieldWithPath("data[].noteType").type(JsonFieldType.STRING) + .description("노트 유형" + getEnumValuesAsString(NoteType.class)), fieldWithPath("data[].createdAt").type(JsonFieldType.STRING) .description("노트 생성 시간"), fieldWithPath("data[].lyrics.lyrics").type(JsonFieldType.STRING) @@ -747,6 +759,8 @@ private RestDocumentationResultHandler getBookmarkedNoteListDocument() { .description("노트 내용"), fieldWithPath("data[].status").type(JsonFieldType.STRING) .description("노트 등록 상태" + getEnumValuesAsString(NoteStatus.class)), + fieldWithPath("data[].noteType").type(JsonFieldType.STRING) + .description("노트 유형" + getEnumValuesAsString(NoteType.class)), fieldWithPath("data[].createdAt").type(JsonFieldType.STRING) .description("노트 생성 시간"), fieldWithPath("data[].lyrics.lyrics").type(JsonFieldType.STRING) From d8b5f06ead080f14aef76ff735b0795323a3071e Mon Sep 17 00:00:00 2001 From: "jin.geonwoo" Date: Sun, 8 Feb 2026 01:37:50 +0900 Subject: [PATCH 5/5] =?UTF-8?q?hotfix:=20=EB=B0=B0=ED=8F=AC=20=EA=B3=BC?= =?UTF-8?q?=EC=A0=95=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/Dev-CI-CD.yml | 7 +------ .github/workflows/Prod-CI-CD.yaml | 7 +------ 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/.github/workflows/Dev-CI-CD.yml b/.github/workflows/Dev-CI-CD.yml index 6c595a3d..0d87dd5f 100644 --- a/.github/workflows/Dev-CI-CD.yml +++ b/.github/workflows/Dev-CI-CD.yml @@ -57,14 +57,9 @@ jobs: cp firebase-key.json ./src/main/resources/firebase-key.json shell: bash - - name: run tests for api docs generation - run: | - ./gradlew test --continue - continue-on-error: true - - name: build with gradle run: | - ./gradlew bootjar -x test + ./gradlew bootjar - name: login into docker uses: docker/login-action@v2 diff --git a/.github/workflows/Prod-CI-CD.yaml b/.github/workflows/Prod-CI-CD.yaml index 1b7f69dd..7008f6d7 100644 --- a/.github/workflows/Prod-CI-CD.yaml +++ b/.github/workflows/Prod-CI-CD.yaml @@ -57,14 +57,9 @@ jobs: cp firebase-key.json ./src/main/resources/firebase-key.json shell: bash - - name: run tests for api docs generation - run: | - ./gradlew test --continue - continue-on-error: true - - name: build with gradle run: | - ./gradlew bootjar -x test + ./gradlew bootjar - name: login into docker uses: docker/login-action@v2