Skip to content
This repository was archived by the owner on Mar 29, 2019. It is now read-only.

Commit fc9b05c

Browse files
Antoine Reymminella
authored andcommitted
BATCHADM-132 Add startDate to execution.ftl & executions.ftl for retrieval as JSON via GET operations
1 parent 3c0c115 commit fc9b05c

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

spring-batch-admin-manager/src/main/resources/org/springframework/batch/admin/web/manager/jobs/json/execution.ftl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"id" : "${jobExecutionInfo.id?c}",
77
"name" : "${jobExecutionInfo.name}",
88
"status" : "${jobExecutionInfo.jobExecution.status}",
9+
"startDate" : "${jobExecutionInfo.startDate}",
910
"startTime" : "${jobExecutionInfo.startTime}",
1011
"duration" : "${jobExecutionInfo.duration}",
1112
"exitCode" : "${jobExecutionInfo.jobExecution.exitStatus.exitCode}",

spring-batch-admin-manager/src/main/resources/org/springframework/batch/admin/web/manager/jobs/json/executions.ftl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"jobExecutions" : {<#list jobExecutions as jobExecutionInfo><#assign url><@spring.url relativeUrl="${servletPath}/jobs/executions/${jobExecutionInfo.id?c}.json"/></#assign>
77
"${jobExecutionInfo.id}" : {
88
"status" : "${jobExecutionInfo.jobExecution.status}",
9+
"startDate" : "${jobExecutionInfo.startDate}",
910
"startTime" : "${jobExecutionInfo.startTime}",
1011
"duration" : "${jobExecutionInfo.duration}",
1112
"resource" : "${baseUrl}${url}",

0 commit comments

Comments
 (0)