Commit Graph

21208 Commits

Author SHA1 Message Date
Andy Wilkinson
5e8d533279 Add dependency management for javax.xml.bind:jaxb-api
Closes gh-11205
2018-02-07 12:40:50 +00:00
Stephane Nicoll
f78a55851d Merge pull request #11910 from dreis2211:optimize-applicationhome-unittest-check
* pr/11910:
  Optimize ApplicationHome.isUnitTest()
2018-02-07 12:57:18 +01:00
dreis2211
7108a1fc49 Optimize ApplicationHome.isUnitTest()
Closes gh-11910
2018-02-07 12:57:03 +01:00
Stephane Nicoll
825397bc57 Merge pull request #11922 from jkschneider:micrometer-389
* pr/11922:
  Polish "Add influx property to govern whether db is auto-created or not"
  Add influx property to govern whether db is auto-created or not
2018-02-07 12:55:51 +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
29b29e7d3a Merge pull request #11886 from Vedran Pavić
* gh-11886:
  Polish "Update deployment tests to include Actuator"
  Update deployment tests to include Actuator
2018-02-07 11:52:22 +00:00
Andy Wilkinson
5cb38804b4 Polish "Update deployment tests to include Actuator"
Closes gh-11886
2018-02-07 11:51:31 +00:00
Vedran Pavic
fc9036a3d9 Update deployment tests to include Actuator
See gh-11886
2018-02-07 11:51:22 +00: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
6b70c96e37 Merge pull request #11918 from Jon Schneider
* gh-11918:
  Polish "Align with Micrometer's standardized cache metrics"
  Align with Micrometer's standardized cache metrics
2018-02-06 12:01:45 +00: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
3b6fe5b966 Merge branch '1.5.x' 2018-02-05 19:16:54 +00:00
Andy Wilkinson
debe15b284 Polish 2018-02-05 19:16:45 +00:00
Andy Wilkinson
8b15bbf702 Polish 2018-02-05 16:12:23 +00:00
Andy Wilkinson
5510b5edab Merge pull request #11121 from hanyong
* gh-11121:
  Polish "Support nested jar paths in loader.path"
  Support nested jar paths in loader.path
2018-02-05 16:06:20 +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
Andy Wilkinson
aac88502c8 Reinject mocks when context is dirtied before each method
Closes gh-11903
2018-02-05 10:53:34 +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
b8e220c4f4 Merge pull request #11764 from eddumelendez
* pr/11764:
  Polish 'Add support for multi baseDn;
  Add support for multi baseDn
  Migrate LDAP tests to use ApplicationContextRunner
2018-02-04 10:46:21 -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
Andy Wilkinson
cebe6579d1 Merge branch '1.5.x' 2018-02-02 15:01:35 +00:00
Andy Wilkinson
61cba6402d Merge pull request #11889 from Henrich Kraemer
* gh-11889:
  Polish “Prevent reverse name lookup when configuring Jetty's address”
  Prevent reverse name lookup when configuring Jetty's address
2018-02-02 14:56:12 +00:00
Andy Wilkinson
a1b823fc43 Polish “Prevent reverse name lookup when configuring Jetty's address”
Closes gh-11889
2018-02-02 14:55:57 +00:00
Henrich Kraemer
2066fa7d0b Prevent reverse name lookup when configuring Jetty's address
Previously, the host on Jetty's connector was configured using the
host address of the InetSocketAddress. This could result in reverse
name resolution that could cause Jetty to bind to a different IP
address than was configured.

This commit updates the configuration code to use the host string
when specifically does not perform reverse name resolution.

See gh-11889
2018-02-02 14:44:17 +00:00
Andy Wilkinson
6a7f75a0b8 Merge pull request #11466 from Lukas Eder
* gh-11466:
  Detect jOOQ SQLDialect through jOOQ's JDBCUtils
2018-02-02 13:05:57 +00:00