- 17 Dec, 2013 3 commits
- 16 Dec, 2013 9 commits
-
-
Phillip Webb authored
-
Phillip Webb authored
-
Phillip Webb authored
Remove system properties when testing strict property binding. This prevents test failures that can occur if the local environment happens to have certain environment variables defined.
-
Dave Syer authored
As discussed in gh-162
-
johnou authored
-
Dave Syer authored
-
Janne Valkealahti authored
-
Dave Syer authored
-
Dave Syer authored
-
- 15 Dec, 2013 2 commits
- 14 Dec, 2013 1 commit
-
-
Dave Syer authored
You can contribute additional HttpMessageConverters by simply adding beans of that type in a Spring Boot context. If a bean you add is of a type that would have been included by default anyway (like MappingJackson2HttpMessageConverter for JSON conversions) then it will replace the default value. A convenience bean is provided of type MessageConverters (always available if you use the default MVC configuration) which has some useful methods to access the default and user-enhanced message converters (useful, for example if you want to manually inject them into a custom RestTemplate). There are also some convenient configuration shortcuts for Jackson2. The smallest change that might work is to just add beans of type Module to your context. They will be registered with the default ObjectMapper and then injected into the default message converter. In addition, if your context contains any beans of type ObjectMapper then all of the Module beans will be registered with all of the mappers.
-
- 13 Dec, 2013 2 commits
-
-
Christian Dupuis authored
-
Dave Syer authored
-
- 12 Dec, 2013 7 commits
-
-
Dave Syer authored
-
Dave Syer authored
-
Christian Dupuis authored
-
Dave Syer authored
All a user has to do now is declare a bean with name "dispatcherServlet".
-
Dave Syer authored
-
Dave Syer authored
-
Dave Syer authored
Previously if a user happened to provide an @EnableWebSecurity bean the SecurityProperties would not be created, which is fine until you add the Actuator (which needs them). Fixed by adding an explicit SecurityProperties @Bean if not already present.
-
- 11 Dec, 2013 7 commits
-
-
Christian Dupuis authored
-
Dave Syer authored
Previously it was @ConditionalOnMissingBean(CommandLineRunner.class) which caued obvious problems when user wanted to add an unrelated CLR. Extended feature set so that a JobRegistry can also be used (with spring.batch.job.name) and the whole idea can be switched off with spring.boot.job.enabled.
-
Dave Syer authored
Fixes gh-153
-
Glenn Renfro authored
Currently the PropertiesConfigurationFilter filters them out. Thus when deploying to IAAS these environment variables are ignored. Fixes gh-154
-
VasylTretiakov authored
Fixes gh-158
-
VasylTretiakov authored
Fixes gh-157
-
Dave Syer authored
Fixes gh-160
-
- 10 Dec, 2013 5 commits
-
-
Dave Syer authored
Hopefully really fixes gh-151
-
Dave Syer authored
It's super useful to get a reference to the current SpringCli instance in the CommandFactory. Potentially implementations can react to the properties of the Cli, or wrap it into something more complex. ...supports the likely implementation of the REPL use case that @jbrisbin has been working on.
-
Dave Syer authored
-
Janne Valkealahti authored
Fixes gh-152. ... to ease excluding dependencies eckage changed to bootRepackage - Register BootRepackage order to use task foo(type: BootRepackage){} - Allow user to use customConfiguration configurations { hadoopruntime.exclude group: 'log4j' hadoopruntime.exclude group: 'org.slf4j' hadoopruntime.exclude group: 'org.apache.hadoop' hadoopruntime.exclude group: 'org.apache.hive' hadoopruntime.exclude group: 'commons-logging' hadoopruntime.exclude group: 'org.codehaus.jettison' hadoopruntime.exclude group: 'com.thoughtworks.xstream' } dependencies { compile "org.springframework.batch:spring-batch-core:$springBatchVersion" compile "org.springframework.batch:spring-batch-infrastructure:$springBatchVersion" compile "org.springframework.data:spring-yarn-batch:$springDataVersion" compile "org.springframework.data:spring-yarn-boot:$springDataVersion" runtime "org.springframework.data:spring-data-hadoop:$springDataVersion" runtime "org.springframework.data:spring-data-hadoop-core:$springDataVersion" runtime "log4j:log4j:$log4jVersion" runtime "org.slf4j:slf4j-log4j12:$slf4jVersion" testCompile "org.springframework.data:spring-yarn-test:$springDataVersion" testCompile "org.hamcrest:hamcrest-core:$hamcrestVersion" testCompile "org.hamcrest:hamcrest-library:$hamcrestVersion" hadoopruntime configurations.runtime } springBoot { backupSource = true customConfiguration = 'hadoopruntime' } task appmasterJar(type: Jar) { appendix = 'appmaster' from sourceSets.main.output exclude('**/*Container*') exclude('**/*Client*') } task clientJar(type: Jar) { appendix = 'client' from sourceSets.main.output exclude('**/*Appmaster*') exclude('**/*Container*') } task clientBoot(type: BootRepackage, dependsOn: clientJar) { withJarTask = clientJar } task appmasterBoot(type: BootRepackage, dependsOn: appmasterJar) { customConfiguration = "hadoopruntime" withJarTask = appmasterJar } //jar.enabled = false //bootRepackage.enabled = false task bootJars bootJars.dependsOn = [clientBoot,containerBoot,appmasterBoot] build.dependsOn(clientBoot) build.dependsOn(containerBoot) build.dependsOn(appmasterBoot) //build.dependsOn(bootJars)
-
Dave Syer authored
-
- 09 Dec, 2013 3 commits
- 06 Dec, 2013 1 commit
-
-
Dave Syer authored
-