Stephane Nicoll
86c1fe529d
Polish
2018-01-30 15:38:31 +01:00
Andy Wilkinson
356efaa7c8
Rename trace to httptrace
...
Closes gh-11806
2018-01-30 12:55:27 +00:00
Stephane Nicoll
3266c68a78
Polish
2018-01-27 06:18:14 +01:00
Stephane Nicoll
5e26d04c05
Only generate time-to-live property for matching endpoints
...
This commit makes sure that a "cache.time-to-live" property is not
generated for endpoints that do not have a main read operation (i.e. a
read operation with no parameter or only nullable parameters).
This matches the endpoint feature that provides caching for only such
operation.
Closes gh-11703
2018-01-27 06:11:01 +01:00
Johnny Lim
6d68806275
Polish
...
Closes gh-11805
2018-01-27 05:22:04 +01:00
Andy Wilkinson
988fc18f8c
Simplify endpoint enablement and update reference documentation
...
Closes gh-11755
2018-01-26 12:12:11 +00:00
Johnny Lim
946593238e
Align missed bits from trace endpoint changes
...
Closes gh-11789
2018-01-26 12:16:04 +01:00
Stephane Nicoll
b67903a04a
Keep "testdb" default datasource name internal
...
Previously, Hikari's pool name was auto-configured with the value of
`spring.datasource.name` that defaults to `testdb`, which brings some
confusion.
This commit removes the default `testdb` value on
`spring.datasource.name` as it is a sane default only for an embedded
datasource. It is applied whenever applicable instead.
Closes gh-11719
2018-01-24 17:41:32 -08:00
Phillip Webb
017efda6ec
Add @EndpointServlet and migrate Jolokia
...
Add first class support for Servlet based endpoints and rework the
Jolokia endpoint to use it.
Fixes gh-10264
2018-01-24 17:06:13 -08:00
Stephane Nicoll
960989cfe6
Polish "Add support for anonymousReadOnly in LdapProperties"
...
Closes gh-11744
2018-01-24 10:21:33 +01:00
Johnny Lim
768e7c07e6
Polish
...
Closes gh-11720
2018-01-22 16:06:45 -08:00
Stephane Nicoll
68cc373daa
Polish
2018-01-20 11:37:39 +01:00
Stephane Nicoll
8704cf1fe7
Harmonize metric property names
...
See gh-11667
2018-01-18 17:21:40 +01:00
Stephane Nicoll
beaa49a2d6
Polish "Add auto-configuration for RabbitMQ metrics"
...
Closes gh-10887
2018-01-18 16:16:26 +01:00
Stephane Nicoll
5cb6c086b6
Rename micrometer instrumentation flags
...
Closes gh-11667
2018-01-18 14:16:40 +01:00
Johnny Lim
e7185ea2b1
Polish
...
Closes gh-11655
2018-01-17 14:16:07 +01:00
Brian Clozel
1e648801bd
Move spring.mvc.media-types to content-negotiation
...
This commit moves "spring.mvc.media-types" to the
"spring.mvc.content-negotiation.*" namespaces introduced in gh-11105.
Closes gh-11636
2018-01-16 11:35:49 +01:00
Brian Clozel
22c22a1ced
Move server.session.* to server.servlet.session.*
...
Closes gh-11589
2018-01-15 17:50:32 +01:00
Stephane Nicoll
199d2e30d7
Polish
2018-01-15 15:15:34 +01:00
Brian Clozel
67e5897c40
Disable suffix pattern matching in Spring MVC
...
This commit disables by default suffix pattern matching in Spring MVC
applications. As described in the Spring MVC documentation (see
https://docs.spring.io/spring/docs/current/spring-framework-reference/web.html#mvc-ann-requestmapping-suffix-pattern-match ),
this is considered as best practice.
This change also introduces new configuration properties to achieve
similar results in a safer way (using query parameters) or to rollback
to the former default.
Closes gh-11105
2018-01-15 11:58:26 +01:00
Johnny Lim
77150f8dc9
Polish
...
Closes gh-11630
2018-01-15 10:20:31 +01:00
Stephane Nicoll
ae3cd75d1a
Polish "Upgrade to Micrometer 1.0.0-rc.6"
...
Closes gh-11598
2018-01-11 18:35:31 +01:00
Andy Wilkinson
2059922735
Make ContextIdApplicationContextInitializer produce unique IDs
...
Closes gh-11023
2018-01-10 12:53:03 +00:00
Stephane Nicoll
df647605af
Merge branch '1.5.x'
2018-01-09 13:28:08 +01:00
Phillip Webb
286a3bb10a
Polish GSON customization support
...
Closes gh-11498
2018-01-08 23:13:46 -08:00
ioann
ba552f1d24
Allow GSON customization via properties or beans
...
Update GSON support to allow customization with either properties or
customize beans.
See gh-11498
2018-01-08 22:37:55 -08:00
Stephane Nicoll
66d58294d5
Merge branch '1.5.x'
2018-01-08 17:46:16 +01:00
Stephane Nicoll
c4db22007c
Polish "Add support for additional Kafka listener properties"
...
Closes gh-11502
2018-01-05 14:35:04 +01:00
Gary Russell
6fcbf80b31
Add support for additional Kafka listener properties
...
See gh-11502
2018-01-05 14:11:34 +01:00
Johnny Lim
37d8eedae3
Polish
...
Closes gh-11510
2018-01-05 10:29:22 +01:00
Stephane Nicoll
0515ca0dd0
Auto configure micrometer cache metrics
...
Closes gh-11221
2018-01-03 15:22:08 +01:00
Johnny Lim
a462255383
Polish
...
Closes gh-11451
2018-01-01 08:41:09 +01:00
Johnny Lim
24b5a78e39
Polish
...
Closes gh-11448
2017-12-30 17:21:13 +01:00
Johnny Lim
8ae2be6043
Fix property names in MeterBindersConfiguration
...
Closes gh-11443
2017-12-29 14:36:56 +01:00
Stephane Nicoll
cfa3cab988
Polish "Improve Spring Data Web configuration properties"
...
Closes gh-11403
2017-12-28 15:22:47 +01:00
Marcel Overdijk
be93eabc6b
Improve Spring Data Web configuration properties
...
See gh-11403
2017-12-28 15:04:23 +01:00
Stephane Nicoll
81af02fde7
Improve JVM metrics
...
This commit adds GC and thread jvm metrics to the existing memory
metrics. All three are now managed by a unique
management.metrics.binders.jvm.enabled property.
Closes gh-11425
2017-12-28 14:57:13 +01:00
Stephane Nicoll
afba8fed79
Harmonize management.server.context-path property
...
This commit moves management.server.context-path to
management.server.servlet.context-path to align with the configuration
key for the application's main context path.
Closes gh-11359
2017-12-28 12:08:51 +01:00
Johnny Lim
3c5ccb1166
Polish
...
Closes gh-11418
2017-12-26 09:47:10 +01:00
Brian Clozel
2fa0539e7f
Support date conversion format for java.time types
...
Prior to this change, the Spring MVC auto-configuration would add a new
formatter to convert `java.util.Date` to/from `String` using the
configured configuration property `spring.mvc.date-format`.
This commit adds a new `WebConversionService` class that registers
date formatters with a custom date format, or register the default ones
if no custom configuration is provided.
This avoids duplicating equivalent formatters in the registry.
With this change, date types from `java.util`, `org.joda.time` and
`java.time` are now all supported.
This commit also replicates this feature for WebFlux applications by
adding a new `spring.webflux.date-format` configuration property.
Closes gh-5523
Closes gh-11402
2017-12-22 16:07:33 +01:00
Stephane Nicoll
2ed162a0be
Fix outdated references to server.context-path
...
Closes gh-11358
2017-12-15 10:24:14 +01:00
Stephane Nicoll
dddf2c0013
Polish "Expose default RabbitMQ credentials in the metadata"
...
Closes gh-6863
2017-12-14 15:41:15 +01:00
Stephane Nicoll
9c7b944e4f
Polish
2017-12-14 15:17:42 +01:00
Stephane Nicoll
a33c3eec3f
Polish "Add InfluxDb health indicator"
...
Closes gh-11159
2017-12-14 15:16:00 +01:00
Stephane Nicoll
ef78cb33b3
Move metrics properties to "management.metrics"
...
Closes gh-11340
2017-12-14 12:27:24 +01:00
Stephane Nicoll
797ad13bfa
Merge branch '1.5.x'
2017-12-14 09:35:50 +01:00
Stephane Nicoll
e5361d887c
Relocate banner properties to spring.banner
...
Closes gh-11339
2017-12-13 12:01:23 +01:00
Johnny Lim
de72f2ae32
Polish
...
Closes gh-11327
2017-12-13 09:38:20 +01:00
Stephane Nicoll
68c8f7bae6
Add support for useRelativeRedirects customization
...
Closes gh-10597
2017-12-12 10:32:58 +01:00
Stephane Nicoll
6a4a0e3f29
Polish "Make RabbitTemplate exchange and routingKey configurable"
...
Closes gh-10978
2017-12-12 09:09:08 +01:00