Dave Syer
b29539e865
Simplify ConfigurationPropertiesRebinder
...
It actually doesn't need to use the public Binder API now
because Spring Boot faithfully uses the Environment state as it is
at runtime.
7 years ago
Dave Syer
fb36b67913
Add failing test for decrypting and rebinding
...
See gh-269
7 years ago
Spencer Gibb
8f9dfd38e3
Update tests for 2.0.x
7 years ago
Spencer Gibb
707787dc13
Adds test for bootstrap context parent closing
7 years ago
Spencer Gibb
abe5374c79
Ensure parent context of bootstrap context is closed.
...
fixes gh-267
7 years ago
Spencer Gibb
c9e8f02188
Remove reflection hack.
...
All tests pass, just with the call to afterPropertiesSet()
7 years ago
Spencer Gibb
d31e7ae499
Adds reflection hack back.
...
Hopefully not for long.
7 years ago
buildmaster
3a780623c1
Going back to snapshots
7 years ago
buildmaster
698124544c
Update SNAPSHOT to 2.0.0.M3
7 years ago
Dave Syer
942df8ed45
Remove lombok from spring-cloud-context
7 years ago
Dave Syer
880c1160e6
Replace lombok logger
7 years ago
Spencer Gibb
892a6ee2bd
Going back to snapshots
7 years ago
Spencer Gibb
e47a557636
Update SNAPSHOT to 1.3.0.RC1
7 years ago
Dave Syer
801183e01b
Fix nasty state bug in BootstrapApplicationListener
...
In Spring 5.0.0 the SpringFactoriesLoader is stateful and
BootstrapApplicationListener inadvertently modifies the state
by adding class names to a list loaded from spring.factories.
Probably harmless in most apps, but caused some tests to fail
(depending on the order they were run in).
7 years ago
Dave Syer
2fd2f99c9d
Suppress use of configuration properties source in refresh
7 years ago
Dave Syer
1f28206158
Fix compiler warnings in tests
7 years ago
Dave Syer
92cabcdf1a
Skip stub property sources during bootstrap
...
The stub property sources from a web application context do not
contain any properties so they cab't have any effect on
bootstrap. It's cleaner to leave them out of the bootstrap
application context.
7 years ago
Spencer Gibb
74d9cd3060
Trying to fix tests
7 years ago
Dave Syer
20dd5da52c
Fix test to accommodate changed property source order
7 years ago
Dave Syer
1add1067df
Fix ordering of property sources on refresh
...
If there were *no* bootstrapProperties (i.e. properties added by
PropertySourceLocators) on startup, and then in a refresh event
some new sources were picked up, they would have been added to the
end, instead of the beginning of the list.
Fixes https://github.com/spring-cloud/spring-cloud-config/issues/815
7 years ago
Dave Syer
ccf613c29c
Make method accessible in GenericScope proxy target
...
Otherwise app crashes on first access of scoped proxy.
Fixes gh-261
7 years ago
Dave Syer
ff00aa8eee
Remove verbose logging in test
7 years ago
Dave Syer
51fb39e281
Use public methods on CPBPP
7 years ago
Dave Syer
a7caee5f1f
Protect refresh of single bean as well
7 years ago
Dave Syer
c28ca5de91
Add extra concurrency test for refresh scope
...
The test passes (would have failed in parent commit)
because a lock is taken in the scoped proxy itself, not
in the target.
7 years ago
Ryan Baxter
deb18d2eb9
Bumping versions to 1.2.5.BUILD-SNAPSHOT after release
7 years ago
Ryan Baxter
3c05d9754c
Going back to snapshots
7 years ago
Ryan Baxter
714747d240
Update SNAPSHOT to 1.2.4.RELEASE
7 years ago
Dave Syer
9639787b03
Fix configuration properties in refresh scope for Boot 2.0
...
The old hack in RefreshScope has been replaced with a new hack.
It has to "reset" the ConfigurationProperties bean post processor
and the new rebinder API has changed the internals of that, so
we needed to adjust.
7 years ago
Dave Syer
115233a29c
Tidy imports
7 years ago
Dave Syer
8357724ad8
Use the new ConfigurationPropertiesBinder API from Spring Boot
...
Fixes gh-177
7 years ago
Spencer Gibb
883558fa07
Fix service-registry and refresh endpoint tests
7 years ago
Spencer Gibb
ea75972c98
Update post to /env
7 years ago
Spencer Gibb
19adf5f11d
Update to new Boot 2 actuator @Endpoint .
...
Again.
7 years ago
Spencer Gibb
fa71529ea0
Ignore broken tests
7 years ago
Spencer Gibb
e1f8f3a5a5
Fix broken refresh auto-config without actuator test.
7 years ago
Spencer Gibb
f8d9e18fb9
Update to new Boot 2 actuator @Endpoint .
...
Some tests are still broken.
Fixes gh-238
7 years ago
Ryan Baxter
6ae5e0bec8
Going back to snapshots
7 years ago
Ryan Baxter
e6e5de275d
Update SNAPSHOT to 1.3.0.M1
7 years ago
Biju Kunjummen
5aaafb19af
Replaces deprecated o.s.b.a.PropertyPlaceholderAutoConfiguration
7 years ago
Spencer Gibb
0972699040
Going back to snapshots
7 years ago
Spencer Gibb
ac2821db5f
Update SNAPSHOT to 2.0.0.M2
7 years ago
Biju Kunjummen
a6b7f70b8e
Show better message for missing config keystore props ( #232 )
...
* Show better message for missing config keystore props
* Removes unused ExpectedException
Fixes #230
7 years ago
Johannes Edmeier
94a42737ec
Fix empty keys in EnvironmentChangedEvent on resetting the Environment ( #229 )
...
When the Environment is resetted the EnvironmentChangedEvent always
contains an empty keySet, since the live view of the cleared map was
used. This commit fixes this.
7 years ago
Ryan Baxter
e8a42e500e
Bumping versions to 1.2.4.BUILD-SNAPSHOT after release
7 years ago
Ryan Baxter
9a1c1bf634
Going back to snapshots
7 years ago
Ryan Baxter
7a9225619c
Update SNAPSHOT to 1.2.3.RELEASE
7 years ago
Spencer Gibb
2aa6c39322
Reinstate @ConditionalOnClass(EnvironmentEndpoint.class)
7 years ago
Spencer Gibb
80b91d0a03
fix merge error
7 years ago
Spencer Gibb
c75673110b
formatting
7 years ago