Spencer Gibb
87bb8f1fa1
Upgrades to build 2.1.0.BUILD-SNAPSHOT and boot 2.1.x
...
Moves refresh scope proxy creation from BeanDefinitionRegistryPostProcessor to BeanPostProcessor
fixes gh-400
2018-08-02 11:19:17 -04:00
Spencer Gibb
69181c14d1
formatting
2018-08-01 13:20:28 -04:00
buildmaster
8efcb1577e
Bumping versions to 2.0.2.BUILD-SNAPSHOT after release
2018-07-31 18:05:58 +00:00
buildmaster
36146312ab
Going back to snapshots
2018-07-31 18:05:58 +00:00
buildmaster
1998ac2892
Update SNAPSHOT to 2.0.1.RELEASE
2018-07-31 18:03:14 +00:00
Ryan Baxter
7949aaa1b5
Merge remote-tracking branch 'origin/1.3.x'
2018-07-30 16:40:12 -04:00
Ryan Baxter
57ab7ed469
Add null check in RefreshScopeHealthIndicator. Fixes #397 . ( #398 )
2018-07-26 15:09:05 -04:00
Ryan Baxter
1de9d12150
Extract target class code into utility class ( #391 )
...
* Extract target class code into utility class
2018-07-11 16:01:14 -04:00
buildmaster
d711556fe8
Bumping versions to 1.3.5.BUILD-SNAPSHOT after release
2018-06-28 14:20:22 +00:00
buildmaster
9896cb7062
Going back to snapshots
2018-06-28 14:20:21 +00:00
buildmaster
b9c04fb14b
Update SNAPSHOT to 1.3.4.RELEASE
2018-06-28 14:19:20 +00:00
buildmaster
a707941e5c
Bumping versions to 2.0.1.BUILD-SNAPSHOT after release
2018-06-18 13:29:50 +00:00
buildmaster
917c134350
Going back to snapshots
2018-06-18 13:29:49 +00:00
buildmaster
1ade0553ee
Update SNAPSHOT to 2.0.0.RELEASE
2018-06-18 13:26:29 +00:00
Spencer Gibb
bd138dac44
fixes formatting
2018-06-13 16:09:30 -04:00
Spencer Gibb
13722cb6b7
Merge branch '1.3.x'
2018-06-13 16:06:43 -04:00
Matt Benson
e833dbaa37
Fix GenericScope so that multiple subclasses can live in the same context (non-static inner class cannot resolve parent bean)
2018-06-13 15:59:16 -04:00
Ryan Baxter
816afaf3d1
Merge remote-tracking branch 'origin/1.3.x'
2018-06-07 14:31:07 -04:00
Ryan Baxter
edb2f9ad2d
Add boot autoconfigure processor. Fixes #377
2018-06-07 14:27:30 -04:00
Spencer Gibb
a8e90681b7
Renames environmentWebEndpointExtension to environmentEndpointWebExtension.
...
This matches boot, even though the boot bean shouldn't be created because of a @ConditionalOnMissingBean
see gh-374
2018-05-31 12:57:42 -04:00
buildmaster
9849895867
Going back to snapshots
2018-05-24 19:00:21 +00:00
buildmaster
445fffff34
Update SNAPSHOT to 2.0.0.RC2
2018-05-24 18:59:33 +00:00
Dave Syer
0e259eab35
Workaround for data source cycle with hibernate
...
The JpaInvokerConfiguration (nested in RefreshAutoConfiguration can be
removed when and if the issue is resolved in Boot.
Also splits the hibernate test dependencies out into a separate module
so the main context tests run quicker.
Fixes gh-355
2018-05-11 09:40:52 +01:00
Peter Lajko
f7519a30ad
RestartEndpoint fixed ( #366 )
...
* RestartEndpoint fixed
* method naming fix
2018-05-10 15:44:30 -04:00
Stéphane Nicoll
6560e8896c
Polish ( #369 )
2018-05-10 15:33:07 +02:00
Stephane Nicoll
bf5de108e2
Stop exposing a duplicate web extension for the env endpoint
...
An actuator endpoint is designed around a single class flagged with
`@Endpoint`. Such endpoint can have some of its operations refined with
a given tech (for instance via a `EndpointWebExtension` for web specific
concerns).
This design mandates that an endpoint (and its tech specific refinements
are managed centrally to form a unified contract).
As Spring Cloud is extending the standard Spring Boot's `env` endpoint,
this commit introduces a WritableEnvironmentEndpoint with a web
extension.
Closes gh-367
Closes gh-354
2018-05-10 10:53:43 +01:00
Dave Syer
d80d07e160
Unused imports
2018-05-03 11:02:57 -04:00
Ryan Baxter
f2e018fb6d
Revert "Move RefreshScope to a static @Bean method"
...
This reverts commit 77ac09b119 .
2018-05-02 15:05:13 -04:00
Dave Syer
77ac09b119
Move RefreshScope to a static @Bean method
...
The test shows that this fixes a weird initialization ordering
problem that leads otherwise to Spring thinking there is a
dependency cycle (even though there is not). This problem only
surfaces when there is a schema.sql to apply.
Fixes gh-355
2018-05-02 05:46:46 -04:00
Johnny Lim
dbac0f06fe
Polish RefreshScopeBeanDefinitionEnhancer.setRefreshable() ( #362 )
2018-04-30 20:04:13 -04:00
buildmaster
b8589e0eaa
Going back to snapshots
2018-04-20 18:37:39 +00:00
buildmaster
b61187c761
Update SNAPSHOT to 2.0.0.RC1
2018-04-20 18:36:47 +00:00
Spencer Gibb
78b11c35ff
GenericScope throws original checked exception, rather than UndeclaredThrowableException
...
fixes gh-349
2018-04-02 12:29:39 -04:00
buildmaster
f71e5a3eaf
Bumping versions to 1.3.4.BUILD-SNAPSHOT after release
2018-03-26 15:04:10 +00:00
buildmaster
7219560a1f
Going back to snapshots
2018-03-26 15:04:09 +00:00
buildmaster
92ca232518
Update SNAPSHOT to 1.3.3.RELEASE
2018-03-26 14:58:47 +00:00
buildmaster
328995c639
Going back to snapshots
2018-03-22 20:51:19 +00:00
buildmaster
19a47a366f
Update SNAPSHOT to 2.0.0.M9
2018-03-22 20:50:33 +00:00
Spencer Gibb
70ff397188
Moves to new classpath exclusion classes
2018-03-21 10:48:33 -04:00
Spencer Gibb
384a576c4e
Merge branch '1.3.x'
2018-03-21 10:40:11 -04:00
Ryan Baxter
ee5034ee0d
Move RSA properties to its own class and make it conditional ( #342 )
...
Avoids ClassNotFoundException when RSA is not on the classpath.
Fixes gh-334.
2018-03-21 10:35:24 -04:00
Marcin Grzejszczak
ec11d4bbfe
Avoiding NPE for proxied beans upon context shutdown; fixes gh-340
2018-03-20 13:50:59 +01:00
Spencer Gibb
78d25f0fc0
Don't rebind beans with no implementation.
...
fixes gh-337
2018-03-16 13:53:59 -04:00
Dave Syer
3bc1576897
Merge branch '1.3.x'
2018-03-08 12:01:05 +00:00
Dave Syer
5802c0e2be
Actually close parent context in RestartEndpoint
...
There could be consequences for apps that have more complex context
hierarchies, but RestartEndpoint doesn't work well at all for those
apps anyway, so we are probably safe to just make changes in the
endpoint itself.
Fixes gh-333
2018-03-08 11:55:49 +00:00
buildmaster
e63a3d4232
Going back to snapshots
2018-03-02 17:03:35 +00:00
buildmaster
5a79537a76
Update SNAPSHOT to 2.0.0.M8
2018-03-02 17:02:51 +00:00
Dave Syer
dcc822626b
Add a configurable of beans to postprocess into refresh scope
...
Allows you to apply @RefreshScope to beans that you do not
control or define. The list is configurable as
spring.cloud.refresh.refreshable and by default has only
HikariDataSource.
Fixes gh-318
2018-03-02 15:54:25 +00:00
Dave Syer
d14e8ffa1a
Add test for binding to Hikari DataSource
2018-03-02 13:38:35 +00:00
buildmaster
b5eb64de2a
Going back to snapshots
2018-02-26 17:30:07 +00:00