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

24th
Jan 2018
Samkit Shah
@shsamkit
Jan 24 2018 00:32
@dsyer , thanks for fixing the quick start pom!
Dave Syer
@dsyer
Jan 24 2018 09:05
@mbenson not sure what you mean. Do you have an example project?
Isn't a dependency, just an @Autowired? Normally we do that by type.
Dave Syer
@dsyer
Jan 24 2018 09:22
@snowe2010 I'm surprised you had to do anything beyond adding the k8s starter. I guess you might have broken something by messing with the dependencies. Hard to say without a sample.
Tyler Thrailkill
@snowe2010
Jan 24 2018 14:55
@dsyer Just adding the starter doesn't work by default for me. I get errors about okhttp3. I'll try to get a sample project going today.
Matt Benson
@mbenson
Jan 24 2018 15:09
@dsyer thanks for the response. Here I was working with a third-party application (CAS 5.2.x) which provided a @RequestScoped bean whose actual bean provider method called a method on the bean before returning it. The called initialization method modifies the state of an object shared with my own @RequestScoped bean, so depending on the bean just ensures that the proxy is initialized. In this case their bean is @ConditionalOnMissingBean so I have resorted to replacing their bean altogether here.
Matt Benson
@mbenson
Jan 24 2018 17:33
actually it seems for some reason like it may also help to actually inject the bean to my bean producer method