Commit b7db6586 by Spencer Gibb

rename FeignConfigurer to FeignConfiguration

fixes gh-91
parent 3b7cc53c
...@@ -416,7 +416,7 @@ Example spring boot app ...@@ -416,7 +416,7 @@ Example spring boot app
@ComponentScan @ComponentScan
@EnableAutoConfiguration @EnableAutoConfiguration
@EnableEurekaClient @EnableEurekaClient
public class Application extends FeignConfigurer { public class Application extends FeignConfiguration {
@Bean @Bean
public StoreClient storeClient() { public StoreClient storeClient() {
//loadBalance plugs Feign into ribbon. feign() works without load balancing. //loadBalance plugs Feign into ribbon. feign() works without load balancing.
......
...@@ -18,7 +18,7 @@ import java.net.URI; ...@@ -18,7 +18,7 @@ import java.net.URI;
* @author Spencer Gibb * @author Spencer Gibb
*/ */
@Configuration @Configuration
public class FeignConfigurer { public class FeignConfiguration {
@Autowired @Autowired
ConfigurableEnvironmentConfiguration envConfig; //FIXME: howto enforce this? ConfigurableEnvironmentConfiguration envConfig; //FIXME: howto enforce this?
......
...@@ -29,7 +29,7 @@ import java.util.List; ...@@ -29,7 +29,7 @@ import java.util.List;
@SpringApplicationConfiguration(classes = SpringDecoderTests.Application.class) @SpringApplicationConfiguration(classes = SpringDecoderTests.Application.class)
@WebAppConfiguration @WebAppConfiguration
@IntegrationTest({ "server.port=0", "spring.application.name=springdecodertest", "spring.jmx.enabled=true" }) @IntegrationTest({ "server.port=0", "spring.application.name=springdecodertest", "spring.jmx.enabled=true" })
public class SpringDecoderTests extends FeignConfigurer { public class SpringDecoderTests extends FeignConfiguration {
@Value("${local.server.port}") @Value("${local.server.port}")
private int port = 0; private int port = 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment