From 9f08d391771f98a330d34c50917c1a56c976130c Mon Sep 17 00:00:00 2001 From: Matt Jacobs Date: Wed, 14 Dec 2016 14:59:27 -0800 Subject: [PATCH 1/2] Switch hystrix-dashboard from using Jetty plugin to Gretty --- hystrix-dashboard/build.gradle | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/hystrix-dashboard/build.gradle b/hystrix-dashboard/build.gradle index 7ed03753e..8337a14f7 100644 --- a/hystrix-dashboard/build.gradle +++ b/hystrix-dashboard/build.gradle @@ -1,5 +1,5 @@ apply plugin: 'war' -apply plugin: 'jetty' +apply from: 'https://raw.github.com/akhikhl/gretty/master/pluginScripts/gretty.plugin' dependencies { provided 'javax.servlet:servlet-api:2.5' @@ -10,6 +10,7 @@ dependencies { testCompile 'junit:junit:4.12' } -jettyRun { - httpPort = 7979 +gretty { + httpPort = 7979 + servletContainer = 'jetty9' } From 8e95bc68573ab711ef8f905d85fd3c440f9b508f Mon Sep 17 00:00:00 2001 From: Matt Jacobs Date: Wed, 14 Dec 2016 15:01:34 -0800 Subject: [PATCH 2/2] Change hystrix-dashboard README to refer to gretty:appRun instead of jetty:jettyRun --- hystrix-dashboard/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hystrix-dashboard/README.md b/hystrix-dashboard/README.md index f7a97a629..12564a2ef 100644 --- a/hystrix-dashboard/README.md +++ b/hystrix-dashboard/README.md @@ -9,8 +9,8 @@ View the [Dashboard Wiki](https://github.com/Netflix/Hystrix/wiki/Dashboard) for ``` $ git clone https://github.com/Netflix/Hystrix.git $ cd Hystrix/hystrix-dashboard -$ ../gradlew jettyRun -> Building > :hystrix-dashboard:jettyRun > Running at http://localhost:7979/hystrix-dashboard +$ ../gradlew appRun +> Building > :hystrix-dashboard:appRun > Running at http://localhost:7979/hystrix-dashboard ``` Once running, open http://localhost:7979/hystrix-dashboard.