Josh Ghiloni
539ca47bab
Make `isSecure()` match `getPort()` in secure vs non-secure resolution
10 years ago
Spencer Gibb
9e40714e3c
Use the first non-loopback address for host/ip addr
...
fixes gh-468
10 years ago
Jon Schneider
191a1ccc35
make EurekaClient available before smart lifecycle phase 0
10 years ago
Spencer Gibb
246830c9d3
Upgrade to Eureka 1.2.0
...
Implements forwarding of eureka CacheRefreshedEvent as HeartbeatEvent,
rather thank serialization hack. Uses new Eureka DI functionality
(mostly there, some issues). Updates EurekaJacksonCodec to be
"DataCenterAware". Reference EurekaClient interface rather than
DiscoveryClient class.
fixes gh-349
10 years ago
Spencer Gibb
e7a767e042
Make RxJavaAutoConfiguration ConditionalOnClass AsyncHandlerMethodReturnValueHandler
...
so non-web apps don't break
fixes gh-475
10 years ago
Jakub Narloch
69c3723aac
Updated documentation for Feign hierarchical clients
10 years ago
Spencer Gibb
5ac5f198aa
Support returning Observable from Spring MVC Controllers.
...
Via spring 4.2 new AsyncHandlerMethodReturnValueHandler
fixes gh-231
10 years ago
Spencer Gibb
e5e677c0ad
remove https port 8443 registration.
...
It overwrote the port 443 registration.
fixes gh-461
10 years ago
Jakub Narloch
798a19e468
Specifing only the serviceId causes NPE
10 years ago
Spencer Gibb
371f8b3bf2
feign polishing
10 years ago
Dave Syer
b0b4916d3c
If user configures hostname for eureka client, do not refresh it
...
Fixes gh-463
10 years ago
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.
10 years ago
Spencer Gibb
a6b94a38fe
Add support for using Apache HttpClient with Feign
...
fixes gh-415
10 years ago
Jakub Stachowski
dd1c5bb495
Build query string from context instead of original request
...
Recreate query string from either getCurrentContext().getRequestQueryParams()
or original request as fallback. This allows to override query string
params in pre filters.
fixes gh-426
10 years ago
Spencer Gibb
9149319bd7
implement getHostName where refresh==true
10 years ago
Ryan J Baxter
f4a69e43eb
Sets the zone based on the hostname of the service if approximateZoneFromHostname is true.
...
The flag has always been there, it just isn't carried through to the ribbon client configuration
without this change if I understand this change correctly.
Fixes gh-315, fixes gh-423.
10 years ago
Dave Syer
9a45beec1d
Update to Brixton
10 years ago
Dave Syer
3519ecf224
Prepare master for next snapshot
10 years ago
Dave Syer
652e4b96b3
Nail explicit dependencies for s-c-context
10 years ago
Brandon Atkinson
283c0f7600
Fix unescaped paths in SimpleHostRoutingFilter.
...
Move common code so RibbonRoutingFilter can use the same code.
Fixes gh-407
10 years ago
Brandon Atkinson
80206e6b38
Removed deflate accept-encoding from outbound requests
10 years ago
Bertrand Renuart
2ba5c4b9ec
gh327: explicitly close the HttpResponse in case of timeout
10 years ago
Justin Walsh
69eaa27ccc
Mark an instance as DOWN when the application context is stopped.
...
Fixes gh-377
10 years ago
Spencer Gibb
440779bcf0
Revert "attempt ordering of RibbonClients.defaultConfiguration's"
...
This reverts commit 0d468b3930
.
10 years ago
Spencer Gibb
0d468b3930
attempt ordering of RibbonClients.defaultConfiguration's
...
ref gh-383
10 years ago
Spencer Gibb
0f2fbf8e1c
fixed test broken during rebase
10 years ago
Spencer Gibb
b746ad5504
Fix name of default ribbon config if config is not in an eclosing class
...
fixes gh-374
10 years ago
Dave Syer
a63b825690
Add call to Lifecycle.stop()
...
See gh-377
10 years ago
Spencer Gibb
fa84108ebf
fix swapped default values
...
fixes gh-372
10 years ago
Spencer Gibb
a0d72b3cbc
removed test with encoded slashes
10 years ago
Dave Syer
23cde30063
Align metrics with Spring Boot 1.3
...
Should be no change for users of Boot 1.2 right now, but with this
patch it is possible to use 1.3 with the new conventions for metrics
(e.g. in particular exporting by declaring beans of type
MetricWriter)
10 years ago
Spencer Gibb
899a577980
add test for zuul with encoded path parameter
10 years ago
Spencer Gibb
68c731d668
added test for metrics with period in name
10 years ago
Spencer Gibb
dbef27ac6b
more RibbonClient tests
10 years ago
Bertrand Renuart
28f890989d
Allow for periods in metric name (see gh354)
10 years ago
Dave Syer
bd808a76fa
Add health.config for documentation purposes only
10 years ago
Spencer Gibb
4255179354
use io.reactivex:rxjava
...
fixes gh-353
10 years ago
Spencer Gibb
bd5d00c082
encode uri if needed
...
fixes gh-347
10 years ago
Spencer Gibb
8bb578ad97
update ServerMetricCollector to include instance and statistic tags if present.
...
fixes gh-348
10 years ago
Spencer Gibb
3bb1562b7f
fix RibbonClientHttpRequestFactory to add headers and accept a body
...
fixes gh-350
10 years ago
Dave Syer
fde4741333
Update to 1.0.3 snapshots
10 years ago
Spencer Gibb
c3f5678854
only invoke RestClient.initWithNiwsConfig once
...
fixes gh-324
10 years ago
Spencer Gibb
ce6d286d70
Don't execute load balancer twice
...
fixes gh-323
10 years ago
Bertrand Renuart
df8c637a57
add short explanation in javadoc
10 years ago
Bertrand Renuart
e2fa45f960
Make creation of the RestClient LAZY as it is no always required (see
...
https://github.com/spring-cloud/spring-cloud-netflix/issues/312 )
10 years ago
Dave Syer
b28fd07cdb
Update to 1.0.2 snapshots
10 years ago
Spencer Gibb
3e98c78c12
add PATCH to SimpleHostRoutingFilter
...
fixes gh-307
10 years ago
Spencer Gibb
3d9e998a01
fix missing jersey apache4client
10 years ago
Spencer Gibb
55a8195a67
throw more descriptive error if no ServiceInstance is found
10 years ago
Dave Syer
936a3b334e
Set explicit cookie policy in HTTP client in RibbonClientConfiguration
...
When the Apache HTTP client is being set up for the Ribbon client we can jump
in and explicitly set a cookie policy. Obviously, since the client will generally
be shared across sessions, the only sensible default is IGNORE_COOKIES.
I couldn't find a way round this without using deprecated APIs (but there
are other instances of that in our code because of the way Netflix uses
it, so maybe that doesn't matter).
Fixes gh-301
10 years ago