실전! Querydsl

Ch04. 실무 활용(순수 JPA와 Querydsl) - 조회 API 컨트롤러 개발

webmaster 2022. 1. 1. 14:39
728x90

Profile 설정

Test 환경과 실제 서버를 돌리는 환경을 다르게 하기 위해 설정

Server - application.yml
Test - application.yml
서버 실행시 로그에서 profile 이름이 달라진다.
local profile 동작시킬때 동작
controller
결과 확인

  • 서버를 실행할 때, profile 이름이 달라진다.
  • local Profile을 시작할 때 동작시킬 코드를 작성한다.
728x90