Stephane Nicoll
435ca3db69
Polish actuator security changes
...
Closes gh-7569
2016-12-27 17:50:10 +01:00
Stephane Nicoll
b8fcc0ea23
Merge branch '1.5.x'
2016-12-27 17:12:48 +01:00
Stephane Nicoll
0e28771ad4
Merge branch '1.4.x' into 1.5.x
2016-12-27 17:12:32 +01:00
arthur-noseda
8771d9e700
Changed "right the way" to "right away"
...
Closes gh-7765
2016-12-27 17:11:33 +01:00
Stephane Nicoll
3fdfc3f052
Merge branch '1.5.x'
2016-12-27 11:12:38 +01:00
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
2016-12-27 11:12:23 +01:00
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
2016-12-27 10:46:26 +01:00
Stephane Nicoll
b552abaa41
Merge branch '1.5.x'
2016-12-26 10:19:12 +01:00
Stephane Nicoll
ba3fae373d
Merge branch '1.4.x' into 1.5.x
2016-12-26 10:18:57 +01:00
Shubham Aggarwal
e7f13b446a
Minor fix in description
...
Closes gh-7755
2016-12-26 10:18:21 +01:00
Spring Buildmaster
9057f9ae1f
Next development version
2016-12-23 00:15:23 +00:00
Stephane Nicoll
219e0baa58
Merge branch '1.5.x'
2016-12-22 15:40:02 +01:00
Stephane Nicoll
449043bf21
Polish contribution
...
Closes gh-6900
2016-12-22 15:39:31 +01:00
Phillip Webb
6e02fe59f7
Merge branch '1.5.x'
2016-12-21 22:32:43 -08:00
Artem Bilan
c700cf28cc
Fix typo in Kafka sample
2016-12-21 20:18:05 -08:00
Phillip Webb
8b47561f7e
Merge branch '1.5.x'
2016-12-20 21:56:04 -08:00
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
2016-12-20 21:16:42 -08:00
Phillip Webb
1f7b3cad45
Polish Kafka properties
...
Closes gh-7672
2016-12-20 18:15:11 -08:00
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
2016-12-20 18:14:55 -08:00
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
2016-12-20 17:59:19 -08:00
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
2016-12-20 15:15:12 -08:00
Stephane Nicoll
998ff2feee
Merge branch '1.5.x'
2016-12-20 11:59:32 +01:00
Stephane Nicoll
851ce2286f
Allow to override Couchbase's CustomConversions
...
Closes gh-7700
2016-12-20 11:59:16 +01:00
Phillip Webb
1f417997f3
Merge branch '1.5.x'
2016-12-19 13:21:18 -08:00
Phillip Webb
4b9cba351b
Merge branch '1.4.x' into 1.5.x
2016-12-19 12:36:57 -08:00
Phillip Webb
bd74c3d327
Polish formatting
2016-12-19 12:25:09 -08:00
Phillip Webb
e578ace7d7
Polish doc formatting
2016-12-19 10:29:42 -08:00
Stephane Nicoll
f03da0b4f7
Merge branch '1.5.x'
2016-12-19 16:00:19 +01:00
Stephane Nicoll
9668006aea
Merge branch '1.4.x' into 1.5.x
2016-12-19 16:00:04 +01:00
Stephane Nicoll
3237e4ab3e
Add link between reference and how-to
...
See gh-7652
2016-12-19 15:59:49 +01:00
Stephane Nicoll
90658c5274
Merge branch '1.5.x'
2016-12-16 14:52:28 +01:00
Stephane Nicoll
f46bd35a60
Merge branch '1.4.x' into 1.5.x
2016-12-16 14:52:16 +01:00
Stephane Nicoll
69dce2881b
Remove outdated (and duplicated) section
...
Closes gh-7667
2016-12-16 14:52:05 +01:00
Stephane Nicoll
e3496614be
Merge branch '1.5.x'
2016-12-16 10:53:53 +01:00
Stephane Nicoll
21b815aabd
Polish contribution
...
Closes gh-7560
2016-12-16 10:52:43 +01:00
Andy Wilkinson
943262bb97
Raise the minimum supported version of Hibernate to 5.2.x
...
Closes gh-7586
2016-12-15 21:31:53 +00:00
Andy Wilkinson
1782d778db
Merge branch '1.5.x'
2016-12-15 20:07:55 +00:00
Andy Wilkinson
6fb1fb580d
Upgrade to Dependency Management Plugin 1.0.0.RC1
...
Closes gh-7636
2016-12-15 20:07:35 +00:00
Brian Clozel
5331c41b6d
Merge branch '1.5.x'
2016-12-15 17:19:59 +01:00
Brian Clozel
4e9abbbc25
Merge branch '1.4.x' into 1.5.x
2016-12-15 17:18:18 +01:00
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
2016-12-15 17:14:19 +01:00
Stephane Nicoll
1302d1b0e4
Merge branch '1.5.x'
2016-12-15 14:16:28 +01:00
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
2016-12-15 14:14:50 +01:00
Stephane Nicoll
0ea3277769
Merge branch '1.5.x'
2016-12-15 09:21:24 +01:00
Stephane Nicoll
0fbe56eabc
Merge branch '1.4.x' into 1.5.x
2016-12-15 09:21:11 +01:00
Stephane Nicoll
c8bdf74327
Expand ConfigurationProperties doc
...
Closes gh-7620
2016-12-15 09:20:24 +01:00
Stephane Nicoll
a86678cc31
Merge branch '1.5.x'
2016-12-14 19:33:34 +01:00
Stephane Nicoll
703ed901fe
Polish doc
2016-12-14 19:19:19 +01:00
Stephane Nicoll
e5f2c58a7a
Polish
...
Closes gh-7632
2016-12-14 19:18:36 +01:00
Stephane Nicoll
5b636a00b7
Merge branch '1.5.x'
2016-12-14 19:09:33 +01:00
Stephane Nicoll
e002e03b3e
Merge branch '1.4.x' into 1.5.x
2016-12-14 19:09:18 +01:00
Johannes Harth
9746c63209
Update production-ready-features.adoc
...
Replace line break with missing line fold "\\\n" to continue the property
value.
Closes gh-7596
2016-12-14 19:06:39 +01:00
Stephane Nicoll
fa492e3ac8
Merge branch '1.5.x'
2016-12-08 15:58:12 +01:00
Stephane Nicoll
8a50dae01a
Add missing entry for `server.tomcat.accesslog.buffered`
...
See gh-7456
2016-12-08 15:57:44 +01:00
Stephane Nicoll
816c236e5b
Merge branch '1.5.x'
2016-12-01 16:28:29 +01:00
Stephane Nicoll
ee72e788ed
Rename `spring-boot-junit-runners` to `spring-boot-test-support`
...
Closes gh-7421
2016-12-01 16:25:47 +01:00
Andy Wilkinson
f454adca1a
Merge branch '1.4.x' into 1.5.x
2016-12-01 14:47:44 +00:00
Andy Wilkinson
d9bd211062
Link to correct branch on GitHub from snapshot documentation
...
Closes gh-7548
2016-12-01 14:46:39 +00:00
Andy Wilkinson
995b962807
Merge branch '1.5.x'
2016-12-01 14:37:19 +00:00
Andy Wilkinson
8494635a05
Merge branch '1.4.x' into 1.5.x
2016-12-01 14:37:10 +00:00
Andy Wilkinson
b798b5a40b
Update docs to reflect Gradle plugin being available in the Plugin Portal
...
Closes gh-1567
2016-12-01 14:37:01 +00:00
Stephane Nicoll
ede0b0f940
Merge branch '1.5.x'
2016-12-01 14:55:15 +01:00
Stephane Nicoll
c127c1fdf9
Polish doc
...
Closes gh-7381
2016-12-01 14:54:54 +01:00
Andy Wilkinson
9f1e90d3c0
Merge branch '1.4.x' into 1.5.x
2016-12-01 13:30:25 +00:00
Andy Wilkinson
36981259a5
Document that CRaSH commands written in Java are not supported
...
Closes gh-7471
2016-12-01 13:29:49 +00:00
Stephane Nicoll
a4770f90dc
Merge branch '1.5.x'
2016-12-01 11:53:52 +01:00
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
2016-12-01 11:52:52 +01:00
Stephane Nicoll
2dbebf67e8
Merge branch '1.5.x'
2016-11-30 10:56:14 +01:00
Stephane Nicoll
7c02daabc3
Polish contribution
...
Closes gh-7533
2016-11-30 10:55:32 +01:00
Johnny Lim
c654eff41b
Update doc for spring.data.neo4j.open-in-view
...
See gh-7533
2016-11-30 10:42:18 +01:00
Stephane Nicoll
0568afc6cb
Merge branch '1.5.x'
2016-11-30 08:31:41 +01:00
Johnny Lim
423f8037ce
Polish
...
Closes gh-7530
2016-11-30 08:31:13 +01:00
Stephane Nicoll
bfa0514acb
Merge branch '1.5.x'
2016-11-29 17:01:37 +01:00
Johnny Lim
d373de903b
Fix broken doc formatting
...
Closes gh-7522
2016-11-29 17:00:02 +01:00
Stephane Nicoll
2577d79ff1
Merge branch '1.5.x'
2016-11-29 14:54:38 +01:00
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
2016-11-29 14:54:15 +01:00
Stephane Nicoll
e8d476dbca
Fix use of `forceCreation` flag in `maven-jar-plugin`
2016-11-29 11:28:14 +01:00
Phillip Webb
450ab28163
Merge branch '1.5.x'
2016-11-28 17:27:05 -08:00
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
2016-11-28 16:31:53 -08:00
Andy Wilkinson
4c01e940ea
Merge branch '1.5.x'
2016-11-28 11:33:13 +00:00
Andy Wilkinson
50c39661ad
Merge branch '1.4.x' into 1.5.x
2016-11-28 11:33:00 +00:00
Andy Wilkinson
491bd745de
Document Jersey's package scanning limitations
...
Closes gh-7496
2016-11-28 11:32:48 +00:00
Andy Wilkinson
4a10cfe112
Merge branch '1.5.x'
2016-11-25 10:24:43 +00:00
Phillip Johnson
f64d5303cf
Document and test array support for spring.profiles.*
...
Closes gh-7175
Closes gh-6995
2016-11-25 10:24:14 +00:00
Stephane Nicoll
f260cd9a07
Merge branch '1.5.x'
2016-11-25 10:10:17 +01:00
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
2016-11-25 09:54:10 +01:00
Stephane Nicoll
3bfbbeb9f4
Merge branch '1.5.x'
2016-11-24 17:44:17 +01:00
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
2016-11-24 17:40:33 +01:00
Stephane Nicoll
e687d3aeba
Merge branch '1.5.x'
2016-11-24 10:40:08 +01:00
Stephane Nicoll
c9fa1a1f70
Merge branch '1.4.x' into 1.5.x
2016-11-24 10:39:51 +01:00
Stephane Nicoll
0359b2f6f5
Document how to disable JMS transacted session
...
Closes gh-7463
2016-11-24 10:39:40 +01:00
Stephane Nicoll
2f57e1885a
Merge branch '1.5.x'
2016-11-23 14:40:29 +01:00
Stephane Nicoll
ea023618a4
Polish upgrade to Spring Session 1.3.0.RC1
...
Closes gh-7457
2016-11-23 14:39:56 +01:00
Vedran Pavic
ffec6fddd2
Upgrade Spring Session to 1.3.0.RC1
...
See gh-7457
2016-11-23 14:39:56 +01:00
Phillip Webb
ab3a001286
Merge branch '1.5.x'
2016-11-22 15:49:27 -08:00
Phillip Webb
dc237043b8
Merge branch '1.4.x' into 1.5.x
2016-11-22 15:48:52 -08:00
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
2016-11-22 15:48:28 -08:00
Phillip Webb
e0dfff2b23
Merge branch '1.5.x'
2016-11-22 14:54:17 -08:00
Phillip Webb
b6b8bef009
Polish
2016-11-22 14:51:56 -08:00
Andy Wilkinson
bc6b2a9c75
Merge branch '1.5.x'
2016-11-22 13:54:49 +00:00
Christian Koops
5c11059e1d
Make launch script's logFilename and pidFilename configurable via properties
...
Closes gh-7234
2016-11-22 13:54:16 +00:00
Andy Wilkinson
fd2b417252
Merge branch '1.5.x'
2016-11-22 13:10:01 +00:00
Andy Wilkinson
d12c21ae2f
Add spring-kafka dependency to spring-boot-docs for Javadoc links
...
See gh-6961
2016-11-22 13:09:15 +00:00
Stephane Nicoll
e3688455fa
Merge branch '1.5.x'
2016-11-22 10:30:31 +01:00
Stephane Nicoll
642af52d01
Polish "Apache Kafka support" contribution
...
Closes gh-6961
2016-11-22 10:22:00 +01:00
Gary Russell
c4188c8e4a
Add Apache Kafka support
...
See gh-6961
2016-11-22 09:34:01 +01:00
Phillip Webb
20d7dd5747
Merge branch '1.5.x'
2016-11-18 17:30:03 -08:00
Phillip Webb
1657120286
Move ModifiedClassPathRunner to its own module
...
Migrate `ModifiedClassPathRunner` from `spring-boot` test source to
its own module.
Fixes gh-7420
2016-11-18 17:27:54 -08:00
Andy Wilkinson
9273b1789b
Merge branch '1.5.x'
2016-11-18 16:41:22 +00:00
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
2016-11-18 16:39:44 +00:00
Stephane Nicoll
7ebe324514
Merge branch '1.5.x'
2016-11-18 11:58:17 +09:00
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
2016-11-18 11:56:22 +09:00
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
2016-11-18 11:48:09 +09:00
Stephane Nicoll
22edb9eded
Merge branch '1.5.x'
2016-11-17 14:45:07 +09:00
Stephane Nicoll
7b742fd792
Polish
...
See gh-7357
2016-11-17 14:44:40 +09:00
Phillip Webb
cb7c0b5031
Merge branch '1.5.x'
2016-11-16 16:06:53 -08:00
Christoffer Sawicki
d7bbea63b7
Add properties for content security policy
...
Add `content-security-policy` and `content-security-policy-mode`
`security.header` properties and update auto-configuration to apply
them when specified.
Fixes gh-7373
Closes gh-7357
2016-11-16 15:30:36 -08:00
Johnny Lim
8038882d46
Polish
...
Closes gh-7403
2016-11-16 13:36:51 -08:00
Phillip Webb
d8b7d6dfdc
Merge branch '1.5.x'
2016-11-15 18:53:54 -08:00
Ben Hale
00099552db
Add Logger actuator documentation
...
Add Actuator and Reference documentation for the `/logger` endpoint.
This documentation includes information on listing, reading, and
modifying the configuration of loggers.
Closes gh-7390
See gh-7086
2016-11-15 17:47:15 -08:00
Stephane Nicoll
6aa57e8ffe
Merge branch '1.5.x'
2016-11-12 11:16:43 +01:00
Stephane Nicoll
2b8801a6b5
Merge branch '1.4.x' into 1.5.x
2016-11-12 11:16:30 +01:00
Emanuel Rabina
6b681ddfab
Upgrade Thymeleaf 3 layout dialect in doc
...
Closes gh-7370
2016-11-12 11:15:00 +01:00
Spring Buildmaster
e712a9ba8c
Next Development Version
2016-11-08 16:55:37 +00:00
Stephane Nicoll
e4be5c6102
Merge branch '1.5.x'
2016-11-05 07:44:48 +01:00
Stephane Nicoll
389acb094b
Merge branch '1.4.x' into 1.5.x
2016-11-05 07:43:09 +01:00
Johnny Lim
ec9f0ab6b4
Polish
...
Closes gh-7322
2016-11-05 07:42:37 +01:00
Andy Wilkinson
229691338e
Reinstate JsonPath dependency that is no longer pulled in transitively
2016-11-03 21:58:15 +00:00
Andy Wilkinson
4486d2d209
Upgrade to Reactor 3.0 and start building against SI 5.0 snapshots
...
Closes gh-7301
See gh-7029
2016-11-03 20:49:02 +00:00
Stephane Nicoll
5a88e47414
Merge branch '1.5.x'
2016-11-03 12:30:21 +01:00
Stephane Nicoll
f3ac98aa82
Merge branch '1.4.x' into 1.5.x
2016-11-03 12:30:09 +01:00
Stephane Nicoll
8350238b8c
Polish doc
...
See gh-5137
2016-11-03 12:29:57 +01:00
Stephane Nicoll
97597ca54f
Merge branch '1.5.x'
2016-11-03 12:27:43 +01:00
Stephane Nicoll
1b38528333
Polish doc
...
Closes gh-7170
2016-11-03 12:27:30 +01:00
Andy Wilkinson
7c3d7d882a
Merge branch '1.5.x'
2016-11-01 16:25:07 +00:00
Andy Wilkinson
ef3395beaa
Raise the minimum supported version of Gradle to 2.9
...
Closes gh-6884
2016-11-01 16:25:02 +00:00
Stephane Nicoll
f28fa3e1ab
Merge branch '1.5.x'
2016-11-01 16:48:38 +01:00
Stephane Nicoll
a733c62689
Fix typo
2016-11-01 16:48:24 +01:00
Andy Wilkinson
d58c79d9b7
Merge branch '1.5.x'
2016-11-01 14:26:22 +00:00
Andy Wilkinson
20e8c36590
Merge branch '1.4.x' into 1.5.x
2016-11-01 14:26:18 +00:00
Andy Wilkinson
6828997651
Correct minimum recommended version of Gradle to be 2.9 rather than 2.8
...
Closes gh-7189
See gh-6884
2016-11-01 14:25:07 +00:00
Andy Wilkinson
14d58b49dd
Merge branch '1.5.x'
2016-11-01 13:36:05 +00:00
Andy Wilkinson
8b631390ba
Merge branch '1.4.x' into 1.5.x
2016-11-01 13:36:00 +00:00
Andy Wilkinson
307fd94b4f
Correct typo in the documentation for RestTemplateBuilder customization
...
See gh-7054
2016-11-01 13:35:27 +00:00
Andy Wilkinson
5bc8101725
Merge branch '1.5.x'
2016-11-01 11:07:01 +00:00
Andy Wilkinson
ffbbd2a5f8
Merge branch '1.4.x' into 1.5.x
2016-11-01 11:06:56 +00:00
Andy Wilkinson
be78dc4b99
Flesh out the documentation on RestTemplateBuilder customization
...
Closes gh-7054
2016-11-01 11:06:38 +00:00
Phillip Webb
98a3ae9ac4
Merge branch '1.5.x'
2016-10-31 23:13:37 -07:00
Phillip Webb
97fee46682
Revert Layout changes
...
This reverts commits:
- 974ec92ad6
.
- 537e0c12c2
.
- 500a3df6e9
.
2016-10-31 21:08:15 -07:00
Stephane Nicoll
713f4dd723
Merge branch '1.5.x'
2016-10-31 10:18:51 +01:00
Stephane Nicoll
4f06e52d7e
Allow adding additional tld skip patterns
...
This commit improves `TomcatEmbeddedServletContainerFactory` so that tld
skip patterns can be set or added to an existing set. An additional
`server.tomcat.additional-tld-skip-patterns` is now being exposed to
easily add patterns via configuration.
Closes gh-5010
2016-10-31 10:15:16 +01:00
Dave Syer
5f5e3bf6c3
Merge branch '1.5.x'
2016-10-30 11:24:52 +00:00
Dave Syer
537e0c12c2
Support for custom layout types to change loader classes
...
A layout can
also optionally change the loader jar that is unpacked in the root
of the repackaged archive by implementing a new method in Layout.
2016-10-30 11:24:29 +00:00
Stephane Nicoll
99af8ca414
Merge branch '1.5.x'
2016-10-30 10:59:22 +01:00
Stephane Nicoll
c4d8fb1c09
Merge branch '1.4.x' into 1.5.x
2016-10-30 10:59:02 +01:00
Stephane Nicoll
6d50e26b70
Polish contribution
...
Closes gh-7215
2016-10-30 10:57:58 +01:00
Johnny Lim
1546cd4072
Update documentation on Actuator hypermedia support
...
Spring Boot Actuator hypermedia support has been disabled by default via
c7c685f
, but its documentation wasn't updated.
This commit updates the documentation related to the change.
See gh-7215
2016-10-30 10:57:27 +01:00
Stephane Nicoll
1448902c14
Merge branch '1.5.x'
2016-10-28 13:31:56 +02:00
Stephane Nicoll
f6959ccbcd
Merge branch '1.4.x' into 1.5.x
2016-10-28 13:31:38 +02:00
Stephane Nicoll
7f8849c62b
Merge branch '1.3.x' into 1.4.x
2016-10-28 13:31:19 +02:00
Stephane Nicoll
5863e6f78c
Fix class name in generated meta-data
...
Previously, the algorithm that computes the String representation of a
class reference and a property type was shared. This lead to generic
information for group's `type` and `sourceType` property.
This commit separates that logic in two: `getQualifiedName` is now
responsible to generate a fully qualified class name while the existing
`getType` is solely responsible to generate a type representation for the
property. Only the latter has generic information.
Closes gh-7236
2016-10-28 13:23:47 +02:00
Stephane Nicoll
bbea134e1c
Merge branch '1.5.x'
2016-10-26 11:32:53 +02:00
Stephane Nicoll
ed7de8eb60
Polish contribution
...
Also add rotate attribute to Undertow
Closes gh-7225
2016-10-26 11:31:17 +02:00
Stephane Nicoll
547a3554dd
Merge branch '1.5.x'
2016-10-26 09:22:17 +02:00
Stephane Nicoll
b37b3f7c59
Merge pull request #7224 from ajayk:adoc-indentation
...
* pr/7224:
Fix indentation for spring.jms.template.* keys
2016-10-26 09:21:58 +02:00
ajk
548190673c
Fix indentation for spring.jms.template.* keys
...
Closes gh-7224
2016-10-26 09:21:24 +02:00
Andy Wilkinson
f0798253a3
Merge branch '1.5.x'
2016-10-24 22:16:34 +01:00
Andy Wilkinson
5b9eaab6c0
Merge branch '1.4.x' into 1.5.x
2016-10-24 22:16:23 +01:00
Andy Wilkinson
ee7141cf63
Allow PropertyLauncher loader.path to be configured using manifest
...
Closes gh-7178
2016-10-24 22:14:56 +01:00
Andy Wilkinson
7be16c7b54
Merge branch '1.5.x'
2016-10-24 14:37:25 +01:00
Andy Wilkinson
a56bf44b39
Merge branch '1.4.x' into 1.5.x
2016-10-24 14:37:20 +01:00
Andy Wilkinson
8150cbd0d1
Remove commentary on Neo4j's licence
...
Closes gh-7214
2016-10-24 14:36:35 +01:00
Stephane Nicoll
e509278580
Merge branch '1.5.x'
2016-10-24 11:39:38 +02:00
Stephane Nicoll
eddb10e4c9
Merge branch '1.4.x' into 1.5.x
2016-10-24 11:39:26 +02:00
Vedran Pavic
469a4e3444
Improve systemd service documentation
...
Closes gh-6954
2016-10-24 11:37:53 +02:00
Stephane Nicoll
363798e9ad
Fix unresolved merge commit
...
Closes gh-7206
2016-10-23 07:51:08 +02:00
Stephane Nicoll
7fc2566650
Merge branch '1.5.x'
2016-10-22 13:57:00 +02:00
Stephane Nicoll
b0474b7c9d
Merge branch '1.4.x' into 1.5.x
2016-10-22 13:56:42 +02:00
Ken Dombeck
4621f82b0e
Correct typo in docs
...
Closes gh-7203
2016-10-22 13:56:07 +02:00
Andy Wilkinson
702d904d53
Merge branch '1.5.x'
2016-10-19 16:51:23 +01:00
Andy Wilkinson
d7e2708687
Merge branch '1.4.x' into 1.5.x
2016-10-19 16:51:14 +01:00
Andy Wilkinson
999fa123df
Deprecate support for Gradle 2.7 and earlier
2016-10-19 16:50:35 +01:00
Andy Wilkinson
8a547facd1
Merge branch '1.5.x'
2016-10-19 10:52:07 +01:00
Andy Wilkinson
c9e6aff374
Merge branch '1.4.x' into 1.5.x
2016-10-19 10:51:53 +01:00
Andy Wilkinson
639b0f554d
Suggest the use of @AutoConfigureMockMvc when using WebEnvironment.MOCK
...
Closes gh-7112
2016-10-19 10:51:42 +01:00
Andy Wilkinson
57450042bb
Merge branch '1.5.x'
2016-10-19 10:44:27 +01:00
Andy Wilkinson
7962818294
Merge branch '1.4.x' into 1.5.x
2016-10-19 10:44:20 +01:00
Andy Wilkinson
6ac041c43b
Update Thymeleaf 3 related versions in docs and sample
...
See gh-6991
Closes gh-7183
2016-10-19 10:43:38 +01:00
Andy Wilkinson
3dd0b9d59a
Merge branch '1.5.x'
2016-10-19 10:37:00 +01:00
Andy Wilkinson
7d68c14d03
Merge branch '1.4.x' into 1.5.x
2016-10-19 10:36:48 +01:00
Raja Dilip Kolli
4b1ddddea3
Update docs on using Thmyeleaf 3 to reference latest version
...
Closes gh-7183
2016-10-19 10:34:11 +01:00
Stephane Nicoll
d79546da74
Merge branch '1.5.x'
2016-10-17 17:52:29 +03:00
Stephane Nicoll
6186262ecc
Switch `excludeDevtools` to true by default
...
Switch the default value of `excludeDevtools` from `false` to `true` as
it is more sensible to exclude such dependency by default.
Closes gh-7170
2016-10-17 17:52:12 +03:00
Stephane Nicoll
d65a843856
Merge branch '1.5.x'
2016-10-12 10:37:38 +02:00
Stephane Nicoll
2d995661f4
Merge branch '1.4.x' into 1.5.x
2016-10-12 10:37:26 +02:00
Stephane Nicoll
00a10bcf61
Restore checkstyle
...
Rather than disabling checkstyle altogether, this commit enables it
again, relaxing the javadoc requirement only.
See gh-7142
2016-10-12 10:37:15 +02:00
Stephane Nicoll
d5c3a8ac76
Merge branch '1.5.x'
2016-10-12 10:30:37 +02:00
Stephane Nicoll
c6f23000be
Merge branch '1.4.x' into 1.5.x
2016-10-12 10:30:19 +02:00
Stephane Nicoll
11cad9e0cb
Fix sample in ref doc
...
Closes gh-7142
2016-10-12 10:27:51 +02:00
Stephane Nicoll
b0cbe1fdc7
Merge branch '1.5.x'
2016-10-12 10:04:15 +02:00
Stephane Nicoll
f254e1227f
Merge branch '1.4.x' into 1.5.x
2016-10-12 10:03:59 +02:00
Stephane Nicoll
0d3318796e
Merge branch '1.3.x' into 1.4.x
2016-10-12 10:03:41 +02:00
Stephane Nicoll
bd2956c3f0
Fix `metricsFilter` reference in doc
...
Closes gh-7147
2016-10-12 10:03:23 +02:00
Stephane Nicoll
c5cc626d48
Remove remote shell support
...
See gh-7044
2016-10-11 17:59:25 +02:00
Stephane Nicoll
66a3df454f
Merge branch '1.5.x'
2016-10-11 17:42:53 +02:00
Stephane Nicoll
cfee9bab81
Deprecate remote shell support
...
Closes gh-7044
2016-10-11 17:39:28 +02:00
Stephane Nicoll
7f2806bd19
Merge branch '1.5.x'
2016-10-11 17:06:04 +02:00
Stephane Nicoll
6fb53f90e5
Polish contribution
...
Closes gh-6666
2016-10-11 17:03:10 +02:00
Stephane Nicoll
92db3b4803
Merge branch '1.5.x'
2016-10-11 08:33:46 +02:00
Stephane Nicoll
18c3d42f45
Merge branch '1.4.x' into 1.5.x
2016-10-11 08:32:43 +02:00
Michael J. Simons
e87cf937e1
Add missing parentheses
...
Closes gh-7137
2016-10-11 08:31:44 +02:00
Stephane Nicoll
98f14f2ee9
Polish documentation
...
Closes gh-2642
2016-10-11 08:30:18 +02:00
Stephane Nicoll
097c64a91b
Merge branch '1.5.x'
2016-10-10 11:37:51 +02:00
Stephane Nicoll
ab2a2579c8
Polish contribution
...
Closes gh-6571
2016-10-10 11:37:21 +02:00
Stephane Nicoll
0480a96166
Merge branch '1.5.x'
2016-10-07 14:21:40 +02:00
Stephane Nicoll
98b30416ca
Merge branch '1.4.x' into 1.5.x
2016-10-07 14:21:28 +02:00
Stephane Nicoll
9861cb7e9c
Expand the note regarding LiveReload
...
See gh-7080
2016-10-07 14:21:12 +02:00
Stephane Nicoll
3a86e26977
Merge branch '1.5.x'
2016-10-07 14:15:31 +02:00
Stephane Nicoll
5435f03690
Merge branch '1.4.x' into 1.5.x
2016-10-07 14:15:19 +02:00
Aurélien Leboulanger
2c64661b58
Fix typo
...
Closes gh-7127
2016-10-07 14:14:50 +02:00
Stephane Nicoll
5a2eae5628
Merge branch '1.5.x'
2016-10-07 10:35:59 +02:00
Stephane Nicoll
ed333a67b4
Expose Spring Data Rest RepositoryDetectionStrategy
...
Closes gh-7113
2016-10-07 10:35:48 +02:00
Stephane Nicoll
b54566c0cd
Merge branch '1.5.x'
2016-10-06 13:30:14 +02:00
Stephane Nicoll
f82e91df39
Merge branch '1.4.x' into 1.5.x
2016-10-06 13:29:53 +02:00
Stephane Nicoll
03961e6692
Polish contribution
...
Closes gh-7004
2016-10-06 13:28:23 +02:00
Stephane Nicoll
89b1ff1fac
Merge branch '1.5.x'
2016-10-06 11:37:35 +02:00
Stephane Nicoll
f684bcc9e5
Merge branch '1.4.x' into 1.5.x
2016-10-06 11:37:20 +02:00
Stephane Nicoll
0f97ccf2fa
Clarify dependency override instructions for Thymeleaf 3
...
Closes gh-7097
2016-10-06 11:21:24 +02:00
Andy Wilkinson
fe10ea73b0
Merge branch '1.4.x' into 1.5.x
2016-10-05 14:58:42 +01:00
Andy Wilkinson
ad3e5c04bb
Add a second, portal-compatible ID to the Gradle plugin
...
To be compatible with Gradle's plugin portal, plugins must have an
ID that uses a reverse domain name. This means that spring-boot is
not compatible.
This commit introduces a new ID, org.springframework.boot, and
deprecates the old ID.
Closes gh-6997
2016-10-05 14:58:26 +01:00
Andy Wilkinson
f137ec6a3a
Merge branch '1.5.x'
2016-10-05 14:58:02 +01:00
Andy Wilkinson
846f264da8
Merge branch '1.4.x' into 1.5.x
2016-10-05 14:57:51 +01:00
Andy Wilkinson
77f1da871f
Add a second, portal-compatible ID to the Gradle plugin
...
To be compatible with Gradle's plugin portal, plugins must have an
ID that uses a reverse domain name. This means that spring-boot is
not compatible.
This commit introduces a new ID, org.springframework.boot, and
deprecates the old ID.
Closes gh-6997
2016-10-05 14:54:23 +01:00
Stephane Nicoll
8b61d15120
Remove deprecated support for commons-dbcp 1
...
See gh-6787
2016-10-05 15:51:14 +02:00
Stephane Nicoll
543498f040
Merge branch '1.5.x'
2016-10-05 15:21:23 +02:00
Stephane Nicoll
cf28663cd7
Deprecate commons-dbcp 1
...
Closes gh-6787
2016-10-05 15:21:09 +02:00
Stephane Nicoll
0d5985b8dd
Merge branch '1.5.x'
2016-10-04 15:01:04 +02:00
Stephane Nicoll
07690bab25
Allow customization of the auto-configured JmsTemplate
...
Closes gh-6825
2016-10-04 15:00:42 +02:00
Stephane Nicoll
fc1a700d4c
Merge branch '1.5.x'
...
# Conflicts:
# spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc
2016-10-04 13:39:33 +02:00
Stephane Nicoll
4b2970606e
Merge branch '1.4.x' into 1.5.x
2016-10-04 13:37:57 +02:00
Stephane Nicoll
7019894f0e
Clarify the role of spring-boot-starter-cache
...
The cache abstraction is a core feature of the Spring Framework. Basic
features such as `@EnableCaching` are therefore available by default with
no extra dependencies necessary.
However, the actual cache adapters for JCache, Ehcache 2.x, Caffeine and
Guava are located in a separated module, `spring-context-support`. Spring
Boot provides that artifact via the `spring-boot-starter-cache` starter.
It is quite easy to "only" add the cache library dependencies and forget
about this extra dependencies since `@EnableCaching` is available by
default. This commit clarifies the role of the starer in each section so
that it is more obvious. We're already explaining this at the beginning
of the section but it seems that's not enough.
Closes gh-7071
2016-10-04 13:37:29 +02:00
Stephane Nicoll
39534aea6b
Merge branch '1.5.x'
...
# Conflicts:
# spring-boot-dependencies/pom.xml
2016-10-04 13:02:53 +02:00
Stephane Nicoll
58050fb72f
Merge branch '1.4.x' into 1.5.x
...
# Conflicts:
# spring-boot-dependencies/pom.xml
2016-10-04 13:01:46 +02:00
Dan Stine
0926b66123
Fix a typo
...
Closes gh-7085
2016-10-04 12:58:37 +02:00
Stephane Nicoll
e6ab3cef73
Merge branch '1.5.x'
2016-10-03 12:29:14 +02:00
Stephane Nicoll
6977dcaf44
Merge branch '1.4.x' into 1.5.x
2016-10-03 12:28:58 +02:00
Stephane Nicoll
9f7e97b23f
Improve war to executable app documentation
...
Closes gh-7040
2016-10-03 12:28:25 +02:00
Stephane Nicoll
f181421f67
Merge branch '1.5.x'
2016-10-03 11:29:56 +02:00
Stephane Nicoll
8ad477537e
Fail fast if both uri and client attributes are set
...
Previously, an URI and individual client attributes can be set to
configure the mongo client. In such a scenario, the URI is ignored.
This commit changes the URI to be "null" and the creation of the client
to fail if both the uri and client attributes are set. If no client
attributes are set, the uri is used as before.
Closes gh-6739
2016-10-03 11:29:20 +02:00
Stephane Nicoll
b95b57dbf5
Merge branch '1.5.x'
2016-10-02 11:08:53 +02:00
Stephane Nicoll
e643fc5bd1
Merge branch '1.4.x' into 1.5.x
2016-10-02 11:08:33 +02:00
Johnny Lim
503d735fdd
Polish
...
Closes gh-7081
2016-10-02 11:07:04 +02:00
Stephane Nicoll
df9fb51a92
Merge branch '1.5.x'
2016-10-01 13:21:11 +02:00
Stephane Nicoll
75f475f2c8
Merge branch '1.4.x' into 1.5.x
2016-10-01 13:20:45 +02:00
Michael Stummvoll
914becac0e
Fix thymeleaf-layout-dialect.version in doc
...
Version 2.0.0 had serval bugs which broke compatibility to older
templates, so the guide should refer the fixed version instead.
Closes gh-6991
2016-10-01 13:18:37 +02:00
Andy Wilkinson
f82dc8e043
Upgrade to JMS API 2.0
...
Closes gh-7049
2016-09-29 20:33:21 +01:00
Andy Wilkinson
241ab10160
Merge branch '1.5.x'
2016-09-29 15:49:04 +01:00
Andy Wilkinson
2a035d0748
Remove support for Velocity following its deprecation in 1.4
...
Closes gh-6971
2016-09-29 15:44:36 +01:00
Andy Wilkinson
464915d2cc
Remove support for HornetQ following its deprecation in 1.4
...
See gh-6971
2016-09-29 15:44:36 +01:00
Stephane Nicoll
ea9faa5f6a
Merge branch '1.5.x'
2016-09-27 10:14:57 +02:00
Stephane Nicoll
9210bf0822
Merge branch '1.4.x' into 1.5.x
2016-09-27 10:14:37 +02:00
Stephane Nicoll
a2794d75c3
Clarify couchbase cache requirements
...
Closes gh-6998
2016-09-27 10:12:59 +02:00
Stephane Nicoll
542e935bb6
Fix typo
...
Closes gh-7026
2016-09-27 10:03:00 +02:00
Stephane Nicoll
3ac13a4af0
Merge branch '1.5.x'
2016-09-26 10:36:22 +02:00
Stephane Nicoll
7d73abc04f
Merge branch '1.4.x' into 1.5.x
2016-09-26 10:36:02 +02:00
Stephane Nicoll
f1fddd243b
Document spring.http.encoding.mapping
...
Closes gh-7017
2016-09-26 10:35:45 +02:00
Stephane Nicoll
9bc77254a7
Start building against Spring Framework 5 snapshot
...
This commit enables compatibility build against Spring Framework 5.
The Velocity and Guava support that are deprecated in the 1.x line have
been removed and few other classes contain minor change to comply to non
backward compatible changes in Spring Framework 5.
This commit also switches the required java version to 8.
Closes gh-6977
2016-09-21 17:37:02 +02:00
Stephane Nicoll
6643ec3713
Next development version
2016-09-21 17:05:50 +02:00
Stephane Nicoll
bd7c20eb1c
Deprecate Guava support
2016-09-21 14:59:02 +02:00
Stephane Nicoll
ce1e41dce3
Remove deprecated code
...
This code removes code deprecated in 1.4 with the exception of code that
requires an update to Spring Framework 5.
Closes gh-6971
2016-09-21 14:30:28 +02:00
Stephane Nicoll
6bd670edbc
Initiate 1.4.x branch
2016-09-21 11:11:24 +02:00
Spring Buildmaster
7e9ed5e1a7
Next Development Version
2016-09-21 07:58:07 +00:00
Andy Wilkinson
be33827f49
Simplify property validation sample and document need for static bean method
...
Closes gh-6627
2016-09-20 21:33:31 +01:00
Spring Buildmaster
5f959b074f
Next Development Version
2016-09-20 20:20:06 +00:00
Andy Wilkinson
6565ff616a
Clarify documentation on using a Spring Boot app as a dependency
...
Closes gh-6812
2016-09-19 14:00:15 +01:00
Johnny Lim
a994b11a73
Polish
2016-09-18 23:38:21 -07:00
Phillip Webb
7ec14774a8
Polish
2016-09-18 23:37:46 -07:00
Stephane Nicoll
b69fd9229d
Merge branch '1.3.x'
2016-09-18 17:12:39 +02:00
Stephane Nicoll
04b261984e
Polish
2016-09-18 17:12:21 +02:00
Mike Gehard
3d8b51d2e4
Link to Spring Security OAuth2 reference docs
...
Update documentation to include a link to Spring Security OAuth2's
reference documentation.
Closes gh-6909
2016-09-17 19:46:19 -07:00
Stephane Nicoll
6ec1ac0aa0
Fix doc syntax
...
See gh-6593
2016-09-17 08:04:00 +02:00
Phillip Webb
0eab3e0c5a
Drop printed link to reference documentation
...
Tweak the fix from 50c68a49
to no longer print a link the reference
documentation.
See gh-6593
2016-09-16 17:52:25 -07:00
Phillip Webb
825dd0a26c
Merge branch '1.3.x'
2016-09-16 15:07:18 -07:00
Phillip Webb
b97e0bd471
Allow HttpPutFormContentFilter to be disabled
...
Add `spring.mvc.formcontent.putfilter.enabled` property to allow the
HttpPutFormContentFilter to be disabled.
Fixes gh-6519
2016-09-16 14:14:21 -07:00
Stephane Nicoll
b77eddb8bb
Merge branch '1.3.x'
2016-09-16 16:58:53 +02:00
Stephane Nicoll
c2cdc1424b
Polish documentation
...
Add an explicit note that states that "spring.datasource.url" (or more
specifically "spring.datasource.class-name" that is inferred from the
former) is necessary to connect to a database. If the class-name isn't
specified, Spring Boot will attempt to auto-configure an embedded
database.
Closes gh-6907
2016-09-16 16:58:39 +02:00
Stephane Nicoll
50c68a497b
Improve startup error message
...
This commit improves the startup error message so that it does not
reference `--debug` anymore. Such command-line switch only works when
the application is started using `java -jar`.
The error message now refers directly to a section of the documentation
that provides more details and links to more useful examples.
Closes gh-6593
2016-09-16 16:37:50 +02:00
Phillip Webb
5f7897ba41
Refine inner-class test @Configuration detection
...
Update detection logic to also consider `@Rules` classes. Also make the
documentation a little clearer.
Fixes gh-6768
2016-09-15 16:55:49 -07:00
Kazuki Shimizu
2cedb45c68
Document devtools properties in config load order
...
Add reference to `~/spring-boot-devtools.properties` in
"Externalized Configuration" section.
Closes gh-6891
2016-09-15 10:28:45 -07:00
Andy Wilkinson
28ea6fd38a
Fix LegacyCookieProcessor configuration example and test it
...
Closes gh-6827
2016-09-15 14:53:14 +01:00
Andy Wilkinson
5c632dfc8b
Merge branch '1.3.x
2016-09-15 14:06:11 +01:00
Andy Wilkinson
30cb15a0d5
Update docs to note that Gradle 3 is not supported
...
Breaking API changes in Gradle 3.0 make it impossible to support
it reliably alongside Gradle 1 and 2 without mainintaining multiple
versions of our Gradle plugin. This commit updates the documentation
to note that Gradle 3 is not supported.
Closes gh-6880
2016-09-15 14:01:53 +01:00
Stephane Nicoll
7e263d899f
Polish cache doc
...
Closes gh-6892
2016-09-15 13:44:05 +02:00
Phillip Webb
3d89dabb4b
Document how to use LegacyCookieProcessor
...
Closes gh-6827
2016-09-14 20:18:49 -07:00
Stephane Nicoll
5d3ac53da9
Polish
...
See gh-6870
2016-09-14 16:34:01 +02:00
Stephane Nicoll
878a052567
Add reference to `SpringBootTest#properties`
...
Closes gh-6870
2016-09-14 14:16:12 +02:00
Stephane Nicoll
ee668e6782
Polish contribution
...
Closes gh-6651
2016-09-12 14:53:02 +02:00
Stephane Nicoll
a347a780e7
Polish contribution
...
Closes gh-6649
2016-09-12 14:34:40 +02:00
Brian Clozel
274734e787
Add `spring.thymeleaf.check-template` property
...
This commit adds a new `spring.thymeleaf.check-template` property which
is only used for Thymeleaf 3.0+.
Since thymeleaf/thymeleaf#419 , the Thymeleaf template resolver
implementations can implement the `setCheckExistence` method - this
enables the template existence verification at **resolution** time,
which means the resolver can return null as a `TemplateResolution`
and let other template resolvers in the chain try.
This new property is set to `true` by default and can be disabled if the
application only has a single resolver and the template existence check
is considered as a performance penalty with the configured resolver.
Fixes gh-6500
2016-09-09 16:35:57 +02:00
making
8a5c026a9d
Add spring.http.multipart.resolve-lazily
...
This commit adds the `spring.http.multipart.resolve-lazily`
property, in order to configure whether the multipart request
should be resolved lazily, as the parameters are accessed.
2016-09-09 10:34:49 +02:00
Brian Clozel
f0259c82de
Fix documentation on extending Spring MVC
...
When extending `WebMvcConfigurerAdapter`, developers should always
declare those as `@Configuration` classes rather than `@Bean`s, which
can lead to dependency issues as described in #6853 .
Fixes gh-6853
2016-09-09 09:45:54 +02:00
Stephane Nicoll
0233455612
Merge branch '1.3.x'
2016-09-09 07:43:41 +02:00
Huang YunKun
9cb269d14d
Trace endpoint defaults to 100
...
Closes gh-6847
2016-09-09 07:42:56 +02:00
Zoltan Altfatter
2ed479fdc4
Fix description for max-interval property
...
Closes gh-6836
2016-09-08 07:55:10 +02:00
Phillip Webb
41dc53f5dd
Polish
2016-09-07 08:34:45 -07:00
Stephane Nicoll
6f70d53285
Add documentation for `FailureAnalyzer`
...
Closes gh-6775
2016-09-02 13:11:50 +02:00
Stephane Nicoll
52d7282f5e
Auto-configure JdbcTemplate with DataJpaTest
...
This commit adds `JdbcTemplateAutoConfiguration` to the list of auto-
configurations that are applied with `DataJpaTest`. This effectively
allows to inject a `JdbcTemplate` in any `@DataJpaTest` test.
Closes gh-6802
2016-09-02 09:38:07 +02:00
Phillip Webb
2a22a7af12
Remove ApplicationInfo
...
Rework commit 4a69755b to remove the need for the ApplicationInfo class.
The updated code now uses the auto-configuration class to compute a
default persistence unit root location
Closes gh-6635
2016-08-31 14:49:15 +02:00
Stephane Nicoll
7765d31edd
Merge branch '1.3.x'
2016-08-31 10:47:54 +02:00
Stephane Nicoll
c8632f12f6
Clarify scope of Guava's CacheLoader
...
Closes gh-6778
2016-08-31 10:47:41 +02:00
Stephane Nicoll
f93775ec12
Clarify scope of Caffeine's CacheLoader
...
Closes gh-6770
2016-08-31 10:43:52 +02:00
Stephane Nicoll
c4cb831770
Polish
2016-08-28 11:02:19 +02:00
Stephane Nicoll
b9104c9337
Restore support for empty persistence unit with fat jars
...
Due to the layout format change in 1.4, Spring Framework is no longer
able to compute a default persistence unit root URL. If a Spring Boot 1.4
application has JPA but does not have any entity, the application started
from a fat jar now fails with a quite cryptic exception.
This commit introduces `ApplicationInfo` as a general replacement for
the `ApplicationArguments` and `Banner` singleton beans that
`SpringApplication` registers on startup. `ApplicationInfo` also defines
the detected "main" `Class` that can be used to compute a last resort
URL that makes sense.
If such bean is available, `EntityManagerFactoryBuilder` now sets the
default persistence unit root location, preventing Spring Framework to
attempt to resolve an unknown location. Note that in our case the
persistence unit root location is actually useless: given the way the
persistence unit is created, nothing actually uses it but Hibernate, as a
compliant JPA provider, has to make sure this setting is set to a valid
URL nevertheless.
Closes gh-6635
2016-08-26 13:38:17 +02:00
Andy Wilkinson
5a1741e2e8
Improve documentation of when TestRestTemplate is auto-configured
...
Closes gh-6729
2016-08-23 15:48:40 +01:00
Johnny Lim
524edaea51
Polish
...
Closes gh-6728
2016-08-23 15:13:33 +02:00
Stephane Nicoll
c9a3880f27
Remove hard-coded property values
...
As of Spring Boot 1.4, IDEs are supposed to provide auto-completion for
hints and enum values. This commit removes the hard-coded copy of
allowed values for enum-based properties. This was mostly the case
already and this commit fixes the few ones remaining.
Closes gh-6654
2016-08-22 15:39:41 +02:00
Stephane Nicoll
54a3ce8827
Restore support for spring.datasource.type
...
This commit restores the support of "spring.datasource.type". If this
property is set to an unsupported `DataSource` implementation, we now
properly create it again, rather than ignoring it because its value did
not match any value we support.
Since Spring Boot 1.4 now redirects `DataSource` implementation settings
to dedicated namespaces, the documentation has been updated to explicitly
mention how one can create such arrangement for an unsupported
implementation.
As a convenience, `DataSourceProperties` can initialize a
`DataSourceBuilder` based on its internal state, making it very easy for
anyone to create a `DataSource` from a `DataSourceProperties` instance.
Closes gh-6695
2016-08-22 11:49:32 +02:00
Stephane Nicoll
a6ef3741ef
Configure Undertow's access log prefix and suffix
...
This commit adds two properties that can be used to customize the prefix
and suffix of the Undertow's access log.
Closes gh-6652
2016-08-22 10:12:26 +02:00
Andy Wilkinson
9ba12f1ad9
Update Jackson customization docs to mention new builder customizer
...
Closes gh-6678
2016-08-18 21:35:40 +01:00
Stephane Nicoll
62867685ed
Fix reference to `@EntityScan` in the doc
...
Closes gh-6687
2016-08-18 17:00:12 +02:00
Johnny Lim
37c8c3669b
Polish
...
Closes gh-6671
2016-08-17 10:49:04 +02:00
Andy Wilkinson
a1e3dcebd4
Polish “Improve documentation for testing with Spock”
...
Closes gh-6539
2016-08-16 16:07:02 +01:00
Ben Ooms
894d86de12
Improve documentation for testing with Spock
2016-08-16 16:06:52 +01:00
Andy Wilkinson
49202570e9
Update SpringApplicationBuilder example in the docs and test it
...
Closes gh-6488
2016-08-16 13:14:56 +01:00
Andy Wilkinson
8c106af384
Allow default value for CONF_FOLDER to be set at build time
...
Closes gh-6549
2016-08-11 20:25:59 +01:00
Stephane Nicoll
5fcadcee6e
Polish documentation
...
Closes gh-6576
2016-08-10 10:27:10 +02:00
drumonii
80b5789d46
Document webjar-locator usage with JBoss
...
Closes gh-6589
2016-08-10 09:48:47 +02:00
Stephane Nicoll
2a94e05775
Add a note about Jackson and Java6
...
See gh-6536
2016-08-09 18:37:20 +02:00
Andy Wilkinson
1b42e1aaa3
Recommend setting spring.thymeleaf.mode: HTML when using Thymeleaf 3
...
Closes gh-6552
2016-08-08 10:40:01 +01:00
zhanhb
8d84123762
Fix `spring-boot-legacy` version
...
Closes gh-6492
2016-08-02 14:22:06 -07:00
Spring Buildmaster
334baaeffd
Next development version
2016-07-28 19:54:01 +00:00
Phillip Webb
405299a95a
Generate empty spring-boot-docs jar
...
Update spring-boot-docs so that an empty jar file is produced. The
code is only needed for documentation includes and if included in the
deployed jar seems to prevent promotion to Maven Central.
Fixes gh-6495
2016-07-28 10:40:17 -07:00
Spring Buildmaster
a89ef5df6e
Next Development Version
2016-07-28 09:18:40 +00:00
Andy Wilkinson
2469f0ba28
Clarify effect of @EnableWebSecurity when Actuator's being used
...
Closes gh-6490
2016-07-27 16:17:25 +01:00
Johnny Lim
9627d0ed66
Polish
...
Closes gh-6487
2016-07-27 12:29:33 +01:00
Stephane Nicoll
eb444f547f
Fix typo
2016-07-27 09:20:19 +02:00
Biju Kunjummen
d7a1730b50
Update Gradle remote debug documentation
...
Update the documentation to reference the `bootRun` command rather
than `run`.
Closes gh-6461
2016-07-26 22:17:20 -07:00
Phillip Webb
753a7e1d33
Document how to to customize the TestRestTemplate
...
Update the reference documentation and add some additional Javadoc to
provide hints on how to customize the `TestRestTemplate`.
Fixes gh-6465
2016-07-26 22:08:53 -07:00
Phillip Webb
296dc7132b
Allow JSON Testers to be `@Autowired`
...
Switch `@AutoConfigureJsonTesters` to use regular `@Autowired` injection
for JSON testers. Prior to this commit JSON Tester fields were
initialized directly which caused IDE issues and was also a little
confusing.
Fixes gh-6451
2016-07-26 21:41:37 -07:00
Vedran Pavic
7669c3c468
Move "Using jOOQ" section under "Working with SQL databases" section
...
Closes gh-6462
2016-07-26 09:48:35 +02:00
Andy Wilkinson
595902703b
Fix level of section in build tool plugins documentation
2016-07-20 20:56:50 +01:00
Andy Wilkinson
2e5d189299
Merge branch '1.3.x'
2016-07-20 07:05:54 +01:00
Andy Wilkinson
197f67c867
Correct OpenShift instructions to use action_hooks not action_scripts
...
Closes gh-6419
2016-07-20 07:05:38 +01:00
Andy Wilkinson
93ceb980bc
Recommend against using compileOnly in favour of providedRuntime
...
Closes gh-5461
2016-07-19 15:40:57 +01:00
Andy Wilkinson
409f160150
Merge branch '1.3.x'
2016-07-19 12:08:06 +01:00
Andy Wilkinson
a22071724a
Make it clearer that unconfigured WebSecConfigAdapter matches any path
...
Closes gh-5046
2016-07-19 12:07:45 +01:00
Stephane Nicoll
d5441d27f6
Polish doc
2016-07-19 09:31:03 +02:00
Phillip Webb
05ff4ed4e0
Upgrade to Tomcat 8.5.4 & remove tomcat-juli
...
Upgrade the managed Tomcat dependency to 8.5.4 and remove `tomcat-juli`
since it's now included in `tomcat-embed-core`.
Fixes gh-6192
2016-07-18 17:52:35 -07:00
Andy Wilkinson
48596dfbde
Document workaround for CRaSH's limited class path scanning
...
Closes gh-6384
2016-07-18 12:11:45 +01:00
Phillip Webb
34893eee9d
Refine service documentation
...
See gh-5505
2016-07-17 11:58:19 -07:00
Stephane Nicoll
1f3d9235a8
Fix typo
2016-07-16 18:20:32 +02:00
Phillip Webb
db287782a2
Remove duplicate documentation bookmark
...
See gh-5505
2016-07-15 16:29:33 -07:00
Phillip Webb
291f131e60
Remove `/urandom` references from the docs
...
Remove a dangling line left after commit 7b641d5d
.
Fixes gh-6229
2016-07-15 15:34:24 -07:00
Phillip Webb
a1345e17f1
Improve "fully executable jars" documentation
...
Closes gh-5505
2016-07-15 15:32:13 -07:00
Phillip Webb
51ede0cac6
Document ConfigFile...Initializer limitations
...
Update the reference documentation with a note about the limitations of
ConfigFileApplicationContextInitializer.
Fixes gh-6120
2016-07-15 13:16:33 -07:00
Phillip Webb
7b641d5d55
Remove `/urandom` references from the docs
...
Fixes gh-6229
2016-07-15 13:06:57 -07:00
Stephane Nicoll
5a941bb5a5
Polish doc
...
See gh-4313
2016-07-14 10:00:51 +02:00
Stephane Nicoll
6d33adc5dd
Add "Merging YAML lists" documentation
...
Add a dedicated section to explain how YAML lists are merged.
See gh-4313
2016-07-13 15:34:14 -07:00
Andy Wilkinson
041da3b6cd
Document how to configure a component that Hibernate depends upon
...
Closes gh-6333
2016-07-13 12:19:24 +01:00
Stephane Nicoll
6bd7a2fedd
Deprecate HornetQ support
...
Closes gh-6377
2016-07-13 10:06:19 +02:00
Andy Wilkinson
db83e89922
Add support for Thymeleaf 3 while keeping Thymeleaf 2 as the default
...
Closes gh-4393
2016-07-12 23:02:04 +01:00
Phillip Webb
3e62933096
Polish
2016-07-11 10:40:13 -07:00
Stephane Nicoll
fcf535901e
Polish doc
...
Closes gh-6008
2016-07-11 13:31:27 +02:00
Stephane Nicoll
277da462ce
Document differences between @Value and @ConfigurationProperties
...
Closes gh-4892
2016-07-11 12:23:30 +02:00
Stephane Nicoll
a72e494896
Merge branch '1.3.x'
2016-07-11 11:08:52 +02:00
Stephane Nicoll
78879f4bdb
Fix documentation
...
Closes gh-6358
2016-07-11 11:08:36 +02:00
Andy Wilkinson
ccaa19d51f
Document how to configure a RestTemplate to use a proxy
...
Closes gh-6331
2016-07-07 10:58:09 +01:00
Andy Wilkinson
3286760073
Make it easier to add auto-configuration to a test slice
...
Previously, an entry had to be added to spring.factories using the
name of one of the @AutoConfigure… meta-annotations on the @…Test
annotation as the key. This indirection was unnecessarily complicated.
This commit simplifies things by allowing the name of the @…Test
annotation itself to be used as the key.
Closes gh-6335
2016-07-06 16:44:26 +01:00
Stephane Nicoll
05dad45172
Add proxy configuration for Jest client
...
Closes gh-6332
2016-07-06 14:43:30 +02:00
Andy Wilkinson
5c44c77287
Document auto-configuration classes imported by each @…Test annotation
...
Closes gh-6044
2016-07-06 12:20:51 +01:00
Stephane Nicoll
4b91965dde
Fix indent
2016-07-05 11:26:15 +02:00
Stephane Nicoll
78e580c8db
Polish
2016-07-05 11:19:11 +02:00
Stephane Nicoll
0545231049
Polish
2016-07-05 10:37:22 +02:00
Spring Buildmaster
2216369348
Next Development Version
2016-07-04 14:15:02 +00:00
Phillip Webb
b5df4f8d08
Merge branch '1.3.x'
2016-07-03 21:55:38 -07:00
Phillip Webb
e452373c04
Fix imports in health sample documentation
...
Fixes gh-6312
2016-07-03 21:52:57 -07:00
Stephane Nicoll
a71ad73065
Document missing property
2016-07-03 17:10:43 +02:00
Phillip Webb
2583a534e6
Document heapdump endpoint
...
See gh-5670
2016-07-02 11:15:47 -07:00
Johnny Lim
4d0313f9c0
Remove duplicate property reference
...
Closes gh-6304
2016-07-01 16:00:38 +02:00
Stephane Nicoll
00a56cdf31
Merge branch '1.3.x'
2016-07-01 14:07:18 +02:00
Stephane Nicoll
49fefdafd8
Fix doc formatting
...
Closes gh-6275
2016-07-01 14:07:01 +02:00
Stephane Nicoll
0ea2626867
Improve Spring Session documentation
...
Closes gh-6256
2016-06-30 15:40:45 +02:00
Vedran Pavic
a251ea8bc7
Add Spring Session JDBC database initializer
...
See gh-5879
2016-06-30 15:23:54 +02:00
Andy Wilkinson
2b970f9efc
Allow Tomcat context root redirect to be configured via the environment
...
This commit adds a new property, server.tomcat.redirect-context-root,
that can be used to configure the Tomcat Context’s
mapperContextRootRedirectEnabled property. The default is to not apply
any configuration and, therefore, to use Tomcat’s default of true.
Closes gh-6248
2016-06-30 12:47:42 +01:00
Johnny Lim
5bc9d5b380
Polish
...
Closes gh-6244
2016-06-29 08:08:53 +02:00
Stephane Nicoll
fc4d8b99d6
Allow to configure Tomcat's renameOnRotate property
...
Closes gh-5981
2016-06-28 16:38:01 +02:00
Stephane Nicoll
397c64d256
Polish "Add schemaAction property"
...
Closes gh-5855
2016-06-28 10:21:48 +02:00
Mark Paluch
e85cb2c4c5
Add schemaAction property to CassandraProperties
...
Set schemaAction property in CassandraSessionFactoryBean. Use relaxed
property resolver for enum lookup of the configured schemaAction.
See gh-5855
2016-06-28 10:21:24 +02:00
Andy Wilkinson
94ba6bdae2
Polish “Allow connection timeout to be configured via the environment”
...
- Preserve default connection timeout when server.connection-timeout
has not been set
- Apply standard coding conventions and formatting
See gh-6072
2016-06-27 16:56:16 +01:00
Misagh Moayyed
6007d7efc1
Allow connection timeout to be configured via the environment
...
Closes gh-6072
2016-06-27 16:56:16 +01:00
Stephane Nicoll
84b2ff5c38
Polish "Add ability to filter cookies in trace data"
...
Closes gh-6018
2016-06-27 16:41:10 +02:00
Stephane Nicoll
5656e83ba9
Enable logging of resolved exceptions
...
Previously, if an exception was resolved by a `HandlerExceptionResolver`
nothing the log indicated a failure to process the query.
This commit adds a new property `spring.mvc.log-resolved-exception` that
enables warning logs for supported `HandlerExceptionResolver` instances.
When Devtools is enabled, this flag is enabled by default.
Closes gh-2176
2016-06-27 14:37:44 +02:00
Andy Wilkinson
618535f576
Polish “Allow management server SSL to be configured independently”
...
This commit polishes b0fbc7e, throwing an exception when an attempt is
made to configure management-specific SSL without also configuring a
custom management port. The testing of management-specific SSL
configuration has also been improved.
See gh-6057
Closes gh-4810
2016-06-27 13:24:42 +01:00
Johnny Lim
301574de09
Polish
...
Closes gh-6234
2016-06-27 14:19:26 +02:00
Stephane Nicoll
cfe1fe8736
Merge branch '1.3.x'
2016-06-23 10:44:55 +02:00
Stephane Nicoll
bffcb1aad2
Document available layouts
...
Closes gh-5524
2016-06-23 10:42:47 +02:00
Stephane Nicoll
2dc6e5b6fa
Refactor Jest auto-configuration package space
...
This commit moves the Jest auto-configuration from `spring.jest` to
`spring.elasticsearch.jest`
Closes gh-6032
2016-06-23 10:39:16 +02:00
Andy Wilkinson
52e8ad4b6b
Drop back to Hibernate 5.0.9.Final
...
The upgrade to Hibernate 5.2.0.Final has provide to be too
problematic to live with. It requires Java 8, is incompatible with
a number of other projects in the Hibernate ecosystem, and it's
unclear for how long it will be maintained. We'd previously used
Hibernate 5.1.0.Final but its maintenance is also unclear with
Hibernate 5.1.1.Final being more than 3 months overdue.
This commit drops back to Hibernate 5.0.9.Final. This has a few
advantages:
- It's Java 7 compatible
- It's had some time to mature and should be reasonably free of
regressions for those moving from 4.3.x
- It's used in both Wildfly and JBoss EAP so there's a fair chance
that it will continue to be maintained.
Closes gh-6198
2016-06-21 20:09:21 +01:00
Phillip Webb
7446235ff4
Polish
2016-06-20 20:13:13 -07:00
Phillip Webb
c136054e69
Merge branch '1.3.x'
2016-06-20 18:54:01 -07:00