feat: cleanup task executions older than x days#1940
feat: cleanup task executions older than x days#1940oodamien merged 15 commits intospring-attic:mainfrom
Conversation
|
Hi @klopfdreh, |
|
Hey @oodamien - no problem, the backend implementation is working for us and also fixes a bug with boot 3 / batch 5. The underscore is misaligned with the link so it would be great to see how you would implement it. 👍 |
# Conflicts: # ui/src/app/shared/api/task.service.ts
|
Just for a status update on the backend... we are very close to getting it merged into SCDF main. |
|
Update: Working on the UI/UX, I should push changes soon on this PR. |
|
Thanks for the update and for your work - I am very interested in how you changed the UI implementation @oodamien |
|
The backend changes have been merged in spring-attic/spring-cloud-dataflow@af60a25 |
|
For the changes: "taskJob": "Task/Job Executions" "content": "You can filters the task/job execution(s) you want to clean up:" "onlyComplete": "Only complete execution(s)" "olderExecution": "Cleanup older execution(s)" "days": "Days" "daysInvalid": "Invalid days" "successContent": "Execution(s) cleaned up." German is valid 😄 - Russian should be checked. The CSS |
|
Can you provide a screenshot so that I can see the appearance, now? 😃 I am currently busy by solving some issues at work, so I don’t know when I am able to check it out and test. |
|
Looks good @oodamien , One thing to point out is that "Only complete execution(s)" does not make sense when "Cleanup older execution(s)" as the "end_date" is used as the date anchor. IOW - the executions must be completed in order to determine how many days old they are. |
|
Awesome! 👍 |
|
Thanks @klopfdreh |






Needs to be integrated with: spring-attic/spring-cloud-dataflow#5422
You can enter a number of days and if the task executions are older than before 5 days for example they are removed.
See #1949