|
19 | 19 |
|
20 | 20 | package org.elasticsearch.discovery.ec2;
|
21 | 21 |
|
| 22 | +import com.amazonaws.auth.AWSCredentials; |
| 23 | +import com.amazonaws.auth.BasicAWSCredentials; |
| 24 | +import com.amazonaws.auth.BasicSessionCredentials; |
| 25 | +import org.elasticsearch.common.settings.MockSecureSettings; |
| 26 | +import org.elasticsearch.common.settings.Settings; |
| 27 | +import org.elasticsearch.node.Node; |
| 28 | +import org.elasticsearch.test.ESTestCase; |
| 29 | + |
22 | 30 | import java.io.IOException;
|
23 | 31 | import java.io.UncheckedIOException;
|
24 | 32 | import java.nio.file.Files;
|
|
29 | 37 | import static org.hamcrest.Matchers.is;
|
30 | 38 | import static org.hamcrest.Matchers.nullValue;
|
31 | 39 |
|
32 |
| -import com.amazonaws.auth.AWSCredentials; |
33 |
| -import com.amazonaws.auth.BasicAWSCredentials; |
34 |
| -import com.amazonaws.auth.BasicSessionCredentials; |
35 |
| -import org.elasticsearch.cluster.ClusterStateTaskConfig.Basic; |
36 |
| -import org.elasticsearch.discovery.ec2.AwsEc2Service; |
37 |
| -import org.elasticsearch.common.settings.MockSecureSettings; |
38 |
| -import org.elasticsearch.common.settings.Settings; |
39 |
| -import org.elasticsearch.discovery.ec2.Ec2DiscoveryPlugin; |
40 |
| -import org.elasticsearch.node.Node; |
41 |
| -import org.elasticsearch.test.ESTestCase; |
42 |
| - |
43 | 40 | public class Ec2DiscoveryPluginTests extends ESTestCase {
|
44 | 41 |
|
45 | 42 | private Settings getNodeAttributes(Settings settings, String url) {
|
|
0 commit comments