- 18 Jun, 2015 6 commits
-
-
Phillip Webb authored
-
Andy Wilkinson authored
See gh-3274
-
Andy Wilkinson authored
See gh-3276
-
Andy Wilkinson authored
See gh-3274
-
Andy Wilkinson authored
Previously, DefaultRepositorySystemSessionAutoConfiguration would read the local repository configuration from settings.xml, but did not perform any property interpolation. This would leave placeholders such as ${user.home} as-is and result in the use of the wrong location. To address this, the code that reads settings.xml has been updated to provide the current System properties as a property interpolation source. RepositoryConfigurationFactory configures the local repository as a "remote" repository when the local repository location has been overridden. This allows spring grab to copy dependencies from the local repository into the grab output location (configured via the grape.root system property) rather than having to download them again. This logic did not consider the customization of the local repository location via settings.xml so the dependencies would be downloaded again. To address this, RepositoryConfigurationFactory has been updated to attempt to use the location configured in settings.xml, before falling back to the default location. The logic that reads settings.xml has deliberately been duplicated. It could have been extracted into a separate class, but this is only a temporary measure until gh-3275 is tackled. Duplication was deemed preferable to adding a new public class in 1.2.x that we’d then want to remove in 1.3. Closes gh-3274
-
Stephane Nicoll authored
Closes gh-3273
-
- 16 Jun, 2015 1 commit
-
-
Phillip Webb authored
Create an EmbeddedVelocityToolboxView which supports loading toolbox.xml files from the application classpath as well as the ServletContext. The VelocityAutoConfiguration class has been updated to use the new view. This change allows the `spring.velocity.toolbox-config-location` property to work with embedded servlet containers. Fixes gh-2912
-
- 15 Jun, 2015 9 commits
-
-
Oliver Gierke authored
Update EntityScanRegistrar so that multiple @EntityScan annotations can be used with a single application. Previously, when an application used multiple annotations only the first one found would get applied. This changes alters that to augment the packages that will be scanned. Fixes gh-2757
-
Artur Mkrtchyan authored
Update appendix example to use the more common `/var/log` folder rather than `/var/logs`. Fixes gh-3225
-
Phillip Webb authored
-
Ben Hale authored
Previously, the VcapApplicationListener would discard any service credential value that wasn't a String, Number, Map, Collection, or null. This was particularly a problem for services that exposed a value as a JSON boolean. This change takes booleans in the credential payload into account, converting them to Strings so that they will pass through the properties system properly. There's no real downside to this as Spring will coerce them back into Booleans if needed, by the application. Fixes gh-3237
-
Phillip Webb authored
-
Phillip Webb authored
Fixes gh-3209
-
Phillip Webb authored
-
Andy Wilkinson authored
Closes gh-3207
-
Stephane Nicoll authored
This is related to 38cca9c1 but for the Rabbit support. Update RabbitAnnotationDrivenConfiguration to only associate a JTA transaction manager, if any. Closes gh-3222
-
- 14 Jun, 2015 2 commits
-
-
Stephane Nicoll authored
AmqpAdmin does not require a CachingConnectionFactory. Using the more general CachingConnectionFactory provides more flexibility. Closes gh-3220
-
Stephane Nicoll authored
Closes gh-3218
-
- 10 Jun, 2015 5 commits
-
-
Andy Wilkinson authored
Previously, spring.groovy.template.configuration.* was mapped onto both GroovyTemplateProperties.configuration and GroovyMarkupConfigurer. The former being a Map and the latter being specific type with getters and setters. This clash caused problems with the IDE support. GroovyTemplateProperties.configuration appeared to be dead code so it was removed in 326bdf29. Unfortunately this broke the use of spring.groovy.template.configuration.* properties as GroovyTemplateProperties uses a prefix of spring.groovy.template and it no longer had a configuration property. This commit addresses the problem by updating GroovyTemplateProperties to ignore unknown fields. This allows spring.groovy.template.configuration.* properties to be used and bound to GroovyMarkupConfigurer without reintroducing the clash which prompted the initial change. Closes gh-3198
-
Andy Wilkinson authored
Closes gh-3176
-
Andy Wilkinson authored
Closes gh-3191
-
Andy Wilkinson authored
Closes gh-3190
-
Lugi Cardito authored
If the `repackage` goal defines an output directory that does not exist, the maven plugin now creates it. Closes gh-3136
-
- 09 Jun, 2015 3 commits
-
-
Andy Wilkinson authored
The build currently fails intermittently when an external container, usually TomEE or Wildfly, fails to start within the default timeout period of two minutes. This commit updates the timeout to 5 minutes for all containers (Tomcat, TomEE and Wildfly) in the hope that it will help to stabilise the CI build.
-
Andy Wilkinson authored
-
Eddú Meléndez authored
Closes gh-3122
-
- 08 Jun, 2015 5 commits
-
-
Stephane Nicoll authored
Closes gh-3060
-
Stephane Nicoll authored
-
Stephane Nicoll authored
Closes gh-3121
-
Stephane Nicoll authored
The JMS MessageListenerContainer supports the PlatformTransactionManager abstraction with either a `JmsTransactionManager` for local transactions or `JtaTransactionManager` for distributed transactions. The former is kind of deprecated (`setTransacted` should be used instead). In any case, any other `PlatformTransactionManager` implementation is not supported. Update JmsAnnotationDrivenConfiguration to only associated a JTA transaction manager, if any. Closes gh-3150
-
Dave Syer authored
Only affects the default AuthenticationManagerBuilder (so when users are not overriding the default global user details). Makes the UserDetailsService effectively available as it would be if we used AuthenticationManagerBuilder.inMemoryAuthentication() as a shared object in the HttpSecurity. Fixes gh-3152
-
- 07 Jun, 2015 1 commit
-
-
izeye authored
`endpoints.jolokia.path` requires the path to start with a slash. Closes gh-2864
-
- 04 Jun, 2015 2 commits
-
-
Stephane Nicoll authored
-
Spring Buildmaster authored
-
- 02 Jun, 2015 6 commits
-
-
Phillip Webb authored
Add OrderedHiddenHttpMethodFilter and use it in WebMvcAutoConfiguration to ensure that it is applied before Spring Security. Fixes gh-2773
-
Phillip Webb authored
Update MetricsFilter so that failures to record metrics are logged and ignored. Fixes gh-2777
-
Phillip Webb authored
Update `ConfigurationPropertiesReportEndpoint` so that properties that are set with a Boolean class but read with a boolean primitive still appear in the report. The allows the Endpoint.isEnabled() property to be displayed. Fixes gh-2929
-
Phillip Webb authored
Fixes gh-2730
-
Phillip Webb authored
Extract @ConditionalOnEnabledEndpoint to a top level class. See gh-2798
-
Phillip Webb authored
-