Support for using OpenFeign in Spring Cloud apps
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Dave Syer 11d9ddbf85 Add TODO 10 years ago
spring-platform-netflix-core Add TODO 10 years ago
spring-platform-netflix-hystrix Convert Eureka client autoconfig to @EnableEurekaClient 10 years ago
spring-platform-netflix-turbine Convert Eureka client autoconfig to @EnableEurekaClient 10 years ago
spring-platform-netflix-zuul @EnableZuulProxy initial implementation 10 years ago
.gitignore move netflix code from sandbox 10 years ago
.settings.xml Add travis build 10 years ago
.travis.yml Unset quiet flag for Maven 10 years ago
README.md use eureka to lookup hystrix streams in turbine 10 years ago
RUNNING.md updated RUNNING with new jar names; 10 years ago
pom.xml Update to Boot 1.1.5 10 years ago

README.md

Ths project provides Netflix OSS integrations for Spring Boot apps through autoconfiguration and binding to the Spring Environment and other Spring programming model idioms.

Eureka Clients

Example eureka client:

@Configuration
@ComponentScan
@EnableAutoConfiguration
@RestController
public class Application {

	@RequestMapping("/")
	public String home() {
		return "Hello world";
	}
	
	public static void main(String[] args) {
		new SpringApplicationBuilder(Application.class).web(true).run(args);
	}

}

(i.e. utterly normal Spring Boot app). Configuration is required to locate the Eureka server. Example:

eureka:
  client:
    serviceUrl:
      defaultZone: http://localhost:8080/v2/
      default.defaultZone: http://localhost:8080/v2/

The default application name, virtual host and non-secure port are taken from the Environment is ${spring.application.name}, ${spring.application.name}.mydomain.net and ${server.port} respectively.

TODO List