mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 14:47:19 -04:00
This is in prep for a Docker based test run approach, and by removing the dependent Docker containers we will avoid Docker in Docker requirements. Fixes #8211
12 lines
No EOL
218 B
Ruby
12 lines
No EOL
218 B
Ruby
require 'elasticsearch'
|
|
|
|
class ElasticsearchService < Service
|
|
def initialize(settings)
|
|
super("elasticsearch", settings)
|
|
end
|
|
|
|
def get_client
|
|
Elasticsearch::Client.new(:hosts => "localhost:9200")
|
|
end
|
|
|
|
end |