These are chat archives for spring-cloud/spring-cloud

31st
Mar 2018
dragontree101
@dragontree101
Mar 31 2018 09:12

i use spring-cloud-gateway and config

routes:
      - id: pigsy_test
        uri: lb://paradise
        order: 9000
        predicates:
        - Path=/genid

if i want both /genid and /xxxabc both to paradise service, how can i set this config in one predicates?
i try

routes:
      - id: pigsy_test
        uri: lb://paradise
        order: 9000
        predicates:
        - Path=/genid, /xxxabc

but no used , how can i config multi path like this?