Commit Graph
111 Commits
Author SHA1 Message Date
Vacha ShahandGitHub b1eaba0064 Type removal breaking changes (#151)
* Breaking changes for type removal

Signed-off-by: Vacha Shah <vachshah@amazon.com>

* Adding support to test against unreleased OpenSearch

Signed-off-by: Vacha Shah <vachshah@amazon.com>

* Formatting

Signed-off-by: Vacha Shah <vachshah@amazon.com>

* Addressing comments to refactor run-opensearch.sh

Signed-off-by: Vacha Shah <vachshah@amazon.com>
2022-04-13 10:47:48 -07:00
Shivam DharandShivam Dhar cd63637c28 updates version for 1.1 release
Signed-off-by: Shivam Dhar <dhshivam@amazon.com>
2022-03-21 13:18:17 -07:00
Shivam DharandShivam Dhar 6ab90be906 adds IAM auth support
Signed-off-by: Shivam Dhar <dhshivam@amazon.com>
2022-03-09 13:12:45 -08:00
Philip MayandVijayan Balasubramanian 96bbbfa336 remove unused "type: ignore" comment
Signed-off-by: Philip May <philip@may.la>
2022-02-01 13:05:37 -08:00
Shivam DharandShivam Dhar 25ff092c8f removes cert usage from CI module
Signed-off-by: Shivam Dhar <dhshivam@amazon.com>
2022-01-08 15:15:15 +05:30
Shivam DharandShivam Dhar c3a4f32b6c delays importing numpy and pandas to reduce the startup time
Signed-off-by: Shivam Dhar <dhshivam@amazon.com>
2022-01-06 14:10:38 +05:30
Shivam DharandShivam Dhar cfe1190a22 removes elastic support from opensearch-py library
Signed-off-by: Shivam Dhar <dhshivam@amazon.com>
2022-01-05 22:22:43 +05:30
Vijayan BalasubramanianandGitHub d1179968a8 Update method documentation (#102)
remove reference to 8.0.

Signed-off-by: Vijayan Balasubramanian <balasvij@amazon.com>
2022-01-03 09:48:11 +02:00
Vijayan BalasubramanianandVijayan Balasubramanian c0b17289b0 Remove xpack api
Remove _cat/ml* api.

Signed-off-by: Vijayan Balasubramanian <balasvij@amazon.com>
2022-01-02 22:58:10 -08:00
Trevor McCullochandGitHub 1cd15b0845 Parse raw_data on error only if the Content-Type is application/json. (#91)
Some OpenSearch REST APIs will return a Content-Type of text/plain for certain
status codes which will trigger logging when the response is not parsable as
JSON. Checking the content-type first avoids this error.

This frequently happens with 401s, which occurs when we rotate user keys.
The input that triggers this behaviour can be triggered with `curl`:

```
$  curl -k -u"admin:wrong" -w"\n%{http_code}\n%{content_type}\n" https://localhost:9200/_cluster/health
Unauthorized
401
text/plain; charset=UTF-8
```

Signed-off-by: Trevor McCulloch <trevor.mcculloch@benchling.com>
2021-12-22 21:52:49 +02:00
Rushi Agrawal ef0c23c0e4 Rename module to opensearchpy
To avoid conflict with an existing package by name 'opensearch' being
present

Signed-off-by: Rushi Agrawal <rushi.agr@gmail.com>
2021-09-16 21:23:38 +05:30