Commit Graph

18987 Commits (1a0d53dec00af3878c6eec769899cf288bffd131)
 

Author SHA1 Message Date
artsiom ccb964e886 Drop support for "all" from management.metrics.distribution.sla
See gh-14684
6 years ago
Andy Wilkinson ef7c2bc6ea Merge branch '2.0.x' 6 years ago
Andy Wilkinson e7f100d5d7 Improve test coverage of PropertiesMeterFilter
Closes gh-14689
6 years ago
Stephane Nicoll 5d2828c74e Merge branch '2.0.x' 6 years ago
Stephane Nicoll 171f78a9ce Merge pull request #14688 from dreis2211
* pr/14688:
  Fix BeansEndpoint typo in readme
6 years ago
dreis2211 42a6c36716 Fix BeansEndpoint typo in readme
Closes gh-14688
6 years ago
Phillip Webb 486a06349c Merge pull request #13377 from ruifigueira
* pr/13377:
  Polish "Add ReloadableResourceBundleMessageSource support"
  Add ReloadableResourceBundleMessageSource support
6 years ago
Phillip Webb 11ac9bf6b5 Polish "Add ReloadableResourceBundleMessageSource support"
See gh-13377
6 years ago
Phillip Webb 8b59503291 Validate server.servlet.path does not contain '*'
Update `WebMvcProperties` to enforce that `server.servlet.path` never
contains a wildcard ['*'] character.

Closes gh-13292
6 years ago
Rui Figueira 22abe35f95 Add ReloadableResourceBundleMessageSource support
Add a `spring.messages.reloadable` configuration property which can be
used to auto-configure a `ReloadableResourceBundleMessageSource` rather
than a `ResourceBundleMessageSource`.

Closes gh-13377
6 years ago
Phillip Webb 6baaa3df77 Use ResourceLoader.getClassLoader() for factories
Update `SpringApplication` to load and initialize `spring.factories`
classes using the `ResourceLoader.getClassLoader()`.

Closes gh-14641
6 years ago
Madhura Bhave daa3d457b7 Revert OAuth2 Client Registration Grant Type Hierarchy
Closes gh-14554
6 years ago
Phillip Webb 546bd89f2e Merge branch '2.0.x' 6 years ago
Phillip Webb 2b6bdfe277 Fix Reactive...Context NPE
Fix possible NPE in `ReactiveWebServerApplicationContext`.

See gh-14666
6 years ago
Andy Wilkinson 0370aa60f0 Merge pull request #14680 from JB Nizet
* gh-14680:
  Polish "Refactor Gradle plugin tests to use runner's plugin classpath"
  Refactor Gradle plugin tests to use runner's plugin classpath
6 years ago
Andy Wilkinson 8c6910cf58 Polish "Refactor Gradle plugin tests to use runner's plugin classpath"
This commit removes the need for the Kotlin plugin tests to continue
to set the plugin classpath in each test build script. This is
achieved by adding the jars files containing the Kotlin plugin and
its dependencies to the runner's plugin classpath in the same way as
was already done for the dependency management plugin.

Closes gh-14680
6 years ago
jnizet c51449585e Refactor Gradle plugin tests to use runner's plugin classpath
Previously, each test build script used a property to configure its
classpath. This commit simplifies the tests by setting the classpath
once on the GradleRunner, thereby removing the need for it to be set in
each test script. It also allows, and, in fact, requires, the use of
the plugins block to apply the Boot plugin under test.

Unfortunately, this doesn't work for the tests for the reaction to the
Kotlin plugin. See the comments in the GradleBuild class and in each
KotlingPluginActionIntegrationTests build script.

See gh-14680
6 years ago
Stephane Nicoll 7e3bee35d7 Merge branch '2.0.x' 6 years ago
Stephane Nicoll 1774a282b0 Merge pull request #14583 from ayudovin
* pr/14583:
  Polish "Make sure cache busting works with error pages"
  Make sure cache busting works with error pages
6 years ago
Stephane Nicoll 6cc272ecf5 Polish "Make sure cache busting works with error pages"
Closes gh-14583
6 years ago
artsiom 64f04fceea Make sure cache busting works with error pages
See gh-14583
6 years ago
Phillip Webb 3e25996405 Merge branch '2.0.x' 6 years ago
Phillip Webb 8c896d9376 Improve Reactive...Context thread safety
Refactor `ReactiveWebServerApplicationContext` to improve thread safety
by using a single manager object rather than then trying to synchronize
the `WebServer` and `HttpHandler`.

Closes gh-14666
6 years ago
Andy Wilkinson 76849c12e5 Merge branch '2.0.x' 6 years ago
Andy Wilkinson cf24d18139 Explicity set permissions on files in lib of Boot distribution
Previously, only the permissions for the scripts in bin/ were set. The
permissions for the files in lib/ were not explicity set, leaving them
with the same permissions as the source files in Gradle's cache. This
has proven to be a little brittle when building in certain
environments, leading to test failures. It also assumes that the
file permissions in Gradle's cache will be appropriate for entries in
a distribution archive. That may not always be a reasonable assumption
to make.

To avoid the above-described problems, this commit updates the copy
spec that's used to add files to lib/ in the archive so that each
file uses 0644 for its permissions.

Closes gh-14158
6 years ago
Andy Wilkinson 069e7f3881 Merge pull request #14519 from Andreas Gebhardt
* gh-14519:
  Polish "Log a warning when using fallback for pid and log locations"
  Log a warning when using fallback for pid and log locations
6 years ago
Andy Wilkinson 4a222cb4e5 Polish "Log a warning when using fallback for pid and log locations"
Closes gh-14519
6 years ago
Andreas Gebhardt 3f894cbeeb Log a warning when using fallback for pid and log locations
See gh-14519
6 years ago
Stephane Nicoll 5d0e812afe Merge branch '2.0.x' 6 years ago
Stephane Nicoll 1b10d3fcbf Fix missing metadata for nested POJO
This commit fixes missing descriptions and default values when
applicable for `management.server.ssl`, `server.compression`,
`server.http2`, `server.servlet.jsp`, `server.servlet.session` and
`server.ssl`.

Those nested namespace are managed by a POJO that is declared outside
of the module of the target @ConfigurationProperties type using it. As
a result, the annotation processor has no access to the source model and
can't extract the description and the default value, if any.

This commit migrates the misleading field-level Javadoc to manual meta
data for the time being.

Closes gh-14669
6 years ago
Stephane Nicoll d445ed7560 Merge branch '2.0.x' 6 years ago
Stephane Nicoll a2203268f9 Merge pull request #14681 from rweisleder
* pr/14681:
  Clarify Javadoc of ConditionalOn annotations
6 years ago
Roland Weisleder d2a063b26a Clarify Javadoc of ConditionalOn annotations
Closes gh-14681
6 years ago
Andy Wilkinson da7daece08 Tolerate Integer values for port properties
Closes gh-14682
6 years ago
Andy Wilkinson b473f2996d Polish 6 years ago
Andy Wilkinson b4638b82d0 Prevent ApplicationListener that depends on EMF from creating a cycle
Previously, when an EntityManagerFactory was being initialized
synchronously, the DataSourceSchemaCreatedEvent would be published
during its initialization. This meant that an application listener that
depends on the EntityManagerFactory would create a dependency cycle if
it was a potential recipient of the event.

For the synchronous case, this commit moves the publication of the
event so that it occurs after the initialisation of the entity manager
factory. This allows an application listener that is a potential
recipient of the DataSourceSchemaCreatedEvent to depend on the
EntityManagerFactory without creating a cycle.

Closes gh-14651
6 years ago
Andy Wilkinson 7cbee701cd Allow user-provided ExecuteListenerProvider to go after Boot's
Closes gh-14598
6 years ago
Brian Clozel 7e4b22d25e Upgrade to Spring Framework 5.1.1 SNAPSHOTs
See gh-14677
6 years ago
Stephane Nicoll 00e122c7ec Merge branch '2.0.x' 6 years ago
Stephane Nicoll b4c5aea152 Fix detection of WebApplicationType with context class
Closes gh-14589
6 years ago
Stephane Nicoll a20046f8a3 Merge pull request #14667 from izeye
* pr/14667:
  Polish contribution
  Polish
6 years ago
Stephane Nicoll 0eae32371f Polish contribution
Closes gh-14667
6 years ago
Johnny Lim 335775892b Polish
See gh-14667
6 years ago
Stephane Nicoll b4a8ad06de Merge branch '2.0.x' 6 years ago
Stephane Nicoll 73e6a39b44 Merge pull request #14670 from jvalkeal
* pr/14670:
  Polish docs
6 years ago
Janne Valkealahti 26345d3900 Polish docs
This commit replaces tabs to spaces in a yaml example for configuring
endpoint web exposure include.

Closes gh-14670
6 years ago
Stephane Nicoll 84c8f38368 Merge branch '2.0.x' 6 years ago
Stephane Nicoll b248afc808 Clarify conversion system in Appendix
Closes gh-14645
6 years ago
Stephane Nicoll 42e6126066 Merge branch '2.0.x' 6 years ago
Stephane Nicoll 135797c347 Remove useless prerequisites section
Closes gh-14668
6 years ago