From 180b63def157c360a9be36d482fc0c04ca77f7bc Mon Sep 17 00:00:00 2001 From: Dave Syer Date: Fri, 1 Aug 2014 14:58:42 -0700 Subject: [PATCH] Add hystrix starter --- pom.xml | 16 ++++++ spring-platform-starter-eureka/pom.xml | 2 +- spring-platform-starter-hystrix/pom.xml | 50 +++++++++++++++++++ .../main/resources/META-INF/spring.provides | 1 + spring-platform-starter/pom.xml | 6 +++ 5 files changed, 74 insertions(+), 1 deletion(-) create mode 100644 spring-platform-starter-hystrix/pom.xml create mode 100644 spring-platform-starter-hystrix/src/main/resources/META-INF/spring.provides diff --git a/pom.xml b/pom.xml index 22965d2..fd0b413 100644 --- a/pom.xml +++ b/pom.xml @@ -24,6 +24,7 @@ spring-platform-starter spring-platform-starter-eureka + spring-platform-starter-hystrix @@ -41,6 +42,21 @@ pom import + + org.springframework.platform + spring-platform-starter + 1.0.0.BUILD-SNAPSHOT + + + org.springframework.platform + spring-platform-starter-netflix + 1.0.0.BUILD-SNAPSHOT + + + org.springframework.platform + spring-platform-starter-hystrix + 1.0.0.BUILD-SNAPSHOT + diff --git a/spring-platform-starter-eureka/pom.xml b/spring-platform-starter-eureka/pom.xml index 7e430cb..744c3fd 100644 --- a/spring-platform-starter-eureka/pom.xml +++ b/spring-platform-starter-eureka/pom.xml @@ -20,7 +20,7 @@ org.springframework.platform - spring-platform-config-client + spring-platform-starter org.springframework.platform diff --git a/spring-platform-starter-hystrix/pom.xml b/spring-platform-starter-hystrix/pom.xml new file mode 100644 index 0000000..105c00d --- /dev/null +++ b/spring-platform-starter-hystrix/pom.xml @@ -0,0 +1,50 @@ + + + 4.0.0 + + org.springframework.platform + spring-platform-starters + 1.0.0.BUILD-SNAPSHOT + + spring-platform-starter-hystrix + spring-platform-starter-hystrix + Spring Platform Starter + http://projects.spring.io/spring-boot/ + + Pivotal Software, Inc. + http://www.spring.io + + + ${basedir}/../.. + + + + org.springframework.platform + spring-platform-starter + + + org.springframework.platform + spring-platform-netflix-core + + + com.netflix.hystrix + hystrix-core + + + com.netflix.hystrix + hystrix-metrics-event-stream + + + com.netflix.hystrix + hystrix-javanica + + + com.netflix.ribbon + ribbon-core + + + com.netflix.ribbon + ribbon-eureka + + + diff --git a/spring-platform-starter-hystrix/src/main/resources/META-INF/spring.provides b/spring-platform-starter-hystrix/src/main/resources/META-INF/spring.provides new file mode 100644 index 0000000..3dc45a0 --- /dev/null +++ b/spring-platform-starter-hystrix/src/main/resources/META-INF/spring.provides @@ -0,0 +1 @@ +provides: spring-platform-netflix-core, eureka-client \ No newline at end of file diff --git a/spring-platform-starter/pom.xml b/spring-platform-starter/pom.xml index 0512b95..9d4307b 100644 --- a/spring-platform-starter/pom.xml +++ b/spring-platform-starter/pom.xml @@ -22,5 +22,11 @@ org.springframework.platform spring-platform-config-client + + org.projectlombok + lombok + + provided +