Commit Graph

1866 Commits (7967c64d65b643812afd332d1d389d85008630d9)

Author SHA1 Message Date
Spring Buildmaster d23fa24340 Next Development Version 8 years ago
Spring Buildmaster 2a83e80a9b Next Development Version 8 years ago
Stephane Nicoll bb8800a625 Deprecate spring.cache.hazelcast.config
The additional configuration for an `HazelcastInstance` will be removed
in 2.0. This commit makes sure that the property is deprecated in 1.5

See gh-8470
8 years ago
Andy Wilkinson 6673d8eebc Polish "Allow loader.path to refer to nested jars"
Closes gh-8334
Closes gh-8465
8 years ago
Andy Wilkinson b36c8a7c24 Polish "Tighten up PropertiesLauncher's contract"
See gh-8346
Closes gh-7221
8 years ago
Dave Syer e4c807b884 Tighten up PropertiesLauncher's contract
The main changes are:

- Switch to `loader.properties` instead of `application.properties`
- Search for `loader.properties` in `loader.home` as well as in
  the classpath
- Placeholder replacements in MANIFEST.MF (using `loader.properties`
  or system/env vars)

See gh-7221
Closes gh-8346
8 years ago
Stephane Nicoll b5b69cca03 Merge branch '1.4.x' into 1.5.x 8 years ago
Stephane Nicoll 09205a8fc8 Fix indentation
Closes gh-8143
8 years ago
Michael J. Simons f50a0f9707 Clarify usage of @ImportResource in doc
See gh-8143
8 years ago
Kazuki Shimizu fa4ecff9e0 Update doc about constructor injection
Closes gh-8392
8 years ago
Phillip Webb ca1540cefe Update header copyright for changed files 8 years ago
Phillip Webb 47fd5f4fac Merge branch '1.4.x' into 1.5.x 8 years ago
Phillip Webb 47b00c086c Polish 8 years ago
Stephane Nicoll f032d2fe03 Polish
Closes gh-8412
8 years ago
Stephane Nicoll 43a534f4ca Polish contribution
Closes gh-8195
8 years ago
Raja Kolli a5a2c04d23 Fix version of `gradle-git-properties` in doc
Closes gh-8273
8 years ago
Stephane Nicoll 121ab0a71e Merge branch '1.4.x' into 1.5.x 8 years ago
Vedran Pavic 1c8f1c709c Fix audit events related documentation
Closes gh-8319
8 years ago
Stephane Nicoll d4d45a1009 Merge branch '1.4.x' into 1.5.x 8 years ago
Johnny Lim 0f5fefd561 Fix a broken AsciiDoc attribute declaration
Closes gh-8300
8 years ago
Stephane Nicoll 7920543480 Add note regarding the detection of `spring.jpa.database`
Closes gh-8253
8 years ago
Stephane Nicoll 6993854c55 Explain how to downgrade to Jackson 2.6
Closes gh-8192
8 years ago
Stephane Nicoll bd6d1b74c0 Merge branch '1.4.x' into 1.5.x 8 years ago
Stephane Nicoll bcbcb9c00b Clarify use of `DataSource` for batch apps
Closes gh-8271
8 years ago
Stephane Nicoll 6c4013249b Merge branch '1.4.x' into 1.5.x 8 years ago
Stephane Nicoll 58a4f04962 Fix typo in documentation
Closes gh-8259
8 years ago
Stephane Nicoll aa49468171 Allow to define a custom MessageRecoverer
This commit improves `SimpleRabbitListenerContainerFactoryConfigurer` to
use a custom `MessageConverter`. If such a bean is present, it is used
for the default factory that is auto-configured.

Closes gh-8194
8 years ago
Stephane Nicoll aff50f6787 Merge branch '1.4.x' into 1.5.x 8 years ago
Kamil Wozniak f46e3dc9f3 Fix link in doc to Spring Test
Closes gh-8226
8 years ago
Andy Wilkinson 64b65e1fe5 Merge branch '1.4.x' into 1.5.x 8 years ago
Andy Wilkinson 30074431a7 Improve documentation of static resource reloading with devtools
Closes gh-5133
Closes gh-7886
8 years ago
Stephane Nicoll d42a54e880 Add explicit note about Mockito 2 in the documentation
Closes gh-8217
8 years ago
Stephane Nicoll 130e0808d0 Merge branch '1.4.x' into 1.5.x 8 years ago
Stephane Nicoll 570b0593a6 Document SMTP timeout settings
Closes gh-8213
8 years ago
Stephane Nicoll 008aef6142 Document @LiquibaseDataSource feature
Closes gh-8214
8 years ago
Stephane Nicoll 3d1f8aa8d7 Merge branch '1.4.x' into 1.5.x 8 years ago
Stephane Nicoll a30461c5c7 Polish pid metadata
This commit moves the `spring.pid.*` metadata to the relevant project. It
also updates the doc to refer to the new `ApplicationPidFileWriter`
rather than the one in its deprecatred form.

Closes gh-8196
8 years ago
zhanhb 22ba7b93b2 Fix pid properties link in documentation
See gh-8196
8 years ago
Johnny Lim 846994e498 Polish
Closes gh-8148
8 years ago
Stephane Nicoll 8a0f8cf953 Merge branch '1.4.x' into 1.5.x 8 years ago
Stephane Nicoll b9ede6b281 Polish contribution
Closes gh-8157
8 years ago
Raja Kolli a1c601ca28 Update copyright header
See gh-8157
8 years ago
Spring Buildmaster 5c12500366 Next Development Version 8 years ago
Spring Buildmaster a2696bf873 Next Development Version 8 years ago
Peter Szanto 14bd404b71 Document AWS Elastic Beanstalk deployment
Update the reference documentation to include details of Amazon
Elastic Beanstalk.

Closes gh-7948
8 years ago
Spring Buildmaster ed1ce140c0 Next Development Version 8 years ago
Phillip Webb 71601c3b96 Merge branch '1.4.x' into 1.5.x 8 years ago
Phillip Webb 2cf93f89f5 Polish 8 years ago
Stephane Nicoll 79233b019e Fix keys format for embedded mongodb support
Closes gh-8102
8 years ago
Stephane Nicoll 265a712294 Fix keys format for embedded mongodb support
Closes gh-8102
8 years ago
Johnny Lim e0de28a1f7 Polish
Closes gh-8076
8 years ago
Stephane Nicoll 4a60de78ff Merge branch '1.4.x' into 1.5.x 8 years ago
Stephane Nicoll 4efa4590f8 Review doc on advanced datasource customization
Closes gh-7652
8 years ago
Phillip Webb 2c89d9918f Relocate AutoConfigurations from root package
Move PropertyPlaceholder and MessageSource auto-configuration from the
root package to the `context` subpackage.

Fixes gh-8071
8 years ago
Andy Wilkinson 0067082eac Document a warning about embedded Tomcat and tmpwatch on CentOS
Closes gh-5009
8 years ago
Andy Wilkinson 68fdd49a0b Document payload types of messages sent to metricsChannel
Closes gh-7790
8 years ago
Andy Wilkinson bfd319755c Merge branch '1.4.x' into 1.5.x 8 years ago
Andy Wilkinson 0ce7c9516a Document how to configure test- and profile-specific Flyway migrations
Closes gh-2753
8 years ago
Stephane Nicoll 915c959a28 Polish contribution
Closes gh-7600
8 years ago
Michael J. Simons 8648520876 Add slide test annotation for MongoDB
This commits adds a slice test infrastructure for MongoDB, similar to
what `@DataJpaTest` does with JPA.

By default, an embedded Mongod process is used if available.

See gh-7600
8 years ago
Stephane Nicoll b19d31e067 Use a random port with embedded Mongo by default
This commit improves the logic of the embedded Mongo support to use a
random port if no custom port has been specified. This doesn't change
the default if the embedded support isn't active.

Closes gh-8044
8 years ago
Stephane Nicoll bed545df64 Merge branch '1.4.x' into 1.5.x 8 years ago
Stephane Nicoll 2c5c539bf1 Document automatic scheduling of metrics export
Closes gh-8040
8 years ago
Stephane Nicoll e5e497ec3a Document `@ImportAutoConfiguration#exclude`
Closes gh-7862
8 years ago
Stephane Nicoll ecafd384b7 Merge branch '1.4.x' into 1.5.x 8 years ago
Michael J. Simons a852c49edd Fix closing parentheses
Closes gh-8030
8 years ago
Stephane Nicoll c41ff17dd7 Provide relevant default values for Enums
This commits adds manual metadata for enums that have a default value
since the annotation processor is not able to detect that yet.

Closes gh-7890
8 years ago
Phillip Webb 10dbf3c571 Use `@Validated` as trigger for JSR-330 validation
Update `ConfigurationPropertiesBindingPostProcessor` so that
`@Validated` is expected to be used to trigger JSR-330 validation.

Any existing configuration classes that use JSR-330 annotations but
don't have `@Validated` will currently still be validated, but will
now log a warning. This should give users a chance to add the requested
annotations before the next Spring Boot release where we will use them
as the exclusive signal that validation is required.

Closes gh-7579
8 years ago
Alessandro Falappa ec537b307e Make start/stop run-levels configurable in INIT-INFO of launch.script
See gh-7008
Closes gh-7902
8 years ago
Andy Wilkinson 7fa33cddd7 Merge branch '1.4.x' into 1.5.x 8 years ago
Andy Wilkinson a02c2d4155 Improve the documentation of Health.Status constants
Closes gh-7784
8 years ago
Andy Wilkinson d76e1ef95e Merge branch '1.4.x' into 1.5.x 8 years ago
Andy Wilkinson 9695e0a9d1 Document breakpoint config for remote debug tunnel and IntelliJ IDEA
Closes gh-7732
See gh-5047
8 years ago
Andy Wilkinson c71abbf6cd Merge branch '1.4.x' into 1.5.x 8 years ago
Andy Wilkinson 0463350d2e Document that spring(Profile|Property) cannot be used with scan=true
Closes gh-5611
8 years ago
Johnny Lim acc36c076d Polish
See gh-8004
8 years ago
Stephane Nicoll ada441bccc Allow custom override of user info OAuth2RestTemplate
Closes gh-5996
8 years ago
Stephane Nicoll 8bef0a1e60 Polish contribution
Closes gh-7905
8 years ago
Stephane Nicoll 3e05329fd7 Order internal RepositoryRestConfigurer
This commit provides an order of zero for the RepositoryRestConfigurer
that is used internally to configure the `RepositoryRestConfiguration`. In
practice, an unordered `RepositoryRestConfigurer` will run after ours.

Closes gh-7981
8 years ago
Andy Wilkinson 89e3335ca1 Merge branch '1.4.x' into 1.5.x 8 years ago
Vedran Pavic caa9cdcc02 Fix Neo4j session documentation
Closes gh-7994
8 years ago
Vedran Pavic a7fce6b048 Document use of `OpenEntityManagerInViewInterceptor`
Closes gh-7993
8 years ago
Andy Wilkinson ae3434ba4c Merge branch '1.4.x' into 1.5.x 8 years ago
Stephane Nicoll 766816f600 Merge branch '1.4.x' into 1.5.x 8 years ago
drumonii bb5819b879 Fix configure a datasource reference doc link
Closes gh-7911
8 years ago
Andy Wilkinson db56e1cd00 Merge branch '1.4.x' into 1.5.x 8 years ago
Michael J. Simons 3c291150d6 Update springloaded version to 1.2.6.RELEASE in Maven-related docs
Closes gh-7937
8 years ago
Andy Wilkinson 8934dfaecf Merge branch '1.4.x' into 1.5.x 8 years ago
Michael J. Simons ddca9a1687 Update springloaded version to 1.2.6.RELEASE in Gradle-related docs
Closes gh-7937
8 years ago
Kazuki Shimizu 0401ba8429 Fix heading level for kafka docs
Closes gh-7915
8 years ago
Stephane Nicoll 49828d9377 Merge branch '1.4.x' into 1.5.x 8 years ago
Stephane Nicoll b9eda3f26b Document favicon support
Closes gh-7903
8 years ago
Stephane Nicoll 4523927e28 Polish 8 years ago
Stephane Nicoll 7d81de1469 Fix doc generation
For some reason the documentation worked locally with 973a18d but does not
on CI.
8 years ago
Stephane Nicoll 7a75fb0f38 Fix test-specific configuration metadata
Most of the config keys defined by the `spring-boot-test-autoconfigure`
module can't be overridden because they are mapped with `@PropertyMapping`
on an annotation. It is confusing that such keys are exposed in content
assistance as using them will have no effect.

This commit removes the annotation processor from the build so that the
`@ConfigurationProperties` beans aren't processed anymore. Instead, manual
metadata is written for the two only keys that are effectively used in
regular configuration.

As a result, the `additional-spring-configuration-metadata` file has been
renamed to `spring-configuration-metadata` since nothing is processing it
anymore.

Closes gh-7887
8 years ago
Stephane Nicoll 973a18db2a Fix javadoc generation 8 years ago
Phillip Webb 554f6c8714 Document LDAP support
Add documentation for the LDAP support.

Closes gh-7733
8 years ago
Phillip Webb 10de30ff11 Polish LDAP contribution
See gh-7733
8 years ago
Eddú Meléndez 6a84c369fd Add LDAP auto-configuration support
Add auto-configuration support for spring-ldap and spring-data-ldap.

See gh-2645
See gh-7733
8 years ago
Phillip Webb 565f75438e Polish 8 years ago
Stephane Nicoll 615804ff34 Polish configuration keys documentation 8 years ago
Dave Syer fe344df9c5 Change default order of OAuth2 resource server filter chain
The default is now SecurityProperties.ACCESS_OVERRIDE_ORDER-1
(instead of 3), and the user can set it with
security.oauth2.resource.filter-order (as opposed to being hard
coded). The filter is provided by Spring OAuth2 so this change is
a BeanPostProcessor to call a setter on that object.

Fixes gh-5072
8 years ago
Vedran Pavic 6eea679535 Add `LoggersEndpoint` to application properties appendix
Closes gh-7877
8 years ago
Stephane Nicoll 0a26a4146b Make `spring.session.store-type` mandatory
This commit removes the automatic enabling of Redis as the Spring Session
store when it is available. This case is covered by a warning in `1.4.x`
that this commit removes as well.

Closes gh-7858
8 years ago
Stephane Nicoll bf7271afa5 Upgrade to Couchbase Cache Client 2.1.0
As of 2.1 cache expiration times are to be set in seconds. This commit
migrates to the new method, yet keeping the milliseconds unit.

Closes gh-7824
8 years ago
Stephane Nicoll 2ea7187165 Add a note that CRaSH support will be removed in documentation
Closes gh-7856
8 years ago
Johnny Lim f915ae197a Polish 8 years ago
Phillip Webb f8a53cf775 Update actuator security documentation
Update documentation to align with the new role based method.

See gh-6889
8 years ago
Phillip Webb 7c51941578 Document Cloud Foundry actuator endpoint support
Add a Cloud Foundry specific section to "Production Ready Features".

See gh-7108
8 years ago
Phillip Webb 2fe4d60b47 Add `management.cloudfoundry.*` meta-data
Update configuration meta-data and appendix to include
`management.cloudfoundry.*` meta-data.

See gh-7108
8 years ago
Phillip Webb 18dcf31aa6 Polish documentation formatting 8 years ago
Stephane Nicoll fe89af5e82 Polish contribution
Closes gh-7796
8 years ago
Phillip Webb 5b40eb48e0 Improve MBean without backing Endpoint support
Improve support for MBeans without a backing endpoint by introducing
a `JmxEndpoint` interface. The `JmxEndpoint` is intentionally
similar in design to the `MvcEndpoint` from the `mvc` package and
allows for completely custom JMX beans that are not backed by any
real actuator `Endpoint`.

The `AuditEventsMBean` has been refactored to use the new interface and
has been renamed to `AuditEventsJmxEndpoint`.

See gh-6579
8 years ago
Vedran Pavic 2f1e4f0c02 Add MVC and JMX endpoints to retrieve audit events
Add MVC and JMX specific endpoints that allow audit events to be
retrieved.

See gh-6579
8 years ago
Phillip Webb f22744c748 Add support for TransactionManagerCustomizers
Add a `TransactionManagerCustomizer` callback interface that can be
used to customize auto-configured `PlatformTransactionManagers`.

Also update `...transaction.*` properties under a single unified
`spring.transaction...` key since the existing auto-configurations
would often share a transaction manager (the technology specific
transaction managers are `@ConditionalOnMissingBean` and may use
a manager created by a previous auto-configuration).

See gh-7561
8 years ago
Stephane Nicoll 378b53d42b Merge branch '1.4.x' into 1.5.x 8 years ago
Stephane Nicoll 3389af2c2f Fix build failure (II) 8 years ago
Stephane Nicoll 6ecb525a57 Fix build failure 8 years ago
Stephane Nicoll d2900b8612 Merge branch '1.4.x' into 1.5.x 8 years ago
Stephane Nicoll a862b6dc79 Polish documentation
Closes gh-7771
8 years ago
Phillip Webb 85504e74a6 Merge branch '1.4.x' into 1.5.x 8 years ago
Phillip Webb e0541d0f74 Polish 8 years ago
arthur-noseda b31cd64524 Fix typo in "you IDE"
Change "you IDE" to "your IDE".

Closes gh-7769
8 years ago
Stephane Nicoll 435ca3db69 Polish actuator security changes
Closes gh-7569
8 years ago
Stephane Nicoll 0e28771ad4 Merge branch '1.4.x' into 1.5.x 8 years ago
arthur-noseda 8771d9e700 Changed "right the way" to "right away"
Closes gh-7765
8 years ago
Stephane Nicoll b24c8d04ba Allow to customize the auto-configured JestClient
This commit adds a `HttpClientConfigBuilderCustomizer` to further tune
the auto-configured `JestClient`.

Closes gh-7762
8 years ago
Stephane Nicoll a60e356136 Enable Jest's multi-threaded support by default
Since the `JestClient` is auto-configured as a bean, it must have its
multi-threaded support enabled by default. This commit exposes a new
`spring.elasticsearch.jest.multi-threaded` property that is `true` by
default.

Closes gh-6806
8 years ago
Stephane Nicoll ba3fae373d Merge branch '1.4.x' into 1.5.x 8 years ago
Shubham Aggarwal e7f13b446a Minor fix in description
Closes gh-7755
8 years ago
Spring Buildmaster 9057f9ae1f Next development version 8 years ago
Stephane Nicoll 449043bf21 Polish contribution
Closes gh-6900
8 years ago
Artem Bilan c700cf28cc Fix typo in Kafka sample 8 years ago
Marco Aust 90eb58252e Add support for `spring.redis.url` property
Update `RedisAutoConfiguration` to optionally configure Redis using a
`spring.redis.url` property`.

Closes gh-7395
8 years ago
Phillip Webb 1f7b3cad45 Polish Kafka properties
Closes gh-7672
8 years ago
Gary Russell bdda470305 Support arbitrary Kafka properties
Add support for arbitrary Kafka properties via
`spring.kafka.properties.*` and also a `spring.kafka.max.poll.records`
property.

See gh-7672
8 years ago
Phillip Webb 99e72664d9 Polish spring transaction manager properties
Polish and update contribution so that TransactionManager properties can
be defined per technology, rather than globally.

Closes gh-7561
8 years ago
Lucas Saldanha 534a9db6fd Make stop wait time in the launch script configurable
Create a parameter `STOP_WAIT_TIME` for the startup script
that configures the time in seconds to wait for a normal
shutdown. Because of #4941 we also send a shutdown half
way the countdown.

Fixes gh-7121
8 years ago
Stephane Nicoll 851ce2286f Allow to override Couchbase's CustomConversions
Closes gh-7700
8 years ago
Phillip Webb 4b9cba351b Merge branch '1.4.x' into 1.5.x 8 years ago
Phillip Webb bd74c3d327 Polish formatting 8 years ago
Phillip Webb e578ace7d7 Polish doc formatting 8 years ago
Stephane Nicoll 9668006aea Merge branch '1.4.x' into 1.5.x 8 years ago
Stephane Nicoll 3237e4ab3e Add link between reference and how-to
See gh-7652
8 years ago
Stephane Nicoll f46bd35a60 Merge branch '1.4.x' into 1.5.x 8 years ago
Stephane Nicoll 69dce2881b Remove outdated (and duplicated) section
Closes gh-7667
8 years ago
Stephane Nicoll 21b815aabd Polish contribution
Closes gh-7560
8 years ago
Andy Wilkinson 6fb1fb580d Upgrade to Dependency Management Plugin 1.0.0.RC1
Closes gh-7636
8 years ago
Brian Clozel 4e9abbbc25 Merge branch '1.4.x' into 1.5.x 8 years ago
Brian Clozel 37605e3576 Document devtools influence on HTTP cache headers
This commits documents the fact that, amongst its property defaults,
devtools is disabling the HTTP cache headers when serving static
resources with Spring MVC.

Fixes gh-7516
8 years ago