Commit Graph

5463 Commits (20c1c617ef8a085914dedfeb9954dc69db3529e0)
 

Author SHA1 Message Date
Stephane Nicoll 20c1c617ef Polish
See gh-3684
9 years ago
Stephane Nicoll eae9682117 Avoid package tangle 9 years ago
Andy Wilkinson e482da06b8 Merge branch 'gh-3643' 9 years ago
Andy Wilkinson 9fcc860908 Polish contribution
Closes gh-3643
9 years ago
Joao Pedro Evangelista 7568af1710 Add auto-configuration of HttpPutContentFormFilter
Closes gh-3652
9 years ago
Andy Wilkinson ffe2e9b66b Clarify javadoc of SpringApplication.configureProfiles
Closes gh-2671
9 years ago
Andy Wilkinson 1a11ed20ba Provide a property to configure conversion word used to log exceptions
This commit adds a new property, logging.exception-conversion-word,
that can be used to configure the conversion word that is used when
logging exceptions. The default value, %rEx, will log exceptions
with the root cause first and include class packaging information in
the stack trace. The new property is supported when using either
Logback or Log4J2.

Closes gh-3684
9 years ago
Stephane Nicoll 67d29c13f5 Fix typo 9 years ago
Stephane Nicoll e88c58828f Polish documentation
Upgrade documentation for the `hal` and `links` endpoints as they are
not using the root anymore.

Closes gh-3621
9 years ago
Phillip Webb 28f32da74f Don't user root path for HAL endpoints
Update LinksMvcEndpoint and HalBrowserMvcEndpoint so that no longer try
to use the `/` context path. Links are now available from `/links` and
the HAL browser is available from `/hal`.

The actuator HAL browser now works with either WebJars or the Spring
Data version. It also now transforms the initial HTML so that the
form is pre-populated with `/links`.

When using Spring Data's HAL browser, the root includes a link to
`/links` with a rel of `actuator`.

See gh-3621
9 years ago
Phillip Webb 44aacd9559 Polish 9 years ago
Phillip Webb 51fb2e32f6 Fix link elements in restdoc headings
Replace `Link :` prefixes in the restdoc headings with link icons next
to the HTTP request. This fixes render issues with the titles and allows
the TOC to still function correctly.

Fixes gh-3689
9 years ago
Phillip Webb 1fba24ffe4 Generate rest documentation in compile phase
Update `spring-boot-actuator-docs` to generate rest documentation in
the compile phase.
9 years ago
Phillip Webb 9a53707014 Add @ImportAutoConfiguration annotation for tests
Add a new `@ImportAutoConfiguration` annotation that can be used by
tests that wish to selectively import certain auto-configuration
classes. Also add `@AutoConfigurationPackage` so that package
registration is decoupled from `@EnableAutoConfiguration`.

An added benefit of the change is @EnableAutoConfigurationImportSelector
can now be subclassed to provide custom annotation support if needed.

Fixes gh-3660
See gh-2772
9 years ago
Phillip Webb 8d92236eea Polish 9 years ago
Phillip Webb 3ff878a94b Remove `include` from @EnableAutoConfiguration
Revert commit 1d31d23e29 to
remove `include` from `@EnableAutoConfiguration`. We'll
add a dedicated annotation instead to fix this.

See gh-3660
9 years ago
Andy Wilkinson 059a30610f Revert "Upgrade to Jackson 2.6.0"
This reverts commit f76197066c.

See gh-3569
9 years ago
Andy Wilkinson b396d0d291 Update logging defaults to show class packaging info and log cause first
This commit updates the default logging configuration for both Logback
and Log4J 2 to include class packaging information when logging
exceptions and to log the root cause first.

Closes gh-3398
Closes gh-3399
9 years ago
Andy Wilkinson f76197066c Upgrade to Jackson 2.6.0
Closes gh-3569
9 years ago
Andy Wilkinson aa43d3f3a3 Update to HikariCP 2.3.9
Closes gh-3675
9 years ago
Andy Wilkinson d2238c3ff7 Upgrade to de.flapdoodle.embed:de.flapdoodle.embed.mongo 1.48.2
Closes gh-3676
9 years ago
Andy Wilkinson 30fd66654e Upgrade to Undertow 1.2.10.Final
Closes gh-3677
9 years ago
Andy Wilkinson d496bfedd0 Upgrade to Commons Pool 2 2.4.2
Closes gh-3678
9 years ago
Andy Wilkinson 5659d5bce3 Upgrade to Hibernate Validator 5.2.1.Final
Closes gh-3679
9 years ago
Andy Wilkinson d072cd9149 Upgrade to org.mariadb.jdbc:mariadb-java-client 1.2.0
Closes gh-3680
9 years ago
Andy Wilkinson ea34c709c9 Upgrade to Jedis 2.7.3
Closes gh-3682
9 years ago
Andy Wilkinson cd55771dd7 Upgrade to Spring HATEOAS 0.18.0.RELEASE
Closes gh-3683
9 years ago
Andy Wilkinson 2d57803705 Merge branch '1.2.x' 9 years ago
Andy Wilkinson 890fb9665d Upgrade to Spring Loaded 1.2.4.RELEASE
Closes gh-3681
9 years ago
Andy Wilkinson 6870f17482 Merge branch '1.2.x' 9 years ago
Andy Wilkinson dd4c542e32 Upgrade to Undertow 1.1.8.Final
Closes gh-3674
9 years ago
Andy Wilkinson c4d0f949d4 Upgrade to mysql:mysql-connector-java 5.1.36
Closes gh-3673
9 years ago
Andy Wilkinson 370247f9e4 Upgrade to Jetty 9.2.13.v20150730
Closes gh-3672
9 years ago
Andy Wilkinson 8df4985675 Upgrade to Freemarker 2.3.23
Closes gh-3671
9 years ago
Andy Wilkinson 82212e6271 Upgrade to Spring Integration 4.1.6.RELEASE
Closes gh-3670
9 years ago
Andy Wilkinson 5756195c05 Upgrade to Spring Security 3.2.8.RELEASE
Closes gh-3669
9 years ago
Vladimir Tsanev 632d78b6fb Prettify Log4J 2's default output
This commit updates the default output produced when using Log2J 2 to
be similar to the output produced by Logback. It introduces a new
converter for throwables that adds some whitespace around stacktraces
and a color converter that produces ANSI-colored output when enabled
via spring.output.ansi.enabled.

Closes gh-3548
9 years ago
Stephane Nicoll 65efd1725f Add before modes support for @IntegrationTest
Spring Framework 4.2 introduced support for before modes in
`@DirtiesContext` Make sure that `@IntegrationTest` also support
these new modes.

Closes gh-3642
9 years ago
Stephane Nicoll 89c3d2ea12 Improve MongoDB documentation
Explicitly mention that `spring.data.mongodb.uri` can be used to
customize additional settings such as replica set.

Closes gh-2624
9 years ago
Stephane Nicoll 0822b1ce11 Merge pull request #3667 from ericbottard/patch-1
* pr/3667:
  Polish Javadoc
9 years ago
Eric Bottard 2b15ea65e2 Polish Javadoc
Closes gh-3667
9 years ago
Stephane Nicoll 1e3c0da4bd Merge pull request #3666 from izeye/typo-20150805
* pr/3666:
  Fix typos
9 years ago
izeye 7dc9bddf9a Fix typos
Closes gh-3666
9 years ago
Stephane Nicoll 6c7a5c5077 Harmonize Undertow's access log properties
Harmonize the configuration properties for Undertow to match the changes
made for gh-2491.

Move `spring.undertow.accessLog*` to `spring.undertow.accesslog.*`
9 years ago
Stephane Nicoll 62406546e2 Improve customization of Tomcat's access log
Add `directory`, `prefix` and `suffix` properties to further customize
how access logs are configured on Tomcat. Relocate all properties to the
`server.tomcat.accesslog` namespace.

`server.tomcat.accessLogPattern` and `server.tomcat.accessLogEnabled` are
deprecated and replaced by `server.tomcat.accesslog.pattern` and
`server.tomcat.accesslog.enabled` respectively.

Closes gh-2491
9 years ago
Andy Wilkinson 4a25bae143 Allow additional paths that trigger a reload/restart to be configured
Previously, only folders on the classpath would be watched and used
to trigger a restart/reload of the application. This commit adds a
new property spring.devtools.restart.additional-paths that can be
used to configure additional paths that should be watched for
changes. When a change occurs in one of those paths a restart or
reload will be triggered, depending on the full restart exclude
patterns configured via the existing spring.devtools.restart.exclude
property.

Closes gh-3469
9 years ago
Andy Wilkinson 2a5a32b603 Add auto-configuration for H2’s web console
Three conditions must be met for the console to be enabled:

 - H2 is on the classpath
 - The application is a web application
 - spring.h2.console.enabled is set to true

If spring-boot-devtools is on the classpath, spring.h2.console.enabled
will be set to true automatically. Without the dev tools, the enabled
property will have to be set to true in application.properties.

By default, the console is available at /h2-console. This can be
configured via the spring.h2.console.path property. The value of this
property must begin with a '/'.

When Spring Security is on the classpath the console will be secured
based on the user's security.* configuration. When the console is
secured, CSRF protection is disabled and frame options is set to
SAMEORIGIN for its path. Both settings are required in order for the
console to function.

Closes gh-766
9 years ago
Stephane Nicoll f95c95a1f1 Add reference to mongeez-spring-boot-starter 9 years ago
Stephane Nicoll 1cb0deed5e Upgrade to Spring Security 4.0.2.RELEASE
Closes gh-3422
9 years ago
Stephane Nicoll cd32960b57 Upgrade to Spring Data Gosling RC1
Closes gh-3288
9 years ago