[Feat/#119] SurveyDataInitializer를 통한 설문 문항 초기화 기능 추가#120
Merged
Conversation
📊 코드 커버리지 리포트
|
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 타입 (하나 이상 선택해주세요)
✨ 어떤 내용인가요?
🔍 작업 상세 내용
SurveyDataInitializer구현ApplicationRunner구현체로 서버 시작 시 자동 실행count() > 0조건으로 중복 삽입 방지@Profile({"dev", "local"})적용으로 test 프로파일에서는 실행안되도록 조치설문 문항 13개 + 옵션 초기화
data.sql대신ApplicationRunner선택addOption()메서드로 자연스럽게 처리 (vs ID 하드코딩/서브쿼리 안날려도 됨)@Profile어노테이션으로 환경별 분리 가능count() > 0로직으로 명시적 제어 (vs INSERT IGNORE)VitalityServiceTest에 테스트 추가IsolationAndSeclusionType에 대한 테스트 케이스 추가💬 리뷰어에게 전달할 내용
🔗 관련 이슈