Commit Graph

11353 Commits (287520a810e64e78cec9cbd6d0e419654c517225)
 

Author SHA1 Message Date
Stephane Nicoll fa3679af71 Merge branch '1.4.x' into 1.5.x 8 years ago
Stephane Nicoll cd76da9a4c Avoid using immutable collections for configuration proprerties
Closes gh-8620
8 years ago
Stephane Nicoll 0c4c2f4bf4 Harmonize webflux sample test 8 years ago
Stephane Nicoll 6d6d76ca06 Polish
See gh-8543
8 years ago
Madhura Bhave 0b1d32e762 Add tests for TestRestTemplate in reactive env
Closes gh-8543
8 years ago
Andy Wilkinson 1893fdab0d Revert "Upgrade to Jackson 2.9.0.pr1"
This reverts commit 10ae5e8f3f. Health
serialization fails with Jackson 2.9.0 (gh-7695).

See gh-8537
8 years ago
Andy Wilkinson 10ae5e8f3f Upgrade to Jackson 2.9.0.pr1
As part of the upgrade, this commit removes the use of any API that
has been deprecated in 2.9.0.pr1. This includes the config props
endpoint's use of SerializationFeature.WRITE_NULL_MAP_VALUES. This
has been replaced with configuring serialization inclusion to only
include properties with non-null values. This means that all
null-valued properties will no longer be serialized, not just those
that are an entry in a map.

Closes gh-8604
Closes gh-8537
8 years ago
Stephane Nicoll 7ee5e43109 Merge branch '1.5.x' 8 years ago
Stephane Nicoll 22934e097d Merge branch '1.4.x' into 1.5.x 8 years ago
Stephane Nicoll ed2164b97b Merge pull request #8582 from vpavic:improve-redis-session-config
* pr/8582:
  Improve `RedisSessionConfiguration` conditions
8 years ago
Vedran Pavic 17aad4f00c Improve `RedisSessionConfiguration` conditions
Closes gh-8582
8 years ago
Stephane Nicoll 883dd5802b Merge branch '1.5.x' 8 years ago
Stephane Nicoll cc79f6d83d Merge branch '1.4.x' into 1.5.x 8 years ago
Stephane Nicoll f72e0c08df Add a note to ActiveMQ pooling in the doc
Closes gh-8598
8 years ago
Stephane Nicoll 2a22afdba7 Merge pull request #8621 from izeye:polish-20170315
* pr/8621:
  Polish
8 years ago
Johnny Lim a3d15ed222 Polish
Closes gh-8621
8 years ago
Stephane Nicoll 1b395ddd9d Merge branch '1.5.x' 8 years ago
Stephane Nicoll cd8684499d Polish
See gh-8621
8 years ago
Stephane Nicoll 6be2cc30d3 Merge branch '1.4.x' into 1.5.x 8 years ago
Stephane Nicoll bc157d5b4f Polish
See gh-8621
8 years ago
Phillip Webb b76ca0bf8f Restructure web auto-configuration
Restructure `org.springframework.boot.autoconfigure.web` to better align
with the new package structure in `spring-boot`.

Auto-configuration is now split into client, servlet and reactive
sub-packages. In addition a new `http` package now handles common
HTTP concerns.

Fixes gh-8616
8 years ago
Phillip Webb 33e54ed723 Relocate `org.springframework.boot.web.support`
Move `org.springframework.boot.web.support` under the `servlet` package.

Fixes gh-8557
8 years ago
Phillip Webb 9d61882bb1 Polish `AbstractServletWebServerFactory`
Extract some of the utility methods to package private classes
8 years ago
Phillip Webb b1c689b9b2 Unify WebServerFactory implementations
Unify common for from the abstract `ServletWebServerFactory` and
`ReactiveWebServerFactory` classes. Common code is now located in
`AbstractConfigurableWebServerFactory`.

Fixes gh-8631
8 years ago
Phillip Webb 099e188f9f Unify WebServerFactoryCustomizers
Replace `ReactiveWebServerCustomizer` and `WebServerFactoryCustomizer`
with a unified `WebServerFactoryCustomizer`.

Fixes gh-8558
8 years ago
Phillip Webb 13db69bf41 Drop superfluous `@Order` annotation
Remove `@Order` which has no effect on `ImportBeanDefinitionRegistrar`.

Fixes gh-8603
8 years ago
Phillip Webb 4100360ceb Make ReactiveWebServerFactory functional interface
Update `ReactiveWebServerFactory` to contain only a single method.

Fixes gh-8559
8 years ago
Phillip Webb ca5e566deb Fix Configuration processor test tangle
Move `Metadata` test class to fix a package tangle in the test code.

Fixes gh-8613
8 years ago
Phillip Webb 2a9bbfdb86 Fix FailureAnalyzers tangle
Create a new `SpringBootExceptionReporter` interface so that a direct
link between `SpringApplication` and `FailureAnalyzers` is no longer
needed.

This prevents package tangle warnings and allows for cleaner separation
of concerns.

Fixes gh-8612
8 years ago
Phillip Webb 69b72874ea Extract logging listeners
Separate logging ApplicationListeners classes to a different package
so that the root `logging` package is no longer aware of `context`
concerns.

Fixes gh-8611
8 years ago
Phillip Webb 902905ad10 Fix SpringBootVersion tangle
Update `SpringBootVersion` to no longer reference `SpringApplication`
for the root package.

Fixes gh-8610
8 years ago
Phillip Webb 40b3372884 Polish 8 years ago
Madhura Bhave bfae0d7739 Merge branch '1.5.x' 8 years ago
Madhura Bhave 0dcebdaf7c Merge branch '1.4.x' into 1.5.x 8 years ago
Madhura Bhave 19da8d8271 Fix UnsupportedOperationException
Fixes gh-8602
8 years ago
Madhura Bhave 517b30acbb Merge branch '1.5.x' 8 years ago
Madhura Bhave 8deb72be80 Fix ResourceServerProperties validation
Only try and validate if clientId is present.

Fixes gh-8565
8 years ago
Madhura Bhave 8743148ccd Fix tests 8 years ago
Madhura Bhave cb1096dc7f Merge branch '1.5.x' 8 years ago
Madhura Bhave 4607f8bc2f Determine key from configured alias for undertow
Closes gh-8245
8 years ago
Madhura Bhave a47c251c5c Do not convert key nodes to originTrackedValue
Fixes gh-8540
8 years ago
Andy Wilkinson 703d403f7d Tweak file property of import control config to work on Windows 8 years ago
Andy Wilkinson bb54411366 Merge branch '1.5.x' 8 years ago
Andy Wilkinson 17062f9589 Merge branch '1.4.x' into 1.5.x 8 years ago
Andy Wilkinson 2ddcf0e831 Avoid using File.renameTo(File) as it doesn't work on Windows 8 years ago
Andy Wilkinson 78824b02f3 Start building against Reactor Bom Aluminium snapshots for SR2
See gh-8589
8 years ago
Phillip Webb b0eb5ef71b Fix checkstyle import control
Use fully expanded referenced in an attempt to make the CI happy.

Fixes gh-8532
8 years ago
Phillip Webb 5d89a0c0b7 Remove TomcatResources
Remove `TomcatResources` which isn't needed on master since we only
support Tomcat 8.

See gh-8532
8 years ago
Phillip Webb 67556ba8ea Restructure embedded web server packages
Rework `org.springframework.boot.context.embedded` to relocate classes
to `org.springframework.boot.web`. Packages are now organized around
the following areas:

Packages for shared concerns, for example the `WebServer` interface
to start/stop a server and the common configuration elements:
- org.springframework.boot.web.context
- org.springframework.boot.web.server

Servlet specific packages:
- org.springframework.boot.web.servlet.server
- org.springframework.boot.web.servlet.context
- org.springframework.boot.web.servlet.filter

Reactive specific packages:
- org.springframework.boot.web.reactive.context
- org.springframework.boot.web.reactive.server

Embedded server implementations (both reactive and servlet):
- org.springframework.boot.web.embedded

In addition:

- Rename `EmbeddedServletContainerFactory` to `ServletWebServerFactory`
  to align with the `ReactiveWebServerFactory`.
- Rename `EmbeddedWebApplicationContext` to
  `ServletWebServerApplicationContext` and
- Rename `EmbeddedReactiveWebApplicationContext` to
  `ReactiveWebServerApplicationContext`.
- Add checkstyle rules to restrict imports.
- Fixup all affected code to use the correct imports and local names.

Fixes gh-8532
8 years ago
Stephane Nicoll 7b388e5865 Merge branch '1.5.x' 8 years ago