MSAラーニング(4)-APIゲートウェイサービス
API Gateway Service
バックエンドにAPIゲートウェイを配置し、MicroServiceリクエストとしてのすべての情報を処理します.(単一エントリポイント)
特長
1.プロジェクトの作成
2. application.yml設定
server:
port: 8000
eureka:
client:
register-with-eureka: true
fetch-registry: true
service-url:
defaultZone: http://localhost:8761/eureka
spring:
application:
name: apigateway-service
cloud:
gateway:
routes:
- id: first-service
uri: lb://FIRST-SERVICE
predicates:
- Path=/first-service/**
- id: second-service
uri: lb://SECOND-SERVICE
predicates:
- Path=/second-service/**
Reference
この問題について(MSAラーニング(4)-APIゲートウェイサービス), 我々は、より多くの情報をここで見つけました https://velog.io/@wnsdud2336/MSA-학습3-API-Gateway-Service작성중テキストは自由に共有またはコピーできます。ただし、このドキュメントのURLは参考URLとして残しておいてください。
Collection and Share based on the CC Protocol