Skip to content

Mutate Processor#14253

Merged
talevy merged 1 commit intoelastic:feature/ingestfrom
talevy:ingest/mutate
Nov 10, 2015
Merged

Mutate Processor#14253
talevy merged 1 commit intoelastic:feature/ingestfrom
talevy:ingest/mutate

Conversation

@talevy
Copy link
Copy Markdown
Contributor

@talevy talevy commented Oct 22, 2015

meant to have feature parity with logstash-filter-mutate

@talevy talevy added the :Distributed/Ingest Node Execution or management of Ingest Pipelines label Oct 22, 2015
@talevy talevy force-pushed the ingest/mutate branch 2 times, most recently from b0d88c2 to 2d6b3d5 Compare November 3, 2015 01:31
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

maybe move all these if checks to execute method? (I personally find that easier to read, when we get in do* method we know we're good to go) Like this:

if (update != null) {
   doUpdate(data);
}
// next if

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

agreed

@talevy talevy changed the title [WIP] Mutate Processor Mutate Processor Nov 6, 2015
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think for consistency with the rest of the code base we should use three lines for these if statements?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

done.

@martijnvg
Copy link
Copy Markdown
Member

LGTM

fix forbiddenapis

update

clean up and add rest test

update mutate factory to use configuration utilities

compile gsub pattern

cleanup, update parseBooleans, null tests
talevy added a commit that referenced this pull request Nov 10, 2015
@talevy talevy merged commit 3303561 into elastic:feature/ingest Nov 10, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Distributed/Ingest Node Execution or management of Ingest Pipelines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants