| User-service와 Spring Cloud Gateway 연동 💻 user-service.java > application.yml server: port: 0 spring: application: name: user-service datasource: url: jdbc:postgresql://localhost:5432/basic username: postgres password: 1234 driver-class-name: org.postgresql.Driver jpa: hibernate: ddl-auto: create properties: hibernate: show_sql: true format_sql: true eureka: instance: hostname: localhost instanc..
| Filter 적용해보기 > 1. Java 방식 2. 설정파일(application.yml) Predicate: 조건 분기, 요청오면 어떤 조건인지 확인하는 부분 Pre Filter Post Filter 참고 URL : https://wonit.tistory.com/500 application.yml server: port: 8000 eureka: client: register-with-eureka: false fetch-registry: false service-url: defaultZone: http://localhost:8761/eureka spring: application: name: apigateway-service # cloud: # gateway: # routes: # - id: firs..