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

10th
Nov 2016
Koizumi85
@Koizumi85
Nov 10 2016 08:09
@wmz7year Are you using service discovery behind your feign client? Then what makes it slow, is the call to your service registry I think. So you can drive some sort of "initialization calls" right after your application is completely started. Then all "real" calls will be fast
Włodzimierz Rożkow
@rozhok
Nov 10 2016 11:51
hey guys, is there any property which will be included to eureka metadata automatically?
like instanceId
Dave Syer
@dsyer
Nov 10 2016 12:01
I think it's called eureka.instance.metadataMap.
You can find it in the EurekaInstanceConfigBean
Włodzimierz Rożkow
@rozhok
Nov 10 2016 12:05
thanks! definitely what I've looked for
Emre
@TheCoder84
Nov 10 2016 12:05
@TheCoder84
hello everyone i have problem o.s.c.n.zuul.web.ZuulHandlerMapping : No routes found from RouteLocator when i upgrade to spring boot 1.3.5--> 1.4.2 , jhipster-registry 2.1.0 --> 2.5.3,spring-cloud 1.1.0.M5 -->Camden.SR2 is there anyone who faced before
also zool 1.1.0.M5 --> 1.2.2.RELEASE
Dave Syer
@dsyer
Nov 10 2016 12:12
I never saw that
Maybe something changed in JHipster?
Emre
@TheCoder84
Nov 10 2016 12:29
ok thank you dave
Felipe Adorno
@FelipeAdorno
Nov 10 2016 14:12
Hi guys I need only by pass my requests using zull, this is my route config
zuul:
  routes:
    myservice:
      path: /**
      serviceId: myservice
    myservice_1:
      path: /**
      serviceId: myservice_1
I nee only access /v1/rest1 to access -> the v1/rest1 on myservice and /v1/rest2 to access -> the v1/rest2 on myservice_1 it's possible?
Dave Syer
@dsyer
Nov 10 2016 14:30
You need the paths to be different at least
E.g. path: /v1/rest1/** for the first one
Felipe Adorno
@FelipeAdorno
Nov 10 2016 16:36
@dsyer thx :)