Commit Graph
434 Commits
Author SHA1 Message Date
Spencer Gibb 08f7076f6e Mark @FeignClient beans as primary.
When fallback beans are created, there was no longer a unique bean of the feign interface which caused autowire problems.

fixes gh-899
2016-03-16 17:01:45 -06:00
Marc Paquette a7e34d706d Typo in example code for DiscoveryClient
`DiscoveryClient` field declared with name `discoveryClient` but `serviceUrl()` method uses `client`.
2016-03-14 16:31:20 -04:00
Jakub Narloch bca86191b3 Spring Mvc RxJava integration.
Support for Single via a ReturnValueHandler.
Support for Observable via SseEmitter.
2016-03-14 14:14:06 -06:00
Mathias Düsterhöft 615d860f82 typo fixed 2016-03-14 11:48:22 +01:00
Dave Syer 9ea64308cb Add Authorize to sensitive headers in zuul proxy 2016-03-02 16:17:01 +00:00
Dave Syer d2e004dc68 Add support for "sensitiveHeaders" in zuul.routes
By default we now discard all Set-Cookie and Cookie headers. User
can manipulate it per route via zuul.routes.*.sensitiveHeaders, or
globally via zuul.ignoredHeaders.
2016-02-25 16:51:22 +00:00
Dave Syer 40361f1b8e Add whitelist hosts and sensitive headers 2016-02-25 12:57:33 +00:00
Dave Syer 17eb2f8d91 Refer to correct config props object in docs 2016-02-25 11:53:38 +00:00
Dave Syer ca81f5671a Add HTTP basic back to Eureka client
Latest Eureka from Netflix uses a different HTTP client, and it
ignores the HTTP basic credentials in a service URL. This change
partially restores the old behaviour by providing an interceptor
(ClientFilter) that has a single, global username/password
taken from the first serviceUrl that contains credentials.

Fixes gh-849
2016-02-24 17:57:52 +00:00
Dave Syer c3efcbabb8 Fix links to client code 2016-02-23 10:28:51 +00:00
Andreas Kluth 65bf3bb6ee Add the ability to configure the max connections and max per route on PoolingHttpClientConnectionManager. 2016-02-22 17:39:31 -07:00
Dave Syer d66cae9c49 Fix spelling 2016-02-11 22:13:22 +00:00
Dave Syer 2323512304 Clarification regardinff shared interfaces in server and client 2016-02-11 22:09:54 +00:00
Dave Syer 92a35ba77f Add explicit docs for eureka.hostname in secure app registration
Eureka supports native placeholders, but Spring can also be used.
Added some docs to show how more explicitly.

See gh-761
2016-01-24 08:29:55 +00:00
Dave Syer be0f030ccf Move shared package under eureka 2016-01-19 07:02:37 +00:00
Dave Syer 249f524ad9 Fix typo in docs 2016-01-16 09:46:46 +00:00
Spencer Gibb f00f761996 Support feign hystrix fallbacks.
Added @FeignClient(fallback).

Renamed FeignClientFactory to FeignContext.

fixes gh-762
2016-01-14 16:19:59 -07:00
Dave Syer 3ecd9cb0cf Move discovery related route locator stuff into a new package 2016-01-14 17:15:30 +00:00
Spencer Gibb 3f45391d29 Merge pull request #723 from jkschneider/atlas-docs
Update docs to indicate the need for spring-cloud-starter-atlas
2015-12-16 12:20:29 -07:00
Stéphane Leroy 4a52a7f889 Add Zuul Proxy regex serviceId to route mapping
fixes gh-693
2015-12-16 12:10:22 -07:00
Jon Schneider 4325b7e363 Update docs to indicate the need for spring-cloud-starter-atlas for Atlas 2015-12-15 22:17:13 -08:00
Spencer Gibb 2acd353c7d Allow Feign Hystrix support to be disabled.
fixes gh-717
2015-12-14 14:39:35 -07:00
Jon Schneider ad6e61dd47 Servo, Spectator, and Atlas docs 2015-12-11 20:17:46 -08:00
Oreste Luci 94d4bdfcc3 Add support for placeholders in @FeignClient definitions
Includes name and url attributes.

fixes gh-414
2015-11-20 14:25:38 -07:00
Ben Klein 31e82a7597 Update spring-cloud-netflix.adoc
Reword to avoid broken AsciiDoc formatting.
2015-11-10 17:03:41 -08:00
Dave Syer cd30bea0c8 Add smarts for local route handling in Zuul proxy
User can provide a url in the route that starts with "forward:"
(instead of "http:" etc.) to handle the request locally.

Also properly ignores ignored routes, so they can be handled locally
(rather than giving up and sending 404).

Fixes gh-536
2015-10-18 09:59:06 -04:00
Dave Syer 43cab5f9b5 Clarify secure application discovery a bit 2015-10-18 09:22:12 -04:00
Spencer Gibb 5b3a9f8f31 Align feign logging.
Since all feign clients now have access to the type, logging can apply a type regardless.

Fixes gh-431
2015-10-09 17:07:01 -06:00
Spencer Gibb 2d595e86f3 remove extra punctuation 2015-10-08 16:21:52 -06:00
Jakub Narloch 68fa6afa17 Feign compression documentation 2015-10-08 16:12:05 -06:00
Spencer Gibb 810502c1f3 Allow overriding default feign beans.
Similar to @RibbonClient

fixes gh-288
2015-10-05 14:57:27 -06:00
Dave Syer 3ef58cdc39 Change DiscoveryClient->EurekaClient in docs 2015-09-30 11:34:34 +01:00
Dave Syer a38ba34049 Try to guess whether a ribbon client is looking for HTTPS
There are usually some hints available, especially if the Server
came from Eureka. Unfortunately Server on it's own doesn't contain
enough information (why?), but as a fallback we can guess that
anyone using port 443 is secure.

Fixes gh-459
2015-09-28 17:53:37 +01:00
Dave Syer d1cb42946b Explicitly snag secure URL for config server if desired
If the configserver registers with securePortEnabled=true we should
respect that in the discovery process.

Fixes gh-450
2015-09-25 13:39:45 +01:00
Spencer Gibb 0204978b36 Upgrade eureka to 1.2.5.
Change EurekaInstanceConfig.getSID to getInstanceId

fixes gh-554
2015-09-24 22:23:17 -06:00
Spencer Gibb a92307b060 Merge pull request #512 from geoand/doc-fix
Replaced incorrect @PathParameter with @PathVariable
2015-09-04 09:37:44 -06:00
Jakub Narloch c9008ea277 Eureka health check 2015-09-03 17:39:22 -06:00
gandrianakis 654ccf2dea Replaced incorrect @PathParameter with @PathVariable 2015-09-03 12:15:56 +03:00
Dave Syer 80f2735ea5 Merge branch '1.0.x'
Conflicts:
	.travis.yml
2015-08-25 15:13:20 +01:00
Dave Syer 7fc9811975 Use TRAVIS_BRANCH if available 2015-08-25 14:52:31 +01:00
Dave Syer 00cc64c6c5 Different special treatment of README 2015-08-25 14:04:43 +01:00
Dave Syer c905822005 Special treatnment of README 2015-08-25 12:56:15 +01:00
Dave Syer c1cb0025c1 Use subdirectory for gh pages docs 2015-08-25 12:37:15 +01:00
Dave Syer 89ebf1fa3f Fix ghpages script to work on branches 2015-08-25 12:29:41 +01:00
Spencer Gibb c39efb96bd Merge pull request #460 from jmnarloch/eureka-docs
Corrected docs for the 'context-path' property reference.
2015-08-06 09:27:55 -06:00
Jakub Narloch 69c3723aac Updated documentation for Feign hierarchical clients 2015-08-04 11:16:04 -06:00
andreasevers 42f6e4d1f0 If more fine-grained ignoring is needed, you can specify specific patterns to ignore. These patterns are being evaluated at the end of the route location process, which means prefixes should be included in the pattern to warrant a match. Ignored patterns span all services and supersede any other route specification.
zuul:
  ignoredPatterns: */admin/**
  routes:
    users: /myusers/**

This means that all calls such as "/myusers/101" will be forwarded to "/101" on the "users" service. But calls including "/admin/" will not resolve.
2015-07-27 10:27:43 -06:00
Jakub Narloch 59534a2447 Corrected docs for the 'context-path' property reference. 2015-07-26 18:53:10 +02:00
Stephen Souness 2cf2de3465 Corrected typo in spelling of registration. 2015-07-21 09:38:51 +01:00
Dave Syer 5bb778811f Merge branch '1.0.x' 2015-07-18 10:37:09 +01:00