Commit Graph

15946 Commits

Author SHA1 Message Date
Madhura Bhave
cb3da28bb9 Enforce length > 1 for H2 and WebServices path
Fixes gh-12485
2018-03-15 12:14:28 -07:00
Madhura Bhave
e6149fda1c Assert endpoints basePath starts with '/' or is empty
Fixes gh-12489
2018-03-15 11:39:37 -07:00
Brian Clozel
b8e8647391 Fix Servlet requirements in reference docs
As of Spring Framework 5.0, only Servlet 3.1+ containers are supported.
See https://github.com/spring-projects/spring-framework/wiki/Upgrading-to-Spring-Framework-5.x

This commit updates the reference documentation to reflect that and also
removes sections describing pre-Servlet 3.1 solutions, as those are not
supported anymore.

Fixes gh-12370
2018-03-15 17:25:48 +01:00
Brian Clozel
2561f320e8 War deployment is not supported for WebFlux apps
Even though War deployment is supported by Spring Framework itself for
WebFlux applications, this is not the case currently in Spring Boot.

Fixes gh-12455
2018-03-15 16:58:40 +01:00
Brian Clozel
a0b9974796 Polish Couchbase tests 2018-03-15 15:49:21 +01:00
Brian Clozel
ac64441611 Merge pull request #12495 from dreis2211
* pr/12495:
  Use ApplicationContextRunner in tests
2018-03-15 14:36:00 +01:00
dreis2211
ca30739bf9 Use ApplicationContextRunner in tests
Closes gh-12495
2018-03-15 14:28:56 +01:00
Andy Wilkinson
19b726854d Upgrade to Mariadb 2.2.3
Closes gh-12503
2018-03-15 13:00:08 +00:00
Andy Wilkinson
6da049b7e3 Upgrade to Solr 6.6.3
Closes gh-12502
2018-03-15 13:00:08 +00:00
Andy Wilkinson
c940f49bb3 Upgrade to Johnzon Jsonb 1.1.7
Closes gh-12501
2018-03-15 13:00:07 +00:00
Andy Wilkinson
3aafbce4f8 Upgrade to Byte Buddy 1.7.11
Closes gh-12500
2018-03-15 13:00:06 +00:00
Andy Wilkinson
b948e32f12 Upgrade to Couchbase Client 2.5.6
Closes gh-12499
2018-03-15 13:00:05 +00:00
Andy Wilkinson
d5e588d50a Merge branch '1.5.x' 2018-03-15 12:51:51 +00:00
Andy Wilkinson
cfcc387593 Add dependency management for Spring AMQP's testing modules
Closes gh-12393
2018-03-15 12:51:02 +00:00
Andy Wilkinson
53924de556 Merge branch '1.5.x' 2018-03-15 12:47:52 +00:00
Brian Clozel
4a0b69aa1f Merge pull request #12492 from tsachev
* pr/12492:
  Fix Javadoc for ServiceLevelAgreementBoundary
2018-03-15 13:41:59 +01:00
Andy Wilkinson
f553de4486 Upgrade to Infinispan 8.2.10.Final
Closes gh-12498
2018-03-15 12:41:52 +00:00
Andy Wilkinson
394054c7b7 Upgrade to Tomcat 8.5.29
Closes gh-12497
2018-03-15 12:41:52 +00:00
Andy Wilkinson
85096824be Upgrade to Mysql 5.1.46
Closes gh-12496
2018-03-15 12:41:52 +00:00
Vladimir Tsanev
bf433e7f17 Fix Javadoc for ServiceLevelAgreementBoundary
Closes gh-12492
2018-03-15 13:40:13 +01:00
Brian Clozel
57147241cb Make WebClientCustomizer optional for WebClient
This commit removes the required dependency on `WebClientCustomizer`
instances when creating `WebClient` beans, making it optional.

Closes gh-12458
2018-03-15 10:47:45 +01:00
Phillip Webb
d1e51d7f98 Explicitly set asyncSupported for reactive servers
Update `JettyReactiveWebServerFactory`/`TomcatReactiveWebServerFactory`
to explicitly set `asyncSupported` to `true`.

Fixes gh-12486
2018-03-14 16:09:45 -07:00
Brian Clozel
079851ebb4 Merge pull request #12472 from igor-suhorukov
* pr/12472:
  avoid check class by string name
2018-03-15 00:00:33 +01:00
igor-suhorukov
4c61d8abfe avoid check class by string name 2018-03-14 23:59:42 +01:00
Phillip Webb
09e0f1e841 Merge pull request #12459 from izeye
* pr/12459:
  Add missing super() calls
2018-03-14 15:56:53 -07:00
Johnny Lim
2e6914ea88 Add missing super() calls
Closes gh-12459
2018-03-14 15:56:53 -07:00
Brian Clozel
a08deff0ce Fix WelcomePageHandlerMapping order
This commit fixes 220f8cd and moves the order for
`WelcomePageHandlerMapping` to `2` since the previous order was
conflicting with the resource mapping.

Closes gh-12335
2018-03-14 23:38:17 +01:00
Jon Schneider
0ce7c34036 Upgrade to Micrometer 1.0.2
Closes gh-12480
2018-03-14 15:27:06 -07:00
Phillip Webb
ca7b230521 Merge pull request #12477 from dreis2211
* pr/12477:
  Polish "Move test to ApplicationContextRunner"
  Move test to ApplicationContextRunner
2018-03-14 15:21:18 -07:00
Phillip Webb
c3bc6f6dd6 Polish "Move test to ApplicationContextRunner"
Closes gh-12477
2018-03-14 15:20:56 -07:00
dreis2211
3246496e2c Move test to ApplicationContextRunner
Move `DispatcherServletAutoConfigurationTests` to use the
`ApplicationContextRunner`

See gh-12477
2018-03-14 15:20:16 -07:00
Phillip Webb
8a53631066 Merge pull request #12475 from dreis2211
* pr/12475:
  Replace Mockito.times(0) with Mockito.never()
2018-03-14 15:12:35 -07:00
dreis2211
8626daf135 Replace Mockito.times(0) with Mockito.never()
Closes gh-12475
2018-03-14 15:12:20 -07:00
Phillip Webb
1412e7e690 Merge pull request #12428 from atelechev
* atelechev/refactor-spring-boot-json-parsers:
  Polish "refactor spring-boot JSON parser"
  Refactor spring-boot JSON parsers
2018-03-14 15:01:39 -07:00
Phillip Webb
90949669be Polish "refactor spring-boot JSON parser"
Polish JSON parser refactoring and remove some more duplication.

Closes gh-12428
2018-03-14 14:54:21 -07:00
Anton Telechev
aa69621078 Refactor spring-boot JSON parsers
Refactor JSON parser wrappers to remove duplicate code portions in the
parseMap() and parseList() methods by adding an AbstractJsonParser.

See gh-12428
2018-03-14 14:53:35 -07:00
Phillip Webb
a4b0be089d Polish 2018-03-14 14:05:26 -07:00
Brian Clozel
220f8cdca2 Order WelcomePageHandlerMapping at lower precedence
This commit orders the `WelcomePageHandlerMapping` at
`Ordered.LOWEST_PRECEDENCE -1` in order to give a chance to other
mappings to handle the incoming requests.

In this case, developers might provide a custom `ViewController` or
custom `HandlerMapping` for the `"/"` path and we should not override
that opinion.

Closes gh-12335
2018-03-14 17:16:39 +01:00
Stephane Nicoll
5320081d0b Revert "Only create a WebTestClient with WebFlux"
This reverts commit 282bd9f
2018-03-14 08:34:48 -04:00
Stephane Nicoll
b80620fe28 Revert "Group auto-configuration import selectors together"
This reverts commit 26d9c26
2018-03-14 08:34:30 -04:00
Stephane Nicoll
282bd9f0db Only create a WebTestClient with WebFlux
This commit updates WebTestClientAutoConfiguration to only create a
WebTestClient when running a WebFlux-based application as mocking the
context only works with that mode at the moment.

Closes gh-12318
2018-03-14 05:12:45 -04:00
Stephane Nicoll
26d9c261c5 Group auto-configuration import selectors together
This commit updates Spring Boot's DeferredImportSelector implementations
to group imports in a consistent set. This makes sure ordering is
applied consistently.

Closes gh-12366
2018-03-14 05:02:22 -04:00
Madhura Bhave
3ae4a541b6 Merge pull request #12471 from Jon Schneider
* gh-12471:
  Correct default Wavefront proxy port in docs
2018-03-13 17:53:18 -07:00
Jon Schneider
172794d446 Correct default Wavefront proxy port in docs
Closes gh-12471
2018-03-13 17:52:13 -07:00
Madhura Bhave
2e4087b80f Merge pull request #12468 from Christoph Dreis
* gh-12468:
  Fix typos
2018-03-13 17:46:39 -07:00
dreis2211
0d3f3e46dd Fix typos
Closes gh-12468
2018-03-13 17:42:19 -07:00
Andy Wilkinson
2f1b2e3ce2 Log summary of web-exposed endpoints during startup
Closes gh-12442
2018-03-13 14:55:51 +00:00
Andy Wilkinson
f758a4ddd5 Do not link to controller endpoints in Jersey-based Actuator
Closes gh-12463
2018-03-13 14:55:51 +00:00
Stephane Nicoll
e02a1fa62b Merge pull request #12454 from dreis2211:remove-duplicated-author-tags
* pr/12454:
  Remove duplicated @author tags
2018-03-13 08:51:53 +01:00
dreis2211
a21ea612db Remove duplicated @author tags
Closes gh-12454
2018-03-13 08:51:17 +01:00