본문 바로가기

MSA

18. API Gateway에 Config 및 Actuator 적용하기(service refresh)

1. api-gateway에  build.gradle dependency 추가

2. application.yml 조정

- actuator아래의 POST 및 GET 호출 라우팅 설정

- actuator의 refresh, health, beans, httptrace등의 활용할 endpoint 기재

-config 서버로 token 설정 위임을 위한 주석

3. resources/bootstrap.yml 추가

4. api gateway 재기동 후 점검

Bearer 토큰은 로그인후 확인하여 기재