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

Epic: Auto Detect Opensearch Version #120

Closed
5 tasks done
sarahzinger opened this issue Mar 31, 2023 · 1 comment
Closed
5 tasks done

Epic: Auto Detect Opensearch Version #120

sarahzinger opened this issue Mar 31, 2023 · 1 comment
Assignees

Comments

@sarahzinger
Copy link
Member

sarahzinger commented Mar 31, 2023

Tasks:

Notes:

We should implement a feature for opensearch that automatically detects the region. Running a get request to the url (with no query parameters) will return a version object:
'''
{
"name" : "15ffcf528ee3",
"cluster_name" : "docker-cluster",
"cluster_uuid" : "1vbTN7ROS4Sw-8mHbTAIVQ",
"version" : {
"distribution" : "opensearch",
"number" : "2.6.0",
"build_type" : "tar",
"build_hash" : "7203a5af21a8a009aece1474446b437a3c674db6",
"build_date" : "2023-02-24T18:58:37.352296474Z",
"build_snapshot" : false,
"lucene_version" : "9.5.0",
"minimum_wire_compatibility_version" : "7.10.0",
"minimum_index_compatibility_version" : "7.0.0"
},
"tagline" : "The OpenSearch Project: https://opensearch.org/"
}
'''
We can use this to fetch and set the version automatically.

@fridgepoet
Copy link
Member

Closing this as done, please re-open if that's not the case!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

3 participants