Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Task Manager] Adds a reschedule api to Task Manager #50718

Closed
Closed
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
1082f23
feat(update-scheduled-task): Adds getTask api to Task Store
gmmorris Nov 14, 2019
201748f
feat(update-scheduled-task): Adds reschedule api to Task Manager
gmmorris Nov 18, 2019
1d78a86
Merge branch 'master' into task-manager/update-scheduled-task
gmmorris Nov 18, 2019
ea0b47a
refactor(update-scheduled-task): clean up reschedule code
gmmorris Nov 18, 2019
be1d700
refactor(update-scheduled-task): separate default value from serialis…
gmmorris Nov 18, 2019
2a289cd
Merge remote-tracking branch 'upstream/master' into task-manager/upda…
gmmorris Nov 19, 2019
9220454
feat(update-scheduled-task): simplified reschedule api to reuse exist…
gmmorris Nov 19, 2019
dbdc3f8
Merge branch 'master' into task-manager/update-scheduled-task
gmmorris Nov 19, 2019
fce851d
refactor(update-scheduled-task): removed unneeded interval func
gmmorris Nov 19, 2019
baec6e7
refactor(update-scheduled-task): reuse type
gmmorris Nov 20, 2019
e04cc60
refactor(update-scheduled-task): clean up task serialisation
gmmorris Nov 20, 2019
6fe4f78
doc(update-scheduled-task): documented `reschedule` api in README
gmmorris Nov 20, 2019
9e4cc56
Merge branch 'master' into task-manager/update-scheduled-task
gmmorris Nov 20, 2019
bf24701
doc(update-scheduled-task): corrected description of type
gmmorris Nov 20, 2019
cd64151
renamed rescheduling type
gmmorris Nov 20, 2019
67c651c
renamed methjods in store to reflect subject
gmmorris Nov 20, 2019
cbfc42c
explicitly pick out properties in serialisation
gmmorris Nov 20, 2019
b691b1e
introduce retry into Task rescheduling
gmmorris Nov 21, 2019
ed78933
Merge branch 'master' into task-manager/update-scheduled-task
gmmorris Nov 21, 2019
0abcf92
Merge branch 'master' into task-manager/update-scheduled-task
gmmorris Nov 21, 2019
fcbedee
Merge branch 'master' into task-manager/update-scheduled-task
gmmorris Nov 21, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
doc(update-scheduled-task): corrected description of type
gmmorris committed Nov 20, 2019
commit bf247018897c468ae2596f329b1fa325dc0cb523
2 changes: 1 addition & 1 deletion x-pack/legacy/plugins/task_manager/task.ts
Original file line number Diff line number Diff line change
@@ -236,7 +236,7 @@ export interface TaskInstance {
export type TaskInstanceWithId = Require<TaskInstance, 'id'>;

/**
* A task instance that has an id.
* The Scheduling fields of a task instance that has an id.
*/
export type TaskInstanceScheduling = Pick<TaskInstanceWithId, 'id' | 'runAt' | 'interval'>;
gmmorris marked this conversation as resolved.
Show resolved Hide resolved