Ryan Baxter
d9f7842aec
Fix HystrixClientFallbackFactory implementation in docs. Fixes #2428
2017-11-08 11:00:51 -05:00
Ryan Baxter
65762b1dce
Remove deprecated RetryableStatusCodeException. Fixes #2003 ( #2427 )
2017-11-07 17:26:17 -05:00
Nastya Smirnova
ba24811356
Report jmx and management ports to Eureka metadata map ( #1830 )
...
Follows: https://github.com/spring-cloud/spring-cloud-netflix/pull/1317
2017-11-07 13:42:23 -05:00
agseijas
573d52119a
Adds feign-* missing managed dependencies ( #2417 )
...
Probably we could import a bom from feign.
2017-11-07 10:56:10 -05:00
Ryan Baxter
3cafacc3e9
Fixes #2415
2017-11-06 15:43:20 -05:00
Spencer Gibb
a805b53d86
Merge branch 'daniellavoie-no-eureka-fix'
2017-10-30 18:10:15 -04:00
Daniel Lavoie
c0c59320a5
Regression fix for hystrix stream without eureka registration
2017-10-30 18:10:11 -04:00
Spencer Gibb
271bfcfb31
Fix tests
2017-10-27 18:43:31 -04:00
JagmohanSharma
798a4bb2b9
https://github.com/spring-cloud/spring-cloud-netflix/issues/2387 ( #2388 )
...
In order to fix issue with TPS in hystrix-dashboard threadpool section, removing average calculation for propertyValue_metricsRollingStatisticalWindowInMilliseconds. This was done for hystrixCommand.js previously but not for hystrixThreadpool.js.
2017-10-24 13:18:34 -04:00
Spencer Gibb
df7f31098c
Going back to snapshots
2017-10-23 17:44:26 -04:00
Spencer Gibb
fa9524f9c9
Update SNAPSHOT to 1.4.0.RC1
2017-10-23 17:39:56 -04:00
Spencer Gibb
1368f059bb
Change contract property name
2017-10-23 17:16:32 -04:00
Spencer Gibb
8701060355
Add workaround for locally failing test.
2017-10-23 17:05:30 -04:00
Spencer Gibb
ee067ed3f2
Merge branch 'raiRaiyan-gh-2303'
2017-10-23 14:43:38 -04:00
Raiyan
b57dedb74a
- Eureka client auto configures the secure port when secure port is enabled
...
- The eureka instance auto registration also changes the secure port when the server port is random (0)
Fixes gh-2303
2017-10-23 14:43:20 -04:00
Spencer Gibb
d7c13adac0
Merge branch 'tiny-dancer-patch-1'
2017-10-23 14:19:13 -04:00
mg
bd2473a7bf
Update spring-cloud-netflix.adoc
...
Update documentation to reflect https://github.com/spring-cloud/spring-cloud-netflix/issues/1048
2017-10-23 14:18:40 -04:00
Gregor Zurowski
de16cb71f1
Add new filters actuator endpoint ( #2244 )
...
* Add new Zuul filters endpoint and refactor routes endpoint
* Refactor FiltersEndpoint
- Extend from AbstractEndpoint and simplify code
- Move tests classes into package endpoint
- Remove usage of Lombok
* Conditionally enable Zuul routes and filters endpoints
* Provide FilterRegistry to FiltersEndpoint via constructor
2017-10-23 14:08:00 -04:00
Nastya Smirnova
ffc431753b
Create TurbineClustersProvider
...
Extract separate class TurbineClustersProvider to be able to provide custom solution for retrieving configured clusters (#2219 )
2017-10-20 21:46:29 -04:00
Spencer Gibb
28de82e63c
Use updated Registration rather than getLocalServiceInstance()
...
See https://github.com/spring-cloud/spring-cloud-commons/issues/265
2017-10-18 11:34:38 -04:00
Spencer Gibb
6c65266f05
Formatting spaces->tabs
2017-10-17 13:37:28 -04:00
Spencer Gibb
6ffe2f1af2
Downgrade archaius to 0.7.4 for java 7 compatibility.
...
see https://github.com/Netflix/archaius/pull/522
2017-10-17 13:12:26 -04:00
Dave Syer
68ce0cf25f
Merge branch 'feature/eureka-stubs'
2017-10-17 10:47:35 +01:00
Spencer Gibb
7cff8ddbd3
Add missing jackson serialization for instanceinfo.
...
Port information was missing from data sent to eureka.
fixes gh-2372
2017-10-16 16:23:51 -04:00
Dave Syer
9d1eed6a82
Add script to build contract utils
2017-10-16 16:54:35 +01:00
Dave Syer
eeadc829b9
Parameterize contract version
2017-10-13 15:17:46 +01:00
Dave Syer
efe040549c
Move contract helper out of the reactor build
2017-10-13 15:17:46 +01:00
Dave Syer
5bc9e65cdd
Add tests for server metadata
2017-10-13 15:17:46 +01:00
Dave Syer
d6a604051f
Split tests up into individual methods
2017-10-13 15:17:46 +01:00
Dave Syer
51a03b30f2
Consolidate stub tests into one place
2017-10-13 15:17:46 +01:00
Dave Syer
561f3b2fbf
Add wiremock verification
2017-10-13 15:17:46 +01:00
Dave Syer
3a7af2c8fe
Generate some stubs, yay!
2017-10-13 15:17:46 +01:00
Dave Syer
26c7c362d2
Add property to tests, parameterizing stubs
2017-10-13 15:17:46 +01:00
Dave Syer
0642ea52c9
Remove unused stubs file
2017-10-13 15:17:46 +01:00
Dave Syer
957e33207e
Stabilise some tests
2017-10-13 15:17:46 +01:00
Dave Syer
a39fe345b5
Remove deprecated annotation
2017-10-13 15:17:46 +01:00
Dave Syer
40e72ddb8c
Tweak assertions a bit
2017-10-13 15:17:46 +01:00
Dave Syer
195c3fd75d
Extract utility class into shared library for contract tests
2017-10-13 15:17:46 +01:00
Dave Syer
c626bccad3
Add rest template to extract SSE events and assert them
...
The message has to be sent after the endpoint starts up, which only
happens after the first request is accepted, so we put that logic
in the response extractor.
2017-10-13 15:17:46 +01:00
Dave Syer
e295188075
Add tests for body of message
2017-10-13 15:17:46 +01:00
Dave Syer
7804e1bd59
Add Spring Cloud Contract for hystrix stream
2017-10-13 15:17:46 +01:00
Spencer Gibb
6b6889b8b4
Fixes refresh scope bean type.
2017-10-04 19:32:57 -04:00
Fahim Farook
f809c119bd
Allow init params to be set on ProxyStreamServlet. ( #2335 )
...
* Allow init params to be set on ProxyStreamServlet.
Fixes gh-2301
* Added unit test for #gh-2301
2017-10-03 13:43:17 -04:00
Alex Sartan
7f97a61ed5
Fix minor grammar issue in Zuul doc ( #2336 )
2017-10-01 13:25:32 -04:00
Andre Dörnbrack
05a3db3cc0
Fix zuul post retry ( #2209 )
...
Modfied RibbonCommandContext to make request entity resettable. fixes gh-892
2017-09-25 13:59:31 -04:00
Ryan Baxter
145b7ce69a
Remove @EnableDiscoveryClient and @EnableEurekaClient ( #2242 )
...
* Remove @EnableDiscoveryClient and @EnableEurekaClient as there are now optional. Fixes #2241 .
2017-09-25 13:18:04 -04:00
Ryan Baxter
c6fa162728
Merge pull request #2293 from mattjbray/fix-requestmapping-headers
...
SpringMvcContract: Ignore RequestMapping headers with no value.
2017-09-22 21:15:53 +01:00
Matt Bray
527dc2cc48
SpringMvcContract: Ignore RequestMapping headers with no value.
...
According to:
https://docs.spring.io/spring/docs/current/javadoc-api/org/springframework/web/bind/annotation/RequestMapping.html#headers--
the `headers` field can take several formats:
1. Require the header with a concrete value: `"My-Header=myValue"`
2. Require the header with any value: `"My-Header"`
3. Require the header is absent: `"!My-Header"`
4. Require the header with a negated value : `"My-Header!=myValue"`
This fixes `parseHeaders` for cases 2-4 (which previously threw a `StringIndexOutOfBoundsException`).
Fixes gh-1778.
2017-09-22 18:01:04 +01:00
Dave Syer
7672ee3666
Fix hystrix command keys in tests to be unique
2017-09-21 12:13:19 +01:00
Dave Syer
7ca4f33dcf
Remove System.err from test
2017-09-21 11:30:07 +01:00