Updated version numbers

Reset the ResourceLoader to DeploymentResourceLoader
Adjusted the poms to not run deploy for Samples as well as integration tests
Used default constructor
This commit is contained in:
Glenn Renfro
2016-07-07 17:40:20 -04:00
committed by Michael Minella
parent 02589b1b2d
commit 761df8a598
8 changed files with 64 additions and 68 deletions

View File

@@ -36,6 +36,7 @@ import org.springframework.batch.item.ExecutionContext;
import org.springframework.batch.repeat.RepeatStatus;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.cloud.deployer.resource.support.DelegatingResourceLoader;
import org.springframework.cloud.deployer.spi.local.LocalDeployerProperties;
import org.springframework.cloud.deployer.spi.local.LocalTaskLauncher;
import org.springframework.cloud.deployer.spi.task.TaskLauncher;
@@ -46,7 +47,6 @@ import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Profile;
import org.springframework.core.io.Resource;
import org.springframework.core.io.ResourceLoader;
/**
* @author Michael Minella
@@ -70,7 +70,7 @@ public class JobConfiguration {
private ConfigurableApplicationContext context;
@Autowired
private ResourceLoader resourceLoader;
private DelegatingResourceLoader resourceLoader;
private static final int GRID_SIZE = 4;