Updated TaskJobCommandLineRunner to use update batch param cleanup

This commit is contained in:
Glenn Renfro
2021-12-14 11:48:24 -05:00
parent 260a684d38
commit d8ef256b0c
12 changed files with 14 additions and 14 deletions

View File

@@ -5,7 +5,7 @@
<parent>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-build</artifactId>
<version>3.0.5-SNAPSHOT</version>
<version>3.0.5</version>
<relativePath />
</parent>
@@ -110,7 +110,7 @@
</modules>
<properties>
<spring-cloud-stream.version>3.1.4</spring-cloud-stream.version>
<spring-cloud-stream.version>3.1.6</spring-cloud-stream.version>
<spring-cloud-deployer.version>2.5.2</spring-cloud-deployer.version>
<spring-cloud-deployer-local.version>2.5.2
</spring-cloud-deployer-local.version>

View File

@@ -214,11 +214,11 @@ public class TaskJobLauncherCommandLineRunner extends JobLauncherCommandLineRunn
for (Map.Entry<String, JobParameter> parameter : copy.entrySet()) {
if (!parameter.getValue().isIdentifying()) {
parameterMap.remove(parameter.getKey());
copy.put(parameter.getKey(), parameter.getValue());
}
}
return new JobParameters(parameterMap);
return new JobParameters(copy);
}
private boolean isStoppedOrFailed(JobExecution execution) {

View File

@@ -13,7 +13,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.4.6</version>
<version>2.4.13</version>
<relativePath />
</parent>

View File

@@ -13,7 +13,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.4.6</version>
<version>2.4.13</version>
<relativePath />
</parent>

View File

@@ -13,7 +13,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.4.6</version>
<version>2.4.13</version>
<relativePath />
</parent>

View File

@@ -14,7 +14,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.4.6</version>
<version>2.4.13</version>
<relativePath />
</parent>

View File

@@ -12,7 +12,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.4.6</version>
<version>2.4.13</version>
<relativePath />
</parent>

View File

@@ -13,7 +13,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.4.6</version>
<version>2.4.13</version>
<relativePath />
</parent>

View File

@@ -13,7 +13,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.4.6</version>
<version>2.4.13</version>
<relativePath />
</parent>

View File

@@ -14,7 +14,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.4.6</version>
<version>2.4.13</version>
<relativePath />
</parent>

View File

@@ -15,7 +15,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.4.6</version>
<version>2.4.13</version>
<relativePath />
</parent>

View File

@@ -13,7 +13,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.4.6</version>
<version>2.4.13</version>
<relativePath />
</parent>