Commit Graph

1441 Commits (d720645275e1ecf44840e543f1245811a764674c)

Author SHA1 Message Date
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
8 years ago
Stephane Nicoll 7765d31edd Merge branch '1.3.x' 8 years ago
Stephane Nicoll c8632f12f6 Clarify scope of Guava's CacheLoader
Closes gh-6778
8 years ago
Stephane Nicoll f93775ec12 Clarify scope of Caffeine's CacheLoader
Closes gh-6770
8 years ago
Stephane Nicoll c4cb831770 Polish 8 years ago
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
8 years ago
Andy Wilkinson 5a1741e2e8 Improve documentation of when TestRestTemplate is auto-configured
Closes gh-6729
8 years ago
Johnny Lim 524edaea51 Polish
Closes gh-6728
8 years ago
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
8 years ago
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
8 years ago
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
8 years ago
Andy Wilkinson 9ba12f1ad9 Update Jackson customization docs to mention new builder customizer
Closes gh-6678
8 years ago
Stephane Nicoll 62867685ed Fix reference to `@EntityScan` in the doc
Closes gh-6687
8 years ago
Johnny Lim 37c8c3669b Polish
Closes gh-6671
8 years ago
Andy Wilkinson a1e3dcebd4 Polish “Improve documentation for testing with Spock”
Closes gh-6539
8 years ago
Ben Ooms 894d86de12 Improve documentation for testing with Spock 8 years ago
Andy Wilkinson 49202570e9 Update SpringApplicationBuilder example in the docs and test it
Closes gh-6488
8 years ago
Andy Wilkinson 8c106af384 Allow default value for CONF_FOLDER to be set at build time
Closes gh-6549
8 years ago
Stephane Nicoll 5fcadcee6e Polish documentation
Closes gh-6576
8 years ago
drumonii 80b5789d46 Document webjar-locator usage with JBoss
Closes gh-6589
8 years ago
Stephane Nicoll 2a94e05775 Add a note about Jackson and Java6
See gh-6536
8 years ago
Andy Wilkinson 1b42e1aaa3 Recommend setting spring.thymeleaf.mode: HTML when using Thymeleaf 3
Closes gh-6552
8 years ago
zhanhb 8d84123762 Fix `spring-boot-legacy` version
Closes gh-6492
8 years ago
Spring Buildmaster 334baaeffd Next development version 8 years ago
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
8 years ago
Spring Buildmaster a89ef5df6e Next Development Version 8 years ago
Andy Wilkinson 2469f0ba28 Clarify effect of @EnableWebSecurity when Actuator's being used
Closes gh-6490
8 years ago
Johnny Lim 9627d0ed66 Polish
Closes gh-6487
8 years ago
Stephane Nicoll eb444f547f Fix typo 8 years ago
Biju Kunjummen d7a1730b50 Update Gradle remote debug documentation
Update the documentation to reference the `bootRun` command rather
than `run`.

Closes gh-6461
8 years ago
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
8 years ago
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
8 years ago
Vedran Pavic 7669c3c468 Move "Using jOOQ" section under "Working with SQL databases" section
Closes gh-6462
8 years ago
Andy Wilkinson 595902703b Fix level of section in build tool plugins documentation 8 years ago
Andy Wilkinson 2e5d189299 Merge branch '1.3.x' 8 years ago
Andy Wilkinson 197f67c867 Correct OpenShift instructions to use action_hooks not action_scripts
Closes gh-6419
8 years ago
Andy Wilkinson 93ceb980bc Recommend against using compileOnly in favour of providedRuntime
Closes gh-5461
8 years ago
Andy Wilkinson 409f160150 Merge branch '1.3.x' 8 years ago
Andy Wilkinson a22071724a Make it clearer that unconfigured WebSecConfigAdapter matches any path
Closes gh-5046
8 years ago
Stephane Nicoll d5441d27f6 Polish doc 8 years ago
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
8 years ago
Andy Wilkinson 48596dfbde Document workaround for CRaSH's limited class path scanning
Closes gh-6384
8 years ago
Phillip Webb 34893eee9d Refine service documentation
See gh-5505
8 years ago
Stephane Nicoll 1f3d9235a8 Fix typo 8 years ago
Phillip Webb db287782a2 Remove duplicate documentation bookmark
See gh-5505
8 years ago
Phillip Webb 291f131e60 Remove `/urandom` references from the docs
Remove a dangling line left after commit 7b641d5d.

Fixes gh-6229
8 years ago
Phillip Webb a1345e17f1 Improve "fully executable jars" documentation
Closes gh-5505
8 years ago
Phillip Webb 51ede0cac6 Document ConfigFile...Initializer limitations
Update the reference documentation with a note about the limitations of
ConfigFileApplicationContextInitializer.

Fixes gh-6120
8 years ago
Phillip Webb 7b641d5d55 Remove `/urandom` references from the docs
Fixes gh-6229
8 years ago
Stephane Nicoll 5a941bb5a5 Polish doc
See gh-4313
8 years ago