Spencer Gibb
9bb0caa985
removed duplicate license
10 years ago
Dave Syer
c6b4d6da9d
Allow all discovery implementations to bubble up
...
Hope that one is chosen by @Conditionals . The tests all pass
but this could get hairy when we start to get more discovery
implementations.
10 years ago
Dave Syer
c2d1c0356c
Ensure property source decryption works even if RSA not available
...
Fixes gh-34
10 years ago
Dave Syer
2978b8df4d
Clean up shutdown hooks on refresh
...
Fixes gh-63
10 years ago
Dave Syer
e340855b32
Add decrypted property source to bootstrap environment
...
... and rebind to @ConfigurationProperties so that other listeners
can take advantage of the changes.
Fixes gh-32
10 years ago
Dave Syer
9d4584bb5c
Add flag spring.cloud.config.overrideNone
...
If true (and spring.cloud.config.allowOverride=true) then the bootstrap
property source is added *last*, so all other property sources can override
it (including local config files).
Fixes gh-26, fixes gh-27.
10 years ago
Dave Syer
ecaecb6d32
Re-initialize logging system if the logging.config path changes
...
Fixes https://github.com/spring-cloud/spring-cloud-config/issues/132
10 years ago
Dave Syer
17f15447e9
Update to 1.0.2 snapshots
10 years ago
Dave Syer
598819bd66
Add support for @Order in BootstrapConfiguration
10 years ago
Spencer Gibb
964550bc1e
Only attempt to get status from discovery client if it is initialized.
...
Attempt to fix https://github.com/spring-cloud/spring-cloud-netflix/issues/278
10 years ago
Spencer Gibb
64d7a57190
RestTemplateCustomizer to customize the @LoadBalanced RestTemplate.
...
By default, creates a RestTemplateCustomizer adds a LoadBalancerInterceptor
fixes gh-16
10 years ago
Spencer Gibb
3fd824ef22
remove bad add header
10 years ago
Spencer Gibb
56fbc5e970
In LoadBalancerInterceptor add ServiceInstance to static ThreadLocal and provide static getter.
10 years ago
Spencer Gibb
9e9e30fd70
create RestTemplate with LoadBalancerInterceptor using @LoadBalanced qualifier.
...
fixes https://github.com/spring-cloud/spring-cloud-netflix/issues/267
10 years ago
Dave Syer
3002f3c3ea
Add link to github in rendered docs
10 years ago
Spencer Gibb
7339b6dbac
added missing ghpages.sh
10 years ago
Dave Syer
92adcefe8a
Shake up docs for new library layout
10 years ago
Dave Syer
ae74fe7228
Add annotation processor
10 years ago
Dave Syer
7d480ab41b
Extract former config-client features to a new spring-cloud-context
...
Fixes gh-14
10 years ago
Dave Syer
0b0999fde8
Move all of non-config client related stuff into commons
...
Refresh, bootstrap, encryption all moved in to the common jar, for
now at least
10 years ago
Dave Syer
0ad7c65e6d
Remove grocer's apostrophes
10 years ago
Dave Syer
7df3790711
Add bintray properties
10 years ago
Dave Syer
a824cc2f43
Re-enable javadoc
10 years ago
Dave Syer
b55d48614e
Update to next snapshot
10 years ago
Spencer Gibb
f7a37eb1b4
undo ParentHeartbeatEvent extends HeartbeatEvent
10 years ago
Dave Syer
5892a7c846
Move LoadBalancerInterceptor into commons
...
It was previously in the Netflix project, but didn't depend on Ribbon
10 years ago
Dave Syer
61dbef8e5f
Add HeartbeatMonitor convenience class
...
Users monitoring a heartbeat can use it to determine if a new state
has been reached.
10 years ago
Spencer Gibb
273905ac3c
@SpringCloudApplication = @SpringBootApplication + @EnableDiscoveryClient + @EnableCircuitBreaker
...
fixes https://twitter.com/danveloper/status/558046646765125633 :-)
fixes gh-13
10 years ago
Spencer Gibb
3296d9b79f
remove AllInstances
10 years ago
Spencer Gibb
9d29064534
adds some javadocs
10 years ago
Spencer Gibb
ab6f01a98b
Add ServiceInstance.getUri and implement in DefaultServiceInstance
...
fixes gh-12
10 years ago
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