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

Use Gretty for running hystrix-examples-webapp #1441

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-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'
}