Skip to content

Commit bc3b773

Browse files
committed
Use Gretty for running hystrix-examples-webapp
1 parent 03dac0c commit bc3b773

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

Diff for: hystrix-examples-webapp/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ The [hystrix-dashboard](https://github.com/Netflix/Hystrix/tree/master/hystrix-d
99
```
1010
$ git clone [email protected]:Netflix/Hystrix.git
1111
$ cd Hystrix/hystrix-examples-webapp
12-
$ ../gradlew jettyRun
13-
> Building > :hystrix-examples-webapp:jettyRun > Running at http://localhost:8989/hystrix-examples-webapp
12+
$ ../gradlew appRun
13+
> Building > :hystrix-examples-webapp:appRun > Running at http://localhost:8989/hystrix-examples-webapp
1414
```
1515

1616
Once running, open <a href="http://localhost:8989/hystrix-examples-webapp">http://localhost:8989/hystrix-examples-webapp</a>.

Diff for: hystrix-examples-webapp/build.gradle

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
apply plugin: 'war'
2-
apply plugin: 'jetty'
2+
apply from: 'https://raw.github.com/akhikhl/gretty/master/pluginScripts/gretty.plugin'
33

44
dependencies {
55
compileApi project(':hystrix-core')
@@ -8,6 +8,7 @@ dependencies {
88
compileApi project(':hystrix-metrics-event-stream')
99
}
1010

11-
jettyRun {
11+
gretty {
1212
httpPort = 8989
13+
servletContainer = 'jetty9'
1314
}

0 commit comments

Comments
 (0)