Commit Graph

6850 Commits

Author SHA1 Message Date
Phillip Webb
f276ff4bd0 Polish 2016-01-27 16:02:36 -08:00
Stephane Nicoll
9065ddd857 Merge pull request #4411 from joshiste/cli-improvements2
* pr/4411:
  Update copyright header
  Remove closure-execution from OptionHandler
2016-01-27 18:05:34 +01:00
Stephane Nicoll
83f5928e8d Update copyright header 2016-01-27 18:05:23 +01:00
Johannes Edmeier
0739717a7f Remove closure-execution from OptionHandler
It seems that the code for executing a groovy closure from the
OptionHandler is never executed and therefore not needed.

Removing the code gives the benefit that the Groovy-classes are not
needed if someone else wants to use the spring-boot-cli infrastructure to
run his own cli interface.

Closes gh-4411
2016-01-27 18:02:19 +01:00
Stephane Nicoll
e7c7556266 Upgrade to Joda-time 2.9.1
Closes gh-4479
2016-01-27 17:57:48 +01:00
Stephane Nicoll
9115922efa Upgrade to mariadb 1.3.4
Closes gh-4482
2016-01-27 17:56:18 +01:00
Stephane Nicoll
c2e8e0d897 Add dependency management for jackson-datatype-guava
Closes gh-4490
2016-01-27 17:53:26 +01:00
Stephane Nicoll
2b2e21dbbf Disable JNDI on Jetty by default
Our Investigations show that JNDI lookup is quite costly on Jetty and it
was enabled by default while embedded tomcat does not. This commit
excludes `jetty-jndi` to align the behavior with Tomcat.

If you are relying on JNDI, the `jetty-jndi` should simply be added in
your project.

Closes gh-4710
2016-01-27 17:35:10 +01:00
Stephane Nicoll
b02073b455 Polish 2016-01-27 17:12:09 +01:00
Stephane Nicoll
217f825d3d Clarify DataSourceAutoConfiguration
The `DataSource` auto-configuration in Spring Boot supports two modes:
regular pooled DataSource and embedded database (via the
`EmbeddedDatabase` infrastructure provided by `spring-jdbc`. These were
previously named `NonEmbedded` and `Embedded` respectively.

This commit clarifies those mode and in particular that a pooled
`DataSource` can also handle an embedded database.

Closes gh-4634
2016-01-27 17:11:48 +01:00
Stephane Nicoll
f33d95bc32 Merge pull request #5028 from marceloverdijk/jackson-datatype-json-org
* pr/5028:
  Added dependency for jackson-datatype-json-org
2016-01-26 16:50:07 +01:00
Marcel Overdijk
619f8e9ba0 Added dependency for jackson-datatype-json-org
Closes gh-5028
2016-01-26 16:49:35 +01:00
Stephane Nicoll
762097ef29 Refactor logic from DataSourceProperties
Introduce dedicate method to determine the actual value to use based on
the configuration and the environment.

Closes gh-1436
2016-01-26 16:24:24 +01:00
Stephane Nicoll
077cfecee5 Merge pull request #4574 from patrickbray/SendGrid-API-Keys
* pr/4574:
  Polish contribution
  Support for SendGrid ApiKey
2016-01-26 15:19:47 +01:00
Stephane Nicoll
3562026e9a Polish contribution
Closes gh-4574
2016-01-26 15:18:32 +01:00
Patrick Bray
3bf6c2fe1f Support for SendGrid ApiKey
See gh-4574
2016-01-26 15:01:19 +01:00
Stephane Nicoll
f9fd849a39 Merge pull request #4590 from eddumelendez/gh-4576
* pr/4590:
  Polish contribution
  Add Thymeleaf's Java8TimeDialect
2016-01-26 15:00:00 +01:00
Stephane Nicoll
58751a43c1 Polish contribution
Closes gh-4590
2016-01-26 14:59:38 +01:00
Eddú Meléndez
c68ffa5ba0 Add Thymeleaf's Java8TimeDialect
Closes gh-4576
2016-01-26 14:43:10 +01:00
Stephane Nicoll
24b953edf2 Upgrade to gson 2.5
Closes gh-4496
2016-01-26 14:36:28 +01:00
Stephane Nicoll
da5e0f6abe Remove reference to spring-boot.version in the build
Closes gh-5014
2016-01-26 13:24:16 +01:00
Stephane Nicoll
1a4ee0d207 Apply default filtering to profile-specific files
Upgrade the `spring-boot-starter-parent` to also filter profile-specific
configuration files.

Closes gh-4856
2016-01-26 10:53:07 +01:00
Stephane Nicoll
fb0664902f Add dependency management for lombok
Closes gh-4598
2016-01-26 10:32:58 +01:00
Stephane Nicoll
2b1c319867 Fix broken build
`server.session-timeout` was deprecated in 1.3 but still used in a sample
that broke once the support for it was removed. This commit fix the build
by using the expected property.
2016-01-26 10:08:02 +01:00
Stephane Nicoll
11d8515594 Add failsafe default configuration
Provides better default for integration tests. Also expand the
documentation of the maven plugin in that area.

Closes gh-4223
2016-01-26 09:59:37 +01:00
Stephane Nicoll
e293008c3f Rename redis starter to spring-boot-starter-data-redis
Closes gh-1033
2016-01-26 08:31:34 +01:00
Stephane Nicoll
854a67588e Remove reference to spring.view.*
Closes gh-3278
2016-01-26 08:19:22 +01:00
Stephane Nicoll
02871696cc Merge pull request #4632 from htynkn/update-JspTemplateAvailabilityProvider
* pr/4632:
  Polish contribution
  Remove deprecated use of spring.mvc.*
2016-01-25 16:24:49 +01:00
Stephane Nicoll
8e3d63ab6a Polish contribution
Closes gh-4632
2016-01-25 16:24:20 +01:00
Huang YunKun
d796845664 Remove deprecated use of spring.mvc.*
Closes gh-4086
2016-01-25 16:01:05 +01:00
Stephane Nicoll
86cb15a29b Merge pull request #4707 from mnhock/Platform-specific-line-separator
* pr/4707:
  Polish contribution
  Use a platform-specific line separator
2016-01-25 15:43:28 +01:00
Stephane Nicoll
cafe1dc4c6 Polish contribution
Fix additional use of \n

Closes gh-4707
2016-01-25 15:43:04 +01:00
mnhock
e0ec607735 Use a platform-specific line separator
See gh-4707
2016-01-25 14:37:38 +01:00
Stephane Nicoll
bcfd1cc034 Merge pull request #4917 from eddumelendez/gh-4905
* pr/4917:
  Polish contribution
  Remove support for Log4j
  Remove deprecated code
2016-01-25 14:09:42 +01:00
Stephane Nicoll
4ff5afc636 Polish contribution
Removing all deprecated code

Closes gh-4905
Closes gh-4917
2016-01-25 14:06:20 +01:00
Stephane Nicoll
bead239448 Remove support for Log4j
Apache Log4j 1.x is EOL and has now been replaced by log4j 2. This commit
removes the deprecated support for Log4j 1.x

See gh-4905
2016-01-25 14:06:06 +01:00
Eddú Meléndez
7b9cd20e98 Remove deprecated code
See gh-4905
2016-01-25 14:05:53 +01:00
Phillip Webb
fbaf209240 Move master to 1.4.0.BUILD-SNAPSHOT 2016-01-24 10:45:24 -08:00
Stephane Nicoll
135ebb8ded Merge pull request #5013 from izeye/polish-20160123
* pr/5013:
  Polish
2016-01-24 19:13:14 +01:00
Johnny Lim
9a31e02806 Polish
Closes gh-5013
2016-01-24 19:13:01 +01:00
Andy Wilkinson
4c1bb38878 Fix broken locking in Restarter.initialize
Closes gh-4955
2016-01-22 15:21:00 +00:00
Phillip Webb
c77a7e0cba Fixup version numbers following release 2016-01-21 19:18:01 -08:00
Spring Buildmaster
504d3e97ba Next development version 2016-01-21 18:41:30 -08:00
Phillip Webb
6d19d737a4 Downgrade to Spring Web Services 2.2.3
Since 2.2.5 hasn't yet been released we'll need to rollback for our
release.

See gh-4789
2016-01-21 17:40:48 -08:00
Phillip Webb
ebabc63bbb Refine ContextId NAME_PATTERN
Update the ContextIdApplicationContextInitializer default NAME_PATTERN
to favor the developer defined `${spring.application.name}` value over
the deployer defined `${vcap.application.name}`.

Fixes gh-4926
2016-01-21 15:31:33 -08:00
Phillip Webb
fd3e5cf304 Defer disable persistence logic to a listener
Update TomcatEmbeddedServletContainerFactory so that logic to disable
persistent sessions happens after Tomcat's standard Manager creation
logic.

Fixes gh-4543
2016-01-21 15:13:37 -08:00
Phillip Webb
e520c47c4f Refine messages.properties detection
Update `ResourceBundleCondition` to only enable the messages source
if `messages.properties` (and not `messages*.properties`) exists. This
operation is much faster that performing a pattern match since a full
jar entry scan is not required.

Since adding `messages.properties` is good practice and this change
allows us to delete the custom `PathMatchingResourcePatternResolver`
it seems like a fine compromise to make.

Fixes gh-4930
See gh-4811
2016-01-21 15:13:33 -08:00
Phillip Webb
cf93f84e87 Polish 2016-01-21 14:15:49 -08:00
Andy Wilkinson
acfae2ebff Upgrade to Spring AMQP 1.5.3.RELEASE
Closes gh-5003
2016-01-21 20:24:03 +00:00
Andy Wilkinson
d1be03fcf0 Upgrade to Postgresql 9.4.1207.jre7
Closes gh-5002
2016-01-21 20:22:06 +00:00