Spencer Gibb
f38ccc352b
updated to ribbon 2.0-RC9
10 years ago
Spencer Gibb
948b176cb0
Add loadBalancerRequest so that LoadBalancerStats().incrementNumRequests can be called after
10 years ago
Spencer Gibb
07a66fe8b9
updated test to match class
10 years ago
Spencer Gibb
50b1c48283
renamed ServerListInitializer to RibbonClientPreprocessor as it is a bit more descriptive
10 years ago
Spencer Gibb
6654d32056
create SpringClientFactory for ribbon to not fail on client creation if LoadBalancer is already created. SpringClientFactory is not a static factory, but an instance factory.
...
Remove unused hystrix configuration classes.
10 years ago
Dave Syer
f934b88a76
Ensure eureka client has a default zone with a serviceUrl
10 years ago
Dave Syer
859c96d31b
Switch to using EurekaClientConfig to determine client zone
...
This makes perfect sense since there is already support in the API.
Unfortunately Eureka also uses that information to set the Server
zones by default (duh?!) - see DiscoveryClient.getZone(InstanceInfo),
so unless you aggressively update them, the zones will all be the same
in all servers.
I fixed that problem by unconditionally applying the "domain as zone"
guess algorithm, which is fine unless you actually want to use
the Amazon metadata. So that's an outstanding problem
See gh-30
10 years ago
Dave Syer
997f531094
Make load balancer prefer the current zone if there is one
...
A EurekaInstanceConfig can declare a "zone" in its metadataMap, and then
it will be matched by the RibbonLoadBalancerClient. The zone of a server
is derived from the hostname - it is the whole host name or the host name
excluding the least significant subdomain (period separated identifier).
Fixes gh-29
10 years ago
Spencer Gibb
c9dc8f5122
use boots HttpMessageConverters class rather than copied list of converters
10 years ago
Dave Syer
e52949e592
Move eureka events to server project
10 years ago
Dave Syer
826d5ff383
Tidy (mostly pom warnings)
10 years ago
Dave Syer
5bded8aa85
Make Eureka into a CF service broker
10 years ago
Dave Syer
49db709de9
Simplify README generator
10 years ago
Spencer Gibb
46cf840e25
added ipAddress to ServiceInstance
10 years ago
Christian Dupuis
3f96f3ae61
Some polishing
10 years ago
Christian Dupuis
5bd32c01b8
Add shutdown hook for Hystrix to reset internal state and thread pool.
...
Additionally added some license headers and @author tags.
fixes #17
10 years ago
Spencer Gibb
2505b437ef
only set the eureka port from the container if server.port is 0 (originally implemented from gh-15)
10 years ago
Spencer Gibb
714741b1cd
added serviceId to ServiceInstance;
...
added beginnings of a generic DiscoveryClient interface;
10 years ago
Dave Syer
66e0c6436d
Add scm element to POM
10 years ago
Dave Syer
8eae5fb52a
Add docs for Eureka server as executable JAR
10 years ago
Dave Syer
3dd15621dc
Move docs to submodule for multi-module projects
10 years ago
Dave Syer
862f19beba
Extract repositories to .settings.xml
10 years ago
Dave Syer
5ce8cb547e
Add CI creds to secure travis vars
10 years ago
Dave Syer
5c73e41675
Add snapshot repos (yawn)
10 years ago
Dave Syer
89a571258f
Automate docs build with shared parent pom
10 years ago
Dave Syer
3668e2ad2b
Update travis build for docs sync
10 years ago
Dave Syer
094abc6f41
Update gitignore
10 years ago
Dave Syer
c52dea33f0
Add stuff from article to docs
10 years ago
Dave Syer
6bfa468ace
Tweak UI a bit
10 years ago
Spencer Gibb
99d43ba3a7
fix EurekaRibbonAutoConfiguration
10 years ago
Spencer Gibb
03e6308335
remove the list of serviceIds and add ServiceListInitializer
10 years ago
Spencer Gibb
2daeed6c00
added some examples to docs
10 years ago
Spencer Gibb
23b8c96b11
Create a LoadBalancerClient abstraction and a Ribbon implementation
10 years ago
Dave Syer
31bc482a90
Fix Guardfile
10 years ago
Dave Syer
74828ab89f
Fix Guardfile
10 years ago
Dave Syer
e157eb6fba
Add _site/ to .gitignore
10 years ago
Spencer Gibb
bf43f7dad4
Eureka server is itself a eureka client when discovering eureka peers (it gets DiscoverClient from DiscoveryManager). Make sure DiscoveryManager is initialzed regardless of if the client or server config is invoked first.
...
fixes gh-18
10 years ago
Spencer Gibb
45143bed73
Add support for Ribbon loadbalancing in RestTemplate via an HttpRequestInterceptor that when supplied a uri such as http://myservice/my/endpoint (where myservice is a service as defined in a service registry, such as Eureka), it replaces 'myservice' with the actual host and port as returned from the configured ribbon loadbalancer.
...
closes gh-12
10 years ago
Dave Syer
39356928a1
Add maven processor for docs
10 years ago
Dave Syer
0d68f7429c
Extract Eureka*Config beans into auto configuration
...
Without extracting to autoconfig the @ConditionalOnMissingBean won't
always work because it is dependent on the order of the configuration
classes being processed (and autoconfig always somes last).
10 years ago
Dave Syer
9f8b56d3d5
Make readme generator more flexible
10 years ago
Dave Syer
1cea38f312
Fix comment pre-amble in README
10 years ago
Dave Syer
344c7b2c75
Finish moving README to adoc
10 years ago
Dave Syer
563df2a975
Move README to src/main/asciidoc
10 years ago
Dave Syer
edc8fffe5e
Move adoc to asciidoc
10 years ago
Dave Syer
21eb52fa27
Ensure server port is registered late enough with Eureka server
...
Because we were using Lifecycle to kick off the eureka registration the
local server port wasn't available yet. The change is to use an
ApplicationListener and listen for the event that contains the container
with its port instead.
Fixes gh-15
10 years ago
Spencer Gibb
277ada8b88
don't strip proxy prefix by default (for spring data rest)
10 years ago
Dave Syer
f41edfd483
Add conditional config guard for MBeanServer
10 years ago
Dave Syer
b935027637
Ensure commons-logging is on compile classpath
10 years ago
Dave Syer
5eaa2db1a7
Update to gh-6 (cleaner implementation, but not much)
10 years ago