Commit Graph

467 Commits (fd56e79f7aebac66b3bed085f909715851200b8c)

Author SHA1 Message Date
Stephane Nicoll e258884dd3 Polish doc
Closes gh-11529
7 years ago
Brian Clozel 67e5897c40 Disable suffix pattern matching in Spring MVC
This commit disables by default suffix pattern matching in Spring MVC
applications. As described in the Spring MVC documentation (see
https://docs.spring.io/spring/docs/current/spring-framework-reference/web.html#mvc-ann-requestmapping-suffix-pattern-match),
this is considered as best practice.

This change also introduces new configuration properties to achieve
similar results in a safer way (using query parameters) or to rollback
to the former default.

Closes gh-11105
7 years ago
Johnny Lim 77150f8dc9 Polish
Closes gh-11630
7 years ago
Stephane Nicoll ae3cd75d1a Polish "Upgrade to Micrometer 1.0.0-rc.6"
Closes gh-11598
7 years ago
Andy Wilkinson a051e30fe0 Publish an event after refresh but before runners are called
This commit partially reverts the changes made in ec470fbe. While
the started message continues to be logged before any application and
command line runners are called, the publishing of
ApplicationReadyEvent now happens after the runners have been called.
Additionally, a new event, named ApplicationStartedEvent, has been
introduced. This new event is published after the context has been
refreshed but before any application and command line runners are
called.

Closes gh-11484

The reworking of the events described above also means that either
an ApplicationReadyEvent or an ApplicationFailedEvent will be
published and the latter should never be published once the former
has been published.

Closes gh-11485
7 years ago
Stephane Nicoll 4a9123d6e3 Detect user-defined RedisCacheConfiguration
This commits improves the cache auto-configuration for Redis by looking
up a custom "RedisCacheConfiguration" bean that allows to take full
control over the `RedisCacheManager`.

Closes gh-11599
7 years ago
Stephane Nicoll 027e6baba5 Improve documentation for WebTestClient
Closes gh-11203
7 years ago
Andy Wilkinson 2059922735 Make ContextIdApplicationContextInitializer produce unique IDs
Closes gh-11023
7 years ago
Madhura Bhave e57aafd63d Provide EndpointRequest for WebFlux-based Security
Closes gh-11022
7 years ago
Stephane Nicoll c373c0e830 Add missing artifact required for the Javadoc task
See gh-10696
7 years ago
Stephane Nicoll df647605af Merge branch '1.5.x' 7 years ago
Stephane Nicoll 1b1852d5c8 Polish WebFlux.fn documentation
Closes gh-11576
7 years ago
Phillip Webb 286a3bb10a Polish GSON customization support
Closes gh-11498
7 years ago
ioann ba552f1d24 Allow GSON customization via properties or beans
Update GSON support to allow customization with either properties or
customize beans.

See gh-11498
7 years ago
Stephane Nicoll 66d58294d5 Merge branch '1.5.x' 7 years ago
Andy Wilkinson 927003e0b7 Polish 7 years ago
Stephane Nicoll 6daad1f562 Allow to inject the Environment in FailureAnalyzer
Closes gh-11569
7 years ago
Stephane Nicoll b7f60c2ded Configure NettyStreamFactoryFactory by default if available
Closes gh-11526
Closes gh-10961
7 years ago
Stephane Nicoll 2b38ee9daf Polish 7 years ago
Stephane Nicoll f527c4b88c Add reference to migration guide
Closes gh-11302
7 years ago
Stephane Nicoll c4db22007c Polish "Add support for additional Kafka listener properties"
Closes gh-11502
7 years ago
Gary Russell 6fcbf80b31 Add support for additional Kafka listener properties
See gh-11502
7 years ago
Stephane Nicoll 59d5ed5842 Add support for advanced customization of Hibernate settings
As HibernateJpaConfiguration is package private, it is no longer
possible to extend the default Spring Boot configuration to apply
advanced settings. The most notable use case for this is the
customization of Hibernate properties using instance value vs. string
value that can be set using the "spring.jpa.properties" namespace.

This commit adds a HibernatePropertiesCustomizer callback interface that
can be implemented to tune Hibernate properties at will.

Closes gh-11211
7 years ago
Johnny Lim 37d8eedae3 Polish
Closes gh-11510
7 years ago
Madhura Bhave 7c5cf903fc Remove management.security.enabled from documentation
Fixes gh-11383
7 years ago
Brian Clozel 6525bc46ef Add Jetty libraries to Javadoc build 7 years ago
Brian Clozel c6a1fc93bd Polish 7 years ago
Jay Bryant 0e7dbd59b2 Full editing pass plus linking
I made a complete editing pass plus another pass to see where I could add more links, both within the document and to other parts of Spring. The result was a thorough edit (though I'm sure I missed things, purely due to the size of the thing).
7 years ago
Stephane Nicoll 0515ca0dd0 Auto configure micrometer cache metrics
Closes gh-11221
7 years ago
Andy Wilkinson 70e14edaf7 Work around incorrect layout of generated epub archive
Previously, the Docbook Maven plugin would generate an epub archive
with the majority of contents in OEBPS/, including content.opf, while
the META-INF/container.xml file reference to content.opf in the root
of the archive.

This commit overrides the epub.oebps.dir variable to move the content
into the root of the archive where it's expected to be. Implementing
this override highlighted that our customization stylesheet was not
being applied as the configuration property was incorrect (it was
epubCustomnization rather than the required epub3Customization). This
has been corrected along with a problem with missing images that
fixing it revealed.

Closes gh-11470
7 years ago
Stephane Nicoll f0b210c751 Merge branch '1.5.x' 7 years ago
Johnny Lim a462255383 Polish
Closes gh-11451
7 years ago
Stephane Nicoll edc43f75cb Merge branch '1.5.x' 7 years ago
Johnny Lim 24b5a78e39 Polish
Closes gh-11448
7 years ago
Johnny Lim 8ae2be6043 Fix property names in MeterBindersConfiguration
Closes gh-11443
7 years ago
Stephane Nicoll cfa3cab988 Polish "Improve Spring Data Web configuration properties"
Closes gh-11403
7 years ago
Marcel Overdijk be93eabc6b Improve Spring Data Web configuration properties
See gh-11403
7 years ago
Stephane Nicoll 81af02fde7 Improve JVM metrics
This commit adds GC and thread jvm metrics to the existing memory
metrics. All three are now managed by a unique
management.metrics.binders.jvm.enabled property.

Closes gh-11425
7 years ago
Stephane Nicoll afba8fed79 Harmonize management.server.context-path property
This commit moves management.server.context-path to
management.server.servlet.context-path to align with the configuration
key for the application's main context path.

Closes gh-11359
7 years ago
Stephane Nicoll 50a4982a52 Merge branch '1.5.x' 7 years ago
Joe Kutner c5695c8f78 Fix spring.quartz.jdbc.initialize-schema value
Use enum value from DataSourceInitializationMode instead of Boolean.

Closes gh-11433
7 years ago
Johnny Lim 3c5ccb1166 Polish
Closes gh-11418
7 years ago
Brian Clozel 2fa0539e7f Support date conversion format for java.time types
Prior to this change, the Spring MVC auto-configuration would add a new
formatter to convert `java.util.Date` to/from `String` using the
configured configuration property `spring.mvc.date-format`.

This commit adds a new `WebConversionService` class that registers
date formatters with a custom date format, or register the default ones
if no custom configuration is provided.
This avoids duplicating equivalent formatters in the registry.

With this change, date types from `java.util`, `org.joda.time` and
`java.time` are now all supported.

This commit also replicates this feature for WebFlux applications by
adding a new `spring.webflux.date-format` configuration property.

Closes gh-5523
Closes gh-11402
7 years ago
Stephane Nicoll 2ed162a0be Fix outdated references to server.context-path
Closes gh-11358
7 years ago
Madhura Bhave bf3aa62a58 Merge branch '1.5.x' 7 years ago
Madhura Bhave c94f0822e5 Fix bean names in tests
See gh-11224
7 years ago
Stephane Nicoll dddf2c0013 Polish "Expose default RabbitMQ credentials in the metadata"
Closes gh-6863
7 years ago
Stephane Nicoll 9c7b944e4f Polish 7 years ago
Stephane Nicoll a33c3eec3f Polish "Add InfluxDb health indicator"
Closes gh-11159
7 years ago
Stephane Nicoll b7c2bd9ca8 Remove problematic words from documentation
Closes gh-11224
7 years ago
Stephane Nicoll ef78cb33b3 Move metrics properties to "management.metrics"
Closes gh-11340
7 years ago
Stephane Nicoll 797ad13bfa Merge branch '1.5.x' 7 years ago
Stephane Nicoll e5361d887c Relocate banner properties to spring.banner
Closes gh-11339
7 years ago
Johnny Lim de72f2ae32 Polish
Closes gh-11327
7 years ago
Madhura Bhave 4b73c5748b Fix typo in documentation
Fixes gh-11329
7 years ago
Stephane Nicoll e274f29018 Add "testing your auto-configuration" doc section
Closes gh-10011
7 years ago
Stephane Nicoll 23218add90 Polish 7 years ago
Stephane Nicoll 68c8f7bae6 Add support for useRelativeRedirects customization
Closes gh-10597
7 years ago
Stephane Nicoll 6a4a0e3f29 Polish "Make RabbitTemplate exchange and routingKey configurable"
Closes gh-10978
7 years ago
Stephane Nicoll 408368a1f9 Polish "Allow graceful shutdown of Atomikos"
Closes gh-11237
7 years ago
Stephane Nicoll 2da6675c42 Polish
See gh-10963
7 years ago
Madhura Bhave a5ce4a10f1 Update reference doc with security changes
Fixes gh-11172
7 years ago
Madhura Bhave 47ed096981 Make default username and password configurable
Closes gh-10963
7 years ago
Johnny Lim ada4d13a4e Document spring.metrics.binders.*
Closes gh-11262
7 years ago
Johnny Lim 2c204f2154 Polish
Closes gh-11242
7 years ago
Vedran Pavic e88c266285 Update documentation references to `/status` endpoint
See gh-11213
7 years ago
Johnny Lim 44299bb980 Polish
Closes gh-11206
7 years ago
Stephane Nicoll b365e37850 Fix typo
Closes gh-11204
7 years ago
Andy Wilkinson 80543250a2 Rework properties for enabling Spring Data repositories
Rather than using two properties to enable or disable reactive and
imperative repositories for a particular store, this commit introduces
a new repository type condition that's backed by a single
spring.data.<store>.repositories.type property. The type can be
auto (automatically enables whatever's available), imperative (enables
imperative repositories), none (enables nothing), or reactive (enables
reactive repositories). The default is auto.

Repositories do not have a reactive option (such as JPA) continue to
have a spring.data.<store>.repositories.enabled property that takes a
boolean value.

Closes gh-11134
7 years ago
Stephane Nicoll 6be30045ec Polish
See gh-11071
7 years ago
Brian Clozel e3c3bb0076 Rename spring.cache.control to spring.cache.cachecontrol
Closes #11090
7 years ago
Johnny Lim 952224ef56 Polish
Closes gh-11193
7 years ago
Andy Wilkinson 1fbf5f5b27 Complete the removal of Spring Social starters and auto-configuration
Closes gh-11117
7 years ago
Stephane Nicoll 1620ac42b3 Polish contribution
Closes gh-11143
7 years ago
Johnny Lim d9828a0aaa Polish
See gh-11143
7 years ago
Andy Wilkinson 23014d97a2 Add new Devtools restart property to the appendix
Closes gh-9115
7 years ago
Andy Wilkinson 7674841946 Log condition evaluation delta upon DevTools restart 7 years ago
Stephane Nicoll 1235d8f813 Polish Actuator doc
Closes gh-10861
7 years ago
Stephane Nicoll 3a6170c019 Polish 7 years ago
Andy Wilkinson 6bf837e95b Tidy up documentation following removal of /status and /health changes
Closes gh-10863
7 years ago
Johnny Lim 01a48412d2 Polish
Closes gh-11126
7 years ago
Stephane Nicoll c6709899db Polish 7 years ago
Stephane Nicoll 877ed041e7 Polish 7 years ago
Stephane Nicoll 02a0683cff Polish
See gh-10595
7 years ago
Stephane Nicoll c9c9e3664e Polish
See gh-11113
7 years ago
Stephane Nicoll f7ed24cb7c Merge branch '1.5.x' 7 years ago
Stephane Nicoll 50985b7e83 Polish 7 years ago
Eric Spiegelberg 789e7670d8 Add reference to Neo4j's health indicator
Closes gh-11115
7 years ago
Phillip Webb 07f71e889e Move `/application` to `/actuator`
Change the endpoint default path from `/application` to `/actuator`.

Fixes gh-10970
7 years ago
Phillip Webb 31025d9f6c Drop status endpoint
Drop the status endpoint and merge functionality back into the health
endpoint. The `management.endpoint.health.show-details` property can
be used to change if full details, or just the status is displayed.

Fixes gh-11113
7 years ago
Phillip Webb d99625fa78 Rename properties that have `-` in their prefix
Rename `reactive-repositories` to `reactiverepositories` and replace
`spring.resources.cache-control` with `spring.resources.cache.control`.

Fixes gh-11090
7 years ago
Andy Wilkinson 4bf1640198 Allow beans to be used as Hibernate naming strategies
Previously, custom Hibernate naming strategies could only be
configured via properties. This allowed a fully-qualified classname to
be specified, but did not allow a naming strategy instance to be used.

This commit updates HibernateJpaConfiguration to use
ImplicitNamingStrategy and PhysicalNamingStrategy beans if they
exist. If both a bean exists and the equivalent property has been set,
the bean wins.
7 years ago
Stephane Nicoll 1b59e88aeb Polish
See gh-10881
7 years ago
Madhura Bhave 616bada6f5 Document ReactiveHealthIndicator support
Closes gh-10881
7 years ago
Andy Wilkinson 2b1d1cd317 Polish "Auto-configure templated welcome page"
Closes gh-10545
7 years ago
Jay Bryant 3e5b7dd4ac Make editorial changes to appendix-application-properties.adoc
See gh-10870
7 years ago
Brian Clozel b7753a1f29 Polish 7 years ago
Stephane Nicoll 75079b3bb8 Polish "Align Session auto-config with Redis namespace config support"
Closes gh-11084
7 years ago
Stephane Nicoll aaabc45281 Fix typo 7 years ago
Phillip Webb 8f4bf233b4 Update configuration properties to use Duration
Update appropriate configuration properties to use the `Duration`
type, rather than an ad-hoc mix of milliseconds or seconds.

Configuration properties can now be defined in a consistent and readable
way. For example `server.session.timeout=5m`.

Properties that were previously declared using seconds are annotated
with `@DurationUnit` to ensure a smooth upgrade experience. For example
`server.session.timeout=20` continues to mean 20 seconds.

Fixes gh-11080
7 years ago
Phillip Webb 4c29c35cbb Polish Kafka transaction support property
Closes gh-11076
7 years ago
Johnny Lim 73c65286ea Polish 7 years ago
dreis2211 23da409b31 Remove duplicate words
Closes gh-11073
7 years ago
Madhura Bhave 4a41c02926 Update redirect-uri-template in oauth sample and docs
Fixes gh-11014
7 years ago
Andy Wilkinson 4de208bc94 Provide reference documentation for Actuator web endpoints
Closes gh-8042
7 years ago
Johnny Lim e8563c54dd Polish
Closes gh-11050
7 years ago
Stephane Nicoll 5728d9614e Use a List rather than an array for consistency
Closes gh-11029
7 years ago
Kazuki Shimizu cf350cf85b Add 'enableSpringElCompiler' to ThymeleafProperties
See gh-10869
7 years ago
Johnny Lim 72e5ba3e24 Fix a broken Asciidoctor syntax
Closes gh-11044
7 years ago
Stephane Nicoll bcab23e538 Polish "Separate endpoint concerns"
* Fix the endpoint prefix for generated metadata.
* Polish and improve configuration key descriptions.

Closes gh-10176
7 years ago
Phillip Webb fd5c43cdc9 Separate endpoint concerns
Update endpoint code to provide cleaner separation of concerns.
Specifically, the top level endpoint package is no longer aware of
the fact that JMX and HTTP are ultimately used to expose endpoints.
Caching concerns have also been abstracted behind a general purpose
`OperationMethodInvokerAdvisor` interface.

Configuration properties have been refined to further enforce
separation. The `management.endpoint.<name>` prefix provides
configuration for a  single endpoint (including enable and cache
time-to-live). These  properties are now technology agnostic (they
don't include `web` or `jmx` sub properties).

The `management.endpoints.<technology>` prefix provide exposure specific
configuration. For example, `management.endpoints.web.path-mapping`
allow endpoint URLs to be changed.

Endpoint enabled/disabled logic has been simplified so that endpoints
can't be disabled per exposure technology. Instead a filter based
approach is used to allow refinement of what endpoints are exposed over
a given technology.

Fixes gh-10176
7 years ago
Phillip Webb d24709c696 Fix spaces -> tabs in documentation appendix 7 years ago
Phillip Webb f647f5689f Polish 7 years ago
Stephane Nicoll d3daded636 Reinstate spring-boot-starter-data-redis-reactive
Closes gh-11035
7 years ago
Andy Wilkinson 1a094598b8 Add an endpoint for retrieving information about scheduled tasks
Closes gh-8831
7 years ago
Stephane Nicoll 370453c765 Fix reference to AutoConfigurationReportLoggingInitializer in docs
Closes gh-11026
7 years ago
Madhura Bhave 5f5e7e5089 Update list overriding documentation
Closes gh-11012
7 years ago
Stephane Nicoll bbdff1a5bf Polish "Add support for reactive Spring Data Couchbase"
Closes gh-10812
7 years ago
Alex Derkach 568cd6472b Add support for reactive Spring Data Couchbase
See gh-10812
7 years ago
Stephane Nicoll 792de8f42a Add a note regarding Jackson Module usage with Web[Mvc|Flux]Test
Closes gh-10648
7 years ago
Stephane Nicoll 1830dcf103 Rename AutoConfigurationReportEndpoint to ConditionsEndpoint
This commit further aligns the change to ConditionEvaluationReport by
renaming the 'autoconfig' endpoint to 'conditions'.

Closes gh-2945
7 years ago
Stephane Nicoll 401fe7e1e2 Polish micrometer configuration key descriptions
Closes gh-10890
7 years ago
Andy Wilkinson e92e56dda5 Drop LevelRemappingAppender
Drop LevelRemappingAppender as, following the changes made in e8f8556d
for gh-7657, it was no longer having any effect.

Closes gh-10842
7 years ago
Stephane Nicoll 5072d4ab04 Merge branch '1.5.x' 7 years ago
Andy Wilkinson f1555319c4 Correct static-path-pattern property in WebFlux documentation
Closes gh-10843
7 years ago
Andy Wilkinson 8d04525eb7 Document that sessions endpoint not available for reactive sessions
Closes gh-10882
7 years ago
Andy Wilkinson 00f41a9056 Update docs to reflect that an endpoint's ID is no longer configurable
Closes gh-10862
7 years ago
Andy Wilkinson b311237906 Update docs to reflect change to default Filter dispatcher type
Closes gh-10888
See gh-7467
7 years ago
Stephane Nicoll 4e88db9883 Scan converters with @WebMvcTest and @WebFluxTest
This commit makes sure to automatically scan `Converter` and
`GenericConverter` beans when a test uses `@WebMvcTest` or
`@WebFluxTest`.

Closes gh-10802
7 years ago
Stephane Nicoll 46ef178f04 Polish "Improve cache auto-configuration for Redis"
Closes gh-10944
7 years ago
Andy Wilkinson e9c81bf702 Polish 7 years ago
Andy Wilkinson 544da5e612 Reinstate 2nd blank line after lists at end of .adoc files
Without the 2nd blank line, Asciidoctor does not render the content
in the next file correctly or omits it entirely.

Closes gh-10946
7 years ago
Madhura Bhave 7c3e555ff9 Update Security features documentation
Closes gh-10844
7 years ago
Johnny Lim c05a299520 Polish
Closes gh-10921
7 years ago
Phillip Webb 427d262297 Polish 7 years ago
Brian Clozel bb9396e3a4 Enable HTTP/2 support for Tomcat and Undertow
This commit enables HTTP/2 support for Tomcat and Undertow, for both
Servlet-based and Reactive applications.

Enabling the `server.http2.enabled` configuration flag is enough with
Undertow.

Tomcat has a few prerequisites:

* Tomcat 8.5 requires JDK8+ and the proper libtcnative version installed
on the host
* Tomcat 9.0.x requires JDK9+

Closes gh-10043
7 years ago
Brian Clozel 58db841c8f Add Http2 configuration properties
This commit adds a new configuration properties class for configuring
HTTP/2 protocol support.
By default, this protocol is disabled as enabling it requires several
manual changes:

* configuring a web server for proper TLS and ALPN support
* configuring a proper SSL certificate

See gh-10043
7 years ago
Jay Bryant 9fc9c55c90 Format production-ready-features.adoc to 90 chars
Remove extraneous white space and adjusted the length of non-code lines
to be as close to 90 characters (but not over 90 characters) as
possible.

Update a couple things I missed in the editing pass, too.

Closes gh-10897
7 years ago
Jay Bryant 92e0eb0230 Format spring-boot-features.adoc to 90 chars
Remove extraneous white space and adjusted the length of non-code lines
to be as close to 90 characters (but not over 90 characters) as
possible.

Update a couple things I missed in the editing pass, too.

Closes gh-10896
7 years ago
Jay Bryant f8bcdc9082 Format using-spring-boot.adoc to 90 chars
Remove extraneous white space and adjusted the length of non-code lines
to be as close to 90 characters (but not over 90 characters) as
possible.

Update a couple things I missed in the editing pass, too.

Closes gh-10893
7 years ago
Jay Bryant ccfff94bbd Format getting-started.adoc to 90 chars
Remove extraneous white space and adjusted the length of non-code lines
to be as close to 90 characters (but not over 90 characters) as
possible.

Update a couple things I missed in the editing pass, too.

Closes gh-10892
7 years ago
Henrik 7728f8fde6 Introduce configurable logging.pattern.dateformat
Add configurable logger dateformat support for Logback and Log4j2.

Closes gh-8516
7 years ago
Phillip Webb f0327fbd0d Polish SizeAndTimeBasedRollingPolicy changes
Closes gh-6352
7 years ago
Vedran Pavic 991468b0ef Use SizeAndTimeBasedRollingPolicy file appender
Update the logback file appender to use `SizeAndTimeBasedRollingPolicy`
rather than `FixedWindowRollingPolicy`.

Add two new properties to improve log file configuration capabilities:

 - `logging.file.max-history` to limit the number of archive log files
    to keep.
 - `logging.file.max-size` to limit the log file size.

See gh-6352
7 years ago
Jay Bryant 8f2653d4c7 Wrap documentation-overview.adoc at 90 characters and use title case
Closes gh-10889
7 years ago
Jay Bryant a1a30c6c13 Make editorial changes to howto.adoc
Closes gh-10854
7 years ago
Eddú Meléndez dcc6d8d6ff Align default of flyway.check-location with equivalent Liquibase prop
Closes gh-10807
7 years ago
Andy Wilkinson 8eae372433 Change handling of spring.config.location so it replaces defaults
Previously, spring.config.name was handled in such a way that its
value would replace the defaults. By constrast, spring.config.location
would add to the defaults.

Update the handling of spring.config.location so that it replaces the
defaults. This aligns its behaviour with spring.config.name. To allow
users to add additional locations a new property,
spring.config.additional-location, has been introduced. It behaves as
spring.config.location did prior to this change.

Closes gh-10595
7 years ago
Stephane Nicoll 9b8fefb0f4 Move micrometer export related keys under a common prefix #10858
Closes gh-10858
7 years ago
Andy Wilkinson 2ae4678b1e Drop support for Spring Mobile
Closes gh-10884
7 years ago
Vedran Pavic 3d44ef0872 Add support for configuring Spring Session cleanup cron
This commit adds support for configuring cron expression used for
expired session cleanup job in Redis and JDBC session stores.

Closes gh-10818
7 years ago
Stephane Nicoll 08272c92db Polish "Make editorial changes to appendix-configuration-metadata.adoc"
Closes gh-10874
7 years ago
Jay Bryant 78838fb2bb Make editorial changes to appendix-configuration-metadata.adoc
See gh-10874
7 years ago
Jay Bryant d5c879c186 Make editorial changes to appendix-auto-configuration-classes.adoc
Closes gh-10875
7 years ago
Jay Bryant 5f4b5417a3 Make editorial changes to appendix-test-auto-configuration.adoc
Closes gh-10876
7 years ago
Stephane Nicoll 85cf019835 Polish "Make editorial changes to appendix-executable-jar-format.adoc"
Closes gh-10878
7 years ago
Jay Bryant 59bc74614b Make editorial changes to appendix-executable-jar-format.adoc
See gh-10878
7 years ago
Jay Bryant 16cf0e7e38 Make editorial changes to appendix-dependency-versions.adoc
Closes gh-10879
7 years ago
Jay Bryant a0363f8f25 Add my name to the author list
I succumbed to a fit of vanity. ;)

Clsoes gh-10871
7 years ago
Andy Wilkinson fbfaddbd55 Wrap production-ready-features.adoc at 90 characters
Closes gh-10830
7 years ago
Jay Bryant c7dabfeca5 Make editorial changes to production-ready-features.adoc
See gh-10830
7 years ago
Stephane Nicoll 8fe49eb9f7 Polish 7 years ago
Stephane Nicoll 9b6f0c83bf Add auto-configuration for DataSources
This commit automatically instruments all available data sources with
a configurable metric name. The instrumentation can be disabled in case
more control is needed.

Closes gh-10295
7 years ago
Stephane Nicoll 5208bd069d Fix typo 7 years ago
Stephane Nicoll 1739bfe077 Add missing title 7 years ago
Stephane Nicoll 5139881c4a Fix broken indent 7 years ago
Andy Wilkinson 28652209d6 Wrap spring-boot-features.adoc at 90 characters
Closes gh-10797
7 years ago
Jay Bryant 2e89fa7618 Make editorial changes to spring-boot-features.adoc
See gh-10797
7 years ago
Andy Wilkinson ab4f211ebf Wrap deployment.adoc at 90 characters
Closes gh-10833
7 years ago
Jay Bryant 9f6dadf242 Make editorial changes to deployment.adoc
See gh-10833
7 years ago
Andy Wilkinson 56fde15fcb Wrap build-tool-plugins.adoc at 90 characters
Closes gh-10835
7 years ago
Jay Bryant 2ecd116470 Edit build-tool-plugins.adoc
See gh-10835
7 years ago
Andy Wilkinson 68b2ee3a75 Wrap spring-boot-cli.adoc at 90 characters
Closes gh-10834
7 years ago
Jay Bryant f0901343bd Edit spring-boot-cli.adoc
See gh-10834
7 years ago
Andy Wilkinson 5df473a651 Add env-based configuration of TTL of Tomcat's static resource cache
Closes gh-9670
7 years ago
Andy Wilkinson c50a0d855f Reflect process monitoring classes' move to spring-boot in docs
Closes gh-9998
7 years ago
dreis2211 ddb6176f88 Fix duplicated 'the' in Quartz scheduler doc section
Closes gh-10824
7 years ago
Stephane Nicoll 822ca00001 Merge branch '1.5.x' 7 years ago
Andy Wilkinson a276356328 Add auto-configuration for Spring Session's reactive support
Closes gh-9850
7 years ago
Andy Wilkinson 5aa66305a8 Log warning when open-in-view is implicitly enabled for JPA or Neo4j
Closes gh-7107
7 years ago
Andy Wilkinson 657134a7d8 Wrap using-spring-boot.adoc at 90 characters
Closes gh-10765
7 years ago
Jay Bryant 87f1e4d90e Editorial changes to Using Spring Boot documentation
See gh-10765
7 years ago
Andy Wilkinson cc7da8bf38 Wrap getting-started.adoc at 90 characters
Closes gh-10763
7 years ago
Jay Bryant ce40de5cbb Editorial changes to Getting Started documentation
See gh-10763
7 years ago
Andy Wilkinson 3ef67004a3 Reinstate blank line to fix formatting of Getting Started section
See gh-10754
7 years ago
Stephane Nicoll ff3fe7a09f Merge branch '1.5.x' 7 years ago
Andy Wilkinson 30578fa94f Align with new name for Spring Cloud Connectors' core module
See gh-10758
7 years ago
Stephane Nicoll dbb1e222ab Initialize only an embedded datasource by default
This commit renames spring.datasource.initialize to
spring.datasource.initialization-mode and use the
DataSourceInitializationMode enum. By default, only an embedded
datasource is initialized.

Closes gh-10773
7 years ago
Stephane Nicoll 56afc25304 Allow to customize the path of a web endpoint
This commit introduces a endpoints.<id>.web.path generic property that
allows to customize the path of an endpoint. By default the path is the
same as the id of the endpoint.

Such customization does not apply for the CloudFoundry specific
endpoints.

Closes gh-10181
7 years ago
Stephane Nicoll 7e438ca6c2 Merge branch '1.5.x' 7 years ago
Jay Bryant 9a9850310c Editorial changes to overview section of the reference documentation
Closes gh-10754
7 years ago
Andy Wilkinson 90ecb29667 Align with spring-security-jwt-jose being renamed to s-s-auth2-jose
Closes gh-10750
7 years ago
Stephane Nicoll ef80772b92 Merge branch '1.5.x' 7 years ago
Andy Wilkinson fa1eceda8d Merge branch '1.5.x' 7 years ago
Stephane Nicoll 61f16fe68f Merge branch '1.5.x' 7 years ago
Stephane Nicoll a8e0b0dd4e Merge branch '1.5.x' 7 years ago
Johnny Lim 44ae148ecd Polish
Closes gh-10700
7 years ago
Stephane Nicoll ef9b9d9a3e Polish
See gh-10671
7 years ago
Madhura Bhave 8600bd7294 Upgrade to Spring Security 5.0.0.BUILD-SNAPSHOT
Following some changes in the latest snapshot this includes:
- Some updates to oauth2 client auto-config
- Security auto-config no longer relies on GlobalAuthenticationConfigurerAdapter
- Remove reactive security starter

Closes gh-10704
7 years ago
Stephane Nicoll c2f649df54 Add support for JPA mapping resources
Closes gh-10684
7 years ago
Stephane Nicoll b2839e2210 Merge branch '1.5.x' 7 years ago
Johnny Lim caa6e18be1 Remove "Securing the H2 console" section
Closes gh-10657
7 years ago
Johnny Lim 5aa32b3d0f Polish
Closes gh-10636
7 years ago
James McShane 3237b05785 Update docs for OpenShift
The current documentation references mechanisms for OpenShift 2, which
has been changed significantly with the latest releases, specifically the
OpenShift 3 release.

Closes gh-10609
7 years ago
Johnny Lim e234fb5d19 Fix broken links
Closes gh-10616
7 years ago
Vedran Pavic 12233672db Use properties in Security OAuth2 Client doc config example
Closes gh-10615
7 years ago
Vedran Pavic d705696bdd Fix Security OAuth2 Client documentation
This commit fixes incorrect section level and sample configuration properties.

See gh-10615
7 years ago
Madhura Bhave d307eba0a3 Add property to configure base-path for web endpoints.
Also, move properties corresponding to management server under
`management.server.*`.

Closes gh-10230
7 years ago
Brian Clozel 68db43cf44 Support error conventions in Spring WebFlux
This commit adds support for Spring Boot error conventions with WebFlux.
The Spring MVC support for that is based on an `Controller` that's
mapped on a specific `"/error"` path and configured as an error page in
the Servlet container. With WebFlux, this support leverages a
`WebExceptionHandler`, which catches exceptions flowing through the
reactive pipeline and handles them.

The `DefaultErrorWebExceptionHandler` supports the following:
* return a JSON error response to machine clients
* return error HTML views (templates, static or default HTML view)

One can customize the error information by contributing an
`ErrorAttributes` bean to the application context.

Spring Boot provides an `ErrorWebExceptionHandler` marker interface and a
base implementation that provides high level constructs to handle
errors, based on the Spring WebFlux functional flavor.
The error handling logic can be completely changed by providing a custom
`RouterFunction` there.

Fixes gh-8625
7 years ago
Andy Wilkinson f8602817af Merge branch '1.5.x' 7 years ago
Andy Wilkinson 63b7591031 Add another dependency required for javadoc generation with Java 9
See gh-10515
7 years ago
Andy Wilkinson c3d10a811e Add dependencies required for javadoc generation with Java 9
See gh-10515
7 years ago
Johnny Lim a51765d0f4 Fix broken documentation links
Update links following recent project restructure.

Closes gh-10601
7 years ago
Phillip Webb 748e0779b6 Update copyright year for changed files 7 years ago
Phillip Webb 4df84c53bc Upgrade Maven plugins
Upgrade the Maven plugins used in the builds.

See gh-9316
7 years ago
Phillip Webb b87f9c11f1 Fix POMs for the updated build/release process
Fix POMs following project relocations and apply CI friendly Maven
conventions.

See gh-9316
7 years ago
Phillip Webb 0ba4830b4f Relocate projects to spring-boot-project
Move projects to better reflect the way that Spring Boot is released.

The following projects are under `spring-boot-project`:

  - `spring-boot`
  - `spring-boot-autoconfigure`
  - `spring-boot-tools`
  - `spring-boot-starters`
  - `spring-boot-actuator`
  - `spring-boot-actuator-autoconfigure`
  - `spring-boot-test`
  - `spring-boot-test-autoconfigure`
  - `spring-boot-devtools`
  - `spring-boot-cli`
  - `spring-boot-docs`

See gh-9316
7 years ago