Browse Source

another try

yassine 10 months ago
parent
commit
2169cc073e
1 changed files with 4 additions and 4 deletions
  1. 4
    4
      api-gateway.yml

+ 4
- 4
api-gateway.yml View File

8
   cloud:
8
   cloud:
9
     gateway:
9
     gateway:
10
       routes:
10
       routes:
11
-        - id: customer
12
-          uri: http://localhost:8081/
13
-          predicates:
14
-            - Path=/customer/**
15
         - id: account
11
         - id: account
16
           uri: http://localhost:8082/
12
           uri: http://localhost:8082/
17
           predicates:
13
           predicates:
18
             - Path=/account/**
14
             - Path=/account/**
15
+        - id: customer
16
+          uri: http://localhost:8081/
17
+          predicates:
18
+            - Path=/customer/**
19
 
19
 
20
 management:
20
 management:
21
   endpoints:
21
   endpoints:

Powered by TurnKey Linux.