Migrate the rest of NettyTransport settings to the new infra

Also does some consistency clean up, renaming trasnport.netty.* settings to transport.*

Closes elastic/elasticsearch#1397

Relates to https://github.com/elastic/elasticsearch/pull/16307

Original commit: elastic/x-pack-elasticsearch@4a128ff68c
This commit is contained in:
Boaz Leskes 2016-01-29 10:57:58 +01:00
parent 0fe7716459
commit d27b9b4b41
1 changed files with 2 additions and 1 deletions

View File

@ -8,6 +8,7 @@ package org.elasticsearch.shield.transport.netty;
import org.elasticsearch.client.Client;
import org.elasticsearch.common.settings.Settings;
import org.elasticsearch.test.ShieldIntegTestCase;
import org.elasticsearch.transport.TransportSettings;
import java.nio.file.Files;
import java.nio.file.Path;
@ -49,7 +50,7 @@ public class IPHostnameVerificationTests extends ShieldIntegTestCase {
.put("shield.ssl.keystore.password", "testnode-ip-only")
.put("shield.ssl.truststore.path", keystore.toAbsolutePath()) // settings for client truststore
.put("shield.ssl.truststore.password", "testnode-ip-only")
.put("transport.host", "127.0.0.1")
.put(TransportSettings.BIND_HOST.getKey(), "127.0.0.1")
.put("network.host", "127.0.0.1")
.put("shield.ssl.client.auth", "false")
.put(ShieldNettyTransport.HOSTNAME_VERIFICATION_SETTING, true)