Dave Syer
88d56844ac
Defensive check for web classes before using
...
NoopDiscoveryClientAutoConfiguration now checks defensively for the
spring-web classes before trying to use them.
Fixes gh-10
10 years ago
Dave Syer
222b33af29
Extract common config utility into a separate package
10 years ago
Spencer Gibb
376065c41a
fixed registeringManagement if mngmnt port is null
10 years ago
Spencer Gibb
f8f4408972
Move some discovery classes to subpackages.
...
Create discovey.event.ParentHeartbeatEvent for passing HearbeatEvents originating in a parent context to child contexts
10 years ago
Spencer Gibb
3596e67e11
create NoopDiscoveryClient if there is not a DiscoveryClient bean via auto config rather than import selector.
...
The import selector does not take into account @Conditional* annotations on the imported configurations.
fixes gh-g again
10 years ago
Spencer Gibb
91150c7c83
Tests that if @EnableDiscoveryClient is used, but there is no implementation on the classpath, then fail
10 years ago
Spencer Gibb
7e0494a0bf
test if @EnableDiscoveryClient is NOT used that NoopDiscoveryClient gets created
10 years ago
Spencer Gibb
d96115c1b8
uses a ImportSelector that imports the NoopDiscoveryClientConfiguration if @EnableDiscoveryClient is not used.
...
fixes gh-6
10 years ago
Dave Syer
c6a9104f5d
Remove guava dependency (only in tests)
10 years ago
Spencer Gibb
83485f77f6
move from slf4j to commons logging
10 years ago
Spencer Gibb
bfe651860e
change package or protected fields to private
...
fixes gh-7
10 years ago
Spencer Gibb
7d14db9642
Merge branch 'philwebb-polish'
10 years ago
Spencer Gibb
2e485ca44c
Merge branch 'polish' of https://github.com/philwebb/spring-cloud-commons into philwebb-polish
...
Conflicts:
src/main/java/org/springframework/cloud/client/CommonsClientAutoConfiguration.java
src/main/java/org/springframework/cloud/client/discovery/NoopDiscoveryClientConfiguration.java
10 years ago
Dave Syer
7d751b76ee
Use @ConditionalOnProperty where possible
10 years ago
Phillip Webb
17f55470f3
Use BDD Mockito methods
10 years ago
Phillip Webb
b9759f42f5
Replace @ConditionalOnExpression with OnProperty
...
Replace @ConditionalOnExpression with @ConditionalOnProperty which is
usually faster.
10 years ago
Phillip Webb
5168937f93
Polish
10 years ago
Phillip Webb
903d6738ab
Add copyright headers
10 years ago
Phillip Webb
4d941e1c0a
Apply formatting and code cleanup rules
10 years ago
Phillip Webb
8ac6edc577
Add eclipse code conventions
10 years ago
Phillip Webb
d1201469e6
Polish POM
10 years ago
Phillip Webb
d63014c9ee
Format POM to use tabs rather than spaces
10 years ago
Dave Syer
760062ee3f
Compiler warnings
10 years ago
Dave Syer
cfa00e2801
Encapsulate some fields into protected methods
10 years ago
Dave Syer
d3c2f89049
Add NoopDiscoveryClient and configuration
...
This is so that @EnableDiscoveryClient can be used (e.g. accidentally
or transitively via @EnableZuulProxy ) without any actual discovery
provider on the classpath.
Fixes gh-3
10 years ago
Spencer Gibb
e48dff74e5
only create Discovery*HealthIndicator beans if DiscoveryClient is a bean and spring.cloud.discovery.enable = true.
...
Allow discovery and circuit breaker to be turned off by properties.
fixes gh-2
10 years ago
Dave Syer
8d3375101e
Compiler warnings
10 years ago
Spencer Gibb
90451ac681
added new DiscoveryHeartbeatEvent
10 years ago
Spencer Gibb
a4d461aae0
Change DiscoveryHealthIndicator to an interface and create a DiscoveryCompositeHealthIndicator
...
fixes gh-1
10 years ago
Dave Syer
2e7b2d0e17
Update travis build where appropriate
10 years ago
Dave Syer
83c9b5ed51
Add optional/runtime to lombok
10 years ago
Spencer Gibb
9a73f65129
Polish
10 years ago
Dave Syer
568013a68b
Prevent error if Actuator not present
10 years ago
Dave Syer
f8f885617b
Compiler warnings
10 years ago
Spencer Gibb
112f8ef895
removed preview term
10 years ago
Spencer Gibb
2874ae543e
updates to interfaces from netflix
10 years ago
Spencer Gibb
f96d9947df
added @EnableCircuitBreaker and SingleImplementationImportSelector
10 years ago
Spencer Gibb
d80b02dfe2
reenable maven command
10 years ago
Spencer Gibb
ffef818e0b
disable docs in travis for now
10 years ago
Spencer Gibb
80b151be61
updated README
10 years ago
Spencer Gibb
9e0c103e65
add @EnableDiscoveryClient and update travis
10 years ago
Spencer Gibb
037ee52111
add InstanceRegisteredEvent
10 years ago
Spencer Gibb
26fc691085
temporarily disable javadocs
10 years ago
Spencer Gibb
90c1e5750a
format README
10 years ago
Spencer Gibb
0aa9ae5de2
initial commit
10 years ago