Skip to content

Commit

Permalink
Merge pull request Netflix#1443 from mattrjacobs/hystrix-dashboard-sw…
Browse files Browse the repository at this point in the history
…itch-jetty-to-gretty

Hystrix dashboard switch jetty to gretty
  • Loading branch information
mattrjacobs authored Dec 14, 2016
2 parents b43069b + 8e95bc6 commit 03d2836
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions hystrix-dashboard/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <a href="http://localhost:7979/hystrix-dashboard">http://localhost:7979/hystrix-dashboard</a>.
Expand Down
7 changes: 4 additions & 3 deletions hystrix-dashboard/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 {
provided 'javax.servlet:servlet-api:2.5'
Expand All @@ -10,6 +10,7 @@ dependencies {
testCompile 'junit:junit:4.12'
}

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

0 comments on commit 03d2836

Please sign in to comment.