Commit Graph

6966 Commits (81fdc99fb0c2a74936069d45a8d41f273a939de0)
 

Author SHA1 Message Date
Stephane Nicoll 6ea74501e7 Clarify registration of ApplicationListener
Spring Boot fires event very early in the application lifecycle and we
should make crystal clear that a regular `@Bean` registration cannot be
used to register a listener on them.

Closes gh-5061
9 years ago
Stephane Nicoll 74bff1f275 Merge remote-tracking branch 'origin/1.3.x' into 1.3.x 9 years ago
Phillip Webb acbb4e63f2 Clear caches on ApplicationContext load
Ensure that JarFile caches are cleared once the ApplicationContext has
loaded. Caches are cleared manually with the assumption that no
further class loading is likely.

Closes gh-4882
9 years ago
Phillip Webb e2368b909b Reduce memory consumption of fat/exploded jars
Refactor `spring-boot-loader` to reduce the amount of memory required
to load fat & exploded jars. Jar files now no longer store a full list
of entry data records, but instead use an array of entry name hashes.

Since ClassLoaders often ask each JAR if they contain a particular
entry (and mostly they do not), the hash array provides a quick way to
deal with misses. Only when a hash does exist is data actually loaded
from the underlying file.

In addition to the JarFile changes, the Archive abstraction has also
been updated to reduce memory consumption.

See gh-4882
9 years ago
Phillip Webb 858a854ce1 Drop use of loggers in Launchers
Remove the use of JDK loggers in Launcher and PropertiesLauncher to
ensure allow the custom Log4j2 `LogManager` to be used with Spring Boot
applications.

Fixes gh-3815
9 years ago
Phillip Webb 50e78b9c99 Allow package private spring.factories classes
Update SpringApplication to allow classes loaded from spring.factories
to be package private.

Fixes gh-5043
9 years ago
Phillip Webb 26dfbeb8f4 Share MetadataReaderFactory
Add SharedMetadataReaderFactoryContextInitializer to ensure that a
shared caching MetadataReaderFactory is used between configuration
classes and auto-configure sorting.

Fixes gh-4993
9 years ago
Phillip Webb 26e0807d33 Merge pull request #4914 from chelseatroy/contributor_covenant
* contributor_covenant:
  Add contributor covenant
9 years ago
Chelsea Troy 5261eb2ffc Add contributor covenant
Closes gh-4914
9 years ago
Andy Wilkinson fc29230f92 Merge branch '1.3.x' 9 years ago
Andy Wilkinson ee409482b3 Enable the use of formatter off and on tags in Eclipse
This commit enables the use of // @formatter:off and // @formatter:on
to surround lines of code that should not be formatted. It also adds
a code template that can be used to quickly wrap the selected lines
of text with the off and on comments.

Closes gh-5050
9 years ago
Stephane Nicoll 840bb5fa5e Merge pull request #5026 from icha024/master
* pr/5026:
  Add cloudant-spring-boot-starter reference
9 years ago
Ian 68d8be70d8 Add cloudant-spring-boot-starter reference
Closes gh-5026
9 years ago
Stephane Nicoll b01194799a Merge branch '1.3.x' 9 years ago
Vedran Pavic 93de0d7dc0 Improve systemd service documentation
Closes gh-5041
9 years ago
Stephane Nicoll df64a74e60 Fix broken build
jetty-jndi is no longer shipped by default as of 2b2e21d but one test
checking for this wasn't updated properly.
9 years ago
Phillip Webb f276ff4bd0 Polish 9 years ago
Stephane Nicoll 9065ddd857 Merge pull request #4411 from joshiste/cli-improvements2
* pr/4411:
  Update copyright header
  Remove closure-execution from OptionHandler
9 years ago
Stephane Nicoll 83f5928e8d Update copyright header 9 years ago
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
9 years ago
Stephane Nicoll e7c7556266 Upgrade to Joda-time 2.9.1
Closes gh-4479
9 years ago
Stephane Nicoll 9115922efa Upgrade to mariadb 1.3.4
Closes gh-4482
9 years ago
Stephane Nicoll c2e8e0d897 Add dependency management for jackson-datatype-guava
Closes gh-4490
9 years ago
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
9 years ago
Stephane Nicoll b02073b455 Polish 9 years ago
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
9 years ago
Stephane Nicoll f33d95bc32 Merge pull request #5028 from marceloverdijk/jackson-datatype-json-org
* pr/5028:
  Added dependency for jackson-datatype-json-org
9 years ago
Marcel Overdijk 619f8e9ba0 Added dependency for jackson-datatype-json-org
Closes gh-5028
9 years ago
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
9 years ago
Stephane Nicoll 077cfecee5 Merge pull request #4574 from patrickbray/SendGrid-API-Keys
* pr/4574:
  Polish contribution
  Support for SendGrid ApiKey
9 years ago
Stephane Nicoll 3562026e9a Polish contribution
Closes gh-4574
9 years ago
Patrick Bray 3bf6c2fe1f Support for SendGrid ApiKey
See gh-4574
9 years ago
Stephane Nicoll f9fd849a39 Merge pull request #4590 from eddumelendez/gh-4576
* pr/4590:
  Polish contribution
  Add Thymeleaf's Java8TimeDialect
9 years ago
Stephane Nicoll 58751a43c1 Polish contribution
Closes gh-4590
9 years ago
Eddú Meléndez c68ffa5ba0 Add Thymeleaf's Java8TimeDialect
Closes gh-4576
9 years ago
Stephane Nicoll 24b953edf2 Upgrade to gson 2.5
Closes gh-4496
9 years ago
Stephane Nicoll da5e0f6abe Remove reference to `spring-boot.version` in the build
Closes gh-5014
9 years ago
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
9 years ago
Stephane Nicoll fb0664902f Add dependency management for lombok
Closes gh-4598
9 years ago
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.
9 years ago
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
9 years ago
Stephane Nicoll e293008c3f Rename redis starter to spring-boot-starter-data-redis
Closes gh-1033
9 years ago
Stephane Nicoll 854a67588e Remove reference to spring.view.*
Closes gh-3278
9 years ago
Stephane Nicoll 02871696cc Merge pull request #4632 from htynkn/update-JspTemplateAvailabilityProvider
* pr/4632:
  Polish contribution
  Remove deprecated use of spring.mvc.*
9 years ago
Stephane Nicoll 8e3d63ab6a Polish contribution
Closes gh-4632
9 years ago
Huang YunKun d796845664 Remove deprecated use of spring.mvc.*
Closes gh-4086
9 years ago
Stephane Nicoll 86cb15a29b Merge pull request #4707 from mnhock/Platform-specific-line-separator
* pr/4707:
  Polish contribution
  Use a platform-specific line separator
9 years ago
Stephane Nicoll cafe1dc4c6 Polish contribution
Fix additional use of \n

Closes gh-4707
9 years ago
mnhock e0ec607735 Use a platform-specific line separator
See gh-4707
9 years ago
Stephane Nicoll bcfd1cc034 Merge pull request #4917 from eddumelendez/gh-4905
* pr/4917:
  Polish contribution
  Remove support for Log4j
  Remove deprecated code
9 years ago