File tree 2 files changed +14
-3
lines changed
src/test/java/org/elasticsearch/cloud/aws
2 files changed +14
-3
lines changed Original file line number Diff line number Diff line change @@ -4,9 +4,10 @@ AWS Cloud Plugin for Elasticsearch
4
4
The Amazon Web Service (AWS) Cloud plugin allows to use [ AWS API] ( https://github.com/aws/aws-sdk-java )
5
5
for the unicast discovery mechanism and add S3 repositories.
6
6
7
- In order to install the plugin, simply run: ` bin/plugin -install elasticsearch/elasticsearch-cloud-aws/2.0.0.RC1 ` .
7
+ In order to install the plugin, simply run: ` bin/plugin -install elasticsearch/elasticsearch-cloud-aws/2.1.1 ` .
8
8
9
9
* For master elasticsearch versions, look at [ master branch] ( https://github.com/elasticsearch/elasticsearch-cloud-aws/tree/master ) .
10
+ * For 1.3.x elasticsearch versions, look at [ es-1.3 branch] ( https://github.com/elasticsearch/elasticsearch-cloud-aws/tree/es-1.3 ) .
10
11
* For 1.2.x elasticsearch versions, look at [ es-1.2 branch] ( https://github.com/elasticsearch/elasticsearch-cloud-aws/tree/es-1.2 ) .
11
12
* For 1.1.x elasticsearch versions, look at [ es-1.1 branch] ( https://github.com/elasticsearch/elasticsearch-cloud-aws/tree/es-1.1 ) .
12
13
* For 1.0.x elasticsearch versions, look at [ es-1.0 branch] ( https://github.com/elasticsearch/elasticsearch-cloud-aws/tree/es-1.0 ) .
@@ -84,7 +85,7 @@ The S3 repository is using S3 to store snapshots. The S3 repository can be creat
84
85
$ curl -XPUT 'http://localhost:9200/_snapshot/my_s3_repository' -d '{
85
86
"type": "s3",
86
87
"settings": {
87
- "bucket": "my-bucket-name ",
88
+ "bucket": "my_bucket_name ",
88
89
"region": "us-west"
89
90
}
90
91
}'
@@ -206,7 +207,7 @@ cloud:
206
207
207
208
repositories:
208
209
s3:
209
- bucket: "bucket-name "
210
+ bucket: "bucket_name "
210
211
region: "us-west-2"
211
212
private-bucket:
212
213
bucket: <bucket not accessible by default key>
Original file line number Diff line number Diff line change 20
20
package org .elasticsearch .cloud .aws ;
21
21
22
22
import com .carrotsearch .randomizedtesting .annotations .TestGroup ;
23
+ import org .elasticsearch .common .settings .ImmutableSettings ;
24
+ import org .elasticsearch .common .settings .Settings ;
25
+ import org .elasticsearch .plugins .PluginsService ;
23
26
import org .elasticsearch .test .ElasticsearchIntegrationTest ;
24
27
25
28
import java .lang .annotation .Documented ;
@@ -62,4 +65,11 @@ public abstract class AbstractAwsTest extends ElasticsearchIntegrationTest {
62
65
*/
63
66
public static final String SYSPROP_AWS = "tests.aws" ;
64
67
68
+ @ Override
69
+ protected Settings nodeSettings (int nodeOrdinal ) {
70
+ return ImmutableSettings .builder ()
71
+ .put (super .nodeSettings (nodeOrdinal ))
72
+ .put ("plugins." + PluginsService .LOAD_PLUGIN_FROM_CLASSPATH , true )
73
+ .build ();
74
+ }
65
75
}
You can’t perform that action at this time.
0 commit comments