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

25th
Aug 2016
Johan van den Berg
@johanvdb
Aug 25 2016 09:22
Hey, is there an example somewhere of using hazelcast both for leadership election and for cache? If I want to use it for cache, I need to have a HazelCast config bean long before the leadership autoconfiguration it seems, and leadership configures its own HazelCast instance. Either one or the other works, I just can't seem to get both to work
Johan van den Berg
@johanvdb
Aug 25 2016 09:31
Never mind, seems I had misunderstood the purpose of the leadership role. I believe its all working now.
Ivan
@ismorodin
Aug 25 2016 15:06
How to test bootstrap configuration for example configuration class extended org.springframework.cloud.bootstrap.config.PropertySourceLocator?
Ivan
@ismorodin
Aug 25 2016 15:17
@spencergibb i want to inject the bean to parent context from test class
Annotation '@MockBean' does not work!
soky srm
@sokie
Aug 25 2016 15:27
This message was deleted
Spencer Gibb
@spencergibb
Aug 25 2016 16:22
I’m not sure what you mean.
Ali Moghadam
@alighm
Aug 25 2016 20:01
@dsyer and @spencergibb any ideas how I can use JSSESocketFactory with FeignClient to do https calls?
I have a custom JSSESocketFactory which I want my feign clients to use to do https calls
Dave Syer
@dsyer
Aug 25 2016 20:03
Feign is a wrapper for an HTTP client. The client will have a way to set the socket factory
Spencer Gibb
@spencergibb
Aug 25 2016 20:03
It’s a Client implementation in feign.
Dave Syer
@dsyer
Aug 25 2016 20:03
Nothing really to do with spring or feign
Ali Moghadam
@alighm
Aug 25 2016 20:05
I see
Spencer Gibb
@spencergibb
Aug 25 2016 20:05
we support a custom apache HttpClient or okhttp3.OkHttpClient
Ali Moghadam
@alighm
Aug 25 2016 20:06
I see