Sfoglia il codice sorgente

swich to beans config

yassine 1 anno fa
parent
commit
0ed94b560a
1 ha cambiato i file con 1 aggiunte e 11 eliminazioni
  1. 1
    11
      api-gateway.yml

+ 1
- 11
api-gateway.yml Vedi File

@@ -5,20 +5,10 @@ spring:
5 5
   application:
6 6
     name: api-gateway
7 7
 
8
-  cloud:
9
-    gateway:
10
-      routes:
11
-        - id: account
12
-          uri: lb://account
13
-          predicates:
14
-            - Path=/account/**
15
-        - id: customer
16
-          uri: lb://customer
17
-          predicates:
18
-            - Path=/customer/**
19 8
 logging:
20 9
   level:
21 10
     org.springframework.cloud.gateway: DEBUG
11
+
22 12
 management:
23 13
   endpoints:
24 14
     gateway:

Powered by TurnKey Linux.