Skip to content

Commit

Permalink
Merge pull request #1441 from mattrjacobs/hystrix-examples-webapp-swi…
Browse files Browse the repository at this point in the history
…tch-jetty-to-gretty

Use Gretty for running hystrix-examples-webapp
  • Loading branch information
mattrjacobs authored Dec 14, 2016
2 parents 03dac0c + bc3b773 commit 9263593
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions hystrix-examples-webapp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ The [hystrix-dashboard](https://github.com/Netflix/Hystrix/tree/master/hystrix-d
```
$ git clone [email protected]: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 <a href="http://localhost:8989/hystrix-examples-webapp">http://localhost:8989/hystrix-examples-webapp</a>.
Expand Down
5 changes: 3 additions & 2 deletions hystrix-examples-webapp/build.gradle
Original file line number Diff line number Diff line change
@@ -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')
Expand All @@ -8,6 +8,7 @@ dependencies {
compileApi project(':hystrix-metrics-event-stream')
}

jettyRun {
gretty {
httpPort = 8989
servletContainer = 'jetty9'
}

0 comments on commit 9263593

Please sign in to comment.