Commit Graph

2358 Commits (59cb5bf44c29a2ffd1c7c58e21be614afce034d0)

Author SHA1 Message Date
Stephane Nicoll f731f6aa39 Restore customization of HTTP trace request headers
This commit restore the use of the `postProcessRequestHeaders` method
when overridden in a custom HttpExchangeTracer implementation.

Closes gh-13924
6 years ago
Stephane Nicoll 737b4a275b Polish 6 years ago
Stephane Nicoll 0f095abded Polish 6 years ago
Stephane Nicoll 20ea16fe9f Merge branch '1.5.x' into 2.0.x 6 years ago
Johnny Lim 7b6b91aae7 Return null immediately when sla is null in convertSla()
Closes gh-13991
6 years ago
Madhura Bhave 16aff4cd2c Refactor PropertySourcesDeducer
Prior to the changes that fixed #12451,
`FilteredPropertySources` and `CompositePropertySources` were required
by the `PropertySourcesDeducer` to ensure that configuration properties binding
could see changes to the environment even when there was a
PropertySourcesPlaceholderConfigurer in the context. #12451 changed the way
property sources are adapted by `SpringConfigurationPropertySources`, removing the
need for `FilteredPropertySources` and `CompositePropertySources`.

Fixes gh-13738
6 years ago
Madhura Bhave 7e2494ebdd Set environment active profiles according to processing order
Fixes gh-13965
6 years ago
cmakinen 07d96689c6 Add dependency management for micrometer-registry-cloudwatch
Closes gh-13982
6 years ago
Johnny Lim 94468e5865 Polish
See gh-13963
6 years ago
Stephane Nicoll 4e45f36bd1 Clean basePath if necessary
This commit makes sure that ServletEndpointRegistrar does not add a
duplicate `/` if the basePath is suffixed with it already

Close gh-13964
6 years ago
dreis2211 66b1742f96 Optimize some StringBuilder.append() calls
Closes gh-13961
6 years ago
Stephane Nicoll d31f68380a Deprecate PooledConnectionFactory properties
This commit deprecated the properties of `PooledConnectionFactory` that
are no longer supported by an alternative that is a JMS 2 compliant.

This commit also adds a note to warn users that this pool implementation
is not JMS 2 compliant.

Closes gh-13956
6 years ago
Muhammad Hewedy 2f69785c6a Add classpath prefix to the flyway location
Closes gh-13933
6 years ago
Johnny Lim d4fba783fb Remove ex.printStackTrace() in tests
Closes gh-13952
6 years ago
Andy Wilkinson 06b4007ce4 Avoid installing unwanted ConsoleHandler when cleaning up
Closes gh-13470
6 years ago
Madhura Bhave 01abb196ef Fix typo 6 years ago
Stephane Nicoll 1435d83c18 Upgrade to Spring Session Apple-SR4
Closes gh-13888
6 years ago
Phillip Webb 0ec22c8bf9 Polish copyright date on changed files 6 years ago
Phillip Webb aeb885192e Polish ternary expressions 6 years ago
Stephane Nicoll b24bb688b8 Upgrade to Spring Integration 5.0.7.RELEASE
Closes gh-13886
6 years ago
Phillip Webb 63b609827e Fix checkstyle method order issues
Fix checkstyle issues with method ordering following the
spring-javaformat upgrade.

See gh-13932
6 years ago
Phillip Webb e6a68b39a3 Fix checkstyle javadoc issues
Fix checkstyle issues in javadoc following the spring-javaformat
upgrade.

See gh-13932
6 years ago
Phillip Webb 7fc455654a Fix checkstyle ternary issues
Fix checkstyle issues with ternary expressions following the
spring-javaformat upgrade.

See gh-13932
6 years ago
Phillip Webb ec1100a896 Upgrade to spring-javaformat 0.0.6
Closes gh-13932
6 years ago
Phillip Webb cddd794a07 Polish 6 years ago
Madhura Bhave e753b530fa EndpointRequest should match links with trailing slash
Fixes gh-13921
6 years ago
Stephane Nicoll f7b90a73a0 Upgrade to Spring Kafka 2.1.8.RELEASE
Closes gh-13887
6 years ago
Stephane Nicoll 2a0d1918f1 Merge branch '1.5.x' into 2.0.x 6 years ago
Stephane Nicoll 659535d1ec Upgrade to Spring Data Kay SR9
Closes gh-13890
6 years ago
Johnny Lim 8a9224b78c Polish NoSuchBeanDefinitionFailureAnalyzer
Closes gh-13923
6 years ago
Stephane Nicoll 54a6ee7a06 Upgrade to Spring HATEOAS 0.25.0.RELEASE
Closes gh-13742
6 years ago
Stephane Nicoll 8603fdddb1 Upgrade to Spring Amqp 2.0.5.RELEASE
Closes gh-3884
6 years ago
Stephane Nicoll d98b23bdd9 Upgrade to Spring Framework 5.0.8
Closes gh-13704
6 years ago
dreis2211 bfbf57b0eb Fix typo
Closes gh-13919
6 years ago
Stephane Nicoll 0f15b72fab Upgrade to Spring Security 5.0.7.RELEASE
Closes gh-13898
6 years ago
Stephane Nicoll 85cffd1ab5 Upgrade to Spring Web Services 3.0.3.RELEASE
Closes gh-13912
6 years ago
Stephane Nicoll 37f1146c31 Fix formatting 6 years ago
Madhura Bhave c775ff8f60 Fix import 6 years ago
Madhura Bhave 6bd438a737 Document `@ConditionalOnProperty` limitation with collections
Closes gh-7483
6 years ago
Madhura Bhave 57515dfa78 Fix typo 6 years ago
Phillip Webb 9a9111af21 Support path discovery for main dispatcher servlet
Add an `DispatcherServletPath` interface which provides a much more
consistent way to discover the path of the main dispatcher servet.

Prior to this commit, auto-configurations would often make use of the
`ServerProperties` class to discover the dispatcher servlet path. This
mechanism isn't very explicit and also makes it hard for us to relocate
that property in Spring Boot 2.1.

This commit also reverts most of fddc9e9c7e since it is now clear that
the supporting multiple dispatcher servlet paths will be much more
involved that we originally anticipated.

Closes gh-13834
6 years ago
Phillip Webb d37e717500 Polish 6 years ago
Stephane Nicoll 12f8ef1b6e Upgrade to Spring Web Services 3.0.2.RELEASE
Closes gh-13912
6 years ago
Stephane Nicoll 37f5e69173 Start building against Spring Security 5.0.7 snapshots
See gh-13898
6 years ago
Stephane Nicoll 99f33d5070 Start building against Spring Data Kay snapshots
See gh-13890
6 years ago
Andy Wilkinson 1ab98ca33f Start building against Spring HATEOAS 0.25.0 snapshots
See gh-13742
6 years ago
Stephane Nicoll 21160da9f5 Use SNAPSHOTs for upcoming releases 6 years ago
Stephane Nicoll e6cf082dbc Fix typo 6 years ago
Stephane Nicoll a25b6bd473 Restore support for TransactionAwareCacheDecorator
This commit makes sure to unwrap any transaction aware cache before
collecting metrics for them.

Closes gh-13861
6 years ago
Madhura Bhave 1831f3be16 Fix NPE when Collection contains unbound children
Fixes gh-13636
6 years ago
Madhura Bhave 6032b454b0 Polish 6 years ago
Stephane Nicoll 829ac3fbef Prevent headers to be mutated
This commit rework 1189ccc to prevent a mutate call on the original
headers map.

Closes gh-13871
6 years ago
Stephane Nicoll 7d2e25f6f8 Merge branch '1.5.x' into 2.0.x 6 years ago
Stephane Nicoll 1a0afc6bbe Polish "Use Collection.removeIf() where possible"
Closes gh-13871
6 years ago
dreis2211 1189ccc936 Use Collection.removeIf() where possible
See gh-13871
6 years ago
Stephane Nicoll 7176c54f5e Polish "Add metric description and base unit to metrics endpoint"
Closes gh-13813
6 years ago
Johannes Edmeier ab1f8cf77b Add metric description and base unit to metrics endpoint
See gh-13813
6 years ago
Stephane Nicoll ecb8da2536 Polish "Upgrade to Micrometer 1.0.6"
Closes gh-13819
6 years ago
Jon Schneider f478911c54 Upgrade to Micrometer 1.0.6
See gh-13819
6 years ago
Stephane Nicoll dcb68d4c64 Deprecate unused property
Closes gh-13836
6 years ago
Andy Wilkinson daad992c96 Merge branch '1.5.x' into 2.0.x 6 years ago
Andy Wilkinson 136be5916c Upgrade to Postgresql 42.2.4
Closes gh-13845
6 years ago
Andy Wilkinson 8f2a8576a6 Upgrade to Mariadb 2.2.6
Closes gh-13844
6 years ago
Andy Wilkinson e5a4cfabc3 Upgrade to Hibernate Validator 6.0.11.Final
Closes gh-13843
6 years ago
Andy Wilkinson 1c6e75ff10 Upgrade to Kafka 1.0.2
Closes gh-13842
6 years ago
Andy Wilkinson 4003c3c6e5 Upgrade to Jna 4.5.2
Closes gh-13841
6 years ago
Andy Wilkinson 3fd6f00155 Upgrade to Netty 4.1.27.Final
Closes gh-13840
6 years ago
Andy Wilkinson 478181eb2c Merge branch '1.5.x' into 2.0.x 6 years ago
Stephane Nicoll fc0a687ee0 Migrate test to ApplicationContextRunner 6 years ago
Madhura Bhave 660d284f45 Document when and how to use brackets when binding to maps
Closes gh-13506
6 years ago
Madhura Bhave 56235187d0 Fix typo 6 years ago
Andy Wilkinson 10b91602e9 Increase connect and read timeouts when testing against Cassandra 6 years ago
Andy Wilkinson de7899fba4 Improve reliability by give Cassandra more time and attempts to start 6 years ago
Andy Wilkinson bfc4cad692 Upgrade to Spring REST Docs 2.0.2.RELEASE
Closes gh-13505
6 years ago
Stephane Nicoll cdbe6fa122 Document properties migrator usage
Closes gh-13600
6 years ago
Stephane Nicoll a1ef3f070a Improve documentation for using a mock environment with @SpringBootTest
Closes gh-13827
6 years ago
Stephane Nicoll 592754d806 Polish "Make sure exception tag values are not empty in web metrics"
Closes gh-13187
6 years ago
Jon Schneider ee37dc1c31 Make sure exception tag values are not empty in web metrics
See gh-13187
6 years ago
Madhura Bhave 66156cc24f Polish 6 years ago
Andy Wilkinson 681717d07a Merge branch '1.5.x' into 2.0.x 6 years ago
Andy Wilkinson b9ad0d9992 Test the Gradle plugin against Gradle 4.8.1 instead of 4.8
Closes gh-13809
6 years ago
Andy Wilkinson 8deea933b9 Test the Gradle plugin against Gradle 4.9
Closes gh-13808
6 years ago
Andy Wilkinson 53400b1d81 Merge branch '1.5.x' into 2.0.x 6 years ago
Madhura Bhave e907ae605d Fix tests
See gh-13783
6 years ago
Madhura Bhave 9bd723ddad Fix exception message
Fixes gh-13783
6 years ago
Johnny Lim 86ccb26c58 Polish EndpointRequest.RequestMatcherFactory.antPath()
Closes gh-13775
6 years ago
Madhura Bhave c36804908c Merge branch '1.5.x' into 2.0.x 6 years ago
Andy Wilkinson a57d0f0853 Reinstate order of WebMvcMetricsFilter
Closes gh-13781
6 years ago
Stephane Nicoll 944ed767ac Add dependency management for elasticsearch integration tests distro
Closes gh-13547
6 years ago
dreis2211 e9a8d4c949 Remove unused AbstractCouchbaseAutoConfigurationTests
Closes gh-13797
6 years ago
Stephane Nicoll 6e749ef276 Improve NoSuchBeanDefinitionFailureAnalyzer to handle null beans
Previously, if a user defines a `@Bean` with a method that returns
`null`, injection by type will ignore that definition but the report
doesn't mention that candidate.

This commit improves the failure analyzer to look for user-defined beans
as well, detecting beans that are `null` matching the requested type
and including them in the report.

Closes gh-13531
6 years ago
Stephane Nicoll e679690a74 Clarify the WebTestClient requires WebFlux on the classpath
Closes gh-13469
6 years ago
Stephane Nicoll d6c7eff8f7 Add check for empty values for lookup
Closes gh-13419
6 years ago
Stephane Nicoll 8095ee4a5b Polish contribution
See gh-13790
6 years ago
Johnny Lim f363fe7dd1 Polish
See gh-13790
6 years ago
Stephane Nicoll ec2ebf52de Merge branch '1.5.x' into 2.0.x 6 years ago
Brian Clozel 58e886fddf Remove @Lazy injection for HttpMessageConverters
This commit turns a lazy injection point for `HttpMessageConverters`
into an `ObjectProvider`-backed injection.

This allows to lazily rely on that bean without creating for it; in some
environments, such proxy creation can lead to issues like SPR-16990.

See gh-13785
6 years ago
Stephane Nicoll ffe994335e Merge branch '1.5.x' into 2.0.x 6 years ago
Johnny Lim f2cef87878 Fix since on JdbcOperationsDependsOnPostProcessor
Closes gh-13778
6 years ago
Johnny Lim 068e22d60b Polish
See gh-13776
6 years ago
Johnny Lim 4314dc2972 Remove a List creation in CompositePropertySources.iterator()
Closes gh-13774
6 years ago
Stephane Nicoll e6ea28dec5 Polish 6 years ago
Johnny Lim 13202eb278 Prevent duplicate RequestMatcher in RequestMatcherFactory.antPath()
Closes gh-13706
6 years ago
Stephane Nicoll 174cc2bc4e Merge branch '1.5.x' into 2.0.x 6 years ago
dreis2211 ac8eebfbad Fix typos
Closes gh-13762
6 years ago
Stephane Nicoll 19709f7dea Polish 6 years ago
Madhura Bhave d7822ba135 Update copyright header for modified files 6 years ago
Madhura Bhave c8c32cfa33 Migrate tests to ApplicationContextRunner 6 years ago
Andy Wilkinson cced3514a7 Polish 6 years ago
Andy Wilkinson c489c6c5f6 Polish test following forward merge 6 years ago
Andy Wilkinson 67dfa0a720 Merge branch '1.5.x' into 2.0.x 6 years ago
Andy Wilkinson 44273ee093 Merge branch '1.5.x' into 2.0.x 6 years ago
Stephane Nicoll 48819253eb Fix dependency order between JdbcTemplate and database migration tools
This commit makes sure that Flyway/Liquibase migrates the schema if
necessary before a `JdbcTemplate` is made available as an injection
point.

This commit also adds a test that validates simple datasource
initialization (spring.datasource.*) happens before a `JdbcTemplate`
bean can be used.

Closes gh-13155
6 years ago
Stephane Nicoll 331775d6c0 Document latest version of gradle-git-properties plugin
Closes gh-13747
6 years ago
Johnny Lim f94ce495d8 Fix parameter order for RequestMatcherAssert.doesNotMatch()
Closes gh-13707
6 years ago
Stephane Nicoll 177c54d441 Migrate JdbcTemplateAutoConfiguration tests to context runner 6 years ago
Stephane Nicoll 3423c5dddb Detect DispatcherServlets registered via ServletRegistrationBean
Previously, when a DispatcherServlet was registered via a
ServletRegistrationBean, the mappings endpoint did not expose any
information about it as it wasn't detected.

This commit fixes the detection of available DispatcherServlets in the
context so that the mappings endpoint include them all.

Closes gh-13186
6 years ago
Johnny Lim 46e6aa5963 Fix query string encoding in TraceableHttpServletRequest
Closes gh-13545
6 years ago
Johnny Lim 0de8317979 Separate logging from getUrlMappings()
Closes gh-13710
6 years ago
Andy Wilkinson 57e2bb9c6a Merge branch '1.5.x' into 2.0.x 6 years ago
Madhura Bhave 4e7719f1c7 Fix typo 6 years ago
Andy Wilkinson 9eb5c9bd18 Merge branch '1.5.x' into 2.0.x 6 years ago
Stephane Nicoll 44b9aa168e Polish "Improve description of Endpoint exclude"
Closes gh-13619
6 years ago
Miguel Gomes 838e6cdbbb Improve description of Endpoint exclude
See gh-13619
6 years ago
Johnny Lim ab6adc8265 Polish
Closes gh-13616
6 years ago
Andy Wilkinson 809e30506f Merge branch '1.5.x' into 2.0.x 6 years ago
Andy Wilkinson 58be01a790 Try to make Jest auto-configuration tests more robust 6 years ago
Andy Wilkinson 468453b66e Upgrade to Kotlin 1.2.51
Closes gh-13705
6 years ago
Andy Wilkinson 0e8206cdf4 Start building against Spring Framework 5.0.8 snapshots
See gh-13704
6 years ago
Andy Wilkinson f173429327 Upgrade to Flatten Maven Plugin 1.0.1
Closes gh-13650
6 years ago
Andy Wilkinson 5220a08228 Upgrade to Xml Maven Plugin 1.0.2
Closes gh-13649
6 years ago
Andy Wilkinson 573f736374 Upgrade to Maven Resources Plugin 3.0.2
Closes gh-13648
6 years ago
Andy Wilkinson 83a56bac60 Upgrade to Maven Javadoc Plugin 3.0.1
Closes gh-13647
6 years ago
Andy Wilkinson d3ef9fd2ba Upgrade to Maven Enforcer Plugin 3.0.0-M2
Closes gh-13646
6 years ago
Andy Wilkinson 1c64496470 Upgrade to Jooq 3.10.8
Closes gh-13645
6 years ago
Andy Wilkinson 797efbd259 Upgrade to Solr 6.6.5
Closes gh-13644
6 years ago
Andy Wilkinson c6dae8f305 Upgrade to Johnzon Jsonb 1.1.8
Closes gh-13643
6 years ago
Andy Wilkinson aa5b70c43c Upgrade to Rxjava2 2.1.16
Closes gh-13642
6 years ago
Andy Wilkinson 9120f49721 Merge branch '1.5.x' into 2.0.x 6 years ago
Madhura Bhave 673a08d228 Support microseconds in Duration conversions
Closes gh-13624
6 years ago
Andy Wilkinson 06a8c41943 Preserve trailing whitespace in origin-tracked property values
Closes gh-13602
6 years ago
Andy Wilkinson 032d5488cd Tolerate non-existent source folders in DevTools
Closes gh-13620
6 years ago
Madhura Bhave fddc9e9c7e Support multiple paths in DispatcherServletPathProvider
Closes gh-13603
6 years ago
Andy Wilkinson a5d20ffed7 Avoid NPE when creating method tag for WebFlux req with non-standard method
Previously, a NullPointerException would occur when WebFluxTags
attempted to create a method Tag for a request with a non-standard
method.

This commit updates WebFluxTags to use getMethodValue(), which will
never return null, rather than getMethod(), which may return null,
when determining the tag's value for the given request.

Closes gh-13596
6 years ago
dreis2211 17edf0e2fe Fix typo 6 years ago
Madhura Bhave a1491be636 Refine DispatcherServletPathProvider creation
Closes gh-13527
6 years ago
Andy Wilkinson 04119585e8 Merge branch '1.5.x' into 2.0.x 6 years ago
Andy Wilkinson 911453d478 Merge branch '1.5.x' into 2.0.x 6 years ago
Andy Wilkinson 30f0fd1fe4 Merge branch '1.5.x' into 2.0.x 7 years ago
Andy Wilkinson fd125b4a4a Remove assumption that a file URI can be turned into a File
Closes gh-13493
7 years ago