- 26 Feb, 2016 3 commits
-
-
Spring Buildmaster authored
-
Phillip Webb authored
-
Phillip Webb authored
-
- 25 Feb, 2016 4 commits
-
-
Andy Wilkinson authored
* gh-5205: Fix namespace declarations in Hazelcast xml's and make them consistent
-
Vedran Pavic authored
-
Stephane Nicoll authored
If a JCache provider is started with hazelcast and the default settings, the underlying `HazelcastInstance` is disposed at the end of the process, not when the `CacheManager` is closed. This commit fixes the only test that use such setup. See also https://github.com/hazelcast/hazelcast/issues/7606 Closes gh-5209
-
Andy Wilkinson authored
-
- 24 Feb, 2016 26 commits
-
-
Andy Wilkinson authored
- Code formatting - Javadoc warnings - Deprecation warnings
-
Andy Wilkinson authored
Upgrade to Jetty 9.2.15 and replace use of API that was deprecated and changed to throw an UnsupportedOperationException in the same release. Closes gh-5218
-
Andy Wilkinson authored
Closes gh-5212
-
Andy Wilkinson authored
Closes gh-5224
-
Andy Wilkinson authored
Closes gh-5223
-
Andy Wilkinson authored
Closes gh-5222
-
Andy Wilkinson authored
Closes gh-5221
-
Andy Wilkinson authored
Closes gh-5220
-
Andy Wilkinson authored
Closes gh-5219
-
Andy Wilkinson authored
Closes gh-5217
-
Andy Wilkinson authored
Closes gh-5216
-
Andy Wilkinson authored
Closes gh-5215
-
Andy Wilkinson authored
Closes gh-5214
-
Andy Wilkinson authored
Closes gh-5213
-
Andy Wilkinson authored
Closes gh-5211
-
Stephane Nicoll authored
This commit allows to customize the auto-configured `CacheManager` by exposing a bean of type `CacheManagerCustomizer`. The implementation may reference the type of a `CacheManager` to determine in which case it has to be invoked. Several implementations can be provided and ordered using the regular `Ordered` interface and `@Order` annotation. Closes gh-5039
-
Andy Wilkinson authored
-
Andy Wilkinson authored
Previously, if endpoints.enabled was false setting endpoints.docs.enabled=true or endpoints.actuator.enabled=true would have no effect as their entire configuration class was conditional on endpoints.enabled being true. This commit updates the conditions on the configuration class so that it is conditional on either the actuator or docs endpoint being enabled. Closes gh-5007
-
Andy Wilkinson authored
* gh-5032: Fix logic for disabling plugins in CrshAutoConfiguration
-
Matt Benson authored
Plugin disabling logic was broken by e009d3e4. Prior to this change, a plugin would be disabled if it or any of the implemented interfaces in its inheritance hierarchy were configured as being disabled. The offending commit inverted the logic so that the plugin would be enabled if any part of it was NOT configured as being disabled. This commit restores the logic such that the early return happens only in the negative case. Previously, the tests were written as though PluginContext#getPlugin(Class) would consider the specified class against the runtime type of the plugin (not an unreasonable assumption); rather this method considers the broader 'plugin type'. This commit rewrites the test to seek by plugin type and assert the absence of the disabled plugins. Closes gh-5032
-
Andy Wilkinson authored
Closes gh-5147
-
Andy Wilkinson authored
* gh-5168: Tag Docker images created by launch script integration tests
-
Vedran Pavic authored
Closes gh-5168
-
Andy Wilkinson authored
Closes gh-5119
-
Andy Wilkinson authored
Closes gh-5062
-
Andy Wilkinson authored
Closes gh-5164
-
- 23 Feb, 2016 2 commits
-
-
Andy Wilkinson authored
Support for configuring an endpoint’s path separately from its id was introduced in 97255785, but it didn’t work for a variety of reasons: 1. Some custom MVC endpoints did not have configuration properties bound to them 2. Some generic endpoints rejected the path property as they were configured not to ignore unknown fields 3. The property used to configure the path was dependent on the id of the endpoint. This meant that the path property’s name would change if the endpoint’s id was changed This commit addresses these problems: 1. @ConfigurationProperties has been added to custom MvcEndpoints where it was missing 2. Generic endpoints have been updated to ignore unknown fields, allowing the path of their MVC adapter to be configured 3. Rather than using the id of a generic endpoint to determine the name of its path property, the prefix or value of the endpoint’s @ConfigurationProperties annotation is used instead. Any generic endpoint that is not annotated with @ConfigurationProperties is ignored, making its path unconfigurable. Closes gh-5105
-
Stephane Nicoll authored
Rework commit b726974b to avoid exposing setters that would permit anyone to change Spring Boot's defaults. Also, since these are configurers of a specific instance, they should be named accordingly. Closes gh-5138
-
- 22 Feb, 2016 5 commits
-
-
Andy Wilkinson authored
The Jolokia auto-configuration requires ServletWrappingController from Spring MVC to be on the classpath. This commit updates the auto-configuration to make it conditional on the presence of this class. Closes gh-5153
-
Andy Wilkinson authored
There's a long cycle when Spring Data REST, Data JPA and Actuator are used in an app that retrieves its DataSource from JNDI. The cycle is: - WebMvcAutoConfiguration - HttpMessageConverters - MappingJackson2HttpMessageConverter (needs an ObjectMapper) - SpringBootRepositoryRestMvcConfiguration - ObjectMapper - RepositoryResourceMappings (part of a custom Jackson module) - Repositories - EntityManagerFactory (Triggered by application's Spring Data JPA repository) - HibernateJpaAutoConfiguration - JndiDataSourceAutoConfiguration - MBeanExporter (Used to prevent export of DataSource MBean that's already in JMX) - EndpointMBeanExportAutoConfiguration - ObjectMapper (Used to format JSON produced by the exported endpoints) Spring Data Rest caused the ObjectMapper to depend on JPA. JPA depends on the DataSource. JnidDataSourceAutoConfiguration depends on the MBeanExporter. Actuator's MBeanExporter requires an ObjectMapper to produce JSON strings. This commit breaks the cycle by making JndiDataSourceAutoConfiguration access the MBeanExporter lazily. Rather than using `@Lazy`. which does not work with `@Autowired(required=false)`, the application context is injected and the MBeanExporter is retrieved manually when it is needed. Closes gh-4980
-
Andy Wilkinson authored
* gh-5190: Upgrade to Spring Integration 4.2.5.RELEASE
-
Gary Russell authored
Closes gh-5190
-
Andy Wilkinson authored
Closes gh-5182
-