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

17th
Nov 2015
Tommy Ludwig
@shakuzen
Nov 17 2015 00:04
Is the timeframe for Brixton M3 this week?
Spencer Gibb
@spencergibb
Nov 17 2015 00:14
Not sure of the M3 timeline
Tommy Ludwig
@shakuzen
Nov 17 2015 02:57
@dsyer @spencergibb I tried starting my Cloud Config server using Brixton.SNAPSHOT and Spring Boot 1.3.0.RELEASE and it fails with the above mentioned ClassNotFoundException
So right now, even using the snapshots is not an option (unless I'm doing something wrong)
False alarm. Updated my snapshots again (thought I did that) and it starts
Still, a milestone release would be nice
Tommy Ludwig
@shakuzen
Nov 17 2015 09:22
Also, it is annoying that the versions defined in spring-cloud-starter-parent imported in my parent pom take precedence over the versions in the spring-boot-starter-parent pom that my parent pom inherits from.
So while using Spring Boot 1.3.0.RELEASE and Brixton.M2, some framework JARs are getting managed to 4.2.2 instead of 4.2.3. I guess this is just expected and a new version of Spring Cloud has to be made available any time any of the dependencies shared between the two change in Spring Boot to avoid this issue?
Dave Syer
@dsyer
Nov 17 2015 09:23
That is expected. You need to use the boot BOM as well (and put it first)
Snapshots are much easier to work with
Why don't you just do that until we get Brixton.M3?
Tommy Ludwig
@shakuzen
Nov 17 2015 09:24
Sure thing. I just didn't realize I needed to until I noticed some 4.2.2 dependencies lingering around.
Dave Syer
@dsyer
Nov 17 2015 09:25
Yeah, sorry. It's just the way dependency management works.
Tommy Ludwig
@shakuzen
Nov 17 2015 09:28
Not much that can be done about that. Thanks for the quick response. I'll use the SNAPSHOTs for now.
hacbq
@hacbq
Nov 17 2015 10:28
I'm waiting for spring-cloud-netflix & spring-cloud-config 1.1 release :smile:
STeveT
@satar
Nov 17 2015 22:11
Has anyone used git2consul with Spring Cloud Consul Config? From my experimentation, I used git2consul to push a properties file to consul as a key called config/application/application.properties, which means I have one key/value for this and SCCC will automatically recognize and happily load for me as one property named application.properties with contents as value. Before I go on to implement a property-to-property-source expansion -- am I missing something? I would have thought SCCC would do this already but it could be something I am missing or misunderstanding.
Spencer Gibb
@spencergibb
Nov 17 2015 22:13
@satar I’ve thought about that as opposed to individual keys. It would be more aligned with config-server at that point.
STeveT
@satar
Nov 17 2015 22:51
I had seen that but unless I set it up incorrectly, it didn't expand key=value in properties file out to individual consul key/value store.
Spencer Gibb
@spencergibb
Nov 17 2015 23:20
I haven’t tried that, so it may well be broken
Ryan Baxter
@ryanjbaxter
Nov 17 2015 23:42
Is there a way to configure zuul to remove certain headers from the requests it is proxying?
chrome and safari add origin headers to the requests and this causes the services being called to think they are CORS requests
i would like it if zuul could remove the origin header since i am trying to use zuul to avoid the cross domain problem to being with
Spencer Gibb
@spencergibb
Nov 17 2015 23:46
there’s a PR to ignore certain headers: spring-cloud/spring-cloud-netflix#625
for now you’d need to write a filter that calls ProxyRequestHelper.addIgnoredHeaders
Ryan Baxter
@ryanjbaxter
Nov 17 2015 23:49
thanks @spencergibb I will give that a shot
i imagine other people will run into this problem too
Spencer Gibb
@spencergibb
Nov 17 2015 23:50
yeah