Vacha Shah
54c9dc3315
Adding auto backport functionality ( #149 )
...
Signed-off-by: Vacha Shah <vachshah@amazon.com >
2022-04-05 16:50:57 -07:00
Vacha Shah
7ed477cca6
Adding CODEOWNERS file ( #147 )
...
Signed-off-by: Vacha Shah <vachshah@amazon.com >
2022-04-05 16:35:37 -07:00
Vacha Shah
172a3179ab
Add support to test against various versions of OpenSearch ( #146 )
...
* Adding support to run integration tests across various versions of OpenSearch
Signed-off-by: Vacha Shah <vachshah@amazon.com >
* Adding a compatibility matrix and getting started guide with formatting
Signed-off-by: Vacha Shah <vachshah@amazon.com >
* Splitting jobs for opendistro and opensearch
Signed-off-by: Vacha Shah <vachshah@amazon.com >
2022-04-05 14:06:54 -07:00
Sam Foster
fe1730a88b
Move requests to install_requires ( #142 )
...
Signed-off-by: Sam Foster <sfoster.ka@gmail.com >
2022-03-29 11:39:47 -04:00
Shivam 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 Dhar
03b2beff2d
updates README to add usage for AWSV4SignerAuth
...
Signed-off-by: Shivam Dhar <dhshivam@amazon.com >
2022-03-16 14:37:29 -07:00
Shivam Dhar
6ab90be906
adds IAM auth support
...
Signed-off-by: Shivam Dhar <dhshivam@amazon.com >
2022-03-09 13:12:45 -08:00
Aleksei Atavin
65c12d7224
Rename needs-triage label to untriaged according org conventions ( #129 )
...
Signed-off-by: Aleksei Atavin <axeo@aiven.io >
2022-02-14 14:10:47 -05:00
whitesource-for-github-com[bot]
7ad68d5c4c
Add .whitesource configuration file
2022-02-08 17:49:15 -08:00
Philip May
eca0b1736f
fix GH actin to build Sphinx
...
Signed-off-by: Philip May <philip@may.la >
2022-02-08 17:48:56 -08:00
Vijayan Balasubramanian
f4fae0e303
Remove single quote
...
This fixes bug template to show up on templates.
Signed-off-by: Vijayan Balasubramanian <balasvij@amazon.com >
2022-02-08 14:17:05 -08:00
Philip May
c34680a516
fix MD warnings in README.md
...
Signed-off-by: Philip May <philip@may.la >
2022-02-08 11:39:58 -08:00
Philip May
972fb64fe3
improve install doc with zsh
...
Signed-off-by: Philip May <philip@may.la >
2022-02-08 11:39:58 -08:00
PhilipMay
19be5802ea
add sphinx
...
Signed-off-by: Philip May <philip@may.la >
2022-02-08 11:39:58 -08:00
Philip May
4056fa0176
fix black formatting for new version
...
Signed-off-by: Philip May <philip@may.la >
2022-02-05 00:13:37 -08:00
Philip May
8b5a1caf61
change black target-version to py33
...
Signed-off-by: Philip May <philip@may.la >
2022-02-05 00:13:37 -08:00
Philip May
96bbbfa336
remove unused "type: ignore" comment
...
Signed-off-by: Philip May <philip@may.la >
2022-02-01 13:05:37 -08:00
Shivam 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 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 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 Balasubramanian
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 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
Aleksei Atavin
85b49ac228
Add default needs-triage label to issue templates ( #100 )
2021-12-28 10:23:32 +02:00
Trevor McCulloch
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
Venu Vardhan Reddy Tekula
829efcf36a
Add condition for shallow clone ( #70 )
...
The integration tests performs a deep checkout of
the opensearch repository. Instead, we can perform
a shallow clone the main branch to improve the speed
and performance of the tests.
Signed-off-by: Venu Vardhan Reddy Tekula <venu@chaoss.community >
2021-12-16 21:58:39 +02:00
Vijayan Balasubramanian
ffce9f27a6
Use version instead of latest tag ( #99 )
...
Signed-off-by: Vijayan Balasubramanian <balasvij@amazon.com >
2021-12-15 11:28:29 +02:00
Denis Zalevskiy
67eb5ebe95
Update package documentation URL ( #83 )
...
So it points to the right location.
Fixes #81
Signed-off-by: Denis Zalevskiy <dez@aiven.io >
2021-12-13 16:53:37 +02:00
CEHENKLE
6998b28348
Add DCO check ( #89 )
...
* Add DCO check
Signed-off-by: CEHENKLE <henkle@amazon.com >
* Actually adding file this time ;)
Signed-off-by: CEHENKLE <henkle@amazon.com >
2021-11-11 21:27:00 -08:00
Rushi Agrawal
4281fe0e2c
Update README: use pypi instead of git repo for installation
...
Signed-off-by: Rushi Agrawal <rushi.agr@gmail.com >
2021-09-30 09:41:13 -07:00
Rushi Agrawal
eaa0cd8765
Update setup.py to correctly pick up Python files
...
And also re-update package name in utils/build-dists.py so that it is
uninstalled successfully
Signed-off-by: Rushi Agrawal <rushi.agr@gmail.com >
2021-09-19 18:18:09 -07:00
Vijayan Balasubramanian
2dc1992032
Add python build for distribution to CI
...
Add CI to test python build. This is required before
publishing to pypi.
Signed-off-by: Vijayan Balasubramanian <balasvij@amazon.com >
2021-09-19 18:18:09 -07:00
Rushi Agrawal
ef88f43a72
Update package name to opensearch-py ( #72 )
...
Since opensearch is already taken, update distribution name to opensearch-py.
Update build utils accordingly to fix package name change.
Signed-off-by: Rushi Agrawal <rushi.agr@gmail.com >
2021-09-16 13:51:57 -07: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
Rushi Agrawal
f4891be3c3
Fix potential security issues with jinja2 and pyyaml dep
...
Added escaping to jinja templates. With PyYAML dependency, accidentally
added '<3.4.1' whereas the intent was to make it '==3.4.1', while fixing
as per dependabot alert. Fixed it now.
Signed-off-by: Rushi Agrawal <rushi.agr@gmail.com >
2021-09-09 19:05:18 +05:30
Venu Vardhan Reddy Tekula
d0edcc5c87
Add twine-check to the CI workflow
...
Sometimes changes can impact the ability to produce
a distributable artifact. This commit adds a condition in
the CI workflow to check if the distributions using twine.
Signed-off-by: Venu Vardhan Reddy Tekula <venu@chaoss.community >
2021-09-08 16:03:37 +05:30
Rushi Agrawal
f9b52facd8
Add *.whl to gitignore
...
Signed-off-by: Rushi Agrawal <rushi.agr@gmail.com >
2021-09-07 19:09:00 +03:00
Peter Nied
474ddb2ffb
Ready readme for distribution
...
Signed-off-by: Peter Nied <petern@amazon.com >
2021-08-31 22:54:20 +05:30
Rushi Agrawal
28547f5a9a
Add developer guide ( #57 )
...
Signed-off-by: Rushi Agrawal <rushi.agr@gmail.com >
2021-08-31 17:12:26 +03:00
Rushi Agrawal
1212df567b
Update README.md examples to be consistent with doc examples
...
Signed-off-by: Rushi Agrawal <rushi.agr@gmail.com >
2021-08-28 14:51:45 +05:30
Rushi Agrawal
ea397e0f92
Add support for Elasticsearch api versioning header
...
Originally added in Elasticsearch in commit
2c5f1d1569 , removed in OpenSearch in
3eac282c57
Note that this just adds support of 'elasticsearch' header, there's no
'opensearch' header support as such.
Signed-off-by: Rushi Agrawal <rushi.agr@gmail.com >
2021-08-28 00:23:46 +05:30
Rushi Agrawal
1c539d1255
Add all maintainers as authors and maintainers in setup.py
...
Signed-off-by: Rushi Agrawal <rushi.agr@gmail.com >
2021-08-26 11:49:50 +05:30
Rushi Agrawal
aea4a99d32
Fix typo in Rushi's surname
...
Signed-off-by: Rushi Agrawal <rushi.agr@gmail.com >
2021-08-26 11:49:50 +05:30
Rushi Agrawal
5149372e45
Support integ test with security plugin enabled
...
Removed a docker-compose.yml file which wasn't being used.
Signed-off-by: Rushi Agrawal <rushi.agr@gmail.com >
2021-08-26 11:49:31 +05:30
Rushi Agrawal
6fcc78a58c
Replace elastic maintainers with Rushi ( #49 )
...
Rushi is added as temporary maintainer for now. Should ideally be
replaced with an email list
Also removed doc requirements, doc job, and updated description to mention
'low-level' client explicitly
Signed-off-by: Rushi Agrawal <rushi.agr@gmail.com >
2021-08-20 21:58:19 +03:00
Rushi Agrawal
dd89555118
Run integration tests and release jobs on each pull request/branch push ( #48 )
...
Signed-off-by: Rushi Agrawal <rushi.agr@gmail.com >
2021-08-20 21:49:19 +03:00
Rushi Agrawal
7627c706ff
Add badges ( #45 )
...
Signed-off-by: Rushi Agrawal <rushi.agr@gmail.com >
2021-08-20 21:47:30 +03:00
Rushi Agrawal
59867d5e6e
Add a line in README about upcoming Python high-level client
...
Signed-off-by: Rushi Agrawal <rushi.agr@gmail.com >
2021-08-20 18:47:52 +03:00
Rushi Agrawal
340069f6fa
Remove left-over instances of 'es' or 'elasticsearch' word
...
Signed-off-by: Rushi Agrawal <rushi.agr@gmail.com >
2021-08-20 13:50:01 +05:30
Aleksei Atavin
497468f254
Rename setup description Elasticsearch -> OpenSearch ( #42 )
...
Signed-off-by: Aleksei Atavin <axeo@aiven.io >
2021-08-19 10:41:16 +03:00
Aleksei Atavin
753c135fda
Remove ugly dot from project resourses list ( #41 )
...
Signed-off-by: Aleksei Atavin <axeo@aiven.io >
2021-08-19 10:41:05 +03:00