Stephane Nicoll
a97a762086
Only set mapping resources when present
...
This commit sets a mapping resources list only when there is at least an
element in it. This allows the default fallback of finding an "orm.xml"
file to kick in when no customization has been applied.
Closes gh-11964
2018-02-09 12:01:08 +01:00
Andy Wilkinson
2993dccd1e
Provide links to all types of endpoints
...
Previously, links were only provide to web endpoints. This commit
expands link resolution to also provide links for servlet endpoints,
controller endpoints, and rest controller endpoints.
Closes gh-11902
2018-02-09 10:56:15 +00:00
Phillip Webb
204f6f67fd
Migrate all of metrics to auto-configuration
...
Migrate remaining metrics `@Configuration` classes to individual
auto-configurations.
Fixes gh-11935
2018-02-08 22:39:47 -08:00
Phillip Webb
6f7f11fd96
Refine metrics export auto-configure ordering
...
The `SimpleMetricsExportAutoConfiguration` should be last and it should
check for a `MeterRegistry` bean.
See gh-11838
2018-02-08 19:22:37 -08:00
Phillip Webb
d2418b99ef
Fix checkstyle errors
2018-02-08 17:19:19 -08:00
Phillip Webb
5de46c3186
Polish
2018-02-08 16:35:10 -08:00
Phillip Webb
387804e600
Format with Eclipse Oxygen SR2
2018-02-08 15:44:32 -08:00
Andy Wilkinson
7b32cf82df
Exclude documentation examples from main API Javadoc
2018-02-08 16:50:37 +00:00
Andy Wilkinson
5522174e96
Provide package info for all packages included in javadoc
2018-02-08 16:50:37 +00:00
Andy Wilkinson
dec37ec5e2
Move EndpointMapping into spring-boot-actuator
2018-02-08 15:13:27 +00:00
Stephane Nicoll
0f6a13c9b3
Warn users about the caching implications of @MockBean and @SpyBean
...
Closes gh-10182
2018-02-08 15:03:23 +01:00
Andy Wilkinson
4beb6be179
Rename HTTP trace properties and packages
...
Closes gh-11934
2018-02-08 13:08:27 +00:00
Stephane Nicoll
509b068338
Clarify logging level documentation
...
Closes gh-11949
2018-02-08 13:46:52 +01:00
Andy Wilkinson
a09c64e18c
Polish
2018-02-08 11:15:36 +00:00
Andy Wilkinson
70c613819d
Fix incomplete calls to assertThat
2018-02-08 11:06:54 +00:00
Stephane Nicoll
7cd19822c6
Polish "Add Kafka health indicator"
...
Closes gh-11515
2018-02-08 11:58:42 +01:00
Juan Camilo Rada
0dbd9429cc
Add Kafka health indicator
...
See gh-11515
2018-02-08 11:55:37 +01:00
Andy Wilkinson
76a450dfba
Format with Eclipse Oxygen SR2
2018-02-08 10:53:53 +00:00
Andy Wilkinson
b4f4dd3fdd
Correct location of JDT config files in Gradle plugin
2018-02-08 10:42:50 +00:00
Andy Wilkinson
37f3b1d1e5
Polish
2018-02-08 10:10:34 +00:00
Madhura Bhave
7136bed126
Fix tests
2018-02-07 17:36:44 -08:00
Madhura Bhave
0a446cb962
Refactor Spring Security auto-configuration classes
...
The auto-configuration for a `UserDetailsService` and the web bits
has been split into two.
Closes gh-11915
Fixes gh-11891
2018-02-07 16:12:46 -08:00
Madhura Bhave
761bcffc13
Consider generic information on @Bean method for bind
...
Fixes gh-11931
2018-02-07 13:55:09 -08:00
Madhura Bhave
dd3bcc5691
Polish
2018-02-07 13:55:09 -08:00
Madhura Bhave
7d53c54364
Fallback to Object.class if ResolvableType can't resolve
...
Fixes gh-11908
2018-02-07 13:37:43 -08:00
Andy Wilkinson
efc3f888da
Avoid exception throw-catch for non-MatchableHandlerMapping mappings
...
Closes gh-11912
2018-02-07 17:06:33 +00:00
Andy Wilkinson
b3ed46af5a
Polish
2018-02-07 16:30:03 +00:00
Andy Wilkinson
9a456924e4
Remove - from path-match and content-negotiation properties
...
Closes gh-11913
2018-02-07 15:09:32 +00:00
Michael J. Simons
97a97f3784
Polish
2018-02-07 13:37:10 +00:00
Andy Wilkinson
deb94e7ff7
Upgrade to Flyway 5.0.7
...
Closes gh-11946
2018-02-07 12:46:39 +00:00
Andy Wilkinson
c66aba8c35
Upgrade to Rxjava2 2.1.9
...
Closes gh-11945
2018-02-07 12:46:38 +00:00
Andy Wilkinson
f18ee926a0
Upgrade to Rxjava 1.3.5
...
Closes gh-11944
2018-02-07 12:46:38 +00:00
Andy Wilkinson
b42de610b9
Polish
2018-02-07 12:40:50 +00:00
Andy Wilkinson
5e8d533279
Add dependency management for javax.xml.bind:jaxb-api
...
Closes gh-11205
2018-02-07 12:40:50 +00:00
dreis2211
7108a1fc49
Optimize ApplicationHome.isUnitTest()
...
Closes gh-11910
2018-02-07 12:57:03 +01:00
Stephane Nicoll
63d2e944ba
Polish "Add influx property to govern whether db is auto-created or not"
...
Closes gh-11922
2018-02-07 12:55:20 +01:00
Jon Schneider
9b215df4e9
Add influx property to govern whether db is auto-created or not
2018-02-07 12:55:20 +01:00
Andy Wilkinson
43285fb77c
Document that WRITE_DATES_AS_TIMESTAMPS is disabled by default
...
Closes gh-11898
2018-02-07 11:16:40 +00:00
Andy Wilkinson
8229733f0d
Avoid triggering early init when creating MeterRegistryPostProceesor
...
Closes gh-11890
2018-02-07 11:13:11 +00:00
Andy Wilkinson
f19e0258d6
Upgrade to Hibernate 5.2.13.Final
...
Closes gh-11238
2018-02-07 10:47:58 +00:00
Andy Wilkinson
04083e7571
Link to Gradle plugin docs rather than duplicating build info example
...
Closes gh-11933
2018-02-07 10:14:37 +00:00
Andy Wilkinson
8605499a64
Provide more control over when the health endpoint shows details
...
Closes gh-11869
2018-02-07 09:51:19 +00:00
Andy Wilkinson
1975d51106
Add support for injecting a Principal into web endpoint operations
...
Closes gh-11941
2018-02-07 09:51:10 +00:00
Phillip Webb
d8de8752ea
Change metrics exporters to auto-configurations
...
Refactor `*ExportConfiguration` classes to be regular auto-configuration
classes.
Also removed the `@ConditionalOnProperty` guards for `.enabled` properties
since auto-configuration can now be excluded in the usual way. Enabled
properties remain where applicable and are adapted for Micrometer to use
as it sees fit.
Fixes gh-11838
2018-02-06 17:42:14 -08:00
Phillip Webb
7ea6af0e46
Make AbstractApplicationContextRunner public
...
Fixes gh-11929
2018-02-06 13:28:18 -08:00
Phillip Webb
a631619f63
Allow subpath H2 console matching
...
Fixes gh-11926
2018-02-06 13:25:17 -08:00
Phillip Webb
20ec7a6b52
Polish
2018-02-06 13:22:55 -08:00
Phillip Webb
6889ad59b8
Support property based MeterFilters
...
Add per-meter property support for `enabled`, `percentiles-histogram`,
`percentiles` and `sla`.
Fixes gh-11800
2018-02-06 13:21:27 -08:00
Andy Wilkinson
7d561f5ed0
Polish "Align with Micrometer's standardized cache metrics"
...
Closes gh-11918
2018-02-06 11:13:37 +00:00
Jon Schneider
ba52aa3674
Align with Micrometer's standardized cache metrics
...
See gh-11918
2018-02-06 11:12:58 +00:00