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

27th
Aug 2018
Hugh Hamill
@hughwphamill
Aug 27 2018 09:36
@spencergibb how do you integration test your routes without hitting a live server?
Spencer Gibb
@spencergibb
Aug 27 2018 13:00
I hit a live server running localy
Hugh Hamill
@hughwphamill
Aug 27 2018 13:20
Thanks!
Dennis Effing
@denniseffing
Aug 27 2018 14:23
Hi all.
Could someone explain the difference between "Spring Security" and "Spring Cloud Security" when it comes to OAuth 2.0/Open ID Connect 1.0 configuration?
The documentation of Spring Security says that Spring Boot 2.0 supports the auto configuration of the OAuth 2.0 client (https://docs.spring.io/spring-security/site/docs/current/reference/htmlsingle/#jc-oauth2login-boot-property-mappings) but the Spring Cloud Security documentation (http://cloud.spring.io/spring-cloud-static/Finchley.SR1/single/spring-cloud.html#_quickstart) seems to use its own configuration mappings.
Can I use the OAuth 2.0 auto configuration of Spring Security 5 and Spring Boot 2.0 in conjunction with Spring Cloud Security?
Eric Deandrea
@edeandrea
Aug 27 2018 16:36

Anyone know how I can bind a reactive Spring Boot application to a Redis Pivotal Cloud Foundry tile using AbstractCloudConfig?

Using blocking configuration I can do

@Configuration
@Profile({ “cloud”, “redis”})
public class CloudConfig extends AbstractCloudConfig {
  @Bean
  public RedisConnectionFactory redisConnectionFactory() {
    return connectionFactory().redisConnectionFactory("sba-redis");
  }
}
How do I do the same thing but instead return a ReactiveRedisConnectionFactory?