Commit Graph

15127 Commits

Author SHA1 Message Date
Stephane Nicoll d7c20be3e7 Merge pull request #11815 from vpavic:session-bom
* pr/11815:
  Use Spring Session BOM in dependency management
2018-01-29 08:26:01 +01:00
Vedran Pavic df28ee7122 Use Spring Session BOM in dependency management
Closes gh-11815
2018-01-29 08:24:38 +01:00
Stephane Nicoll 3c1f7abbbe Merge pull request #11811 from izeye:polish-20180127-2nd
* pr/11811:
  Polish contribution
  Polish
2018-01-29 08:12:53 +01:00
Stephane Nicoll a515c5b7d1 Polish contribution
Closes gh-11811
2018-01-29 08:12:35 +01:00
Johnny Lim 914bdb393f Polish
See gh-11811
2018-01-29 08:11:09 +01:00
Stephane Nicoll 5332bcbe28 Merge pull request #11818 from dreis2211:mockito-get-single-argument
* pr/11818:
  Use InvocationOnMock.getArgument() where possible
2018-01-29 08:06:33 +01:00
dreis2211 c1675c2d5f Use InvocationOnMock.getArgument() where possible
Closes gh-11818
2018-01-29 08:06:00 +01:00
Stephane Nicoll fac8970366 Merge pull request #11817 from dreis2211:replace-any-with-casts
* pr/11817:
  Replace casted Mockito.any() calls
2018-01-29 08:05:04 +01:00
dreis2211 a7663c88d3 Replace casted Mockito.any() calls
Closes gh-11817
2018-01-29 07:50:29 +01:00
Stephane Nicoll ab02e48c44 Fix security section indents
Closes gh-11813
2018-01-28 09:40:40 +01:00
Phillip Webb 5767350380 Polish 2018-01-26 22:12:07 -08:00
Phillip Webb 53b0f0db60 Fix NPE when normalizing client tag URIs
See gh-11798
2018-01-26 22:12:07 -08: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
Stephane Nicoll 90545fb0c6 Update LocalDevToolsAutoConfiguration to use constructor injection
Closes gh-11769
2018-01-27 05:55:56 +01:00
Stephane Nicoll c533cb28bc Merge pull request #11809 from izeye:parameter-name
* pr/11809:
  Polish contribution
  Fix to assert parameter names in EndpointServlet.withInitParameters()
2018-01-27 05:35:11 +01:00
Stephane Nicoll 6569ed8739 Polish contribution
Closes gh-11809
2018-01-27 05:33:49 +01:00
Johnny Lim a0fb138771 Fix to assert parameter names in EndpointServlet.withInitParameters()
See gh-11809
2018-01-27 05:31:56 +01:00
Stephane Nicoll 6830ad7892 Merge pull request #11805 from izeye:polish-20180127
* pr/11805:
  Polish
2018-01-27 05:22:11 +01:00
Johnny Lim 6d68806275 Polish
Closes gh-11805
2018-01-27 05:22:04 +01:00
Phillip Webb 1d8942941e Normalize micrometer client tag URIs
Update `MetricsClientHttpRequestInterceptor` so that captured URIs
are normalize to always contain a leading slash.

Fixes gh-11798
2018-01-26 20:16:03 -08:00
Jon Schneider b254761c5e Support micrometer Graphite tagsAsPrefix property
Fixes gh-11797
2018-01-26 19:57:48 -08:00
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