Andy Wilkinson
8f72ca6521
Use ResourceConfig customization to register endpoints with Jersey
...
Previously, actuator endpoints were registered with Jersey upon
injection of the ResourceConfig bean into a registrar class rather than
using a ResourceConfigCustomizer. This was done to fix a problem
when running the Actuator on a separate port where the main application
context's customizers were also applied to the management context,
breaking the singleton contract for those resources. This approach
meant that the registration could be performed at any point after the
ResourceConfig had been created. When Jersey's configured as a Filter
this resulted in the registration failing as the attempt was being made
after the Filter lifecyle callbacks which make the ResourceConfig
immutable.
This commit reworks the endpoint registration to be performed using a
ManagementContextResourceConfigCustomizer, a resource config customizer
that's only applied to the ResourceConfig that's used by the Actuator.
When there's a separate management context, this ResourceConfig is
created by the Actuator's auto-configuration and the management context
resource config customizers are applied to it during its creation. The
main application's customizers are not applied. When the actuator is
using the same context as the main application, this ResourceConfig is
created by the main application. In this case a
ResourceConfigCustomizer is defined that delegates to all
ManagementContextResourceConfigCustomizers, allowing them to register
the actuator endpoints with the main ResourceConfig.
Fixes gh-25262
4 years ago
Andy Wilkinson
d48551ff12
Merge branch '2.3.x' into 2.4.x
...
Closes gh-25437
4 years ago
Stefan Wolf
86ca32e694
Enable stricter validation for Gradle plugin
...
See gh-25409
4 years ago
John Blum
cec4d45cf6
Fix grammatical error in documentation
...
See gh-25411
4 years ago
Andy Wilkinson
ecf8437d4a
Merge branch '2.3.x' into 2.4.x
...
Closes gh-25430
4 years ago
dreis2211
101d88a840
Update Testcontainers image versions
...
See gh-25412
4 years ago
Andy Wilkinson
b477312100
Upgrade to Testcontainers 1.15.2
...
Closes gh-25423
4 years ago
Andy Wilkinson
9af8ad432a
Upgrade to MockK 1.10.6
...
Closes gh-25422
4 years ago
Andy Wilkinson
070d3d434c
Upgrade to Maven Common Artifact Filters 3.1.1
...
Closes gh-25421
4 years ago
Andy Wilkinson
5f0d72487e
Upgrade to Testcontainers 1.15.2
...
Closes gh-25420
4 years ago
Andy Wilkinson
ac78f55ba8
Upgrade to Maven Common Artifact Filters 3.1.1
...
Closes gh-25419
4 years ago
Stephane Nicoll
7c5a5c6663
Merge branch '2.3.x' into 2.4.x
...
Closes gh-25385
4 years ago
Stephane Nicoll
77daae1480
Update copyright year of changed file
...
See gh-25382
4 years ago
Mustafa Ulu
abc90db32f
Fix wording error in build-info goal description
...
See gh-25382
4 years ago
Stephane Nicoll
9e6302ee6a
Merge branch '2.3.x' into 2.4.x
...
Closes gh-25371
4 years ago
Tommy Ludwig
bd2a890899
Polish HTTP client metrics documentation wording
...
See gh-25353
4 years ago
Stephane Nicoll
526474f3b8
Add username alias for Postgres's PGSimpleDataSource
...
Closes gh-25363
4 years ago
Andy Wilkinson
bb56de715b
Upgrade to Spring Security 5.4.5
...
This commit also downgrade JOSE JWT to address an incompatibility with
the OIDC SDK 8.x. The OIDC SDK has also been upgraded to the latest 8.x
release to align with the version used by Spring Security.
Closes gh-25221
Fixes gh-25070
4 years ago
Andy Wilkinson
08f73e01da
Upgrade to Spring Kafka 2.6.6
...
Closes gh-25292
4 years ago
Andy Wilkinson
50a258a9ec
Upgrade to Spring Integration 5.4.4
...
Closes gh-25289
4 years ago
Andy Wilkinson
332ab5e1c6
Upgrade to Spring AMQP 2.3.5
...
Closes gh-25290
4 years ago
Andy Wilkinson
a2695f215c
Upgrade to Spring Data 2020.0.5
...
Closes gh-25002
4 years ago
Andy Wilkinson
6eb51eb2c3
Start building against Spring Data 2020.0.5 snapshots
...
See gh-25002
4 years ago
Sébastien Deleuze
512efa1687
Refactor CacheConfigurations to avoid storing configuration classes
...
This commit refactors CacheConfigurations implementation to make
it more native friendly by storing strings instead of classes in
order to avoid loading the configuration classes
when CacheConfigurations is initialized at build time.
See gh-25321
4 years ago
Madhura Bhave
b5e1787641
Make devtools securityFilterChain back-off in presence of WebSecurityConfigurerAdapter
...
Fixes gh-25147
4 years ago
Andy Wilkinson
3ad68a39b6
Upgrade to Spring Integration 5.3.6.RELEASE
...
Closes gh-25283
4 years ago
Madhura Bhave
00a358b4d3
Throw or warn for invalid config properties with list syntax
...
Fixes gh-25309
4 years ago
Andy Wilkinson
bec065dfd3
Upgrade to Spring AMQP 2.2.15.RELEASE
...
Closes gh-25284
4 years ago
Andy Wilkinson
08e86741fd
Don't scan for `@Persistent` types as they may not be meant for Neo4j
...
Closes gh-25069
4 years ago
Madhura Bhave
52a15647a9
Polish "Remove old documentation relating to yaml and profiles"
...
See gh-24620
4 years ago
Ramiro Aparicio
93f822e7b6
Remove old documentation relating to yaml and profiles
...
See gh-24620
4 years ago
Stephane Nicoll
5d1bb3025b
Add username alias for H2's JdbcDataSource
...
Closes gh-25263
4 years ago
Andy Wilkinson
87efacf039
Upgrade to Spring HATEOAS 1.2.4
...
Closes gh-25341
4 years ago
Andy Wilkinson
cc35ffbfd9
Upgrade to RxJava2 2.2.21
...
Closes gh-25340
4 years ago
Andy Wilkinson
299134fb14
Upgrade to JUnit 4.13.2
...
Closes gh-25339
4 years ago
Andy Wilkinson
edc7253635
Upgrade to FreeMarker 2.3.31
...
Closes gh-25338
4 years ago
Andy Wilkinson
29d46c86c9
Upgrade to Spring Data Neumann-SR7
...
Closes gh-25282
4 years ago
Andy Wilkinson
0348b57b16
Upgrade to Spring HATEOAS 1.1.4.RELEASE
...
Closes gh-25337
4 years ago
Andy Wilkinson
6ce61c504d
Upgrade to RxJava2 2.2.21
...
Closes gh-25336
4 years ago
Andy Wilkinson
92c82a4f54
Upgrade to JUnit 4.13.2
...
Closes gh-25335
4 years ago
Andy Wilkinson
74b33cce5e
Upgrade to FreeMarker 2.3.31
...
Closes gh-25334
4 years ago
Andy Wilkinson
a91f32d14e
Temporarily work around breaking API change in Spring Data Couchbase
...
See gh-25002
4 years ago
Andy Wilkinson
d922d0f859
Upgrade to Micrometer 1.6.4
...
Closes gh-25291
4 years ago
Andy Wilkinson
43c923b3d5
Upgrade to Micrometer 1.5.11
...
Closes gh-25285
4 years ago
Stephane Nicoll
44d765bd00
Upgrade to Spring Framework 5.3.4
...
Closes gh-24998
4 years ago
Stephane Nicoll
32f6719ec1
Upgrade to Spring Framework 5.2.13
...
Closes gh-25281
4 years ago
Stephane Nicoll
f6b5964258
Merge branch '2.3.x' into 2.4.x
...
Closes gh-25312
4 years ago
Stephane Nicoll
0da7822e27
Update copyright of changed files
...
See gh-25265
4 years ago
melburne
2163c96205
Fix incorrect detection of Amazon Redshift
...
See gh-25265
4 years ago
Andy Wilkinson
0dbf907f73
Merge branch '2.3.x' into 2.4.x
...
Closes gh-25310
4 years ago
Andy Wilkinson
78941c32c4
Polish "Ensure that Flyway/Liquibase run before jOOQ's DSLContext is used"
...
See gh-25279
4 years ago
Eddú Meléndez
c55200d19a
Ensure that Flyway/Liquibase run before jOOQ's DSLContext is used
...
See gh-25279
4 years ago
Andy Wilkinson
b86351d0cf
Merge branch '2.3.x' into 2.4.x
...
Closes gh-25307
4 years ago
Andy Wilkinson
a2adb877ee
Polish "Encourage use of maven-publish plugin in Gradle docs"
...
See gh-25299
4 years ago
Robert Smith
c0a5245a3e
Encourage use of maven-publish plugin in Gradle docs
...
See gh-25299
4 years ago
Andy Wilkinson
29af4b953f
Add dependency management for new hibernate-micrometer module
...
Fixes gh-25277
4 years ago
Andy Wilkinson
c3cdfec9cb
Merge branch '2.3.x' into 2.4.x
...
Closes gh-25305
4 years ago
Andy Wilkinson
f907dc2f58
Add dependency management for new hibernate-micrometer module
...
Fixes gh-25277
4 years ago
Andy Wilkinson
55e3ca66e2
Replace native image system property with call to NativeDetector
...
Closes gh-25303
4 years ago
Stephane Nicoll
dcbc3a29aa
Upgrade to Reactor 2020.0.4
...
Closes gh-25286
4 years ago
Stephane Nicoll
98964990d4
Upgrade to Reactor Dysprosium-SR17
...
Closes gh-25280
4 years ago
Stephane Nicoll
a9ff33f74f
Merge branch '2.3.x' into 2.4.x
...
Closes gh-25297
4 years ago
Stephane Nicoll
569002e917
Polish "Document Kafka Streams metrics support"
...
See gh-25272
4 years ago
izeye
dff4ca2293
Document Kafka Streams metrics support
...
See gh-25272
4 years ago
Stephane Nicoll
3f9f9a4637
Polish "Start building against Spring Data Neumann-SR7 snapshots"
...
See gh-25282
4 years ago
Stephane Nicoll
0bc03c7141
Associate application classloader to auto-configured Hazelcast instance
...
Closes gh-24836
4 years ago
Stephane Nicoll
5576f26115
Start building against Spring Kafka 2.6.6 snapshots
...
See gh-25292
4 years ago
Stephane Nicoll
67e1b64a23
Start building against Micrometer 1.6.4 snapshots
...
See gh-25291
4 years ago
Stephane Nicoll
f8caab121d
Start building against Spring AMQP 2.3.5 snapshots
...
See gh-25290
4 years ago
Stephane Nicoll
8a4f49c30b
Start building against Spring Integration 5.4.4 snapshots
...
See gh-25289
4 years ago
Stephane Nicoll
31a98f90c8
Start building against Reactor 2020.0.4 snapshots
...
See gh-25286
4 years ago
Stephane Nicoll
bab0862fdd
Start building against Micrometer 1.5.11 snapshots
...
See gh-25285
4 years ago
Stephane Nicoll
080bec0b20
Start building against Spring AMQP 2.2.15 snapshots
...
See gh-25284
4 years ago
Stephane Nicoll
1004617d2f
Start building against Spring Integration 5.3.6 snapshots
...
See gh-25283
4 years ago
Stephane Nicoll
f1dda97900
Start building against Spring Data Neumann-SR7 snapshots
...
See gh-25282
4 years ago
Stephane Nicoll
33736e818b
Start building against Spring Framework 5.2.13 snapshots
...
See gh-25281
4 years ago
Stephane Nicoll
2c2fedc156
Start building against Reactor Dysprosium-SR17 snapshots
...
See gh-25280
4 years ago
Stephane Nicoll
61e9d04c68
Update copyright of changes files
...
See gh-25266
4 years ago
izeye
f48893def5
Polish
4 years ago
Stephane Nicoll
3471adcf09
Merge branch '2.3.x' into 2.4.x
4 years ago
Stephane Nicoll
b7f5f5cac0
Polish
...
See gh-25266
4 years ago
Andy Wilkinson
392be57003
Apply Logback system properties and not just common properties to context
...
Closes gh-24894
4 years ago
Andy Wilkinson
5a21395b0b
Upgrade to Undertow 2.2.4.Final
...
Closes gh-25224
4 years ago
Andy Wilkinson
28fc2b1d52
Upgrade to Tomcat 9.0.43
...
Closes gh-25223
4 years ago
Andy Wilkinson
58c823ef22
Upgrade to Spring Session Bom 2020.0.3
...
Closes gh-25222
4 years ago
Andy Wilkinson
51ca7d67ba
Upgrade to Netty 4.1.59.Final
...
Closes gh-25220
4 years ago
Andy Wilkinson
ca24fd1437
Upgrade to MySQL 8.0.23
...
Closes gh-25219
4 years ago
Andy Wilkinson
5dfe3ccc89
Upgrade to MariaDB 2.7.2
...
Closes gh-25218
4 years ago
Andy Wilkinson
d7cc673ac0
Upgrade to Lombok 1.18.18
...
Closes gh-25217
4 years ago
Andy Wilkinson
d50be39bee
Upgrade to JUnit Jupiter 5.7.1
...
Closes gh-25215
4 years ago
Andy Wilkinson
636a99ecd3
Upgrade to jOOQ 3.14.7
...
Closes gh-25214
4 years ago
Andy Wilkinson
d2630151ce
Upgrade to Johnzon 1.2.10
...
Closes gh-25213
4 years ago
Andy Wilkinson
1c2265feac
Upgrade to Jetty 9.4.36.v20210114
...
Closes gh-25212
4 years ago
Andy Wilkinson
1ceba0910b
Upgrade to Jaybird 3.0.10
...
Closes gh-25211
4 years ago
Andy Wilkinson
7d5484e9d1
Upgrade to Janino 3.1.3
...
Closes gh-25210
4 years ago
Andy Wilkinson
d5cb97984f
Upgrade to Infinispan 11.0.9.Final
...
Closes gh-25209
4 years ago
Andy Wilkinson
8f1bda83be
Upgrade to Hibernate 5.4.28.Final
...
Closes gh-25208
4 years ago
Andy Wilkinson
bd24553f7e
Upgrade to Byte Buddy 1.10.20
...
Closes gh-25207
4 years ago
Andy Wilkinson
fc4c101503
Upgrade to AppEngine SDK 1.9.86
...
Closes gh-25206
4 years ago
Andy Wilkinson
1adc4118da
Upgrade to ActiveMQ 5.16.1
...
Closes gh-25205
4 years ago