Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for cloud id #577

Merged
merged 3 commits into from Jul 30, 2018
Merged

Add support for cloud id #577

merged 3 commits into from Jul 30, 2018

Conversation

dadoonet
Copy link
Owner

As documented per https://www.elastic.co/guide/en/cloud/current/ec-cloud-id.html,
we can now support using a Cloud ID:

{
 "name" : "test",
 "elasticsearch" : {
   "username" : "elastic",
   "password" : "changeme",
   "nodes" : [
     { "cloud_id" : "fscrawler:ZXVyb3BlLXdlc3QxLmdjcC5jbG91ZC5lcy5pbyQxZDFlYTk5Njg4Nzc0NWE2YTJiN2NiNzkzMTUzNDhhMyQyOTk1MDI3MzZmZGQ0OTI5OTE5M2UzNjdlOTk3ZmU3Nw==" }
   ]
 }
}

Note that you can also use tests.cluster.cloud_id to run integration tests against an Elasticsearch service provided by Elastic:

mvn verify \
    -Dtests.cluster.user=elastic \
    -Dtests.cluster.pass=changeme \
    -Dtests.cluster.cloud_id=fscrawler:ZXVyb3BlLXdlc3QxLmdjcC5jbG91ZC5lcy5pbyQxZDFlYTk5Njg4Nzc0NWE2YTJiN2NiNzkzMTUzNDhhMyQyOTk1MDI3MzZmZGQ0OTI5OTE5M2UzNjdlOTk3ZmU3Nw==

Closes #467.

As documented per https://www.elastic.co/guide/en/cloud/current/ec-cloud-id.html,
we can now support using a `Cloud ID`:

```json
{
 "name" : "test",
 "elasticsearch" : {
   "username" : "elastic",
   "password" : "changeme",
   "nodes" : [
     { "cloud_id" : "fscrawler:ZXVyb3BlLXdlc3QxLmdjcC5jbG91ZC5lcy5pbyQxZDFlYTk5Njg4Nzc0NWE2YTJiN2NiNzkzMTUzNDhhMyQyOTk1MDI3MzZmZGQ0OTI5OTE5M2UzNjdlOTk3ZmU3Nw==" }
   ]
 }
}
```

Note that you can also use `tests.cluster.cloud_id` to run integration tests against an Elasticsearch service provided by Elastic:

```sh
mvn verify \
    -Dtests.cluster.user=elastic \
    -Dtests.cluster.pass=changeme \
    -Dtests.cluster.cloud_id=fscrawler:ZXVyb3BlLXdlc3QxLmdjcC5jbG91ZC5lcy5pbyQxZDFlYTk5Njg4Nzc0NWE2YTJiN2NiNzkzMTUzNDhhMyQyOTk1MDI3MzZmZGQ0OTI5OTE5M2UzNjdlOTk3ZmU3Nw==
```

Closes #467.
@dadoonet dadoonet added the new For new features or options label Jul 29, 2018
@dadoonet dadoonet added this to the 2.5 milestone Jul 29, 2018
@dadoonet dadoonet self-assigned this Jul 29, 2018
@dadoonet dadoonet merged commit bff300a into master Jul 30, 2018
@dadoonet dadoonet deleted the pr/cloud_id branch July 30, 2018 08:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new For new features or options
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant