mg
bd2473a7bf
Update spring-cloud-netflix.adoc
...
Update documentation to reflect https://github.com/spring-cloud/spring-cloud-netflix/issues/1048
7 years ago
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
7 years ago
Nastya Smirnova
ffc431753b
Create TurbineClustersProvider
...
Extract separate class TurbineClustersProvider to be able to provide custom solution for retrieving configured clusters (#2219 )
7 years ago
Spencer Gibb
28de82e63c
Use updated Registration rather than getLocalServiceInstance()
...
See https://github.com/spring-cloud/spring-cloud-commons/issues/265
7 years ago
Spencer Gibb
6c65266f05
Formatting spaces->tabs
7 years ago
Spencer Gibb
6ffe2f1af2
Downgrade archaius to 0.7.4 for java 7 compatibility.
...
see https://github.com/Netflix/archaius/pull/522
7 years ago
Dave Syer
68ce0cf25f
Merge branch 'feature/eureka-stubs'
7 years ago
Spencer Gibb
7cff8ddbd3
Add missing jackson serialization for instanceinfo.
...
Port information was missing from data sent to eureka.
fixes gh-2372
7 years ago
Dave Syer
9d1eed6a82
Add script to build contract utils
7 years ago
Dave Syer
eeadc829b9
Parameterize contract version
7 years ago
Dave Syer
efe040549c
Move contract helper out of the reactor build
7 years ago
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
Ryan Baxter
a806dc920f
Bumping versions to 1.3.6.BUILD-SNAPSHOT after release
8 years ago
Ryan Baxter
74fc02b2cc
Going back to snapshots
8 years ago
Ryan Baxter
c1fc987d96
Update SNAPSHOT to 1.3.5.RELEASE
8 years ago
Alex Sartan
7f97a61ed5
Fix minor grammar issue in Zuul doc ( #2336 )
8 years ago
Andre Dörnbrack
05a3db3cc0
Fix zuul post retry ( #2209 )
...
Modfied RibbonCommandContext to make request entity resettable. fixes gh-892
8 years ago
Ryan Baxter
145b7ce69a
Remove @EnableDiscoveryClient and @EnableEurekaClient ( #2242 )
...
* Remove @EnableDiscoveryClient and @EnableEurekaClient as there are now optional. Fixes #2241 .
8 years ago
Ryan Baxter
c6fa162728
Merge pull request #2293 from mattjbray/fix-requestmapping-headers
...
SpringMvcContract: Ignore RequestMapping headers with no value.
8 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.
8 years ago
Dave Syer
7672ee3666
Fix hystrix command keys in tests to be unique
8 years ago
Dave Syer
7ca4f33dcf
Remove System.err from test
8 years ago
Spencer Gibb
78e4cb4410
Fix for potential NPE
8 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
8 years ago
Ryan Baxter
24d0bedf7d
Merge pull request #2255 from DominikMostek/fallback_cause
...
Fallback cause is propagated to fallback provider
8 years ago
Ryan Baxter
38b8786ede
Merge pull request #2261 from ryanjbaxter/timeout-values
...
Adjust Ribbon connect and read timeout values
8 years ago
Ryan Baxter
146513aeb0
Set Ribbon connect and read timeout values to equal the Hystrix timeout. Fixes #1827 .
8 years ago
Dominik Mostek
4dc5088fb2
Updated documentation with new FallbackProvider
8 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.
8 years ago
Jin Zhang
885425e2a3
format 'pom.xml' code style ( #2257 )
8 years ago
Ryan Baxter
b74c77b74f
Merge pull request #2256 from ryanjbaxter/update-rxjava-version
...
Update rxjava version
8 years ago
Ryan Baxter
1bc8e8fd3a
Update rxjava version. Fixes #2248 .
8 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>
8 years ago
Tom Cawley
ea5585e381
Dynamic filtering on Zuul SimpleRouteLocator.getRoutes()
...
* Introduce getRoutesMap() so subclasses can have read/write access to configured/discovered routes.
8 years ago
Ryan Baxter
ace95a3355
Merge pull request #2240 from gzurowski/remove-lombok-from-docs
...
Remove Lombok from documentation
8 years ago