Skip to content

HLRC: ML Delete job from calendar#35713

Merged
benwtrent merged 2 commits intoelastic:masterfrom
benwtrent:feature/hlrc-ml-delete-job-from-calendar
Nov 20, 2018
Merged

HLRC: ML Delete job from calendar#35713
benwtrent merged 2 commits intoelastic:masterfrom
benwtrent:feature/hlrc-ml-delete-job-from-calendar

Conversation

@benwtrent
Copy link
Copy Markdown
Member

Adds the ML API for Deleting job(s) from a calendar.

Relates to #29827

@benwtrent
Copy link
Copy Markdown
Member Author

Pinging @elastic/ml-core

Copy link
Copy Markdown
Contributor

@edsavage edsavage left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Made one minor suggestion

* It can be a list of jobs or groups.
*/
public DeleteCalendarJobRequest(String calendarId, String... jobIds) {
this.calendarId = Objects.requireNonNull(calendarId, "[calendar_id] must not be null.");
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe use Calendar.ID here?

@benwtrent benwtrent merged commit d707838 into elastic:master Nov 20, 2018
@benwtrent benwtrent deleted the feature/hlrc-ml-delete-job-from-calendar branch November 20, 2018 13:43
benwtrent added a commit that referenced this pull request Nov 20, 2018
@elastic elastic deleted a comment Nov 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants