Profiling should be a separate job after the import flow completes.
anmolsachan opened this issue · comments
Currently the profiling is done along with import flow. To reduce the time for the import flow, profiling can be triggered as a saperate job after the import finishes.
The new profiling job should be tracked as a separate job from import and the user should be able to see the status of the job under the tasks menu.
Below is flow for the above process :
^^ During the import flow, the import flow tells user that there is job that is created for profiling and profiling information will be shown once the job is complete.
^^ The main dashboard will show profiling as "pending" and user can track the profiling job by clicking on it.
^^ The profiling job will be shown under tasks and user can see task details by clicking on it, similar to other jobs.
@julienlim @mbukatov @nthomas-redhat @shtripat @GowthamShanmugam . Please review the above details.
Related issues : Tendrl/api#449 , Tendrl/gluster-integration#702
Closing this as a better way was found. Decided to keep profiling in the beginning of the import rather.