Skip to content

rollup job crud apis #3448

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

Merged
merged 9 commits into from
Oct 18, 2018
Merged

rollup job crud apis #3448

merged 9 commits into from
Oct 18, 2018

Conversation

Mpdreamz
Copy link
Member

@Mpdreamz Mpdreamz commented Oct 4, 2018

This adds support for the rollup job crud API's

  • "xpack.rollup.delete_job.json",
  • "xpack.rollup.get_jobs.json",
  • "xpack.rollup.put_job.json",

As well as:

  • "xpack.rollup.start_job.json",
  • "xpack.rollup.stop_job.json",

Copy link
Contributor

@russcam russcam left a comment

Choose a reason for hiding this comment

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

Generally LGTM; left some comments regarding documentation

[JsonProperty("index_pattern")]
public string IndexPattern { get; internal set; }

/// <inheritdoc cref="ICreateRollupJobRequest.RollupIndex">
Copy link
Contributor

Choose a reason for hiding this comment

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

<inheritdoc /> needs to be self-closing

[JsonProperty("rollup_index")]
public IndexName RollupIndex { get; internal set; }

/// <inheritdoc cref="ICreateRollupJobRequest.Cron">
Copy link
Contributor

Choose a reason for hiding this comment

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

<inheritdoc /> needs to be self-closing

[JsonProperty("cron")]
public string Cron { get; internal set; }

/// <inheritdoc cref="ICreateRollupJobRequest.PageSize">
Copy link
Contributor

Choose a reason for hiding this comment

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

<inheritdoc /> needs to be self-closing

[JsonProperty("page_size")]
public long? PageSize { get; internal set; }

/// <inheritdoc cref="ICreateRollupJobRequest.Groups">
Copy link
Contributor

Choose a reason for hiding this comment

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

<inheritdoc /> needs to be self-closing

// "xpack.rollup.get_jobs.json",
// "xpack.rollup.put_job.json",
// "xpack.rollup.start_job.json",
// "xpack.rollup.stop_job.json",
Copy link
Contributor

Choose a reason for hiding this comment

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

These can now be deleted

{
public partial interface IElasticClient
{
/// <inheritdoc/>
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this should have a <summary>...</summary> and all other overloads inheritdoc from it

{
public partial interface IElasticClient
{
/// <inheritdoc/>
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this should have a <summary>...</summary> and all other overloads inheritdoc from it

{
public partial interface IElasticClient
{
/// <inheritdoc/>
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this should have a <summary>...</summary> and all other overloads inheritdoc from it

@russcam russcam merged commit 4cb05c0 into 6.4 Oct 18, 2018
@russcam russcam deleted the feature/rollup-apis branch October 18, 2018 09:44
russcam pushed a commit that referenced this pull request Oct 26, 2018
This commit adds support for the Rollup APIs:

- CreateRollupJob
- GetRollupJob
- DeleteRollupJob
- StartRollupJob
- StopRollupJob
- GetRollupCapabilities
- RollupSearch

(cherry picked from commit 4cb05c0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants