diff --git a/spring_cloud_in_action/config-repo/gateway-dev.properties b/spring_cloud_in_action/config-repo/gateway-dev.properties new file mode 100644 index 0000000000000000000000000000000000000000..a6766d6db513df4c0c4727fe8684b4d4ed01f76d --- /dev/null +++ b/spring_cloud_in_action/config-repo/gateway-dev.properties @@ -0,0 +1,12 @@ +from=local + +# routes to serviceId +zuul.routes.api-a.path=/api/a/** +zuul.routes.api-a.serviceId=hello-service + +zuul.routes.api-b.path=/api/b/** +zuul.routes.api-b.serviceId=feign-consumer +#zuul.routes.api-b.strip-prefix=true + +zuul.routes.api-c.path=/ddd/** +zuul.routes.api-c.serviceId=hello-service