Commit Graph

1196 Commits

Author SHA1 Message Date
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
Andy Wilkinson
8b15bbf702 Polish 2018-02-05 16:12:23 +00:00
Andy Wilkinson
76ed52c2f5 Polish "Support nested jar paths in loader.path"
Closes gh-11121
2018-02-05 16:06:07 +00:00
hanyong
9eb8e3d4e3 Support nested jar paths in loader.path
See gh-11121
2018-02-05 16:04:03 +00:00
Andy Wilkinson
886f782b20 Merge branch '1.5.x' 2018-02-05 11:04:48 +00:00
Phillip Webb
eab1705351 Restore EmbeddedLdapAutoConfiguration condition
Restore a `@Condition` guard to `EmbeddedLdapAutoConfiguration`.

See gh-11764
2018-02-04 19:39:55 -08:00
Phillip Webb
eab0b84a80 Polish 'Add support for multi baseDn;
Update multi baseDn support to use the recently introduced
`@Delimter` annotation

Closes gh-11764
2018-02-04 10:43:26 -08:00
Eddú Meléndez
270dc2cd72 Add support for multi baseDn
Update LDAP properties and auto-configuration to support multiple
base DN values.

See gh-11764
2018-02-04 10:41:57 -08:00
Eddú Meléndez
44ad630de3 Migrate LDAP tests to use ApplicationContextRunner 2018-02-04 10:41:23 -08:00
Madhura Bhave
d0a2613241 Document CF actuator limitation if context-path changes
Closes gh-9081
2018-02-03 13:32:30 -08:00
Phillip Webb
b5c4ce230d Ensure full commit id is always available
Update `GitProperties` so that the `commit.id` entry is also copied to
`commit.id.full`.

Prior to this commit, when returning full details, the value of
`commit.id` would be replaced with a `Map` containing only `abbriv` as
a key. By  copying the value to a sub-key we ensure that it remains
available both in the FULL and SIMPLE modes.

Fixes gh-11892
2018-02-02 19:00:35 -08:00
Phillip Webb
16b7dbf487 Only use Map converter binding when no descendants
Update `MapBinder` to only attempt conversion based binding when there
are no know descendant elements.

See gh-11892
2018-02-02 19:00:35 -08:00
Phillip Webb
d6ae4e48d8 Add support for @Delimiter binding
Add a new `@Delimiter` annotation that can be used to change how a
String value is bound to a Collection.

Fixes gh-11883
2018-02-02 19:00:34 -08:00
Phillip Webb
f24c92c658 Workaround ResolvableType.forClassWithGenerics bug
Temporarily work around SPR-16456
2018-02-02 18:59:06 -08:00
Phillip Webb
60d525e732 Polish IndexedElementsBinder 2018-02-02 18:59:06 -08:00
Phillip Webb
69234f8c08 Polish 2018-02-02 18:59:05 -08:00
Andy Wilkinson
2cc7325017 Polish 2018-02-02 20:51:14 +00:00
Madhura Bhave
49a72b007b Bind to map with numeric key without needing []
Closes gh-10751
2018-02-02 09:48:04 -08:00