Commit Graph

2570 Commits (55b0c0911df81743023d6f683bd417d7711a485d)

Author SHA1 Message Date
Phillip Webb ff36074401 Update copyright header for changed files
Effectively all files have been touched this year due to the nohttp
work.
5 years ago
Phillip Webb 8843c11a28 Update copyright header of changed files 5 years ago
Phillip Webb d91f27e11f Fix Javadoc @Since checkstle violations
Apply consistent `@Since` tags and retrofit the existing code using a
best guess from the git history.

Closes gh-17360
5 years ago
Phillip Webb 6d01bc915b Make intermediate classes of public classes public
Backport gh-12590 to 1.5.x and also pick up a few classes that were
missed. This commit also makes a few properties bound classes public.

Closes gh-17337
5 years ago
Andy Wilkinson 9d71be8945 Use HTTPS for embedded MongoDB downloads by default
Closes gh-17191
6 years ago
Andy Wilkinson 8f1be4cded Upgrade to spring-javaformat 0.0.11 6 years ago
Phillip Webb cd537155a9 Use https for Thymeleaf xmlns:layout 6 years ago
Phillip Webb a99131f727 Polish resource files to all end with a new line 6 years ago
Spring Buildmaster 67fa63d0e3 Next Development Version 6 years ago
Spring Buildmaster ca3a864565 Next Development Version 6 years ago
Phillip Webb 2ff74b1559 Reformat code with spring-javaformat 0.0.8
See gh-16418
6 years ago
Spring Operator bbbfee6480 Use HTTPS for external links wherever possible
See gh-16318
6 years ago
Andy Wilkinson 94633cfd89 Merge branch '1.4.x' into 1.5.x 6 years ago
Andy Wilkinson 5bc43ae76b Polish "Use HTTPS for external links wherever possible"
See gh-16317
6 years ago
Spring Operator 189eeefbb1 Use HTTPS for external links wherever possible
See gh-16317
6 years ago
Andy Wilkinson baec3d6e8e Merge branch '1.3.x' into 1.4.x 6 years ago
Andy Wilkinson 9be96c49e2 Polish "Use HTTPS for external links wherever possible"
See gh-16316
6 years ago
Spring Operator e401d02ced Use HTTPS for external links wherever possible
See gh-16316
6 years ago
Andy Wilkinson 79c53de30c Merge branch '1.4.x' into 1.5.x 6 years ago
Spring Operator 4e2739eceb Use HTTPS for external links from XML files where possible
See gh-16312
6 years ago
Andy Wilkinson 46d6fb0e1c Merge branch '1.3.x' into 1.4.x 6 years ago
Spring Operator adc2462689 Use HTTPS for external links from XML files where possible
See gh-16311
6 years ago
Andy Wilkinson 4b6bddd476 Merge branch '1.4.x' into 1.5.x 6 years ago
Andy Wilkinson 6920c39349 Merge branch '1.3.x' into 1.4.x 6 years ago
Andy Wilkinson 0e009ef047 Use HTTPS to link to the Apache license 6 years ago
Spring Operator 991ba550d3 Update build and setup configuration to use HTTPS
See gh-16245
6 years ago
Spring Operator e2837843e1 Update build and setup configuration to use HTTPS
See gh-16244
6 years ago
Spring Operator 7c314122f7 Update build and setup configuration to use HTTPS
See gh-16243
6 years ago
Andy Wilkinson 821ee0cf83 Ensure that @Bean methods are only declared on @Configuration classes
Closes gh-16190
6 years ago
Spring Buildmaster b04710d744 Next development version 6 years ago
Spring Buildmaster 9bb64a3493 Next Development Version 6 years ago
Spring Buildmaster 4d24feb443 Next development version 6 years ago
Andy Wilkinson a91f9b6f17 Document that Cassandra policy classes must have a default constructor
Closes gh-14461
6 years ago
Madhura Bhave b5815b71d5 Fix formatting 6 years ago
Madhura Bhave 5a3d3c105b Fix javadoc 6 years ago
Spring Buildmaster 46df506b0a Next development version 6 years ago
Andy Wilkinson 0bd7c8afba Align server.tomcat.internal-proxies default with RemoteIPValve's default
Closes gh-13798
6 years ago
Andy Wilkinson 124705080b Tolerate context root redirect not being configurable on Tomcat 7
Closes gh-13821
6 years ago
Andy Wilkinson db903c2176 Align defaults in ServerProperties with defaults at runtime
Closes gh-13821
6 years ago
Stephane Nicoll 7d54eda6f1 Fix tests 6 years ago
Phillip Webb a50686b404 Surface additional rabbit SSL factory properties
Add `validate-server-certificate` and `verify-hostname` properties to
`spring.rabbitmq.ssl` to allow additional SSL configuration.

Closes gh-14259
6 years ago
Phillip Webb 9543fcf44d Upgrade to spring-javaformat 0.0.6 6 years ago
Phillip Webb 17de1571f5 Update copyright year 6 years ago
Phillip Webb a085541d26 Polish 6 years ago
Spring Buildmaster 73bf744cb0 Next Development Version 6 years ago
Stephane Nicoll 7865233b16 Fix Flyway filesystem prefix location check
Co-authored-by: Andy Bell <andyrbell@gmail.com>

Closes gh-13863
6 years ago
Johnny Lim 0fd4e40e6e Add null guards for getBeanDefinition() in BeanTypeRegistry
Closes gh-13818
6 years ago
Andy Wilkinson 6dc14af92d Update view of bean types when an override is detected
Previously, when a bean was overridden and its type changes,
BeanTypeRegistry could be left with a stale view of the bean's type.
This would lead to incorrect bean condition evaluation as conditions
would match or not match based on the bean's old type.

This commit updates the type registry to refresh its view of a bean's
type when its definition changes.

Closes gh-13588
6 years ago
Andy Wilkinson 73a08dd668 Avoid overriding beans and ensure import order is used for DataSource
During processing of a configuration class, the class's complete
hierarchy is processed and during the processing of each class its
member classes are processed. Previously, each pool-specific
inner-class of DataSourceConfiguration extended the abstract outer
class. This meant that when the import from
DataSourceAutoConfiguration.PooledDataSourceConfiguration caused the
first pool-specific inner-class to be  processed,
DataSourceConfiguration would be processed as it was the inner-class's
superclass. In turn all of DataSourceConfiguration's member classes
would then be processed. This caused the first import (of
DataSourceConfiguration.Tomcat) to trigger processing of all of the
other pool-specific inner-classes in whatever order they were found
rather than them being processed in the order in which they are
imported by DataSourceAutoConfiguration.PooledDataSourceConfiguration.

Another part of the problem was that none of the pool-specific
inner-classes were conditional on a missing DataSource bean. This
meant that, when multiple pools were on the classpath, each class
after the first would override the previous class's definition of the
DataSource bean.

This commit updates each of the pool-specific inner-classes so that
they no longer extend DataSourceConfiguration. This ensures that
the inner classes are processed in the order defined in the import
on PooledDataSourceConfiguration. Each of the classes has also been
annotated with @ConditionalOnMissingBean(DataSource.class). This
prevents the DataSource bean definition from being overridden and
ensures that the order of precedence for the pool that will be used
is as defined in the import.

Closes gh-13737
6 years ago
Andy Wilkinson b1d8cc55fc Polish "Fix JSP availability check when not running as a packaged war"
Closes gh-12859
7 years ago