spring-attic / spring-cloud-task-app-starters-app-starters-release

Apache License 2.0
2 stars 5 forks source link

ComposedTaskRunner should honor a stop job execution request #28

Closed cppwfs closed 7 years ago

cppwfs commented 7 years ago

Currently when running a ComposedTaskRunner there are cases where a task execution fails before it starts on CF. In these cases the CTR waits forever (using defaults). We should be able to stop the CTR through the UI vs going to the CF Console and terminating the execution.

cppwfs commented 7 years ago

At this time the Spring Cloud Task Runner honors a stop request (by setting the current step to STOPPING) when the child task application that is being executed ends. At that point the CTR will terminate and that step will be marked STOPPED. i.e. a lazy terminate. However, restarting shows that regardless of what step is stopped, all steps are relaunched. So for now this story will be closed and another one will be opened addressing that issue.