3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
# File 'lib/logstash/plugin_mixins/http_client/obsolete_ssl_config_support.rb', line 3
def self.included(base)
fail ArgumentError unless base <= LogStash::PluginMixins::HttpClient::Implementation
base.config :cacert, :obsolete => 'Use `ssl_certificate_authorities` instead'
base.config :client_cert, :obsolete => 'Use `ssl_certificate` instead'
base.config :client_key, :obsolete => 'Use `ssl_key` instead'
base.config :keystore, :obsolete => 'Use `ssl_keystore_path` instead'
base.config :keystore_type, :obsolete => 'Use `ssl_keystore_type` instead'
base.config :truststore, :obsolete => 'Use `ssl_truststore_path` instead'
base.config :truststore_type, :obsolete => 'Use `ssl_truststore_type` instead'
base.config :keystore_password, :validate => :password, :obsolete => 'Use `ssl_keystore_password` instead'
base.config :truststore_password, :validate => :password, :obsolete => 'Use `ssl_truststore_password` instead'
end
|