Commit Graph

1884 Commits (d9f4f51e5b404c7535e0b4f42525c92ba58c9bdf)

Author SHA1 Message Date
Stephane Nicoll 615804ff34 Polish configuration keys documentation 8 years ago
Dave Syer 21be9ef666 Merge remote-tracking branch 'origin/1.5.x' 8 years ago
Dave Syer fe344df9c5 Change default order of OAuth2 resource server filter chain
The default is now SecurityProperties.ACCESS_OVERRIDE_ORDER-1
(instead of 3), and the user can set it with
security.oauth2.resource.filter-order (as opposed to being hard
coded). The filter is provided by Spring OAuth2 so this change is
a BeanPostProcessor to call a setter on that object.

Fixes gh-5072
8 years ago
Stephane Nicoll 0cfc32e5a1 Merge branch '1.5.x' 8 years ago
Vedran Pavic 6eea679535 Add `LoggersEndpoint` to application properties appendix
Closes gh-7877
8 years ago
Stephane Nicoll de4e3508f1 Merge branch '1.5.x' 8 years ago
Stephane Nicoll 0a26a4146b Make `spring.session.store-type` mandatory
This commit removes the automatic enabling of Redis as the Spring Session
store when it is available. This case is covered by a warning in `1.4.x`
that this commit removes as well.

Closes gh-7858
8 years ago
Stephane Nicoll 9a113e3b64 Merge branch '1.5.x' 8 years ago
Stephane Nicoll bf7271afa5 Upgrade to Couchbase Cache Client 2.1.0
As of 2.1 cache expiration times are to be set in seconds. This commit
migrates to the new method, yet keeping the milliseconds unit.

Closes gh-7824
8 years ago
Stephane Nicoll 2ea7187165 Add a note that CRaSH support will be removed in documentation
Closes gh-7856
8 years ago
Stephane Nicoll 506f6497c0 Merge branch '1.5.x' 8 years ago
Johnny Lim f915ae197a Polish 8 years ago
Phillip Webb 24f5125a8b Merge branch '1.5.x' 8 years ago
Phillip Webb f8a53cf775 Update actuator security documentation
Update documentation to align with the new role based method.

See gh-6889
8 years ago
Phillip Webb 7c51941578 Document Cloud Foundry actuator endpoint support
Add a Cloud Foundry specific section to "Production Ready Features".

See gh-7108
8 years ago
Phillip Webb 2fe4d60b47 Add `management.cloudfoundry.*` meta-data
Update configuration meta-data and appendix to include
`management.cloudfoundry.*` meta-data.

See gh-7108
8 years ago
Phillip Webb 18dcf31aa6 Polish documentation formatting 8 years ago
Stephane Nicoll 85f176da08 Merge branch '1.5.x' 8 years ago
Stephane Nicoll fe89af5e82 Polish contribution
Closes gh-7796
8 years ago
Phillip Webb 4026fa563f Merge branch '1.5.x' 8 years ago
Phillip Webb 5b40eb48e0 Improve MBean without backing Endpoint support
Improve support for MBeans without a backing endpoint by introducing
a `JmxEndpoint` interface. The `JmxEndpoint` is intentionally
similar in design to the `MvcEndpoint` from the `mvc` package and
allows for completely custom JMX beans that are not backed by any
real actuator `Endpoint`.

The `AuditEventsMBean` has been refactored to use the new interface and
has been renamed to `AuditEventsJmxEndpoint`.

See gh-6579
8 years ago
Vedran Pavic 2f1e4f0c02 Add MVC and JMX endpoints to retrieve audit events
Add MVC and JMX specific endpoints that allow audit events to be
retrieved.

See gh-6579
8 years ago
Phillip Webb f9bbe43791 Merge branch '1.5.x' 8 years ago
Phillip Webb f22744c748 Add support for TransactionManagerCustomizers
Add a `TransactionManagerCustomizer` callback interface that can be
used to customize auto-configured `PlatformTransactionManagers`.

Also update `...transaction.*` properties under a single unified
`spring.transaction...` key since the existing auto-configurations
would often share a transaction manager (the technology specific
transaction managers are `@ConditionalOnMissingBean` and may use
a manager created by a previous auto-configuration).

See gh-7561
8 years ago
Stephane Nicoll 576d5dd58f Merge branch '1.5.x' 8 years ago
Stephane Nicoll 378b53d42b Merge branch '1.4.x' into 1.5.x 8 years ago
Stephane Nicoll 3389af2c2f Fix build failure (II) 8 years ago
Stephane Nicoll 6ecb525a57 Fix build failure 8 years ago
Stephane Nicoll ad3b767b03 Merge branch '1.5.x' 8 years ago
Stephane Nicoll d2900b8612 Merge branch '1.4.x' into 1.5.x 8 years ago
Stephane Nicoll a862b6dc79 Polish documentation
Closes gh-7771
8 years ago
Phillip Webb 49fa702708 Merge branch '1.5.x' 8 years ago
Phillip Webb 85504e74a6 Merge branch '1.4.x' into 1.5.x 8 years ago
Phillip Webb e0541d0f74 Polish 8 years ago
arthur-noseda b31cd64524 Fix typo in "you IDE"
Change "you IDE" to "your IDE".

Closes gh-7769
8 years ago
Stephane Nicoll 7cf08be353 Merge branch '1.5.x' 8 years ago
Stephane Nicoll 435ca3db69 Polish actuator security changes
Closes gh-7569
8 years ago
Stephane Nicoll b8fcc0ea23 Merge branch '1.5.x' 8 years ago
Stephane Nicoll 0e28771ad4 Merge branch '1.4.x' into 1.5.x 8 years ago
arthur-noseda 8771d9e700 Changed "right the way" to "right away"
Closes gh-7765
8 years ago
Stephane Nicoll 3fdfc3f052 Merge branch '1.5.x' 8 years ago
Stephane Nicoll b24c8d04ba Allow to customize the auto-configured JestClient
This commit adds a `HttpClientConfigBuilderCustomizer` to further tune
the auto-configured `JestClient`.

Closes gh-7762
8 years ago
Stephane Nicoll a60e356136 Enable Jest's multi-threaded support by default
Since the `JestClient` is auto-configured as a bean, it must have its
multi-threaded support enabled by default. This commit exposes a new
`spring.elasticsearch.jest.multi-threaded` property that is `true` by
default.

Closes gh-6806
8 years ago
Stephane Nicoll b552abaa41 Merge branch '1.5.x' 8 years ago
Stephane Nicoll ba3fae373d Merge branch '1.4.x' into 1.5.x 8 years ago
Shubham Aggarwal e7f13b446a Minor fix in description
Closes gh-7755
8 years ago
Spring Buildmaster 9057f9ae1f Next development version 8 years ago
Stephane Nicoll 219e0baa58 Merge branch '1.5.x' 8 years ago
Stephane Nicoll 449043bf21 Polish contribution
Closes gh-6900
8 years ago
Phillip Webb 6e02fe59f7 Merge branch '1.5.x' 8 years ago
Artem Bilan c700cf28cc Fix typo in Kafka sample 8 years ago
Phillip Webb 8b47561f7e Merge branch '1.5.x' 8 years ago
Marco Aust 90eb58252e Add support for `spring.redis.url` property
Update `RedisAutoConfiguration` to optionally configure Redis using a
`spring.redis.url` property`.

Closes gh-7395
8 years ago
Phillip Webb 1f7b3cad45 Polish Kafka properties
Closes gh-7672
8 years ago
Gary Russell bdda470305 Support arbitrary Kafka properties
Add support for arbitrary Kafka properties via
`spring.kafka.properties.*` and also a `spring.kafka.max.poll.records`
property.

See gh-7672
8 years ago
Phillip Webb 99e72664d9 Polish spring transaction manager properties
Polish and update contribution so that TransactionManager properties can
be defined per technology, rather than globally.

Closes gh-7561
8 years ago
Lucas Saldanha 534a9db6fd Make stop wait time in the launch script configurable
Create a parameter `STOP_WAIT_TIME` for the startup script
that configures the time in seconds to wait for a normal
shutdown. Because of #4941 we also send a shutdown half
way the countdown.

Fixes gh-7121
8 years ago
Stephane Nicoll 998ff2feee Merge branch '1.5.x' 8 years ago
Stephane Nicoll 851ce2286f Allow to override Couchbase's CustomConversions
Closes gh-7700
8 years ago
Phillip Webb 1f417997f3 Merge branch '1.5.x' 8 years ago
Phillip Webb 4b9cba351b Merge branch '1.4.x' into 1.5.x 8 years ago
Phillip Webb bd74c3d327 Polish formatting 8 years ago
Phillip Webb e578ace7d7 Polish doc formatting 8 years ago
Stephane Nicoll f03da0b4f7 Merge branch '1.5.x' 8 years ago
Stephane Nicoll 9668006aea Merge branch '1.4.x' into 1.5.x 8 years ago
Stephane Nicoll 3237e4ab3e Add link between reference and how-to
See gh-7652
8 years ago
Stephane Nicoll 90658c5274 Merge branch '1.5.x' 8 years ago
Stephane Nicoll f46bd35a60 Merge branch '1.4.x' into 1.5.x 8 years ago
Stephane Nicoll 69dce2881b Remove outdated (and duplicated) section
Closes gh-7667
8 years ago
Stephane Nicoll e3496614be Merge branch '1.5.x' 8 years ago
Stephane Nicoll 21b815aabd Polish contribution
Closes gh-7560
8 years ago
Andy Wilkinson 943262bb97 Raise the minimum supported version of Hibernate to 5.2.x
Closes gh-7586
8 years ago
Andy Wilkinson 1782d778db Merge branch '1.5.x' 8 years ago
Andy Wilkinson 6fb1fb580d Upgrade to Dependency Management Plugin 1.0.0.RC1
Closes gh-7636
8 years ago
Brian Clozel 5331c41b6d Merge branch '1.5.x' 8 years ago
Brian Clozel 4e9abbbc25 Merge branch '1.4.x' into 1.5.x 8 years ago
Brian Clozel 37605e3576 Document devtools influence on HTTP cache headers
This commits documents the fact that, amongst its property defaults,
devtools is disabling the HTTP cache headers when serving static
resources with Spring MVC.

Fixes gh-7516
8 years ago
Stephane Nicoll 1302d1b0e4 Merge branch '1.5.x' 8 years ago
Alessandro Falappa dd7d81a580 INIT INFO Required Start/Stop as embedded launch script properties
Expose the Required-Start and Require-Stop lines in the launch script
INIT INFO section as customizable embedded launch script properties.

This way one can express dependencies fron other init services by simply
changing the configuration in the build script.

Closes gh-7555
8 years ago
Stephane Nicoll 0ea3277769 Merge branch '1.5.x' 8 years ago
Stephane Nicoll 0fbe56eabc Merge branch '1.4.x' into 1.5.x 8 years ago
Stephane Nicoll c8bdf74327 Expand ConfigurationProperties doc
Closes gh-7620
8 years ago
Stephane Nicoll a86678cc31 Merge branch '1.5.x' 8 years ago
Stephane Nicoll 703ed901fe Polish doc 8 years ago
Stephane Nicoll e5f2c58a7a Polish
Closes gh-7632
8 years ago
Stephane Nicoll 5b636a00b7 Merge branch '1.5.x' 8 years ago
Stephane Nicoll e002e03b3e Merge branch '1.4.x' into 1.5.x 8 years ago
Johannes Harth 9746c63209 Update production-ready-features.adoc
Replace line break with missing line fold "\\\n" to continue the property
value.

Closes gh-7596
8 years ago
Stephane Nicoll fa492e3ac8 Merge branch '1.5.x' 8 years ago
Stephane Nicoll 8a50dae01a Add missing entry for `server.tomcat.accesslog.buffered`
See gh-7456
8 years ago
Stephane Nicoll 816c236e5b Merge branch '1.5.x' 8 years ago
Stephane Nicoll ee72e788ed Rename `spring-boot-junit-runners` to `spring-boot-test-support`
Closes gh-7421
8 years ago
Andy Wilkinson f454adca1a Merge branch '1.4.x' into 1.5.x 8 years ago
Andy Wilkinson d9bd211062 Link to correct branch on GitHub from snapshot documentation
Closes gh-7548
8 years ago
Andy Wilkinson 995b962807 Merge branch '1.5.x' 8 years ago
Andy Wilkinson 8494635a05 Merge branch '1.4.x' into 1.5.x 8 years ago
Andy Wilkinson b798b5a40b Update docs to reflect Gradle plugin being available in the Plugin Portal
Closes gh-1567
8 years ago
Stephane Nicoll ede0b0f940 Merge branch '1.5.x' 8 years ago
Stephane Nicoll c127c1fdf9 Polish doc
Closes gh-7381
8 years ago
Andy Wilkinson 9f1e90d3c0 Merge branch '1.4.x' into 1.5.x 8 years ago
Andy Wilkinson 36981259a5 Document that CRaSH commands written in Java are not supported
Closes gh-7471
8 years ago
Stephane Nicoll a4770f90dc Merge branch '1.5.x' 8 years ago
Stephane Nicoll 2c630b5c61 Validate schema and data resources
Previously, if a user specifies a path to a schema or data DDL that does
not exist, the application will start up fine and the missing DDL would
not be reported.

This commit validates that user-defined resources actually exist and
throw a new `ResourceNotFoundException` if they don't.

Closes gh-7088
8 years ago
Stephane Nicoll 2dbebf67e8 Merge branch '1.5.x' 8 years ago
Stephane Nicoll 7c02daabc3 Polish contribution
Closes gh-7533
8 years ago
Johnny Lim c654eff41b Update doc for spring.data.neo4j.open-in-view
See gh-7533
8 years ago
Stephane Nicoll 0568afc6cb Merge branch '1.5.x' 8 years ago
Johnny Lim 423f8037ce Polish
Closes gh-7530
8 years ago
Stephane Nicoll bfa0514acb Merge branch '1.5.x' 8 years ago
Johnny Lim d373de903b Fix broken doc formatting
Closes gh-7522
8 years ago
Stephane Nicoll 2577d79ff1 Merge branch '1.5.x' 8 years ago
Stephane Nicoll b618c70e52 Add test slice for pure jdbc tests
This commit adds `@JdbcTest`, a new test slice for pure jdbc tests. It
provides the same basic features than `@DataJpaTest`.

Closes gh-6563
8 years ago
Stephane Nicoll e8d476dbca Fix use of `forceCreation` flag in `maven-jar-plugin` 8 years ago
Phillip Webb 450ab28163 Merge branch '1.5.x' 8 years ago
Dave Syer c6c6524b40 Support custom fat jar layouts
Allow support for custom Lyout implementations with both the Maven
and Gradle plugin. Implementations of `LayoutFactory` can now be
specified to allow customization of the layout. In addition a
layout may now implement `CustomLoaderLayout` if it wishes to
write custom loader classes.

See gh-7263
8 years ago
Andy Wilkinson 4c01e940ea Merge branch '1.5.x' 8 years ago
Andy Wilkinson 50c39661ad Merge branch '1.4.x' into 1.5.x 8 years ago
Andy Wilkinson 491bd745de Document Jersey's package scanning limitations
Closes gh-7496
8 years ago
Andy Wilkinson 4a10cfe112 Merge branch '1.5.x' 8 years ago
Phillip Johnson f64d5303cf Document and test array support for spring.profiles.*
Closes gh-7175
Closes gh-6995
8 years ago
Stephane Nicoll f260cd9a07 Merge branch '1.5.x' 8 years ago
Stephane Nicoll 0befc310cd Add dedicated settings for maxHttpPostSize
This commit deprecates `server.max-http-post-size` and introduces a
dedicated property for each supported  container. In particular, Undertow
can now define a max size higher than 2GB.

Closes gh-7362
8 years ago
Stephane Nicoll 3bfbbeb9f4 Merge branch '1.5.x' 8 years ago
Stephane Nicoll 22208f6a9e Auto-configure validation constraints on bean methods
This commit auto-configures `MethodValidationPostProcessor` if necessary
when a JSR-303 validator implementation is detected on the classpath.

Closes gh-6228
8 years ago
Stephane Nicoll e687d3aeba Merge branch '1.5.x' 8 years ago
Stephane Nicoll c9fa1a1f70 Merge branch '1.4.x' into 1.5.x 8 years ago
Stephane Nicoll 0359b2f6f5 Document how to disable JMS transacted session
Closes gh-7463
8 years ago
Stephane Nicoll 2f57e1885a Merge branch '1.5.x' 8 years ago
Stephane Nicoll ea023618a4 Polish upgrade to Spring Session 1.3.0.RC1
Closes gh-7457
8 years ago
Vedran Pavic ffec6fddd2 Upgrade Spring Session to 1.3.0.RC1
See gh-7457
8 years ago
Phillip Webb ab3a001286 Merge branch '1.5.x' 8 years ago
Phillip Webb dc237043b8 Merge branch '1.4.x' into 1.5.x 8 years ago
Phillip Webb 74670cb20f Allow WebDriver beans to define their own scope
Update `WebDriverScope` so that only `WebDriver` beans with no explicit
scope are moved.

Fixes gh-7454
8 years ago
Phillip Webb e0dfff2b23 Merge branch '1.5.x' 8 years ago
Phillip Webb b6b8bef009 Polish 8 years ago
Andy Wilkinson bc6b2a9c75 Merge branch '1.5.x' 8 years ago
Christian Koops 5c11059e1d Make launch script's logFilename and pidFilename configurable via properties
Closes gh-7234
8 years ago
Andy Wilkinson fd2b417252 Merge branch '1.5.x' 8 years ago
Andy Wilkinson d12c21ae2f Add spring-kafka dependency to spring-boot-docs for Javadoc links
See gh-6961
8 years ago
Stephane Nicoll e3688455fa Merge branch '1.5.x' 8 years ago
Stephane Nicoll 642af52d01 Polish "Apache Kafka support" contribution
Closes gh-6961
8 years ago
Gary Russell c4188c8e4a Add Apache Kafka support
See gh-6961
8 years ago
Phillip Webb 20d7dd5747 Merge branch '1.5.x' 8 years ago
Phillip Webb 1657120286 Move ModifiedClassPathRunner to its own module
Migrate `ModifiedClassPathRunner` from `spring-boot` test source to
its own module.

Fixes gh-7420
8 years ago
Andy Wilkinson 9273b1789b Merge branch '1.5.x' 8 years ago
Andy Wilkinson 1cd781b242 Make spring-boot-test compatible with Mockito 2.1 and 2.2
We use some internal Mockito classes and some  breaking API changes
have been made to them in Mockito 2. This commit introduces a utility
class, SpringBootMockUtil, to shield our code from these differences.
Mockito 1 is called directly and Mockito 2 is called via reflection.

To allow these changes to be tested, FilteredClassPathRunner has been
enhanced to also support overriding a dependency on the class path.
As a result it has been renamed to ModifiedClassPathRunner. The new
ClassPathOverrides annotation can be used to provide the Maven
coordinates of one or more dependencies that should be resolved and
added to the class path. Such additions are added to the start of
the class path so that they override any existing dependency that
contains the same classes.

Closes gh-6520
8 years ago
Stephane Nicoll 7ebe324514 Merge branch '1.5.x' 8 years ago
Stephane Nicoll 2ba3b27954 Merge branch '1.4.x' into 1.5.x
# Conflicts:
#	spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/web/ServerProperties.java
#	spring-boot-docs/src/main/asciidoc/appendix-application-properties.adoc
8 years ago
Stephane Nicoll 0072a93915 Expose Tomcat's accesslog requestAttributesEnabled
This commit adds an extra property to the `server.tomcat.accesslog` to
control the `reqestAttributesEnabled` flag. This flag sets request
attributes for IP address, Hostname, protocol and port used for the
request.

Closes gh-7367
8 years ago
Stephane Nicoll 22edb9eded Merge branch '1.5.x' 8 years ago