VSCODE 커맨드 팔레트(Ctrl + Shift + P)에서 spring initializr 실행
Search for dependencies 선택
Spring Cloud Routing설정파일
resources > application.properties 파일을 application.yml로 변경
server:
port: 8000
spring:
application:
name: apigateway-service
cloud:
gateway:
routes:
- id: tax-invoice
uri: http://tax.blueport.co.kr:8443/
predicates:
- Path=/v1/**
/v1/으로 시작되는 url을 http://tax.blueport.co.kr:8443/v1/~ 으로 endpoint를 변경하여 라우팅
실행
http://127.0.0.1:8000/v1/health-check
http://tax.blueport.co.kr:8443/v1/health-check api가 실행된다
TODO