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

Add compatibility on ruby pipeline for plugins not in support matrix #12534

Merged
Merged
Changes from all commits
Commits
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
19 changes: 2 additions & 17 deletions logstash-core/lib/logstash/pipeline.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,22 +17,7 @@

# for backward compatibility
# logstash-devutils-1.3.6 logstash_helpers has dependency on this class
require 'logstash/java_pipeline'
module LogStash
class Pipeline

# for backward compatibility in devutils for the logstash helpers, this method is not used
# in the pipeline anymore.
def initialize(pipeline_config, namespaced_metric = nil, agent = nil)
end
#
# for backward compatibility in devutils for the rspec helpers, this method is not used
# in the pipeline anymore.
def filter(event, &block)
end

# for backward compatibility in devutils for the rspec helpers, this method is not used
# in the pipeline anymore.
def flush_filters(options = {}, &block)
end
end
Pipeline = JavaPipeline
end