diff --git a/backend/build.gradle.kts b/backend/build.gradle.kts index 89c767b76..1f3db3bdf 100644 --- a/backend/build.gradle.kts +++ b/backend/build.gradle.kts @@ -37,6 +37,7 @@ dependencies { implementation("org.springframework.boot:spring-boot-starter-thymeleaf") implementation("org.springframework.boot:spring-boot-starter-mail") implementation("org.springframework.boot:spring-boot-starter-cache") + implementation("org.springframework.boot:spring-boot-starter-actuator") implementation("org.springdoc:springdoc-openapi-starter-webmvc-ui:${swaggerVersion}") // Spring Security @@ -83,6 +84,9 @@ dependencies { // Caffeine implementation("com.github.ben-manes.caffeine:caffeine") + + // Micrometer + runtimeOnly("io.micrometer:micrometer-registry-prometheus") } tasks.test { diff --git a/backend/src/main/java/com/festago/bookmark/application/ArtistBookmarkV1QueryService.java b/backend/src/main/java/com/festago/bookmark/application/ArtistBookmarkV1QueryService.java index 106b62fbb..5b6e01783 100644 --- a/backend/src/main/java/com/festago/bookmark/application/ArtistBookmarkV1QueryService.java +++ b/backend/src/main/java/com/festago/bookmark/application/ArtistBookmarkV1QueryService.java @@ -14,7 +14,7 @@ public class ArtistBookmarkV1QueryService { private final ArtistBookmarkV1QueryDslRepository artistBookmarkV1QueryDslRepository; - public List findArtistBookmarksByMemberId(Long memberid){ - return artistBookmarkV1QueryDslRepository.findByMemberId(memberid); + public List findArtistBookmarksByMemberId(Long memberId){ + return artistBookmarkV1QueryDslRepository.findByMemberId(memberId); } } diff --git a/backend/src/main/java/com/festago/bookmark/dto/v1/ArtistBookmarkInfoV1Response.java b/backend/src/main/java/com/festago/bookmark/dto/v1/ArtistBookmarkInfoV1Response.java index 4f10b8827..80dda8835 100644 --- a/backend/src/main/java/com/festago/bookmark/dto/v1/ArtistBookmarkInfoV1Response.java +++ b/backend/src/main/java/com/festago/bookmark/dto/v1/ArtistBookmarkInfoV1Response.java @@ -3,6 +3,7 @@ import com.querydsl.core.annotations.QueryProjection; public record ArtistBookmarkInfoV1Response( + Long id, String name, String profileImageUrl ) { diff --git a/backend/src/main/java/com/festago/bookmark/repository/v1/ArtistBookmarkV1QueryDslRepository.java b/backend/src/main/java/com/festago/bookmark/repository/v1/ArtistBookmarkV1QueryDslRepository.java index 83d043112..62c64f4a4 100644 --- a/backend/src/main/java/com/festago/bookmark/repository/v1/ArtistBookmarkV1QueryDslRepository.java +++ b/backend/src/main/java/com/festago/bookmark/repository/v1/ArtistBookmarkV1QueryDslRepository.java @@ -23,6 +23,7 @@ public List findByMemberId(Long memberId) { return select( new QArtistBookmarkV1Response( new QArtistBookmarkInfoV1Response( + artist.id, artist.name, artist.profileImage ), diff --git a/backend/src/main/resources/config b/backend/src/main/resources/config index 3cace868f..73c3c51a0 160000 --- a/backend/src/main/resources/config +++ b/backend/src/main/resources/config @@ -1 +1 @@ -Subproject commit 3cace868f2465d5d39118605fbbe576960039dbe +Subproject commit 73c3c51a0b3b1cdb63c750ee18e9ad33973d4d86