Skip to content

Commit 6fd4945

Browse files
imotovdadoonet
authored andcommitted
Update to elasticsearch 1.3.0
Closes #89. (cherry picked from commit d65a970)
1 parent d322b10 commit 6fd4945

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@ AWS Cloud Plugin for Elasticsearch
44
The Amazon Web Service (AWS) Cloud plugin allows to use [AWS API](https://github.com/aws/aws-sdk-java)
55
for the unicast discovery mechanism and add S3 repositories.
66

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`.
88

99
* 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).
1011
* For 1.2.x elasticsearch versions, look at [es-1.2 branch](https://github.com/elasticsearch/elasticsearch-cloud-aws/tree/es-1.2).
1112
* For 1.1.x elasticsearch versions, look at [es-1.1 branch](https://github.com/elasticsearch/elasticsearch-cloud-aws/tree/es-1.1).
1213
* 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
8485
$ curl -XPUT 'http://localhost:9200/_snapshot/my_s3_repository' -d '{
8586
"type": "s3",
8687
"settings": {
87-
"bucket": "my-bucket-name",
88+
"bucket": "my_bucket_name",
8889
"region": "us-west"
8990
}
9091
}'
@@ -206,7 +207,7 @@ cloud:
206207
207208
repositories:
208209
s3:
209-
bucket: "bucket-name"
210+
bucket: "bucket_name"
210211
region: "us-west-2"
211212
private-bucket:
212213
bucket: <bucket not accessible by default key>

src/test/java/org/elasticsearch/cloud/aws/AbstractAwsTest.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@
2020
package org.elasticsearch.cloud.aws;
2121

2222
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;
2326
import org.elasticsearch.test.ElasticsearchIntegrationTest;
2427

2528
import java.lang.annotation.Documented;
@@ -62,4 +65,11 @@ public abstract class AbstractAwsTest extends ElasticsearchIntegrationTest {
6265
*/
6366
public static final String SYSPROP_AWS = "tests.aws";
6467

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+
}
6575
}

0 commit comments

Comments
 (0)