Dave Syer
988189db82
Add extra decryption step before propery source locators
...
See also the integration tests in spring-cloud-samples/tests
Fixes gh-58
9 years ago
Dave Syer
7f2f008300
Compiler warnings
9 years ago
Dave Syer
5d40088b7e
Class name change in Spring Boot
9 years ago
Dave Syer
b1fa9cba4b
Revert profile and add comment
9 years ago
Dave Syer
6703ff0594
Remove confusing profile from settings.xml
9 years ago
Dave Syer
a6124e7063
Add another property source for decrypted bootstrap properties
...
The problem is that we do want bootstrap properties to override
default properties in most cases, but if they are decrypted those
values have to be added with the highest possible precedence.
Fixes gh-54
9 years ago
Dave Syer
41f0b641dd
Add int converter to inet utils
9 years ago
Spencer Gibb
0bb2f48e4c
Only lookup abstract features from context.
9 years ago
Spencer Gibb
be1c4ae881
Convenience methods on HasFeature
9 years ago
Spencer Gibb
93455532f9
Features actuator endpoint
...
Allows modules to declare features and display if they enabled or not.
9 years ago
Spencer Gibb
a582e4e1bf
Calculate the default instance id.
9 years ago
Spencer Gibb
433ea0870a
Adds non-loopback hostname and ipAddress lookup.
...
Also adds a propertySource with those values:
"springCloudClientHostInfo": {
"spring.cloud.client.hostname": "myhostname",
"spring.cloud.client.ipAddress": "192.168.2.112"
},
fixes gh-47
9 years ago
Dave Syer
bf8c7cff71
Add test for refresh scope behaviour
9 years ago
Dave Syer
8c346506f4
Re-order events in RefreshEndpoint
...
EnvironmentChangeEvent should come before the RefreshScopeRefreshedEvent
so that all the @ConfigurationProperties are fully bound when the refresh
happens.
9 years ago
Dave Syer
efbcbfa22e
Send EnvironmentChangeEvent even if no keys changed
9 years ago
Dave Syer
51983c376c
Revert to snapshot
9 years ago
Dave Syer
8093134713
Update for M1 release
9 years ago
Dave Syer
70e3588fd8
Re-initialize logging if anything shows up in logging.*
9 years ago
Dave Syer
6a5dedd498
Re-initialize logging if the logfile changes
...
Fixes gh-224
9 years ago
Spencer Gibb
41cfa132d2
fix possible NPE
...
fixes gh-51
9 years ago
Spencer Gibb
794cf98c53
fixed usage of AtomicBoolean
9 years ago
Dave Syer
1a317a5ac9
Merge branch '1.0.x'
...
t message to explain why this merge is necessary,
9 years ago
Dave Syer
82a14bffc7
Make ghpages.sh work on a branch
9 years ago
Dave Syer
dc06921877
Add test for message source configuration
...
See gh-29
9 years ago
Dave Syer
f022fb78bd
Move RefreshEndpoint to more logical package
9 years ago
Dave Syer
b022a39ba8
Rebind configuration properties on startup in case environment changed
...
The main driver for this was a config server use case, where the server
wants to configure its own properties in the remote repo. It was working
up to a point, but the beans in bootstrap context were not refreshed
after the Environment was built so you had to manually refresh them to
get them to point to (e.g.) config repos configured remotely.
Fixes https://github.com/spring-cloud/spring-cloud-config/issues/139
9 years ago
Spencer Gibb
385994f58c
Added LICENSE.txt
9 years ago
Spencer Gibb
569f87b287
Merge pull request #50 from cppwfs/ISSUE-49
...
isRefreshScoped returns false if beanName is null
9 years ago
Glenn Renfro
e4bacc1353
isRefreshScoped returns false if beanName is null
...
Refer to notes in https://github.com/spring-cloud/spring-cloud-commons/issues/49 for details
9 years ago
Dave Syer
adcd4a83ac
Update readmes
9 years ago
Dave Syer
005021e82a
Add Maven wrapper
9 years ago
Spencer Gibb
360560bd37
Don't handle EmbeddedServletContainerInitializedEvent from management
...
fixes gh-46
9 years ago
Spencer Gibb
eb929d6b9e
AbstractDiscoveryLifecycle now function if actuator is not on the classpath
9 years ago
Dave Syer
addeda8262
Allow ConfigurationPropertiesRebinder to rebind beans by name
...
including ones in the parent context.
9 years ago
Dave Syer
4df29bdfe7
Suppress rebinding of configuration properties for refresh scope
...
If a @ConfigurationProperties @Bean is in @RefreshScope then it doesn't
need to be rebound on an environment change event (it will re-initialize
on refresh).
See https://github.com/spring-cloud/spring-cloud-config/issues/183
9 years ago
Dave Syer
7111d6a1c9
Merge branch '1.0.x'
9 years ago
Dave Syer
fbe17efd30
Internal change in RefreshEndpoint to keep property sources separate
...
The incoming (existing) environment needs to be used to initalize the
context that is created to grab the new environment, but we shouldn't
re-use the existing environment, rather just copy the property sources
and profiles.
9 years ago
Dave Syer
a58d06a704
Add test for refresh scope on configuration properties list
9 years ago
Dave Syer
442a7e87c3
Internal change in RefreshEndpoint to keep property sources separate
...
The incoming (existing) environment needs to be used to initalize the
context that is created to grab the new environment, but we shouldn't
re-use the existing environment, rather just copy the property sources
and profiles.
9 years ago
Dave Syer
8664dbf9d3
Add test for refresh scope on configuration properties list
9 years ago
Eric Bottard
d664cdd6eb
Properly close fixed-font in documentation
9 years ago
Spencer Gibb
b9a188b007
Merge pull request #43 from mbenson/pom-fixes
...
* pom-fixes:
fix (remove) parent relativePath
ws
9 years ago
Matt Benson
d67dfddf3c
fix (remove) parent relativePath
9 years ago
Matt Benson
146bff27b7
ws
9 years ago
Dave Syer
892ca8839c
update readme
9 years ago
Dave Syer
a1628915ff
Merge branch '1.0.x'
9 years ago
Dave Syer
ac6b833a97
Use bean post processor to rebind info endpoint
...
Fixes gh-25
9 years ago
Dave Syer
c55c6117ab
Update to Spring Boot 1.3, stage I (make it compile)
10 years ago
Dave Syer
daf2b8f2f7
Move starters into home projects
10 years ago
Dave Syer
8a8baee253
Update to Brixton
10 years ago