Commit Graph

15255 Commits

Author SHA1 Message Date
Phillip Webb a3c6e72ec6 Merge pull request #11348 from GreyTeardrop
* pr/11348:
  Polish MetricsFilter registration async support
  Fix MetricsFilter registration to support async
2018-01-26 19:51:04 -08:00
Phillip Webb 0b689a5b10 Polish MetricsFilter registration async support
Closes gh-11348
2018-01-26 19:51:03 -08:00
Nikolay Rybak b6af06a55f Fix MetricsFilter registration to support async
Update `WebMvcMetricsConfiguration` so that the filter is registered
with the correct settings to support async requests.

See gh-11348
2018-01-26 19:51:03 -08:00
Phillip Webb 25815ca7e1 Refine WebMvcMetricsFilter for async support
Rework `WebMvcMetricsFilter` so that async requests can be handled
correctly.

See gh-11348
2018-01-26 19:51:02 -08:00
Jon Schneider 112ffd7890 Cleanup URLs before using them for metrics
Update `WebMvcTags` to cleanup URLs by removing any double
slashes and any trailing slash.

Fixes gh-11808
2018-01-26 19:40:57 -08:00
Phillip Webb 1da0f2c6b0 Remove FIXME
See gh-11807
2018-01-26 14:44:49 -08:00
Phillip Webb 643cda480f Migrate to updated micrometer Tags class
See gh-11575
2018-01-26 14:42:38 -08:00
Jon Schneider fd237f85cc Extract common micrometer test setup
Create `MetricsRun` that can be used to apply common micrometer test
configuration to a `ApplicationContextRunner`.

Closes gh-11804
2018-01-26 14:42:22 -08:00
Jon Schneider d1de1cd053 Upgrade to micrometer 1.0.0-SNAPSHOT
Move to the snapshots and rework changed APIs in preparation for
the upcoming rc8 release.

See gh-11575
2018-01-26 11:40:37 -08:00
Phillip Webb b234501af3 Polish 2018-01-26 11:39:41 -08:00
Stephane Nicoll 62d9d0fd29 Merge pull request #11792 from izeye:polish-20180226
* pr/11792:
  Polish
2018-01-26 18:20:00 +01:00
Johnny Lim a46e047c5d Polish
Closes gh-11792
2018-01-26 18:19:44 +01:00
Andy Wilkinson aa36288cee Merge pull request #10653 from Kim Rudolph
* gh-10653:
  Migrate spring-boot-sample-web-ui to Bootstrap v4
2018-01-26 17:17:20 +00:00
Kim Rudolph fd1a7ba77c Migrate spring-boot-sample-web-ui to Bootstrap v4
Closes gh-10653
2018-01-26 17:17:10 +00:00
Andy Wilkinson 498f66fcdc Test the Gradle plugin against Gradle 4.5
Closes gh-11768
2018-01-26 15:55:25 +00:00
Andy Wilkinson 82d41c1e83 Reinstate information about web endpoints' default URL mapping
Closes gh-11755
2018-01-26 15:41:13 +00:00
Andy Wilkinson bb13d71eb0 Merge pull request #11784 from Igor Suhorukov
* gh-11784:
  Polish "Mark thread as interrupted after catching InterruptedException"
  Mark thread as interrupted after catching InterruptedException
2018-01-26 15:27:38 +00:00
Andy Wilkinson 92138e4c32 Polish "Mark thread as interrupted after catching InterruptedException"
See gh-11784
2018-01-26 15:27:09 +00:00
igor-suhorukov 0c30c969bf Mark thread as interrupted after catching InterruptedException
Closes gh-11784
2018-01-26 15:27:09 +00:00
Andy Wilkinson d1dc8cb72a Merge pull request #11751 from Dominic Gunn
* gh-11751:
  Polish "Use custom DataSource if Flyway or Liquibase has user or url"
  Use custom DataSource if Flyway or Liquibase has user or url
2018-01-26 14:51:46 +00:00
Andy Wilkinson 192fe929c7 Polish "Use custom DataSource if Flyway or Liquibase has user or url"
Closes gh-11751
2018-01-26 14:51:43 +00:00
Dominic Gunn 5d3cd23eed Use custom DataSource if Flyway or Liquibase has user or url
This commit enables a more flexible Liquibase/Flyway configuration by
allowing for a combination of the provider's and the primary
DataSource's configuration to be used. This gives developers the
flexibility to specify only a user or a url and having
Liquibase/Flyway fall back to individual datasource properties rather
than ignoring the Liquibase/Flyway properties and falling back to the
default data source.

See gh-11751
2018-01-26 14:51:43 +00:00
Stephane Nicoll 24ec441718 Merge pull request #11772 from qinnnyul:master
* pr/11772:
  Polish "Migrate server customizer to PropertyMapper"
  Migrate server customizer to PropertyMapper
2018-01-26 13:48:34 +01:00
Stephane Nicoll 1c195f5b9a Polish "Migrate server customizer to PropertyMapper"
Closes gh-11772
2018-01-26 13:48:07 +01:00
yulin 19542b975f Migrate server customizer to PropertyMapper
See gh-11772
2018-01-26 13:48:07 +01:00
Andy Wilkinson 988fc18f8c Simplify endpoint enablement and update reference documentation
Closes gh-11755
2018-01-26 12:12:11 +00:00
Stephane Nicoll 1880a25cfb Polish
Closes gh-11788
2018-01-26 12:31:30 +01:00
Stephane Nicoll c8c6e0f195 Merge pull request #11789 from izeye:trace-endpoint
* pr/11789:
  Align missed bits from trace endpoint changes
2018-01-26 12:16:33 +01:00
Johnny Lim 946593238e Align missed bits from trace endpoint changes
Closes gh-11789
2018-01-26 12:16:04 +01:00
Stephane Nicoll cacc3a0b2b Upgrade to Spring Session 2.0.1.RELEASE
See gh-11537
2018-01-26 11:29:03 +01:00
Stephane Nicoll b00ce08148 Merge pull request #11773 from htynkn:chore/apply-property-mapper-to-webServerFactoryCustomizer
* pr/11773:
  Polish "Use PropertyMapper to configure WebServerFactory"
  Use PropertyMapper to configure WebServerFactory
2018-01-26 11:19:30 +01:00
Stephane Nicoll 98c667c2d5 Polish "Use PropertyMapper to configure WebServerFactory"
Closes gh-11773
2018-01-26 11:19:03 +01:00
Huang YunKun 7d4e558f8e Use PropertyMapper to configure WebServerFactory
See gh-11773
2018-01-26 11:08:23 +01:00
Stephane Nicoll 584985c7fa Polish 2018-01-26 11:06:11 +01:00
Stephane Nicoll e95cda10ee Add whenInstanceOf to PropertyMapper
Add an operation on PropertyMapper that takes care of casting. Returns
a source for the requested type if the current value is of the right
type.

Closes gh-11788
2018-01-26 11:05:13 +01:00
Madhura Bhave 3a95a7531a UserDetailsService not created when OAuth configured
Fixes gh-10531
2018-01-26 15:10:21 +05:30
Stephane Nicoll 777cbe3c54 Merge pull request #11783 from rajadilipkolli:patch-2
* pr/11783:
  Polish contribution
  Polish
2018-01-26 10:04:29 +01:00
Stephane Nicoll 3f1aaa1f7e Polish contribution
Closes gh-11783
2018-01-26 10:03:47 +01:00
Raja Kolli 64c324612e Polish
See gh-11783
2018-01-26 09:52:52 +01:00
Stephane Nicoll fe7d7e2fc9 Polish 2018-01-26 09:51:54 +01:00
Stephane Nicoll d26c4bd10c Merge pull request #11785 from izeye:unused-parameters
* pr/11785:
  Remove unused parameters
2018-01-26 09:30:44 +01:00
Johnny Lim 15fb62718d Remove unused parameters
Closes gh-11785
2018-01-26 09:30:02 +01:00
Andy Wilkinson cffafe31ba Determine parent ClassLoader in CLI in a more robust manner
Closes gh-11745
2018-01-25 21:24:59 +00:00
Phillip Webb adfb6dc128 Polish 2018-01-25 13:20:29 -08:00
Stephane Nicoll 12065a425f Merge pull request #11775 from rajadilipkolli:patch-1
* pr/11775:
  Upgrade to Maven Checkstyle Plugin 3.0.0
2018-01-25 21:17:08 +01:00
Raja Kolli f9f9e84f96 Upgrade to Maven Checkstyle Plugin 3.0.0
Closes gh-11775
2018-01-25 21:16:35 +01:00
Andy Wilkinson 0679d4369c Use uninstall to remove SL4FJBridgeHandler
Closes gh-8933
2018-01-25 16:17:06 +00:00
Andy Wilkinson 85d4647bda Downgrade to Groovy 2.4.13
There's an extra ClassLoader in the hierarchy of the TCCL in Groovy
2.4 vs Groovy 2.5 so we require an extra getParent() call to avoid
being able to load classes that are visible to the launched URL
class loader.

Closes gh-11745
2018-01-25 15:55:33 +00:00
Andy Wilkinson 3565961d68 Rework HTTP exchange tracing and add support for WebFlux
Closes gh-9980
2018-01-25 13:27:07 +00:00
Andy Wilkinson 11064b5d78 List valid values in failure analysis for enum binding failure
Closes gh-11771
2018-01-25 13:26:43 +00:00