Project

General

Profile

Task #644

Task #621: Create LongRunningTask detail page

Dry Run

Added by Marek Klement about 1 month ago. Updated 5 days ago.

Status:
In Progress
Priority:
Normal
Assignee:
Category:
Long running task
Target version:
Start date:
08/10/2017
Due date:
% Done:

0%


Description

Implement demo process of the LongRunningTask which will predict what will run and how the result will look like.

History

#1 Updated by Marek Klement about 1 month ago

  • Status changed from New to Needs feedback
  • Assignee changed from Marek Klement to Radek Tomiška

Technical design for:
Dry Run
backend

Implement process which won’t run. It will only pretend running and than will show which entities will be affected by this LRT.

1. Class IdmScheduledTask is already prepared for DryRun, so it is needed to cut running a process and just take the entities which it will change.
2. In class AbstractSchedulableStatefulExecutor function processCandidate will be edited. It will also get boolean dryRun which will be used when making result. If dryRun than new State result DRY_RUN else it will run process.
3. In function executeProcess will be added boolean dryRun by scheduledTaskService

frontend

1. When someone will be making new Scheduled Task, there will be checkbox in popover where you select if dryRun.
2. LRT dryRun detail will show table of entities which will be affected by this process.

#2 Updated by Radek Tomiška 29 days ago

  • Status changed from Needs feedback to In Progress
  • Assignee changed from Radek Tomiška to Marek Klement

#3 Updated by Marek Klement 11 days ago

  • Status changed from In Progress to Needs feedback
  • Assignee changed from Marek Klement to Radek Tomiška

What I was thinking was that on page Scheduled Tasks there will be checkbox (or something similar) wheter it should be runned like dryrun or not. As soon as you hit run or add it will save it already with dryrun. After this when you go to All tasks page, you just simply can run it and than look into possible results.

#4 Updated by Radek Tomiška 8 days ago

I removed my last comment, because flag and new state DRY_RUN is needed as you says.

I am not sure, about this dry run mechanism, we will need to talk about it at first.

#5 Updated by Radek Tomiška 5 days ago

  • Status changed from Needs feedback to In Progress
  • Assignee changed from Radek Tomiška to Marek Klement

The design is ok, you can continue .)

Also available in: Atom PDF