Commit Graph

1017 Commits

Author SHA1 Message Date
Dave Syer
c4e879ea96 Switch parent of docs poms 2016-05-06 17:40:09 +01:00
Dave Syer
83235b13c1 Update parent to 1.1.0.RELEASE 2016-05-06 17:13:33 +01:00
Dave Syer
5de52b96f4 Some changes to help with Spring Boot 1.4 compatibility
The jackson version needs to be explicit (not in parent potentially)
and there is a weirdness with @RequestMapping in Spring 4.3
2016-05-05 16:55:09 +01:00
Spencer Gibb
2aedd9b27b Merge pull request #1004 from jebeaudet/fix-IgnoredHeadersCasingNotIgnored
* fix-IgnoredHeadersCasingNotIgnored:
  Sensitive headers set in PreDecorationFilter no longer override previously set ignored headers. Removed the case sensitiveness when the sensitive headers are set. Fixes https://github.com/spring-cloud/spring-cloud-netflix/issues/1003
  Test for default ribbon client configuration
  Tidy up more compiler warnings for generics
  Add note to clarify that zuul starter does not include discovery
2016-05-04 14:19:18 -06:00
Jacques-Etienne Beaudet
ea1a4c5add Sensitive headers set in PreDecorationFilter no longer override previously set ignored headers.
Removed the case sensitiveness when the sensitive headers are set.
Fixes https://github.com/spring-cloud/spring-cloud-netflix/issues/1003
2016-05-04 13:40:21 -04:00
Dave Syer
88864153eb Test for default ribbon client configuration 2016-05-04 08:50:57 +01:00
Dave Syer
9ad3d21b75 Tidy up more compiler warnings for generics 2016-05-03 11:53:22 +01:00
Dave Syer
1c9d11de23 Add note to clarify that zuul starter does not include discovery
Fixes gh-992
2016-05-03 10:05:44 +01:00
Spencer Gibb
860d7b8446 Log warning if ServoMonitorCache size exceeds threshold.
Fixes gh-947
2016-05-02 12:27:33 -06:00
Sébastien PERALTA
5613e48141 Append to X-Forwarded-Prefix in case it already exists
Fixes gh-993
2016-04-28 13:22:38 +01:00
Dave Syer
3a251e2a38 Revert "Use the original query string when forwarding the request"
This reverts commit 8952cff24d.
2016-04-28 12:03:10 +01:00
Dave Syer
c7c191c01e Ensure Servo metrics are exported the same as default metrics
Adds an `@ExportMetricReader` which was missing before and
led to people losing their metric exports when they had Servo
on the classpath.

Also allow servo metrics autoconfiguration to be disabled via
a flag netflix.metrics.servo.enabled=false (as an alternative to
excluding the class in `@EnableAutoConfiguration`).
2016-04-28 11:57:00 +01:00
Dave Syer
e0bc9d11f1 Update docs for Turbine AMQP -> Stream 2016-04-27 14:21:05 +01:00
Dave Syer
6087bc755a Use eureka.instance zone data consistently determining client zone
The zone for a remote server comes from its
eureka.instance.metadataMap.zone, but we didn't (until this change)
apply the same logic to the client. If the client is registering
itslef with eureka then it will have a metadataMap itself and
we should be able to just reverse the logic.

Fixes gh-991
2016-04-27 09:10:42 +01:00
Nicolas Byl
8952cff24d Use the original query string when forwarding the request
to ensure compatibility with legacy apps

Fixes gh-989
2016-04-26 17:31:22 +01:00
Andrei Sfat
1c3de94c42 Add slash to eureka.client.service-url
Makes use of StringUtils.commaDelimitedListToStringArray

Fixes gh-980
2016-04-26 12:14:52 +01:00
Andrei Sfat
9bd3a66b16 #920 add slash when eureka.client.service-url.defaultZone does not contain one 2016-04-26 12:14:41 +01:00
Dave Syer
314d229ccf Add @ConditionalOnEnabledHealthIndicator("hystrix")
Users will have to switch from health.hystrix.enabled to
management.health.* for consistency with other health
indicators.

Fixes gh-985
2016-04-26 09:13:06 +01:00
Matt Reynolds
5c2937b05c filter basic auth credentials from Eureka replica data for display
so they don't appear on the dashboard

Fixes gh-974
2016-04-26 09:05:52 +01:00
Spencer Gibb
d1a31a9a2b Upgrade feign to 8.16.2
fixes gh-987
2016-04-25 15:31:55 -06:00
Spencer Gibb
5acf4e1a2e Throw IOException in RibbonLoadBalancerClient.execute
Fixes proper RestTemplate behavior.

fixes gh-986
2016-04-25 13:48:00 -06:00
Pedro Alvarado
2b40952429 Add support for placeholders to Feign spring-mvc RequestMapping annotation.
Fixes gh-894
2016-04-25 11:01:26 +01:00
Dave Syer
8b306df132 Use @PropertySource instead of @Bean for http encoder properties
Protects us against changes in Spring Boot 1.4 where the naming
convention changes.
2016-04-20 14:34:44 +01:00
Dave Syer
8a4fb82b98 Remove reference to 'parent' poms in BOM 2016-04-20 14:20:29 +01:00
Spencer Gibb
e0c67b30f8 Pass headers back to feign request.
Spring HttpMessageConverters can modify headers. This change passes the modified headersr back to the feign request, so the proper headers are sent on the request.

 fixes gh-977
2016-04-20 06:46:23 -06:00
Spencer Gibb
33efc60de7 remove spring-cloud-connectors version 2016-04-20 06:42:06 -06:00
Dave Syer
5fc76aaa72 Fix javadocs in @FeignClient
The descriptions of name/serviceId/value and url were out of date
(name is mandatory now and can be mixed with url).
2016-04-19 14:58:59 +01:00
Dave Syer
24579f67e2 Revert to snapshots 2016-04-18 14:07:42 +01:00
Dave Syer
d99196aeb1 Update to RC2 2016-04-18 14:02:49 +01:00
Spencer Gibb
7c531eb411 Upgrade Hystrix to 1.5.2
fixes gh-968
2016-04-12 21:57:12 -06:00
Spencer Gibb
df5303912f Add global zuul sensitiveHeaders option.
Route specific sensitiveHeaders override global.

fixes gh-944
2016-04-08 10:38:24 -06:00
Spencer Gibb
4479a2b2ee Merge pull request #945 from tkvangorder/master
* pull945:
  Ribbon retry works & fix Content-Length error.
2016-04-07 16:15:23 -06:00
Tyler Van Gorder
05351b7809 Ribbon retry works & fix Content-Length error.
This change requires setting `ribbon.http.client.enabled=true`.

This change addresses issue #648 Getting Retry Working In RestTemplate. There is also a fix in place that addresses the issue #357 RestTemplate Error.

fixes gh-648
2016-04-07 16:15:03 -06:00
Spencer Gibb
a3ab3259e3 Make RibbonClientHttpRequestFactory disabled by default.
fixes gh-961
2016-04-07 15:10:39 -06:00
Spencer Gibb
e87d9432c7 Merge pull request #883 from aivans/master
* pull883:
  Send 404 in zuul servlet when no route is found.
2016-04-07 13:44:40 -06:00
Adrian Ivan
d0841f792e Send 404 in zuul servlet when no route is found.
Fixes false 200 in zuul when using zuul servlet rather than mvc servlet.

Fixes gh-865
2016-04-07 13:44:29 -06:00
Spencer Gibb
cef3777313 Upgrade RxJava to v1.1.2
fixes gh-957
2016-04-05 17:16:44 -06:00
Spencer Gibb
0e2d8c1a11 Update feign to v8.16.0
fixes gh-956
2016-04-05 17:12:12 -06:00
Spencer Gibb
c055bd5327 Update archaius to v0.7.4
fixes gh-955
2016-04-05 17:05:33 -06:00
Spencer Gibb
3f8c4834a3 Upgrade to ribbon 2.1.5
fixes gh-954
2016-04-05 17:00:42 -06:00
Tim te Beek
593549551a Set or append to X-Forwarded-For for downstream requests
Fixes gh-352
2016-04-05 15:42:56 +01:00
Spencer Gibb
c0d767351a Remove need for http basic auth client filter.
https://github.com/Netflix/eureka/releases/tag/v1.4.5

restores http basic auth.
2016-04-04 12:13:24 -06:00
Spencer Gibb
0b9ea25d86 Use config client default service id constant. 2016-04-04 11:53:12 -06:00
Dave Syer
fcd0feb61e Ensure whitespace is stripped from appConfig in turbine
Fixes gh-948
2016-04-04 16:59:44 +01:00
Spencer Gibb
1c4db22c28 Angel metadata.instanceId works with Brixton
Fixes gh-642
2016-04-01 13:02:43 -06:00
Spencer Gibb
bdc5b915e8 Merge pull request #933 from tkvangorder/master
* pull933:
  Adding the ability to specify a custom retry handler in the ribbon client configuration.
2016-03-31 11:37:45 -06:00
Tyler Van Gorder
983221a710 Adding the ability to specify a custom retry handler in the ribbon client configuration.
fixes gh-931
2016-03-31 11:36:57 -06:00
Spencer Gibb
1cf7ac9260 Upgrade to eureka 1.4.6
fixes gh-932
2016-03-29 16:07:12 -06:00
Marcin Grzejszczak
b3a8b1df38 Removed an import 2016-03-25 13:59:48 +01:00
Marcin Grzejszczak
cd42566daf Added tests for HystrixStream 2016-03-25 13:57:52 +01:00