Details
-
Feature
-
Status: Deferred (View Workflow)
-
Minor
-
Resolution: Unresolved
-
1.12.5
-
None
-
None
-
None
Description
Current Situation
- If a user expands details for a job chain in the Job Chains view and clicks on the "Show task history" icon next to the job, then it takes 1-3 seconds to display the results.
- But if a user navigates to the Individual Jobs view and clicks on the job name to retrieve the history entries then the results are displayed faster, compared to the Job Chains view.
Desired Behavior
- The Task history entries on the Job Chains view should be displayed within less than 2 seconds.
Maintainers note
- Both the views call different REST URL's, A job can be used by a number of job chains, but in the Job Chains view, only the tasks should be displayed which are executed by orders assigned to the current job chain. The filtering in the Job Chains view might need an extra second. Please see the REST URL and parameters below.
- Job Chains view
* Request URL: http://52.29.185.237:4446/joc/api/tasks/history - Parameters '{"jobschedulerId":"jobscheduler12_4412","limit":"99","orders":[{"jobChain":"/examples/01_JobChainShellJobs/01_JobChainA","state":"Start"}]}'
- Individual Job view
* Request URL : http://52.29.185.237:4446/joc/api/job/history - Parameter : {"jobschedulerId":"jobscheduler12_4412","job":"/sos/jitl/JobChainStart","maxLastHistoryItems":"99"}'