[Artist] CRUD 구현#80
Merged
Merged
Conversation
⭐ JaCoCo CoverageLine Coverage: 5.67% 📄 Coverage DetailsOverall Line Coverage: 5.64% (119 covered / 2110 lines) Package Summary (lowest first)
Lowest Covered Classes (Top 20)
Changed Classes (from this PR)
🔗 Full HTML report: See artifact jacoco-full-html on this run → https://github.com/prgrms-web-devcourse-final-project/WEB7_9_codecrete_BE/actions/runs/20253861514 |
| package com.back.web7_9_codecrete_be.domain.artists.dto.response; | ||
|
|
||
| public record AlbumResponse( | ||
| String albumName, |
Creamcheesepie
approved these changes
Dec 16, 2025
heygeeji
reviewed
Dec 16, 2025
| @Transactional | ||
| public Artist createArtist(String artistName, String artistGroup, String artistType, String genreName) { | ||
| Genre genre = genreService.findByGenreName(genreName); | ||
| if(!artistRepository.existsByArtistName(artistName) || !artistRepository.existsByNameKo(artistName)) { |
Collaborator
There was a problem hiding this comment.
if (artistRepository.existsByArtistName(artistName)
|| artistRepository.existsByNameKo(artistName))
이렇게 해야 새로운 아티스트를 등록할 수 있을 것 같습니다!
Creamcheesepie
approved these changes
Dec 16, 2025
heygeeji
approved these changes
Dec 16, 2025
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
🔗 관련 이슈
🚀 PR 개요
아티스트 도메인의 CRUD 구현
(아티스트 생성, 아티스트 목록 및 상세 정보 조회, 아티스트 수정, 아티스트 삭제)
📌 변경 사항
🧪 테스트 방법
포스트맨을 이용하여 테스트하였습니다.
📸 스크린샷 (선택)
아직 아티스트 상세 조회에서 연관된 아티스트에 대한 정확성이 떨어지고, 해당 아티스트의 공연 목록은 받아오지 못했습니다. 추후 수정 예정입니다.