Dave Syer
5bc9e65cdd
Add tests for server metadata
7 years ago
Dave Syer
d6a604051f
Split tests up into individual methods
7 years ago
Dave Syer
51a03b30f2
Consolidate stub tests into one place
7 years ago
Dave Syer
561f3b2fbf
Add wiremock verification
7 years ago
Dave Syer
3a7af2c8fe
Generate some stubs, yay!
7 years ago
Dave Syer
26c7c362d2
Add property to tests, parameterizing stubs
7 years ago
Dave Syer
0642ea52c9
Remove unused stubs file
7 years ago
Dave Syer
957e33207e
Stabilise some tests
7 years ago
Dave Syer
a39fe345b5
Remove deprecated annotation
7 years ago
Dave Syer
40e72ddb8c
Tweak assertions a bit
7 years ago
Dave Syer
195c3fd75d
Extract utility class into shared library for contract tests
7 years ago
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.
7 years ago
Dave Syer
e295188075
Add tests for body of message
7 years ago
Dave Syer
7804e1bd59
Add Spring Cloud Contract for hystrix stream
7 years ago
Spencer Gibb
6b6889b8b4
Fixes refresh scope bean type.
7 years ago
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
7 years ago
Alex Sartan
7f97a61ed5
Fix minor grammar issue in Zuul doc ( #2336 )
7 years ago
Andre Dörnbrack
05a3db3cc0
Fix zuul post retry ( #2209 )
...
Modfied RibbonCommandContext to make request entity resettable. fixes gh-892
7 years ago
Ryan Baxter
145b7ce69a
Remove @EnableDiscoveryClient and @EnableEurekaClient ( #2242 )
...
* Remove @EnableDiscoveryClient and @EnableEurekaClient as there are now optional. Fixes #2241 .
7 years ago
Ryan Baxter
c6fa162728
Merge pull request #2293 from mattjbray/fix-requestmapping-headers
...
SpringMvcContract: Ignore RequestMapping headers with no value.
7 years ago
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.
7 years ago
Dave Syer
7672ee3666
Fix hystrix command keys in tests to be unique
7 years ago
Dave Syer
7ca4f33dcf
Remove System.err from test
7 years ago
spccold
baa50c136a
simplify org.springframework.cloud.netflix.zuul.filters.ProxyRequestH… ( #1965 )
...
* simplify org.springframework.cloud.netflix.zuul.filters.ProxyRequestHelper#setResponse
* Update ProxyRequestHelper.java
7 years ago
Ryan Baxter
24d0bedf7d
Merge pull request #2255 from DominikMostek/fallback_cause
...
Fallback cause is propagated to fallback provider
7 years ago
Ryan Baxter
38b8786ede
Merge pull request #2261 from ryanjbaxter/timeout-values
...
Adjust Ribbon connect and read timeout values
7 years ago
Ryan Baxter
146513aeb0
Set Ribbon connect and read timeout values to equal the Hystrix timeout. Fixes #1827 .
7 years ago
Dominik Mostek
4dc5088fb2
Updated documentation with new FallbackProvider
7 years ago
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.
7 years ago
Jin Zhang
885425e2a3
format 'pom.xml' code style ( #2257 )
7 years ago
Ryan Baxter
b74c77b74f
Merge pull request #2256 from ryanjbaxter/update-rxjava-version
...
Update rxjava version
7 years ago
Ryan Baxter
1bc8e8fd3a
Update rxjava version. Fixes #2248 .
7 years ago
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>
7 years ago
Tom Cawley
ea5585e381
Dynamic filtering on Zuul SimpleRouteLocator.getRoutes()
...
* Introduce getRoutesMap() so subclasses can have read/write access to configured/discovered routes.
7 years ago
Ryan Baxter
ace95a3355
Merge pull request #2240 from gzurowski/remove-lombok-from-docs
...
Remove Lombok from documentation
7 years ago
Spencer Gibb
019615f376
remove commons.lang.builder
7 years ago
Ryan Baxter
a8d40afd58
Merge pull request #2239 from gzurowski/remove-lombok-from-netflix-core
...
Remove Lombok from spring-cloud-netflix-core module
7 years ago
Marcin Grzejszczak
ebe3800c75
Merge branch '1.3.x'
7 years ago
Marcin Grzejszczak
30b98bea85
Referrencing resources from sc-build
7 years ago
Gregor Zurowski
d9738a7ee5
Remove Lombok from documentation
...
Signed-off-by: Gregor Zurowski <gregor@zurowski.org>
7 years ago
Gregor Zurowski
d778b938e7
Remove Lombok from spring-cloud-netflix-core module
...
Signed-off-by: Gregor Zurowski <gregor@zurowski.org>
7 years ago
Marcin Grzejszczak
5e9fa908b4
Merge branch '1.3.x'
7 years ago
Marcin Grzejszczak
91808c5fd9
Updated whitelists
7 years ago
Marcin Grzejszczak
0784b1ee19
Migrated to new docs; fixes #2237
7 years ago
Marcin Grzejszczak
b3cdd72754
Bumped libs'
7 years ago
Marcin Grzejszczak
4a8913f7ea
Migrated to new docs; fixes #2237
7 years ago
Ryan Baxter
8fbd73af1e
Going back to snapshots
7 years ago
Ryan Baxter
1be2b2c295
Update SNAPSHOT to 1.4.0.M1
7 years ago
Ryan Baxter
02778fd670
fixing links in docs
7 years ago
Ryan Baxter
985f014f40
bumping sc-build version
7 years ago