Dave Syer
c31f700bae
Use serviceId as prefix for RibbonCommand hystrix command key
...
Fixes gh-160
10 years ago
Spencer Gibb
a0b73fe7c7
migrate from slf4j to commons logging
...
fixes gh-147
10 years ago
Spencer Gibb
e7331098fa
change protected and package scope fields to private
...
fixes gh-149
10 years ago
Spencer Gibb
84554725db
Merge branch 'philwebb-polish'
10 years ago
Spencer Gibb
f1bd9bdfaa
Merge branch 'polish' of https://github.com/philwebb/spring-cloud-netflix into philwebb-polish
...
Conflicts:
spring-cloud-netflix-core/src/main/java/org/springframework/cloud/netflix/feign/FeignClient.java
spring-cloud-netflix-core/src/main/java/org/springframework/cloud/netflix/feign/FeignClientScan.java
spring-cloud-netflix-core/src/main/java/org/springframework/cloud/netflix/zuul/filters/route/RibbonRoutingFilter.java
spring-cloud-netflix-turbine-amqp/src/test/java/org/springframework/cloud/netflix/turbine/amqp/AggregatorTest.java
10 years ago
Dave Syer
5847175344
Rename Turbine port listener class and add tests
10 years ago
Dave Syer
e2e09c4616
Default turbine.amqp.port to server.port and allow Actuator endpoints
...
This change adds an ApplicationListener that sets some high priority
properties in the Environment to allow server.port and management.port
to keep their usual meaning, but have server.port apply only to turbine.
Actuator endpoints can be enabled with management.port (different to
server.port otherwise there will be a conflict between Netty and Tomcat).
Fixes gh-143, fixes gh-140
10 years ago
Dave Syer
0e4eb9ef1f
Use @ConditionalOnProperty where possible
10 years ago
Dave Syer
90d7e5df7a
Correct Javadocs in *FeignClient
...
Fixes gh-151
10 years ago
Dave Syer
89ca05bf3e
Remove printStackTrace() in test app
10 years ago
Dave Syer
17484fad3a
Use Enum.valueOf() instead of case switch
...
Fixes gh-156
10 years ago
Phillip Webb
8b6307e703
Use BDD Mockito
10 years ago
Phillip Webb
3ea0f8d283
Polish
10 years ago
Phillip Webb
9d823513c3
Add copyright headers
10 years ago
Phillip Webb
6a7676a93f
Apply eclipse formatting and cleanup
10 years ago
Phillip Webb
911627c09d
Add eclipse formatting and cleanup configuration
10 years ago
Phillip Webb
be436279cf
Polish POM files
10 years ago
Spencer Gibb
6e078a88e8
make messageConverters lazy in SpringDecoder and SpringEncoder
...
fixes gh-129
10 years ago
Spencer Gibb
8fb85f26ea
add a test to make sure that proxy paths with /another/level/** works
10 years ago
Spencer Gibb
3d91dae0c4
only forward if response is not committed.
10 years ago
Spencer Gibb
95541e0102
only run SendErrorFilter once (fixes recursive forwarding if /error fails)
10 years ago
Spencer Gibb
64e5a2e0ba
protect against a null RequestDispatcher
10 years ago
Spencer Gibb
758d86e793
integration tests for s-c-n-hystrix-amqp and s-c-n-turbine-amqp
10 years ago
Spencer Gibb
a57c358702
prefix hystrix metric same with context id and add ability to disable.
...
fixes gh-135
created hystrix.stream.amqp.send-id to allow disabling of sending the context id as the metric id. Turbine AMQP then defaults to serviceId:host:port
fixes gh-131
10 years ago
Spencer Gibb
c992066ac0
only create the /routes endpoint if actuator is on the classpath
10 years ago
Dave Syer
da6da6d76c
Re-organise headers in the /trace of Zuul requests
...
Now they match better what the vanilla /trace data does in terms of
object and field names.
10 years ago
Dave Syer
242886916f
Fix test in build server VM
10 years ago
Dave Syer
a5d2d2abe5
Add configuration properties for Eureka dashboard
...
Not used by the app itself, but will show up in metadata reports
and in tooling, so useful for documentation purposes.
See gh-125
10 years ago
Dave Syer
e6c7422c00
Use <@spring.url/> for all relative paths in FTL
...
Fixes gh-125
10 years ago
Julien Roy
11201762a7
Eureka dashboard controller path mapping can be configured or disabled
10 years ago
Dave Syer
8f8e738ffd
Use JSON for AMQP Hystrix data
...
Fixes gh-126
10 years ago
Dave Syer
a9213f2416
Allow @RibbonClient("foo") as a short cut
10 years ago
Dave Syer
ec2d732bb4
Add back EnableHystrix as a courtesy
10 years ago
Dave Syer
52c9310bb0
Add back EnableEurekaClient as a courtesy
...
It's nice to have an annotation to say "I want Eureka discovery".
At the moment it is a pass thru for @EnableDiscoveryClient , but
in principle it could be used to select Eureka over another provider
even if both were on the classpath.
10 years ago
Julien Roy
9266785134
Fix Zuul proxy POST on content-type with charset
...
Fixes gh-113
10 years ago
Dave Syer
9c416bf627
Use getHostname() instead of field in DatacenterInfo
...
Fixes gh-122
10 years ago
Dave Syer
3bbe4ae249
Ensure SpringClientFactory gets used for Feign clients
...
If the ClientFactory from netflix is used directly it bypasses
all the goodness in SpringClientFactory, so clients created
in Feign before this change were getting the default native
configuration instead of that provided by
RibbonClientConfiguration.
There are no remaining references to the raw ClientFactory in
Spring Cloud, so we probably have seen the last of this.
Fixes gh-118
10 years ago
Dave Syer
33b05a5018
Add docs for Ribbon and Feign
10 years ago
Dave Syer
34785b6bdd
Make actuator dependency optional in netflix-core
...
Fixes gh-117
10 years ago
Dave Syer
4a77b86d08
Minify Javascript so it isn't needed in jars at runtime
10 years ago
Spencer Gibb
7b0824fb78
add some hystrix tests, specifically check there is no discovery health indicator if it is not turned on
...
fixes gh-112
10 years ago
Spencer Gibb
f2c112f9ad
updated turbine docs to show the need to uppercase turbine.aggregator.clusterConfig
...
fixes gh-84
10 years ago
Dave Syer
fa7286ebdb
Fix badge in README
10 years ago
Dave Syer
9939e0ecd9
Convert form-encoded request to byte[] for proxy
...
With just a bit more hackery on the Zuul request wrapper we can mask
off the input stream and content lengths, and fix them so they contain
the expected content. Doesn't work (yet) for multipart content.
Fixes gh-109
10 years ago
Spencer Gibb
e7956e199e
updated feign docs to use new @FeignClient*
...
fixes gh-111
10 years ago
Spencer Gibb
9ba39c990a
add *-amqp projects to dep mgmt
10 years ago
Spencer Gibb
85a3e82da6
remove references to bus
10 years ago
Spencer Gibb
4dc7972fa5
moved spring-cloud-bus-{hystrix,turbine} to spring-cloud-netflix-{hystrix,turbine}-amqp
...
fixes gh-108
10 years ago
Spencer Gibb
71d0a474f7
cleanup threads in DiscoveryClient.jerseyClient and ServoMetricCollector
10 years ago
Spencer Gibb
d4d1fe7f63
cleanup timer thread in zuul filter
10 years ago