Commit Graph

325 Commits

Author SHA1 Message Date
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
buildmaster
b1124e3fbe Update SNAPSHOT to 2.0.0.M7 2018-02-26 17:29:21 +00:00
Dave Syer
b6df5e2425 Add encrypt.salt configuration option 2018-02-22 11:07:06 +00:00
Spencer Gibb
43ea0461ee Uses new BEAN_NAME constant from spring boot 2.0
fixes gh-324
2018-02-18 13:11:42 -05:00
Biju Kunjummen
e77a3fd498 Allows more standard rsa private key for config values encryption (#323) 2018-02-15 13:50:03 -05:00
Spencer Gibb
fbabe7e3e9 Revert "Fix wrong property name to expose actuators"
This reverts commit 18ba863
2018-02-13 10:02:48 -05:00
Spencer Gibb
216d49fdd9 Move to new class name 2018-02-13 10:02:28 -05:00
Dave Syer
b5ac8fe725 Fix compiler warnings 2018-02-13 09:29:30 +00:00
Dave Syer
18ba863e5f Fix wrong property name to expose actuators 2018-02-13 09:26:02 +00:00
Dave Syer
46d92bb190 Fix class name change and port clash in tests 2018-02-13 09:23:06 +00:00
Spencer Gibb
9f3744d1e2 Update to new web endpoint property 2018-02-12 12:11:53 -05:00
Spencer Gibb
db00e13e74 Update to boot renamed class in 2.0.0.BUILD-SNAPSHOT 2018-02-09 20:25:22 -05:00
buildmaster
12d778f330 Going back to snapshots 2018-02-09 17:47:33 +00:00
buildmaster
5ad8288e85 Update SNAPSHOT to 2.0.0.M6 2018-02-09 17:46:50 +00:00
buildmaster
ce7d9e3092 Bumping versions to 1.3.3.BUILD-SNAPSHOT after release 2018-02-08 01:22:39 +00:00
buildmaster
8055d1a6bb Going back to snapshots 2018-02-08 01:22:38 +00:00
buildmaster
cefd46c33d Update SNAPSHOT to 1.3.2.RELEASE 2018-02-08 01:21:37 +00:00
Spencer Gibb
16c43dd0d9 Temporary fix for hikari datasource sealed causing refresh errors.
See gh-318
2018-02-06 13:03:44 -05:00
Spencer Gibb
3a390a35fa Guard against missing EndpointAutoConfiguration class
fixes gh-319
2018-02-06 11:29:55 -05:00
Spencer Gibb
3866806a2c Install refresh scope health indicator.
RefreshScope bean is not available during auto-config, so get the bean lazily at runtime.
2018-02-05 23:07:26 -05:00
Bertrand Renuart
361494b70f Give application context a friendly display name. (#316)
Fixes gh307
2018-02-02 13:05:43 -05:00
Biju Kunjummen
cdd4268b4a Adds additional test for encyptor with RSA private key (#315) 2018-02-02 13:03:39 -05:00
Spencer Gibb
00eadf47f0 Merge branch '1.3.x' 2018-02-01 23:42:19 -05:00
Spencer Gibb
f7695c7d15 Moves declaration of EnvironmentManager
fixes gh-314
2018-02-01 23:36:59 -05:00
Spencer Gibb
e21d30772d Remove JPA logging 2018-02-01 19:18:54 -05:00
Spencer Gibb
ca2e5e0405 Merge branch '1.3.x' 2018-02-01 19:12:51 -05:00
Spencer Gibb
cd436c7d15 Avoid proxy error if bean implements ScopedObject
fixes gh-277
2018-02-01 19:09:11 -05:00
Spencer Gibb
528ce8dca1 polish 2018-01-17 12:09:30 -05:00
Spencer Gibb
4aa2050b4b Updates for new context id generation in boot 2 2018-01-17 12:05:36 -05:00
buildmaster
0b01ca13bb Bumping versions to 1.3.2.BUILD-SNAPSHOT after release 2018-01-11 21:23:03 +00:00
buildmaster
dd34b7f189 Going back to snapshots 2018-01-11 21:23:03 +00:00
buildmaster
b60d21a076 Update SNAPSHOT to 1.3.1.RELEASE 2018-01-11 21:21:26 +00:00
Spencer Gibb
7f0791a79a Force bootstrap env to set web-application-type=none
Ff an app (or test) uses spring.main.web-application-type=reactive, bootstrap will fail. This commit forces the environment to use none, because the environment overrides the setter on SpringApplication.
2018-01-11 15:05:01 -05:00
Dave Syer
aef42a65f3 Housekeeping with KeyProperties - change default settings
N.B. this change will make existing encrypted properties undecryptable.
User would need to explicitly configure the old defaults for
encrypt.rsa.algorithm=DEFAULT and encrypt.rsa.strong=false.
2017-12-27 08:56:55 +00:00
Spencer Gibb
17adaf51d2 Test for NPE when calling getClass() in RefreshScope
fixes gh-297
2017-12-20 17:55:53 -05:00
Spencer Gibb
fb76beb3f2 Test for NPE when calling getClass() in RefreshScope
fixes gh-297
2017-12-20 17:55:25 -05:00
Spencer Gibb
53bf31ecb9 Merge branch '1.3.x' 2017-12-20 12:00:27 -05:00
Spencer Gibb
464624e375 Avoids potential NPE when calling getClass() in RefreshScope
fixes gh-297
2017-12-20 11:57:40 -05:00
Spencer Gibb
6dfb37e77c polish 2017-12-15 11:41:22 -05:00
Dave Syer
4660ae7d14 Merge branch '1.3.x' 2017-12-15 16:20:56 +00:00
Dave Syer
8a0261f275 Test for AOP proxy generally, not just CGlib
Fixes gh-288, closes gh-289
2017-12-15 16:19:48 +00:00
Dave Syer
29cb7f3500 Merge branch '1.3.x'
Test failure in spring-cloud-commons seems unrelated.
2017-12-15 16:06:56 +00:00