rename FeignConfigurer to FeignConfiguration
fixes gh-91
This commit is contained in:
@@ -416,7 +416,7 @@ Example spring boot app
|
||||
@ComponentScan
|
||||
@EnableAutoConfiguration
|
||||
@EnableEurekaClient
|
||||
public class Application extends FeignConfigurer {
|
||||
public class Application extends FeignConfiguration {
|
||||
@Bean
|
||||
public StoreClient storeClient() {
|
||||
//loadBalance plugs Feign into ribbon. feign() works without load balancing.
|
||||
|
||||
@@ -18,7 +18,7 @@ import java.net.URI;
|
||||
* @author Spencer Gibb
|
||||
*/
|
||||
@Configuration
|
||||
public class FeignConfigurer {
|
||||
public class FeignConfiguration {
|
||||
@Autowired
|
||||
ConfigurableEnvironmentConfiguration envConfig; //FIXME: howto enforce this?
|
||||
|
||||
@@ -29,7 +29,7 @@ import java.util.List;
|
||||
@SpringApplicationConfiguration(classes = SpringDecoderTests.Application.class)
|
||||
@WebAppConfiguration
|
||||
@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}")
|
||||
private int port = 0;
|
||||
|
||||
Reference in New Issue
Block a user