From bc3b773ea1faddcafb9752d4a531b73f373b5591 Mon Sep 17 00:00:00 2001 From: Matt Jacobs Date: Mon, 12 Dec 2016 14:41:24 -0800 Subject: [PATCH] Use Gretty for running hystrix-examples-webapp --- hystrix-examples-webapp/README.md | 4 ++-- hystrix-examples-webapp/build.gradle | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/hystrix-examples-webapp/README.md b/hystrix-examples-webapp/README.md index 98ae39de5..6e71e4a23 100644 --- a/hystrix-examples-webapp/README.md +++ b/hystrix-examples-webapp/README.md @@ -9,8 +9,8 @@ The [hystrix-dashboard](https://github.com/Netflix/Hystrix/tree/master/hystrix-d ``` $ git clone git@github.com:Netflix/Hystrix.git $ cd Hystrix/hystrix-examples-webapp -$ ../gradlew jettyRun -> Building > :hystrix-examples-webapp:jettyRun > Running at http://localhost:8989/hystrix-examples-webapp +$ ../gradlew appRun +> Building > :hystrix-examples-webapp:appRun > Running at http://localhost:8989/hystrix-examples-webapp ``` Once running, open http://localhost:8989/hystrix-examples-webapp. diff --git a/hystrix-examples-webapp/build.gradle b/hystrix-examples-webapp/build.gradle index 7961aa09a..9957ee99b 100644 --- a/hystrix-examples-webapp/build.gradle +++ b/hystrix-examples-webapp/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 { compileApi project(':hystrix-core') @@ -8,6 +8,7 @@ dependencies { compileApi project(':hystrix-metrics-event-stream') } -jettyRun { +gretty { httpPort = 8989 + servletContainer = 'jetty9' }