Commit Graph

3773 Commits

Author SHA1 Message Date
Moritz Halbritter c50172d5c7 Undeprecate 'management.metrics.tags'
Closes gh-38583
2023-12-13 08:26:11 +01:00
Moritz Halbritter 198dbb4a45 Auto-configure observatibility beans in sliced tests
If @AutoConfigureObservability is applied to a sliced test, it
auto-configures:

- An in-memory MeterRegistry
- A no-op Tracer
- An ObservationRegistry

Closes gh-38568
2023-12-12 11:29:43 +01:00
Moritz Halbritter 6330190913 Merge branch '3.1.x'
Closes gh-38728
2023-12-11 09:44:19 +01:00
Yanming Zhou ebfbc0ef05 Cleanup kotlin sources
1. remove unused imports
2. remove redundant semicolon
3. remove empty class body
4. remove redundant 'constructor' keyword
5. remove redundant 'Unit' return type
6. use non-null type if possible

See gh-38708
2023-12-11 09:23:42 +01:00
Moritz Halbritter ad586078a7 Merge branch '3.1.x'
Closes gh-38725
2023-12-11 08:18:43 +01:00
Georg Pirklbauer a8d706f485 Update Dynatrace documentation links
See gh-38706
2023-12-11 08:13:56 +01:00
Arthur Gavlyukovskiy 829bec7602 Update documentation about jetty http2 dependency
See gh-38632
2023-12-04 13:34:29 +01:00
Moritz Halbritter 89a0ac3018 Reword documentation 2023-12-01 14:47:24 +01:00
Moritz Halbritter 4d01d95fbc Merge branch '3.1.x'
Closes gh-38627
2023-12-01 14:45:53 +01:00
Brian Clozel 0321a8a05b Configure ObservationRegistry on JmsListener
Prior to this commit, we set in gh-37388 the ObservationRegistry on the
auto-configured JmsTemplate bean. This enables observations and context
propagation when sending JMS messages.

This commit applies the same to the `DefaultJmsListenerContainerFactory`
and the `DefaultJmsListenerContainerFactoryConfigurer`, in order to
enable observations on `@JmsListener` annotated methods.

This commit also refactors the support implemented in gh-37388 to avoid
relying on a bean post processor and instead set the observation
registry directly in the main auto-configuration: while Micrometer core
is an actuator-only dependency, Micrometer Observation API is a compile
dependnecy for spring-jms itself and there is no need to separate
concerns there.

Fixes gh-38613
2023-12-01 09:36:00 +01:00
Moritz Halbritter 903f85cd50 Merge branch '3.1.x'
Closes gh-38586
2023-11-28 13:17:42 +01:00
Alex Serbin 23816d6015 Fix Observation Filter docs
`WebMvcMetricsFilter` no longer exists since 3.0 and should be
replaced with `ServerHttpObservationFilter`

See gh-38570
2023-11-28 13:16:25 +01:00
Moritz Halbritter 34018b1982 Reinstate testAndDevelopmentOnly in Testcontainers documentation
Closes gh-38571
2023-11-28 11:13:59 +01:00
Johnny Lim f9f73aa146 Polish
See gh-38508
2023-11-23 09:39:01 +01:00
Moritz Halbritter f613ab89b9 Auto-configure observations for RestClients
Closes gh-38500
2023-11-23 09:28:09 +01:00
Moritz Halbritter 2323c7a838 Merge branch '3.1.x'
Closes gh-38496
2023-11-22 11:15:33 +01:00
Moritz Halbritter 74239ad689 Merge branch '3.0.x' into 3.1.x
Closes gh-38495
2023-11-22 11:15:20 +01:00
Moritz Halbritter 48e06af7ec Merge branch '2.7.x' into 3.0.x
Closes gh-38494
2023-11-22 11:15:07 +01:00
Moritz Halbritter 0171ed205c Polish "Document comments in SQL for database initialization"
See gh-38385
2023-11-22 11:14:13 +01:00
penekhun 578d0436e0 Document comments in SQL for database initialization
See gh-38385
2023-11-22 11:10:14 +01:00
Johnny Lim 175b6473c7 Polish
See gh-38389
2023-11-22 10:16:19 +01:00
Georg Pirklbauer 969e142c34 Update Dynatrace docs with info about the meter metadata toggle
See gh-38368
2023-11-22 10:14:25 +01:00
Scott Frederick d433deb737 Merge branch '3.0.x' into 3.1.x
Closes gh-38485
2023-11-21 17:30:54 -06:00
Scott Frederick dabcebf8a3 Merge branch '2.7.x' into 3.0.x
Closes gh-38484
2023-11-21 17:30:07 -06:00
Phillip Webb 6c3dec42e0 Add container support for Oracle Free which replaces Oracle XE
Update Docker Compose and Testcontainers support to work with
`gvenzl/oracle-free` which replaces `gvenzl/oracle-xe`.

Closes gh-38476
2023-11-21 11:51:59 -08:00
Phillip Webb 84ddeea1a4 Merge branch '3.1.x'
Closes gh-38425
2023-11-20 20:35:40 -08:00
Phillip Webb 092428e752 Merge branch '3.0.x' into 3.1.x
Closes gh-38424
2023-11-20 20:35:31 -08:00
Jonatan Ivanov d5c22b9f5a Update access log pattern to align with Tomcat 10
As of Tomcat 10 "%D" changed to mean microseconds instead of
milliseconds.

See gh-38403
2023-11-20 20:34:48 -08:00
Moritz Halbritter d6f67b02f7 Clarify which tracing components are disabled when using tracing in tests
See gh-33975
2023-11-15 09:13:15 +01:00
Moritz Halbritter 328261337e Merge branch '3.1.x'
Closes gh-38362
2023-11-15 09:07:09 +01:00
Moritz Halbritter 9c1c18c2b9 Document that tracing is disabled in tests in the "Tracing" section
Closes gh-33975
2023-11-15 09:06:39 +01:00
Moritz Halbritter ed7cf1043e Merge branch '3.1.x'
Closes gh-38353
2023-11-14 16:29:59 +01:00
Moritz Halbritter 83da5a5bd8 Document how to remove base path from Cloud Foundry actuator endpoints
Closes gh-24991
2023-11-14 16:29:28 +01:00
Sébastien Deleuze e88bab69f6 Document Liberica JDK with CRaC
See gh-38350
2023-11-14 13:25:30 +01:00
Phillip Webb 0ef87f5102 Merge branch '3.1.x' 2023-11-13 10:42:56 -08:00
Phillip Webb b902bf6aca Merge branch '3.0.x' into 3.1.x 2023-11-13 10:42:32 -08:00
Phillip Webb 09e5a2f24a Update copyright year of changed files 2023-11-13 10:42:26 -08:00
Phillip Webb 1a487d5cad Merge branch '3.1.x' 2023-11-13 09:27:56 -08:00
Phillip Webb 211e8c004a Merge branch '3.0.x' into 3.1.x 2023-11-13 09:27:45 -08:00
Phillip Webb 2cabcbc8fa Polish adoc formatting 2023-11-13 09:27:15 -08:00
Moritz Halbritter 4d21760fd6 Merge branch '3.1.x'
Closes gh-38341
2023-11-13 12:08:57 +01:00
Moritz Halbritter 4a6762a356 Merge branch '3.0.x' into 3.1.x
Closes gh-38340
2023-11-13 12:08:48 +01:00
Moritz Halbritter ba998302bd Polish "Add a Restarting a stopped or failed Job section to the batch howto"
See gh-38326
2023-11-13 12:08:06 +01:00
Lars Uffmann 00ce9aab00 Add a Restarting a stopped or failed Job section to the batch howto
See gh-38326
2023-11-13 12:06:01 +01:00
Moritz Halbritter 18ad246219 Merge branch '3.1.x' 2023-11-13 11:44:13 +01:00
Moritz Halbritter 2776047438 Reinstate accidentally removed sentence
See gh-35629
2023-11-13 11:44:05 +01:00
Moritz Halbritter 580d569ed0 Merge branch '3.1.x'
Closes gh-38337
2023-11-13 11:40:51 +01:00
Moritz Halbritter 9334840f18 Reverse the tip for importing testcontainers declarations
They now use `@ServiceConnection` by default.

Closes gh-35629
2023-11-13 11:40:30 +01:00
Moritz Halbritter 260a0b65c9 Merge branch '3.1.x'
Closes gh-38336
2023-11-13 11:25:00 +01:00
Moritz Halbritter 5a3e588da4 Create a separate section for testcontainers at development time
Closes gh-35856
2023-11-13 11:16:59 +01:00
Moritz Halbritter fc25d190b8 Merge branch '3.1.x'
Closes gh-38335
2023-11-13 10:36:46 +01:00
Moritz Halbritter e5326e18fc Document when and why to use the name attribute of ServiceConnection
Closes gh-36071
2023-11-13 10:36:30 +01:00
Moritz Halbritter c8461eae0b Merge branch '3.1.x'
Closes gh-38334
2023-11-13 09:08:04 +01:00
Moritz Halbritter 27da93525e Merge branch '3.0.x' into 3.1.x
Closes gh-38333
2023-11-13 09:07:54 +01:00
Moritz Halbritter 1022e1bdd2 Merge branch '2.7.x' into 3.0.x
Closes gh-38332
2023-11-13 09:07:43 +01:00
Christoph Dreis af0df78bd0 Fix link to Elasticsearch health indicator
See gh-38330
2023-11-13 09:04:06 +01:00
Moritz Halbritter 7e79d1f3c7 Merge branch '3.1.x'
Closes gh-38289
2023-11-10 11:25:38 +01:00
Moritz Halbritter eaaf977331 Merge branch '3.0.x' into 3.1.x
Closes gh-38288
2023-11-10 11:19:27 +01:00
Moritz Halbritter 40063ee1f9 Update Spring Security links 2023-11-10 11:01:23 +01:00
Moritz Halbritter d29f7a88b4 Update Spring Framework links
Closes gh-36241
2023-11-10 10:47:54 +01:00
Moritz Halbritter 8ac2e3e38f Fix broken link to Spring Data Envers
As of version 3.0, this project has been merged into Spring Data JPA.
2023-11-10 08:53:09 +01:00
Phillip Webb 897ba513fe Merge branch '3.1.x'
Closes gh-38272
2023-11-08 12:54:46 -08:00
Phillip Webb 445d0a22db Merge branch '3.0.x' into 3.1.x
Closes gh-38271
2023-11-08 12:54:38 -08:00
Phillip Webb 45e9804495 Merge branch '2.7.x' into 3.0.x
Closes gh-38270
2023-11-08 12:54:28 -08:00
Phillip Webb 61dbf45628 Fix package declaration of sample in reference docs
Update the "Developing Your First Spring Boot Application" sample so
that the package is not removed.

Closes gh-34513
2023-11-08 12:53:23 -08:00
Moritz Halbritter dbe882aced Merge branch '3.1.x'
Closes gh-38231
2023-11-06 12:11:25 +01:00
Moritz Halbritter f381a9c69d Merge branch '3.0.x' into 3.1.x
Closes gh-38230
2023-11-06 12:11:17 +01:00
Moritz Halbritter 0d5a658932 Merge branch '2.7.x' into 3.0.x
Closes gh-38229
2023-11-06 12:11:07 +01:00
Moritz Halbritter 6c5cb57afd Document how to populate test data using Flyway and Liquibase
Closes gh-26796
2023-11-06 12:07:49 +01:00
Moritz Halbritter d59b385304 Merge branch '3.1.x'
Closes gh-38226
2023-11-06 10:27:50 +01:00
Moritz Halbritter 3560a13d57 Merge branch '3.0.x' into 3.1.x
Closes gh-38225
2023-11-06 10:27:42 +01:00
Yanming Zhou d7ab153559 Use switch expression where feasible
See gh-38217
2023-11-06 10:27:04 +01:00
Phillip Webb 4bc63b579a Merge branch '3.1.x'
Closes gh-38215
2023-11-05 13:37:02 -08:00
Phillip Webb f6910bae16 Document that PEM content can be used directly in application.yaml
Closes gh-38210
2023-11-05 13:36:38 -08:00
Phillip Webb 9ba46f538b Polish 2023-11-02 14:24:05 -07:00
Phillip Webb 77218a644e Merge branch '3.1.x' 2023-11-02 14:16:37 -07:00
Phillip Webb afa4d274c2 Merge branch '3.0.x' into 3.1.x 2023-11-02 14:14:19 -07:00
Phillip Webb 8d53caa1c6 Merge branch '2.7.x' into 3.0.x 2023-11-02 14:13:47 -07:00
Phillip Webb e891a3e24c Polish adoc formatting 2023-11-02 14:12:56 -07:00
Andy Wilkinson 5de0f82f64 Merge branch '3.1.x'
Closes gh-38149
2023-10-31 11:33:58 +00:00
Andy Wilkinson cbcde9107b Merge branch '3.0.x' into 3.1.x
Closes gh-38148
2023-10-31 11:33:05 +00:00
Andy Wilkinson cb18d87ac9 Merge branch '2.7.x' into 3.0.x
Closes gh-38147
2023-10-31 11:30:09 +00:00
Andy Wilkinson 747291c0b7 Clarify docs on when application.* banner properties will work
Closes gh-33489
2023-10-31 11:28:17 +00:00
Moritz Halbritter bdc5c05a83 Merge branch '3.1.x'
Closes gh-38145
2023-10-31 11:21:56 +01:00
Moritz Halbritter 87d6d518c4 Explain what happens if docker compose is already running
Closes gh-36483
2023-10-31 11:21:48 +01:00
Andy Wilkinson aa16c2aa5b Merge branch '3.1.x'
Closes gh-38117
2023-10-30 12:07:37 +00:00
Andy Wilkinson f6b6f7aa5a Merge branch '3.0.x' into 3.1.x
Closes gh-38116
2023-10-30 12:07:26 +00:00
Andy Wilkinson 9aae29b60b Merge branch '2.7.x' into 3.0.x
Closes gh-38115
2023-10-30 12:07:09 +00:00
Andy Wilkinson c999d987a9 Improve systemd configuration documentation
Closes gh-28453
2023-10-30 12:06:04 +00:00
Andy Wilkinson 97c2311dee Merge branch '3.1.x'
Closes gh-38114
2023-10-30 11:14:01 +00:00
Andy Wilkinson 3be8475089 Merge branch '3.0.x' into 3.1.x
Closes gh-38113
2023-10-30 11:13:43 +00:00
Andy Wilkinson aaa26c90a8 Merge branch '2.7.x' into 3.0.x
Closes gh-38112
2023-10-30 11:13:25 +00:00
Andy Wilkinson f78dcac56f Clarify that @AutoConfigureWebTestClient uses mock infrastructure
Closes gh-29890
2023-10-30 11:13:03 +00:00
Moritz Halbritter da078d11bb Merge branch '3.1.x'
Closes gh-38111
2023-10-30 10:09:10 +01:00
Moritz Halbritter d84808e436 Merge branch '3.0.x' into 3.1.x
Closes gh-38110
2023-10-30 10:09:00 +01:00
Moritz Halbritter 633ce644e2 Merge branch '2.7.x' into 3.0.x
Closes gh-38109
2023-10-30 10:08:48 +01:00
Moritz Halbritter 0d8ea44f5b Fix MyErrorWebExceptionHandler in documentation
Closes gh-38104
2023-10-30 10:07:49 +01:00
Moritz Halbritter 4ac654717a Merge branch '3.1.x'
Closes gh-38108
2023-10-30 09:21:55 +01:00
Moritz Halbritter b5dab09142 Merge branch '3.0.x' into 3.1.x
Closes gh-38107
2023-10-30 09:21:47 +01:00
Moritz Halbritter 57ddb20cc9 Clarify that Spring AOT imposes further restrictions
Closes gh-35032
2023-10-30 09:14:57 +01:00