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
spccold
baa50c136a
simplify org.springframework.cloud.netflix.zuul.filters.ProxyRequestH… ( #1965 )
...
* simplify org.springframework.cloud.netflix.zuul.filters.ProxyRequestHelper#setResponse
* Update ProxyRequestHelper.java
2017-09-11 17:32:16 -04:00
Ryan Baxter
24d0bedf7d
Merge pull request #2255 from DominikMostek/fallback_cause
...
Fallback cause is propagated to fallback provider
2017-09-08 14:12:52 -04:00
Ryan Baxter
38b8786ede
Merge pull request #2261 from ryanjbaxter/timeout-values
...
Adjust Ribbon connect and read timeout values
2017-09-08 14:08:46 -04:00
Ryan Baxter
146513aeb0
Set Ribbon connect and read timeout values to equal the Hystrix timeout. Fixes #1827 .
2017-09-08 10:19:01 -04:00
Dominik Mostek
4dc5088fb2
Updated documentation with new FallbackProvider
2017-09-07 12:55:33 +02:00
Dominik Mostek
4c53fd2bf6
Fallback cause is propagated to fallback provider
...
Cause can now be propagated to fallback provider in order to respond accordingly to a exception type.
New interface is introduced in order not to break any existing falback providers.
2017-09-07 12:23:37 +02:00
Jin Zhang
885425e2a3
format 'pom.xml' code style ( #2257 )
2017-09-06 22:26:20 -04:00
Ryan Baxter
b74c77b74f
Merge pull request #2256 from ryanjbaxter/update-rxjava-version
...
Update rxjava version
2017-09-06 20:21:12 -04:00
Ryan Baxter
1bc8e8fd3a
Update rxjava version. Fixes #2248 .
2017-09-06 16:02:04 -04:00
Gregor Zurowski
6dbdb1d8ed
Remove commons-lang builders ( #2243 )
...
This commit removes usages of commons-lang builders for equals,
hashCode and toString methods.
Signed-off-by: Gregor Zurowski <gregor@zurowski.org >
2017-08-31 19:26:53 -04:00
Tom Cawley
ea5585e381
Dynamic filtering on Zuul SimpleRouteLocator.getRoutes()
...
* Introduce getRoutesMap() so subclasses can have read/write access to configured/discovered routes.
2017-08-31 19:20:33 -04:00
Ryan Baxter
ace95a3355
Merge pull request #2240 from gzurowski/remove-lombok-from-docs
...
Remove Lombok from documentation
2017-08-31 16:47:25 -04:00
Spencer Gibb
019615f376
remove commons.lang.builder
2017-08-31 14:45:48 -06:00
Ryan Baxter
a8d40afd58
Merge pull request #2239 from gzurowski/remove-lombok-from-netflix-core
...
Remove Lombok from spring-cloud-netflix-core module
2017-08-31 16:22:50 -04:00
Marcin Grzejszczak
ebe3800c75
Merge branch '1.3.x'
2017-08-31 15:01:12 +02:00
Marcin Grzejszczak
30b98bea85
Referrencing resources from sc-build
2017-08-31 15:01:05 +02:00