Commit Graph

1338 Commits

Author SHA1 Message Date
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
Rushi Agrawal bf3a04b263 Add back examples in README.md
Signed-off-by: Rushi Agrawal <rushi.agr@gmail.com>
2021-08-19 13:08:26 +05:30
Rushi Agrawal 3eac282c57 Rename 7.10.2 -> 1.0.0 everywhere
Renaming caused breakages in API versioning code, so removed that part
because we will anyways be removing the whole Elastic API versioning
logic in near future.

Also removed unused variable in .github/workflows/integration.yml

Signed-off-by: Rushi Agrawal <rushi.agr@gmail.com>
2021-08-19 09:48:02 +05:30
Rushi Agrawal ed73459f05 Remove metadata header check.
This commit is essentially a revert of following three commits:

fe5367382b
58b376159c
b894e359df

Signed-off-by: Rushi Agrawal <rushi.agr@gmail.com>
2021-08-19 08:42:20 +05:30
Rushi Agrawal 004e346bb0 Change all instances of es->opensearch and ES->OPENSEARCH
Signed-off-by: Rushi Agrawal <rushi.agr@gmail.com>
2021-08-19 07:58:20 +05:30
Rushi Agrawal c6cae11f97 Use opensearch1 instead of opensearch7 as example in tests
Signed-off-by: Rushi Agrawal <rushi.agr@gmail.com>
2021-08-19 07:58:20 +05:30
Rushi Agrawal 9e9269c8f3 Rename Elasticsearch -> OpenSearch
Signed-off-by: Rushi Agrawal <rushi.agr@gmail.com>
2021-08-19 07:58:20 +05:30
Aleksei Atavin 43f5ac58b5 Add axeoman to maintainers list
Signed-off-by: Aleksei Atavin <axeo@aiven.io>
2021-08-18 19:12:47 +05:30
Denis Zalevskiy 005592b00c Update maintainers list (#35)
Signed-off-by: Denis Zalevskiy <dez@aiven.io>
2021-08-18 12:32:20 +03:00
Rushi Agrawal 90cf2a78e7 [CI] Remove unused variables and logic
elasticsearch_container, elasticsearch_image vars were not being used,
so removed them. Also, cleaned up other variables which depended on them
(mostly hardcoded them instead of deriving from these removed variables)

Signed-off-by: Rushi Agrawal <rushi.agr@gmail.com>
2021-08-18 01:32:55 +05:30
Rushi Agrawal 6760edc6da Remove STACK_VERSION variable
Signed-off-by: Rushi Agrawal <rushi.agr@gmail.com>
2021-08-18 01:32:55 +05:30
Rushi Agrawal 3dc1881a9d Support both OpenDistro and OpenSearch in CI
Note that it supports only without security plugin for now

Signed-off-by: Rushi Agrawal <rushi.agr@gmail.com>
2021-08-18 01:32:55 +05:30
Rushi Agrawal 75eb02aca8 Fix PyYAML dependabot alert (#30)
Use appropriate version of PyYAML which has security fix

Signed-off-by: Rushi Agrawal <rushi.agr@gmail.com>
2021-08-17 15:46:49 +03:00
Rushi Agrawal 9c87c74114 Remove generic issue template (#32)
..now that we have templates specific to bug, documentation, etc.

Signed-off-by: Rushi Agrawal <rushi.agr@gmail.com>
2021-08-17 15:40:55 +03:00
Shephali Mittal 064213a9ed Removed Elastic Doc Reference
Signed-off-by: Shephali Mittal <shephalm@amazon.com>
2021-08-13 11:45:36 +05:30
Rushi Agrawal 07c21725e8 remove platinum and change free -> oss
Signed-off-by: Rushi Agrawal <rushi.agr@gmail.com>
2021-08-13 11:29:59 +05:30
Rushi Agrawal 87cf44ccd6 Rename dockerfiles for clarity
also rename image name to just 'odfe'

Signed-off-by: Rushi Agrawal <rushi.agr@gmail.com>
2021-08-13 11:19:49 +05:30
Rushi Agrawal 98cfd25604 change docker image to point to opendistro 1.13.2 image
Signed-off-by: Rushi Agrawal <rushi.agr@gmail.com>
2021-08-13 11:19:49 +05:30
Rushi Agrawal a41fd13d2d remove all code related to xpack features
Signed-off-by: Rushi Agrawal <rushi.agr@gmail.com>
2021-08-12 11:06:07 +05:30
Rushi Agrawal 633196a305 remove migration and deprecation client -- xpack features
Signed-off-by: Rushi Agrawal <rushi.agr@gmail.com>
2021-08-12 11:06:07 +05:30
Shephali Mittal 924d71729a Add SPDX and OpenSearch Modification license header
Signed-off-by: Shephali Mittal <shephalm@amazon.com>
2021-08-10 19:36:47 +05:30
Rushi Agrawal 249c6217ac Add Rushi and Shephali to ADMINS.md
Signed-off-by: Rushi Agrawal <rushi.agr@gmail.com>
2021-08-10 18:37:42 +05:30
Rushi Agrawal 5104ad9aee Remove xpack api code
Signed-off-by: Rushi Agrawal <agrrushi@amazon.com>
2021-08-06 12:25:34 +05:30
Rushi Agrawal 200d3c584f Set up CI for elasticsearch-oss
Signed-off-by: Rushi Agrawal <agrrushi@amazon.com>
2021-08-06 12:25:34 +05:30
Shephali Mittal 934ea8cc5e Revert product checker commits:
023cf5380f: "[7.x] Document 'UnsupportedProductError'"
	d381491482: "[7.x] Rename product error to 'UnsupportedProductError'"
	b56fbcb155: "Document the Elasticsearch product check"
	b63d005138: "Don't swallow unexpected errors during Elasticsearch verification"
	801a839093: "Verify we're connected to Elasticsearch before requests"

Signed-off-by: Shephali Mittal <shephalm@amazon.com>
2021-08-06 12:17:51 +05:30
Shephali Mittal 18b39afcbf Fix Broken README
Signed-off-by: Shephali Mittal <shephalm@amazon.com>
2021-08-06 11:49:30 +05:30
Shephali Mittal 7fa3e4d9e2 Copied OpenSearch repository template files.
Signed-off-by: Shephali Mittal <shephalm@amazon.com>
2021-08-04 19:05:18 +05:30
github-actions[bot] e034024586 [7.x] Add release notes for 7.13.4
Co-authored-by: Seth Michael Larson <seth.larson@elastic.co>
2021-07-20 13:06:49 -05:00