Commit Graph

2202 Commits (eb4f59094aa2f8af8850878a3f864fe5ce48eec8)

Author SHA1 Message Date
Stephane Nicoll e236b71615 Move RabbitMQ Simple listener support to dedicated namespace
Move `spring.rabbitmq.listener.*` to `spring.rabbitmq.listener.simple.*`
in preparation for Spring AMQP 2.0 that supports different container
types.

Closes gh-9108
See gh-9055
8 years ago
Andy Wilkinson 3abd8d3adf Drop support for configuring PropertiesLauncher with application.properties
Closes gh-8464
8 years ago
Andy Wilkinson 525f421441 Update MultipartProperties' prefix to reflect that it's Servlet-specific
Closes gh-8628
8 years ago
Stephane Nicoll 0aded58884 Polish "Add auto-configuration support for Hazelcast client"
Closes gh-7469
8 years ago
Stephane Nicoll ae3225e76e Mention that Lettuce requires commons-pool2
We intend to remove this limitation in a future milestone but as the
Lettuce auto-configuration requires `commons-pool2`, this commit updates
the How-To to mention that.

See gh-9091
8 years ago
Andy Wilkinson 11c3c4c20b Drop support for org.json:json-based JSON parsing
Closes gh-8710
8 years ago
Stephane Nicoll 05cf41bd9e Merge branch '1.5.x' 8 years ago
Stephane Nicoll 81e3b392c3 Merge branch '1.4.x' into 1.5.x 8 years ago
Stephane Nicoll e8f99dc01c Fix typo
Closes gh-9082
8 years ago
Andy Wilkinson 329a950bd8 Remove testing support from the CLI
The testing support in the CLI has proven to be more trouble than
it's worth. Our recommendation is that, once an app gets to the stage
of requiring a test suite, it should be converted to a Maven or
Gradle project. This makes it easy to version, publish, deploy etc
using the vast ecosystems of the two build systems.

As part of this change, the dependency management for Spock has been
moved into spring-boot-parent, thereby making it "private". This
allows it to continue to manage the test-only Spock dependency in
spring-boot-test without also managing the version of Spring that is
used by a user's application.

Closes gh-9087
Fixes gh-9043
8 years ago
Stephane Nicoll de268d97e2 Add auto-configuration for reactive Redis
This commit provides an auto-configuration for reactive Redis and a
starter that provides Lettuce as Jedis doesn't support reactive
operations.

There are no support for reactive redis repositories at the moment so
only a `ReactiveRedisTemplate` is auto-configured if necessary.

Closes gh-8053
8 years ago
Stephane Nicoll 6a386c34d5 Merge branch '1.5.x' 8 years ago
Stephane Nicoll 54a8dc5b33 Merge branch '1.4.x' into 1.5.x 8 years ago
Stephane Nicoll e2b209e409 Polish "Clarify and re-organize docs on caching"
Closes gh-9065
8 years ago
Dave Syer 11feb75752 Clarify and re-organize docs on caching
See gh-9065
8 years ago
Stephane Nicoll e7efa8f133 Polish "Add Lettuce Redis driver autoconfiguration"
Closes gh-5311
8 years ago
Mark Paluch 4563da9ac7 Add Lettuce Redis driver autoconfiguration
Introduce an alternative autoconfiguration if the lettuce Redis driver is
available. Add Lettuce-specific configuration property options
"spring.redis.lettuce.shutdown-timeout" to control the shutdown timeout
of the lettuce driver. Add documentation for the properties, the
supported drivers, and how to switch between drivers.

Split client-specific properties from spring.redis.pool to
spring.redis.jedis.pool and introduce spring.redis.lettuce namespace.
Deprecate spring.redis.pool property.

See gh-5311
8 years ago
Stephane Nicoll 43fb99aafa Merge branch '1.5.x' 8 years ago
Stephane Nicoll 652a5e7baa Merge branch '1.4.x' into 1.5.x 8 years ago
Stephane Nicoll f060922350 Fix cache example in the doc
Closes gh-8983
8 years ago
Michael J. Simons 18230d7f23 Fix several broken links to sources
Closes gh-9042
8 years ago
Phillip Webb 72813a47e7 Polish 8 years ago
Brian Clozel 3cc0f7b70d Document embedded web server refactoring
Closes gh-8532
8 years ago
Michael J. Simons 4a58e87201 Remove references to *EmbeddedServletContainerFactory
See gh-8532
8 years ago
Michael J. Simons 0436070b98 Fix docs howto customize the embedded webserver
This reflects the changes from 67556ba8.
See gh-8532.
8 years ago
Brian Clozel f2c63706da Change default file extension for Mustache templates
This commit changes the default file extension for Mustache templates,
from `.html` to `.mustache`, which is the file extension used in the
official reference documentation and by most IDE plugins.

Fixes gh-8997
8 years ago
Brian Clozel 4d5dcca553 Add Thymeleaf auto-configuration for WebFlux
Thymeleaf 3.0 implements the Spring 5.0 view infrastructure for WebMVC
and the new WebFlux framework. This commit adds auto-configuration for
the WebFlux support.

In that process, the configuration property for `spring.thymeleaf` has
been changed to add `spring.thymeleaf.servlet` and
`spring.thymeleaf.reactive` for MVC/WebFlux specific properties.

Now that the `spring-boot-starter-thymeleaf` does not only support
Spring MVC, the transitive dependency on `spring-boot-starter-web` is
removed from it.

Fixes gh-8124
8 years ago
Phillip Webb 45dd9f7144 Polish 8 years ago
Vedran Pavic 33dd9d6d84 Remove Spring Session Mongo support
Remove auto-configuration support for Spring Session Mongo since it is
no longer supported in Spring Session 2.0.

See gh-9011
8 years ago
Stephane Nicoll 800eb010b1 Change the default JDBC connection pool to Hikari
Closes gh-6013
8 years ago
Stephane Nicoll df388aaaf9 Polish doc 8 years ago
Stephane Nicoll e9abe3fcca Polish "Do not expose `exception` error attribute by default"
Closes gh-8971
8 years ago
Vedran Pavic afe0c6f432 Do not expose `exception` error attribute by default
See gh-8971
8 years ago
Stephane Nicoll f5db75792e Add support for configuring Jetty's request log via the environment
Closes gh-8819
8 years ago
olivier lamy ce892a06e4 Add support for configuring Jetty's request log via the environment
See gh-8819
8 years ago
Stephane Nicoll 47037d5227 Polish "Add reactive support for Spring Data Cassandra"
Closes gh-8568
8 years ago
Eddú Meléndez abd35f041b Add reactive support for Spring Data Cassandra
See gh-8568
8 years ago
Stephane Nicoll 3e60ec6cb4 Polish "Add database initializer for Spring Integration"
Closes gh-8881
8 years ago
Vedran Pavic 48bc29c77a Add database initializer for Spring Integration
See gh-8881
8 years ago
Stephane Nicoll 144868a3ce Polish "Support of Neo4j auto-index configuration"
Closes gh-8843
8 years ago
Aurélien Leboulanger 779733c379 Support of Neo4j auto-index configuration
See gh-8843
8 years ago
Spring Buildmaster 9768b0a8c2 Next Development Version 8 years ago
Spring Buildmaster d719d2cbbc Next Development Version 8 years ago
Phillip Webb 81fef71fcb Merge branch '1.5.x' 8 years ago
Dave Syer 14638e67bc Extended PropertiesLauncher class location logic
Update `PropertiesLauncher` so that classes can be loaded outside of
`BOOT-INF/classes`. You can use a subdirectory, or the root directory
of an external jar (but not the parent archive to avoid issues
with agents and awkward delegation models).

Fixes gh-8480
Closes gh-8486
8 years ago
Madhura Bhave 359854eb85 Merge branch '1.5.x' 8 years ago
Madhura Bhave 2a7fd5011d Clarify docs on actuator security
Closes gh-8646
8 years ago
Madhura Bhave 115b369633 Update documentation with new default prefix for actuators
Closes gh-6886
8 years ago
Stephane Nicoll 42c1eb894e Merge branch '1.5.x' 8 years ago
Stephane Nicoll 8c21e16cf1 Add reference to Infinispan starter
Closes gh-8592
8 years ago
Stephane Nicoll 04ee374e7f Polish "Add slice test annotation for LDAP"
Closes gh-8536
8 years ago
Eddú Meléndez 2830bef95c Add slice test annotation for LDAP
This commit adds new annotation `@DataLdapTest` which provides test
infrastructure for LDAP. By default, embedded ldap server is initialized
if available.

See gh-8536
8 years ago
Stephane Nicoll 50331102b7 Review configuration properties appendix 8 years ago
Stephane Nicoll 8cd4f13464 Merge branch '1.5.x' 8 years ago
Stephane Nicoll b3c8511fb6 Merge branch '1.4.x' into 1.5.x 8 years ago
Stephane Nicoll 4fd9a8c468 Add missing spring.datasource.xa properties in the appendix
Closes gh-8895
8 years ago
Stephane Nicoll e9b7c7afd2 Merge branch '1.5.x' 8 years ago
Stephane Nicoll 584b61ecc1 Remove deprecated property 8 years ago
Stephane Nicoll eeed3a841c Review configuration properties appendix 8 years ago
Stephane Nicoll abe3dba4b9 Merge branch '1.5.x' 8 years ago
Stephane Nicoll f4ab574ea1 Merge branch '1.4.x' into 1.5.x 8 years ago
Stephane Nicoll 072160863a Add a note about transactional tests and `webEnvironment`
Closes gh-8232
8 years ago
Stephane Nicoll 01089c5f7a Merge branch '1.5.x' 8 years ago
Stephane Nicoll 68c90b24c2 Merge branch '1.4.x' into 1.5.x 8 years ago
Stephane Nicoll 40f4c89602 Document list merge restrictions with YAML
Closes gh-6911
8 years ago
Phillip Webb c4cba6b0ea Merge branch '1.5.x' 8 years ago
Phillip Webb d301d0f4c3 Merge branch '1.4.x' into 1.5.x 8 years ago
Phillip Webb 758ddcd420 Polish 8 years ago
Stephane Nicoll 158b3dae16 Merge branch '1.5.x' 8 years ago
Stephane Nicoll 2ef318c00d Polish "Add the ability to disable the trace filter"
Closes gh-8650
8 years ago
Johnny Lim 0cd1285aa4 Polish
Closes gh-8879
8 years ago
Stephane Nicoll 5b92a0278b Merge branch '1.5.x' 8 years ago
Stephane Nicoll 3f883f1898 Merge branch '1.4.x' into 1.5.x 8 years ago
Stephane Nicoll 404bb2d171 Polish
See gh-8879
8 years ago
Stephane Nicoll 2bdbe343df Merge branch '1.5.x' 8 years ago
Stephane Nicoll a132bd141f Merge branch '1.4.x' into 1.5.x 8 years ago
Stephane Nicoll 0a55e3e736 Polish "Clarify edge case docs on ConditionalOnClass"
Closes gh-8185
8 years ago
Phillip Verheyden 08f8219248 Clarify edge case docs on ConditionalOnClass
When used as a meta-annotation the value() attribute of
@ConditionalOnClass will fail silently resulting in the @Conditional
nature of the annotation being ignored.

See gh-8185
8 years ago
Stephane Nicoll b099471df3 Merge branch '1.5.x' 8 years ago
Stephane Nicoll 2d930fd653 Merge branch '1.4.x' into 1.5.x 8 years ago
Stephane Nicoll a8860ba7e9 Clarify use of `@TestConfiguration`
As `@TestComponent` is an implementation detail at this point really, this
commit removes any reference to it from the doc.

Closes gh-8421
8 years ago
Stephane Nicoll b3bcecc988 Merge branch '1.5.x' 8 years ago
Stephane Nicoll d8d36255af Merge branch '1.4.x' into 1.5.x 8 years ago
Stephane Nicoll fd53945fe0 Polish "Document HTTP response format of health endpoint"
Closes gh-8703
8 years ago
Luis Fernando Pollo 1fa1ed2b28 Document HTTP response format of health endpoint
Add HTTP response format details for health endpoint, including default
status codes and sample responses.

See gh-8703
8 years ago
Stephane Nicoll 2d169d526a Merge branch '1.5.x' 8 years ago
Stephane Nicoll fffb53ccf5 Fix neo4j embedded documentation
The neo4j embedded driver no longer embeds the neo4j kernel and users are
expected to add that dependency manually. We don't provide dependency
management for any of them so this commit updates the documentation to
refers to the official documentation.

Closes gh-8567
8 years ago
Johnny Lim 8d921d49aa Fix typos in new Gradle plugin
Closes gh-8818
8 years ago
Phillip Webb 2de7e9c310 Merge branch '1.5.x' 8 years ago
Phillip Webb ad38776de3 Polish 8 years ago
Phillip Webb ddcb5ee328 Polish 8 years ago
Andy Wilkinson 395db8711c Merge branch '1.5.x' 8 years ago
Andy Wilkinson df6167dd71 Merge branch '1.4.x' into 1.5.x 8 years ago
Andy Wilkinson 9374020b0e Stop -> from being replaced with → as the latter renders as # in PDF
Closes gh-8575
8 years ago
Andy Wilkinson 01166381a0 Provide separate documentation (API and reference) for Gradle plugin 8 years ago
Stephane Nicoll 78845fe63a Switch default value of spring.aop.proxy-target-class
This commit ensures that the default proxying value matches the opinion we
have applied for `@EnableTransactionManagement`

Closes gh-8786
8 years ago
Stephane Nicoll b08016f15a Polish "Add @DataNeo4jTest" contribution
Closes gh-8618
8 years ago
Johnny Lim 1ed5108639 Update doc for add-application-context-header
Closes gh-8791
8 years ago
Stephane Nicoll ff50331168 Merge branch '1.5.x' 8 years ago
Stephane Nicoll d8e90af3bf Merge branch '1.4.x' into 1.5.x 8 years ago
Dániel Zelei cc30adf0df Fix propdeps-plugin url in doc
Closes gh-8678
8 years ago
Stephane Nicoll ee0a151671 Merge branch '1.5.x' 8 years ago
Stephane Nicoll 49b8d8c482 Polish
See gh-8698
8 years ago
Andy Wilkinson d322d8613b Upgrade to Flyway 4.1.2
Closes gh-8752
8 years ago
Kazuki Shimizu bbde6de95b Fix syntax in doc
Closes gh-8688
8 years ago
Andy Wilkinson 2fd51dd8a1 Upgrade to Spring REST Docs 1.2.0.RC1
Closes gh-8716
8 years ago
Madhura Bhave 30eae8a47d Merge branch '1.5.x' 8 years ago
Madhura Bhave aa25bfb0e0 Clarify the effect that management.context-path has on endpoint paths
Fixes gh-8586
8 years ago
Madhura Bhave 6ad46db944 Merge branch '1.5.x' 8 years ago
Madhura Bhave cb38546d8a Document default trace includes
Closes gh-8654
8 years ago
Andy Wilkinson 25bf4a14cd Start building against Neo4j OGM 3.0.0 snapshots
This commit our Neo4j OGM dependency with the Spring Data Neo4j
snapshots that are currently included in snapshots of Spring Data Kay.

It switches to using Neo4j's Bolt driver by default, aligning it with
the default of the latest Spring Data Neo4j 5 snapshots.

It also contains a workaround for a Neo4j OGM issue [1] and a change
to Neo4jDataAutoConfigurationTests that prevents the entire classpath
from being scanned.

See gh-8687

[1] https://github.com/neo4j/neo4j-ogm/issues/340
8 years ago
Stephane Nicoll b8527d7060 Merge branch '1.5.x' 8 years ago
Sola ddd8d03a2a Fix typo in doc
Closes gh-8658
8 years ago
Stephane Nicoll 2f8f400a63 Merge branch '1.5.x' 8 years ago
Stephane Nicoll 84dea5264f Merge branch '1.4.x' into 1.5.x 8 years ago
Stephane Nicoll 0ca07fbdc3 Polish contribution
Closes gh-8594
8 years ago
lexandro 36b28540ee Fix invalid security example in doc
Closes gh-8580
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 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 099e188f9f Unify WebServerFactoryCustomizers
Replace `ReactiveWebServerCustomizer` and `WebServerFactoryCustomizer`
with a unified `WebServerFactoryCustomizer`.

Fixes gh-8558
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
Stephane Nicoll 6a137260c1 Merge branch '1.4.x' into 1.5.x 8 years ago
Stephane Nicoll 4158a6d50f Fix typo
Closes gh-8574
8 years ago
Andy Wilkinson b35c162593 Raise the minimum supported version of Gradle to 3.4
Closes gh-7922
8 years ago
Stephane Nicoll 5ca197b5b6 Merge branch '1.5.x' 8 years ago
Stephane Nicoll f8bf05b91f Polish contribution
Closes gh-8474
8 years ago
srichard 0ddaca57fb Add Tomcat Access Log's fileDateFormat property
Closes gh-8396
8 years ago
Stephane Nicoll abef1ee4db Merge branch '1.5.x' 8 years ago
Stephane Nicoll feb1ab375f Merge branch '1.4.x' into 1.5.x 8 years ago
Eddú Meléndez 251090b1e5 Add missing spring-data-cassandra metadata
This commit adds the missing
`spring.data.cassandra.repositories.enabled` in the metadata and the
documentation.

Closes gh-8562
8 years ago
Stephane Nicoll dc3b2a70b9 Merge branch '1.5.x' 8 years ago
Stephane Nicoll 544c73841d Merge branch '1.4.x' into 1.5.x 8 years ago
Stephane Nicoll 633e75dce2 Fix typo
Closes gh-8563
8 years ago
Stephane Nicoll 68ef19b69b Merge branch '1.5.x' 8 years ago
Stephane Nicoll 207ab3ecb4 Merge branch '1.4.x' into 1.5.x 8 years ago
Stephane Nicoll 07c56c60ba Make sure Hazelcast bootstraps before any JCache setup
This commit makes sure that if a `javax.cache.CacheManager` is required,
an auto-configured `HazelcastInstance` is fully resolved first. This
prevents the case where the JCache bootstrap actually starts an instance
early, followed by a second (potentially unwanted) instance created by the
regular auto-configuration.

Since the JCache implementation works with an `HazelcastInstance` behind
the scenes, if there is one `HazelcastInstance` configured and it has a
name, then we configure the `CacheProvider` to use that. Future Hazelcast
version will allow to pass the instance directly (i.e. not requiring an
actual name).

Closes gh-8484
8 years ago
Phillip Webb d8f827d224 Cleanup and format code 8 years ago
Phillip Webb 425dbc3e52 Update copyright header for edited files 8 years ago
Spring Buildmaster d23fa24340 Next Development Version 8 years ago
Spring Buildmaster 2a83e80a9b Next Development Version 8 years ago
Stephane Nicoll d811b5fb1d Merge branch '1.5.x' 8 years ago
Stephane Nicoll bb8800a625 Deprecate spring.cache.hazelcast.config
The additional configuration for an `HazelcastInstance` will be removed
in 2.0. This commit makes sure that the property is deprecated in 1.5

See gh-8470
8 years ago
Vedran Pavic 1c789f1a8d Remove dependency management for `hibernate-entitymanager`
Closes gh-8433
8 years ago