Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hystrix dashboard switch jetty to gretty #1443

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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'
}