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

29th
Mar 2016
Spencer Gibb
@spencergibb
Mar 29 2016 00:47
@pradeepkusingh that's a classic proxy issue. Look at the X-Forwarded-* headers.
pradeepkusingh
@pradeepkusingh
Mar 29 2016 00:47
Thanks , it worked. :)
Marcos Barbero
@marcosbarbero
Mar 29 2016 17:07
Hi guys, is there anyway to forward an received http header from the current HttpRequest to a @FeignClient call? I found the interface RequestInterceptorbut I haven’t figured out if I can do such thing.
Marcos Barbero
@marcosbarbero
Mar 29 2016 17:15
@fiunchinho Thanks! It will do the trick :D
Jose Armesto
@fiunchinho
Mar 29 2016 17:16
np
Donovan Muller
@donovanmuller
Mar 29 2016 18:17
Hi, what are the plans around Spring Flo (for XD) and support for SCDF? I.e. when will it be updated to support SCDF and a potential release date?
Also, I'm assuming Flo will eventually be a paid product? 😜
Dave Syer
@dsyer
Mar 29 2016 18:50
Undecided
There is a version that works with SCDF
But I think it's work in progress
Pedro Alvarado
@PedroAlvarado
Mar 29 2016 18:52
Hello, is it possible to override or set ribbon's list of servers via application properties when using @EnableDiscoveryClient(consul)? I have a case where a client is not auto-discoverable(yet) and I'm attempting to set its list of server via myclient.ribbon.listOfServers=myclientserver
Donovan Muller
@donovanmuller
Mar 29 2016 18:56
@dsyer may I ask why Flo isn't on Github?
Dave Syer
@dsyer
Mar 29 2016 19:26
You already said it: it might be a paid product at some point
Donovan Muller
@donovanmuller
Mar 29 2016 19:27
Gotcha
Dave Syer
@dsyer
Mar 29 2016 19:27
(Actually it is in github, technically)
My guess is there will be an open source library
And a paid product built on top
Donovan Muller
@donovanmuller
Mar 29 2016 19:27
just not public 😀
Spencer Gibb
@spencergibb
Mar 29 2016 19:29
@PedroAlvarado the default server list for consul is a consul one, to use listOfServers you need to create an @RibbonClient with a configuration that has a ConfigurationBasedServerList, then that will work.
pradeepkusingh
@pradeepkusingh
Mar 29 2016 19:53
@dsyer - i have a qq .. I have 2 cloud foundry data center and API gateway is configure to look into eureka and send traffic to UI..Eureka is paired across the datacenter.. but some time we notice that first request hit Datacenter1 and second request goes to datacenter 2 and failing as session lost.. I have put ribbon zone affinity enabled .. still no luck.. is there anything I am missing to make ribbon affinity to zone ?
Pedro Alvarado
@PedroAlvarado
Mar 29 2016 20:43
@spencergibb I need a big banner that says "Use the @RibbonClient Pedro". I keep forgetting this.