Commit Graph

5007 Commits

Author SHA1 Message Date
Andy Wilkinson 52a934faae Upgrade to Ehcache3 3.7.0
Closes gh-16146
2019-03-06 13:38:36 +00:00
Andy Wilkinson ad8f2fb409 Upgrade to Assertj 3.12.1
Closes gh-16145
2019-03-06 13:38:35 +00:00
Andy Wilkinson 419a1bd5b3 Upgrade to Kafka 2.1.1
Closes gh-16144
2019-03-06 13:38:33 +00:00
Andy Wilkinson 708551e9d5 Upgrade to Commons Dbcp2 2.6.0
Closes gh-16143
2019-03-06 13:38:32 +00:00
Andy Wilkinson a491fd3d05 Upgrade to Htmlunit 2.34.1
Closes gh-16142
2019-03-06 13:38:31 +00:00
Andy Wilkinson 4fff84c65c Upgrade to Rest Assured 3.3.0
Closes gh-16141
2019-03-06 13:38:30 +00:00
Andy Wilkinson 10c90a8845 Upgrade to Rxjava2 2.2.7
Closes gh-16140
2019-03-06 13:38:29 +00:00
Andy Wilkinson d8e94f2b6e Upgrade to Commons Codec 1.12
Closes gh-16139
2019-03-06 13:38:28 +00:00
Andy Wilkinson 35a2dc0133 Upgrade to Hikaricp 3.3.1
Closes gh-16138
2019-03-06 13:38:27 +00:00
Andy Wilkinson 2609e27f5f Upgrade to Rabbit Amqp Client 5.6.0
Closes gh-16137
2019-03-06 13:38:26 +00:00
Andy Wilkinson 236cae5727 Upgrade to Hazelcast Hibernate5 1.3.2
Closes gh-16136
2019-03-06 13:38:25 +00:00
Andy Wilkinson cd7eed92a9 Upgrade to Caffeine 2.7.0
Closes gh-16135
2019-03-06 13:38:24 +00:00
Andy Wilkinson eaf055382b Merge branch '2.1.x' 2019-03-06 13:35:31 +00:00
Andy Wilkinson a09713ee30 Upgrade to Infinispan 9.4.8.Final
Closes gh-16134
2019-03-06 13:34:02 +00:00
Andy Wilkinson de042114af Upgrade to Jetty Reactive Httpclient 1.0.3
Closes gh-16133
2019-03-06 13:34:00 +00:00
Andy Wilkinson c54ac68afa Upgrade to Undertow 2.0.19.Final
Closes gh-16132
2019-03-06 13:33:59 +00:00
Andy Wilkinson 33fdc5b471 Upgrade to Rxjava2 2.2.7
Closes gh-16131
2019-03-06 13:33:58 +00:00
Andy Wilkinson 2568bd6a83 Upgrade to Netty Tcnative 2.0.22.Final
Closes gh-16130
2019-03-06 13:33:57 +00:00
Andy Wilkinson 4f5eff6fa4 Upgrade to Lettuce 5.1.5.RELEASE
Closes gh-16129
2019-03-06 13:33:56 +00:00
Andy Wilkinson e01b76aa45 Upgrade to Hazelcast 3.11.2
Closes gh-16128
2019-03-06 13:33:56 +00:00
Andy Wilkinson ff64e112c9 Merge branch '2.0.x' into 2.1.x 2019-03-06 13:33:00 +00:00
Andy Wilkinson 4cfc532890 Upgrade to Spring Ws 3.0.7.RELEASE
Closes gh-16127
2019-03-06 13:30:51 +00:00
Andy Wilkinson 51657e1ad0 Upgrade to Spring Integration 5.0.12.RELEASE
Closes gh-16126
2019-03-06 13:30:49 +00:00
Andy Wilkinson ab05a07807 Upgrade to Neo4j Ogm 3.1.8
Closes gh-16125
2019-03-06 13:30:48 +00:00
Andy Wilkinson 7a26a092aa Upgrade to Hibernate Validator 6.0.15.Final
Closes gh-16124
2019-03-06 13:30:46 +00:00
Andy Wilkinson 31892a3488 Upgrade to Elasticsearch 5.6.15
Closes gh-16123
2019-03-06 13:30:45 +00:00
Andy Wilkinson 5f35a1d089 Merge branch '1.5.x' into 2.0.x 2019-03-06 13:30:09 +00:00
Andy Wilkinson acdbd18a7b Merge branch '2.1.x' 2019-03-06 13:24:33 +00:00
Andy Wilkinson 31ed042190 Return 503 when component or instance is down with WebFlux
Closes gh-16109
2019-03-06 13:24:23 +00:00
Andy Wilkinson 0959698c32 Upgrade to Jersey 2.28
Closes gh-16114
2019-03-06 12:58:35 +00:00
Andy Wilkinson d6a869fa98 Switch to Jakarta EE API dependencies where possible
Closes gh-16113
Closes gh-16112
Closes gh-16111
Closes gh-15916
Closes gh-15689
2019-03-06 11:20:51 +00:00
Brian Clozel ce9626d00f Disable JMX by default
This commit switches the default value for the `spring.jmx.enabled`
configuration property.
JMX is now disabled by default and can be enabled with
`spring.jmx.enabled=true`.

Closes gh-16090
2019-03-05 18:51:00 +01:00
Stephane Nicoll 4f029d6df9 Polish "Add loadOnStartup property to EndpointServlet"
Closes gh-16053
2019-03-05 10:59:18 +01:00
Gómez Díaz, Julio José b99c05329f Add loadOnStartup property to EndpointServlet
loadOnStartup property was missing from EndpointServlet and cannot be set
inside ServletEndpointRegistrar. Now it can be set and register a Servlet
with that integer property ready to act upon registration.

See gh-16053
2019-03-05 10:34:55 +01:00
Johnny Lim 4a738e3c49 Polish
Closes gh-16094
2019-03-05 08:19:29 +01:00
Stephane Nicoll d83a614bd9 Merge branch '2.1.x' 2019-03-05 08:18:41 +01:00
Stephane Nicoll 8d033e73d1 Polish
See gh-16094
2019-03-05 08:18:14 +01:00
Andy Wilkinson 19851c98c9 Merge branch '2.1.x' 2019-03-04 15:21:16 +00:00
Andy Wilkinson bdab9c4e31 Upgrade to Couchbase Client 2.7.4
Closes gh-15914
2019-03-04 15:21:09 +00:00
Stephane Nicoll 6b273279fb Merge branch '2.1.x' 2019-03-04 15:58:35 +01:00
Stephane Nicoll 4eb73e0050 Recommend that DevTools is excluded with custom packaging arrangement
Closes gh-15382
2019-03-04 15:57:47 +01:00
Stephane Nicoll 4f2e788835 Fix import in docs
Closes gh-16017
2019-03-04 15:45:59 +01:00
Johnny Lim f4786d7d2e Polish
Closes gh-16083
2019-03-04 15:19:57 +01:00
Stephane Nicoll 1b55f0ccf9 Merge branch '2.1.x' 2019-03-04 15:19:35 +01:00
Johnny Lim 3242e89271 Polish
See gh-16083
2019-03-04 15:18:51 +01:00
Stephane Nicoll 3febf56e93 Merge branch '2.1.x' 2019-03-04 15:13:05 +01:00
Johnny Lim 907058d845 Rename Maven version property for PooledJMS
Closes gh-16086
2019-03-04 15:12:28 +01:00
Stephane Nicoll f90bfff132 Merge branch '2.1.x' 2019-03-04 15:00:21 +01:00
Stephane Nicoll 2099093978 Merge branch '2.0.x' into 2.1.x 2019-03-04 15:00:00 +01:00
Stephane Nicoll b8cbd0c17f Merge branch '1.5.x' into 2.0.x 2019-03-04 14:55:10 +01:00
Stephane Nicoll 75c248dcba Move setter attribute in PropertyDescriptor proper 2019-03-04 10:53:13 +01:00
Stephane Nicoll a90c8d01a9 Polish 2019-03-04 10:53:08 +01:00
Stephane Nicoll 7b8563a877 Merge branch '2.1.x' 2019-03-04 09:29:13 +01:00
Stephane Nicoll 235fbfb4b6 Polish "Use AssertJ facilities for expected exceptions"
Closes gh-16066
2019-03-04 08:58:28 +01:00
dreis2211 be445f6346 Use AssertJ facilities for expected exceptions
See gh-16066
2019-03-04 08:45:42 +01:00
Madhura Bhave 64b7466d51 Remove secure flag from AutoConfigureMockMvc
Closes gh-13822
2019-02-28 13:15:00 -08:00
Stephane Nicoll baa5a00d26 Merge branch '2.1.x' 2019-02-28 14:58:41 +01:00
Stephane Nicoll c224eebef3 Polish "Fix NullPointerException with empty X-Forwarded-For header"
Closes gh-16046
2019-02-28 14:56:42 +01:00
Dmytro Nosan 64a74c3bbb Fix NullPointerException with empty X-Forwarded-For header
See gh-16046
2019-02-28 14:51:25 +01:00
Stephane Nicoll 3bcd93bd35 Merge branch '2.1.x' 2019-02-28 14:44:27 +01:00
Stephane Nicoll 2a6791aa20 Polish "Add `jaxb-runtime` to TldSkipPatterns"
Closes gh-16027
2019-02-28 14:39:52 +01:00
Rupert Madden-Abbott 946ada62fb Add `jaxb-runtime` to TldSkipPatterns
See gh-16027
2019-02-28 14:37:45 +01:00
Dmytro Nosan c0a458e9d0 Remove unused constructor argument
Closes gh-16059
2019-02-28 14:09:34 +01:00
Stephane Nicoll d5448eb124 Polish "Add failure analyzer for Flyway's bootstrap failure"
Closes gh-16015
2019-02-28 13:46:04 +01:00
anand 96315372ef Add failure analyzer for Flyway's bootstrap failure
See gh-16015
2019-02-28 13:46:04 +01:00
Stephane Nicoll 2ad234b605 Adapt to breaking change in Spring Hateoas 2019-02-28 13:42:27 +01:00
Stephane Nicoll ad6e58e489 Merge branch '2.1.x' 2019-02-28 09:37:30 +01:00
XYUU 7aedb0a33d Fix a colon format
Closes gh-16054
2019-02-28 09:36:22 +01:00
Stephane Nicoll c8e46f66e2 Merge branch '2.1.x' 2019-02-27 16:04:45 +01:00
Stephane Nicoll ce17a923dd Polish contribution
Closes gh-15978
2019-02-27 16:03:28 +01:00
Dmytro Nosan cf89ebcf92 Add an example showing how to use Spring REST Docs with WebTestClient
See gh-15978
2019-02-27 16:03:15 +01:00
Stephane Nicoll 554bff6145 Merge branch '2.1.x' 2019-02-27 15:19:37 +01:00
Stephane Nicoll eebd906c8a Polish contribution
Closes gh-16047
2019-02-27 15:10:43 +01:00
Dan Zheng 2c4afb3bd8 Fix NamedParameterJdbcTemplate precedence with database migration tools
See gh-16047
2019-02-27 15:10:20 +01:00
Stephane Nicoll 7beb64043d Fix build failure 2019-02-27 13:55:28 +01:00
Stephane Nicoll 7f817e339b Merge branch '2.1.x' 2019-02-27 13:45:26 +01:00
Stephane Nicoll 978f80122b Polish "Debug mode is not logging web and sql related loggers"
Closes gh-16018
2019-02-27 13:37:18 +01:00
Dmytro Nosan c3430d5883 Debug mode is not logging web and sql related loggers
See gh-16018
2019-02-27 13:25:08 +01:00
Stephane Nicoll 715db153e3 Polish "Remove code deprecated in 2.1"
Closes gh-16013
2019-02-27 11:15:48 +01:00
Mehmed Baždar 246111cd84 Remove code deprecated in 2.1
See gh-16013
2019-02-27 10:08:48 +01:00
Stephane Nicoll 5e4418973e Merge branch '2.1.x' 2019-02-26 16:59:32 +01:00
Stephane Nicoll c47edd15af Polish "Update instructions on how to use JAXB as XML renderer"
Closes gh-16005
2019-02-26 16:57:47 +01:00
Lars Grefer 221ff8d69f Update instructions on how to use JAXB as XML renderer
See gh-16005
2019-02-26 16:50:30 +01:00
dreis2211 2ab4ce03db Fix deprecations
Closes gh-16037
2019-02-26 16:49:13 +01:00
Stephane Nicoll 00a18c32ab Restructure metadata generation
This commit restructures the annotation processor to off-load most of
its logic in a PropertyDescriptor abstraction that is consumed to
generate the relevant metadata.

This has the benefit to isolate the various way properties can be
identified (java bean and lombok for now).

Closes gh-16036
2019-02-26 10:10:33 +01:00
Stephane Nicoll 99c0b4561d Polish test to request the type under test 2019-02-23 09:30:15 +01:00
Stephane Nicoll c44a1e129d Polish 2019-02-22 14:04:37 +01:00
Stephane Nicoll 8a064b0da2 Move main test annotation processor to test package 2019-02-22 14:04:29 +01:00
Stephane Nicoll 4bee913fb2 Add shared test processor
This commit adds a simple annotation processor that can be used to run
more fine grained assertions.
2019-02-22 14:04:22 +01:00
Madhura Bhave adea7014a9 Add support to detect Kubernetes platform in CloudPlatform
Closes gh-15537
2019-02-21 15:27:23 -08:00
Andy Wilkinson 0f0adb4cd0 Polish formatting 2019-02-21 22:04:56 +00:00
Stephane Nicoll 7b0004d6c3 Fix formatting 2019-02-21 14:17:34 +01:00
Stephane Nicoll 8773a2fed3 Polish 2019-02-21 11:37:11 +01:00
Andy Wilkinson f2e3e274a8 Merge branch '2.1.x' 2019-02-21 08:19:43 +00:00
Andy Wilkinson 53326695ea Polish 2019-02-21 08:13:54 +00:00
Madhura Bhave 6f045d8891 Merge branch '2.1.x' 2019-02-20 16:13:20 -08:00
Madhura Bhave c3e47541ad EndpointRequest should check that the request is to the mgmt context
Fixes gh-15702
2019-02-20 16:08:26 -08:00
Andy Wilkinson f4bd0b8b4b Merge branch '2.1.x' 2019-02-20 18:18:06 +00:00
Andy Wilkinson 59430a2642 Only include zips in BOOT-INF/lib, WEB-INF/lib, and WEB-INF/lib-provided
Closes gh-16001
2019-02-20 18:15:27 +00:00
Andy Wilkinson 43c9a789ac Merge branch '2.1.x' 2019-02-20 17:28:39 +00:00
Andy Wilkinson 55fe26b075 Polish "Use kotlin_module not kotlin-module to identify Kotlin module metadata"
See gh-16004
2019-02-20 17:19:03 +00:00
Robert Thornton cb6362df82 Use kotlin_module not kotlin-module to identify Kotlin module metadata
See gh-16004
2019-02-20 17:19:03 +00:00
Andy Wilkinson de0c065625 Inject single-use configuration dependencies into bean methods
Closes gh-15751
2019-02-20 17:02:43 +00:00
Stephane Nicoll 34f28b4cbd Merge branch '2.1.x' 2019-02-20 13:25:01 +01:00
Stephane Nicoll 91a005f578 Resolve generic types in generated metadata
Closes gh-15850
2019-02-20 13:24:40 +01:00
Stephane Nicoll 0c45019200 Upgrade to Spring Doc Resources 0.1.0.RELEASE
Closes gh-15805
2019-02-19 14:24:20 +01:00
Andy Wilkinson 52aa7e1e09 Include source of NoSuchMethodError in its failure analysis
Closes gh-15995
2019-02-19 12:38:21 +00:00
Stephane Nicoll 4992b7fb29 Polish "Migrate Kotlin tests to Mockk"
Closes gh-15993
2019-02-19 13:36:06 +01:00
Sebastien Deleuze cca79b8d4d Migrate Kotlin tests to Mockk
See gh-15993
2019-02-19 13:35:43 +01:00
Andy Wilkinson 51776af45d Include source of NoSuchMethodError in its failure analysis
Closes gh-15995
2019-02-19 12:34:52 +00:00
Stephane Nicoll 967eecfbf8 Remove redundant dependency management for dom4j:dom4j
Closes gh-15199
2019-02-19 13:31:09 +01:00
Stephane Nicoll eee07efee1 Switch Logback's file size properties to DataSize
This commit changes the target type of file size-based properties to
`DataSize` and tolerates Logback's specific format.

Closes gh-15930
2019-02-19 11:16:31 +01:00
Andy Wilkinson e6764bdc5a Merge branch '2.1.x' 2019-02-19 09:39:38 +00:00
Andy Wilkinson 55426208ab Provide type information for optional thread dump endpoint response fields
Closes gh-15989
2019-02-19 09:12:54 +00:00
Johnny Lim 55f5f2f910 Polish
Closes gh-15987
2019-02-19 09:14:40 +01:00
Stephane Nicoll ddfdc48161 Merge branch '2.1.x' 2019-02-18 21:25:25 +01:00
Stephane Nicoll 42c246cacb Polish contribution
Closes gh-15984
2019-02-18 21:18:51 +01:00
isank e546ed4834 Order TaskExecution auto-config before TaskScheduling auto-config
See gh-15984
2019-02-18 21:18:09 +01:00
Stephane Nicoll fa49dfcaaf Add support for task scheduling shutdown related properties
See gh-15951
2019-02-18 21:13:32 +01:00
Stephane Nicoll d2cbf08f09 Polish "Add support for task executor shutdown related properties"
Closes gh-15951
2019-02-18 21:13:32 +01:00
Filip Hrisafov 3b47ba21a8 Add support for task executor shutdown related properties
See gh-15951
2019-02-18 21:13:32 +01:00
Andy Wilkinson 9540905e73 Merge branch '2.1.x' 2019-02-18 17:30:02 +00:00
Andy Wilkinson 68e3de0357 Use name from header not alias when checking entry has expected name
Previously, an entry’s potentially aliased name would be used when
checking that it has a particular name. The alias would always be
applied, irrespective of the name in the header. As a result, when
there was a clashing hash and an entry with a particular index did
not have the expected name, this would be concealed by the alias
being applied and the name check being done with the alias.

This commit reworks JarEntry to store the name in its header in
addition to its alias, if any. When checking that the entry has the
expected name, the unaliased name is passed in and the entry compares
it with the name from the header rather than the alias.

Closes gh-15981
2019-02-18 17:29:25 +00:00
Stephane Nicoll ff6ef1e55d Merge branch '2.1.x' 2019-02-18 16:49:42 +01:00
Stephane Nicoll 20c39dc554 Document missing keys mapped on third party types
Closes gh-15980
2019-02-18 16:48:51 +01:00
Brian Clozel 2a2bfb9915 Auto-generate the "Common application properties"
Prior to this commit, the application properties listed in the reference
documentation would be manually managed and updated.

This commit adds a new `spring-boot-configuration-docs` project that
extracts that information from the available JSON metadata and writes
Asciidoctor tables ready for inclusion in the reference documentation.

The `generateConfigurationPropertyTables.groovy` is using this library
and configures the sections and how namespaces should be organized.

Fixes gh-8237
2019-02-18 15:46:15 +01:00
Andy Wilkinson add8c6f295 Align HypermediaAutoConfigurationTests with latest HATEOAS API changes
See gh-15939
2019-02-18 09:41:11 +00:00
Stephane Nicoll 6e8cc49a1e Merge branch '2.1.x' 2019-02-15 09:39:51 +01:00
Stephane Nicoll 5916393b20 Upgrade to Spring Integration 5.1.3
Closes gh-15866
2019-02-15 09:38:34 +01:00
Madhura Bhave 9bc9639954 Merge branch '2.1.x' 2019-02-14 21:54:37 -08:00
Madhura Bhave 012a956454 Fix typo in doc 2019-02-14 19:39:01 -08:00
Andy Wilkinson bd504e68fc Merge branch '2.1.x' 2019-02-14 15:21:30 +00:00
Andy Wilkinson 33b9321071 Track condition evaluation per-context when determining delta
Closes gh-15766
2019-02-14 15:11:18 +00:00
Stephane Nicoll 71df2f311b Polish "Expose Tomcat AccessLog Max days property"
Closes gh-15954
2019-02-14 16:01:21 +01:00
Dmytro Nosan 596f0c28c0 Expose Tomcat AccessLog Max days property
See gh-15954
2019-02-14 16:01:21 +01:00
Andy Wilkinson be40d000ba Merge branch '2.1.x' 2019-02-14 14:46:59 +00:00
Andy Wilkinson 1be794fe65 Retry upload for any SocketException not just a ConnectException
Previously, DevTools would retry the upload of the changes to an
application in the event of a ConnectException. If a different
network-level failure occurred, it would not be retried and would
cause the file watching thread to die.

This commit attempts to make things more robust by retrying all
SocketExceptions and not just ConnectExceptions. A warning is
logged when a failure occurs. A separate debug message that
includes the exception is also logged.

Closes gh-10317
2019-02-14 14:46:52 +00:00
Stephane Nicoll 8939a7eec3 Merge branch '2.1.x' 2019-02-14 15:35:18 +01:00
Stephane Nicoll f3e142cb7c Polish "Stop using imports from shaded dependencies"
Closes gh-15950
2019-02-14 15:34:03 +01:00
Michael Simons de7812aa3a Stop using imports from shaded dependencies
See gh-15950
2019-02-14 15:34:03 +01:00
Andy Wilkinson 8bcc0caa06 Merge branch '2.1.x' 2019-02-14 14:25:55 +00:00
Andy Wilkinson 90f059cf3a Upgrade to Spring Session Bean-SR3
Closes gh-15868
2019-02-14 14:25:51 +00:00
Stephane Nicoll c1cccc886a Merge branch '2.1.x' 2019-02-14 15:22:35 +01:00
Stephane Nicoll cd322d7b9c Polish "Add a link to SpringMockK in the Kotlin documentation"
Closes gh-15943
2019-02-14 15:22:02 +01:00
Sebastien Deleuze da6de215a6 Add a link to SpringMockK in the Kotlin documentation
See gh-15943
2019-02-14 15:21:12 +01:00
Andy Wilkinson 3a4a431eaa Provide a configuration option to enable lazy initialization
Closes gh-15870
2019-02-14 12:41:49 +00:00
Andy Wilkinson 6519e85b5a Merge branch '2.1.x' 2019-02-14 08:23:38 +00:00
Andy Wilkinson 027f9182a8 Generate Javadoc with same source level as used for compilation
This works around a change in javadoc generation in JDK 11.0.2. See
https://bugs.openjdk.java.net/browse/JDK-8212233 for details.
2019-02-14 08:23:20 +00:00
Madhura Bhave 862ffcbbf4 Merge branch '2.1.x' 2019-02-13 13:33:14 -08:00
Madhura Bhave bbe555a4f5 Split Jersey management context configuration
This commit splits the management context configuration for jersey
into two separate configurations depending on if the type is SAME or
CHILD. The configuration for the SAME context should only kick in if
there is no existing ResourceConfig bean.

Fixes gh-15891
2019-02-13 13:27:54 -08:00