Commit Graph

1132 Commits

Author SHA1 Message Date
Spencer Gibb
7dc8b86001 Load ribbon classes if defined via properties.
Allows ribbon class name properties to be used to define beans.

This seems like boilerplate, but works, though not easily extensible.

fixes gh-927
2016-06-23 20:20:34 -06:00
Will Tran
dfbfcfecc7 Without explicit client config of IsSecure, lookup from registration
instead of defaulting to false.

Fixes gh-1126
2016-06-23 15:12:35 -06:00
Spencer Gibb
7ac81f8fd5 Adds zuul okhttp support & zuul refactor.
Adds a OkHttpRibbonCommand and accomanying classes. They should be
considered beta.

Refactors zuul ribbon command classes and tests.

fixes gh-1125
2016-06-23 12:10:59 -06:00
Spencer Gibb
fd36a0cc72 Default to HttpClientRibbonCommandFactory 2016-06-22 21:08:34 -06:00
Spencer Gibb
398c5aa009 upgrade feign to v8.17.0
fixes gh-1081
2016-06-22 15:53:18 -06:00
Spencer Gibb
7a90c0cd88 Set entity contentLength to 0 for GET requests.
Zuul sets an empty entity for GET requests. The apache http client either sets transfer encoding to chunked or a content length header. This change sets the apache entity contentLength to 0 (not the header), to that in RequestContent the "content-length" header is set to 0 rathern than transfer encoding.

See gh-1042
2016-06-22 13:01:51 -06:00
Spencer Gibb
cfcca5f881 Set entity contentLength for HttpClientRibbonCommand.
If the content length isn't set on the entity, when http client determines which header to set, it sets transfer-encoding to chunked rather than content-length.

This fixes a missing content-length issue when using `HttpClientRibbonCommandFactory`.

See gh-1042
2016-06-22 13:01:34 -06:00
Spencer Gibb
ca67265c79 Merge pull request #1120 from jmirc/master
* pull1120:
  Fix hystrix dashboard TPS.
2016-06-21 15:23:05 -06:00
Jérôme Mirc
b422fe297c Fix hystrix dashboard TPS.
fixes gh-1113

See https://github.com/Netflix/Hystrix/issues/1251
2016-06-21 15:21:10 -06:00
Spencer Gibb
856c47138a Don't use deprecated constructor.
Eliminates a legacy use of a static singleton. This will help allow multiple registrations.
2016-06-20 18:27:12 -06:00
Spencer Gibb
83cdf647c9 Angel eureka clients can use brixton eureka servers.
Updates so CloudJacksonJson extension is properly recognized by Eureka
Server as LegacyJacksonJson.

see gh-978
fixes gh-1111
2016-06-17 16:53:44 -06:00
Dave Syer
ff46a7dc50 Merge branch '1.1.x'
Conflicts:
	spring-cloud-netflix-dependencies/pom.xml
2016-06-17 15:10:51 +01:00
Dave Syer
9e479481cc Exempt @RequestParams of type Collection from feign expander
It isn't very helpful to have a Collection converted to a String
anyway. We need to implement something new in Feign to apply
the converter (expander) to individual elements in the collection
but this change should get back to the old behaviour with
List<String> at least.

Fixes gh-1115
2016-06-17 14:55:35 +01:00
Spencer Gibb
532627fad2 Merge pull request #1106 from spring-cloud/zuul-122
Upgrade to zuul 1.2.2
2016-06-16 13:58:10 -06:00
Spencer Gibb
aa23660d0c Upgrade to zuul 1.2.2
fixes gh-1091
closes gh-958
2016-06-16 13:50:33 -06:00
Spencer Gibb
20db868592 Don't send 4xx errors to /error
fixes gh-1110
2016-06-16 11:47:31 -06:00
Spencer Gibb
02948657a4 Don't send 4xx errors to /error
fixes gh-1110
2016-06-16 11:45:52 -06:00
Spencer Gibb
050c66250c quote var 2016-06-15 17:34:00 -06:00
Spencer Gibb
88ce4fe81b skip source generation 2016-06-15 17:33:50 -06:00
Spencer Gibb
e819dd39ca Only install and skip javadoc generation 2016-06-15 17:33:38 -06:00
Spencer Gibb
cfb13ac59f quote var 2016-06-15 17:17:52 -06:00
Spencer Gibb
00aee4be00 skip source generation 2016-06-15 17:16:12 -06:00
Spencer Gibb
a669975fb0 Only install and skip javadoc generation 2016-06-15 17:09:14 -06:00
Spencer Gibb
161d719dba add *.log to .gitignore 2016-06-15 15:38:13 -06:00
Marcin Grzejszczak
ccc75f2978 Bumped up version of cloud-stream to snapshot 2016-06-14 11:24:48 +02:00
Marcin Grzejszczak
8b0598abee Bumped up version of cloud-config to snapshot 2016-06-14 10:50:21 +02:00
Marcin Grzejszczak
31598b4329 Bumped up version of commons to snapshot 2016-06-14 10:37:04 +02:00
Spencer Gibb
dd220458f8 polish 2016-06-13 09:46:32 -06:00
Spencer Gibb
d4163dde8e Polish 2016-06-13 09:46:32 -06:00
Spencer Gibb
3bd563e495 remove h2 test dep 2016-06-13 09:46:32 -06:00
Dave Syer
525c5852fb Add JAVA_OPTS to travis 2016-06-13 08:40:36 +01:00
Dave Syer
69501bd110 Merge 1.1.x 2016-06-13 08:05:07 +01:00
Dave Syer
95e086a543 Revert change to sources plugin 2016-06-13 07:58:13 +01:00
Dave Syer
f6cd2d279d Update README 2016-06-11 10:50:32 +01:00
Dave Syer
9cab69a968 Update readme script to handle local includes 2016-06-11 09:54:41 +01:00
Dave Syer
6906c7ba55 Update to 1.1.3 snapshots 2016-06-10 17:05:29 +01:00
Spencer Gibb
243c13b7ee Make turbine.combineHostPort=true the default.
fixes gh-1087
2016-06-09 16:28:48 -06:00
Spencer Gibb
09cc1f2db0 polish 2016-06-09 13:09:09 -06:00
Spencer Gibb
7d295bdc8b Update to SNAPSHOT 2016-06-09 11:30:39 -06:00
Spencer Gibb
b6807fc264 Update SNAPSHOT to 1.1.2.RELEASE 2016-06-09 11:06:25 -06:00
Spencer Gibb
b3ef770819 Merge pull request #1024 from jebeaudet/fix-query-string-in-class-requestmapping
* fix-query-string-in-class-requestmapping:
  Support path parms in Class @RequestMapping for feign
2016-06-09 10:45:05 -06:00
Jacques-Etienne Beaudet
726f355e9c Support path parms in Class @RequestMapping for feign
This commit adds the support to SpringMvcContract for path parameters
defined in the class' @RequestMapping Annotation that is applied to all
methods of a feign interface.

fixes gh-1023
2016-06-09 10:44:52 -06:00
Dave Syer
ad7e341b78 Clarify turnine config some more 2016-06-09 16:48:03 +01:00
Dave Syer
53a3076e1c Add docs on turbine.combineHostPort 2016-06-09 16:22:20 +01:00
Dave Syer
02d935dbaa Add @ConditionalOnEnabledEndpoint to archaius endpoint
Fixes gh-936
2016-06-09 11:22:47 +01:00
Dave Syer
4507d1d46d Add listener for HeartbeatEvent to refresh zuul routes
Fixes gh-1084
2016-06-09 11:22:47 +01:00
Marcin Grzejszczak
2566707256 Zuul filters missing error status code (#1088)
* Added missing error code for SimpleHostRoutingFilter
* Added missing error code for RibbonRoutingFilter
2016-06-09 10:25:08 +02:00
Spencer Gibb
6b1113e355 Remove condition for eureka healthcheck.
fixes gh-1051
2016-06-08 17:50:58 -06:00
Spencer Gibb
de45269ec3 update gradle tip. 2016-06-06 19:16:24 -06:00
Spencer Gibb
479a976459 remove unused property 2016-06-06 19:16:06 -06:00