Commit Graph
1388 Commits
Author SHA1 Message Date
Arpit-BandejiyaandGitHub 8ece008605 Fix point in time rest api (#191)
* Add change for point in time

Signed-off-by: Arpit Bandejiya <[email protected]>

* resolve minor comments

Signed-off-by: Arpit Bandejiya <[email protected]>

* Add Unit tests

Signed-off-by: Arpit Bandejiya <[email protected]>

* minor changes

Signed-off-by: Arpit Bandejiya <[email protected]>

* minor edits in API calls

Signed-off-by: Arpit Bandejiya <[email protected]>

* Fixing lint errors

Signed-off-by: Arpit Bandejiya <[email protected]>

* Add documentation for the new API

Signed-off-by: Arpit Bandejiya <[email protected]>

* minor nit fix

Signed-off-by: Arpit Bandejiya <[email protected]>

* minor nit fix

Signed-off-by: Arpit Bandejiya <[email protected]>

* Added license in test file

Signed-off-by: Arpit Bandejiya <[email protected]>

* Add ChangeLog

Signed-off-by: Arpit Bandejiya <[email protected]>

Signed-off-by: Arpit Bandejiya <[email protected]>
2022-11-01 23:19:31 -07:00
Harsha Vamsi KalluriandGitHub 8879644ec4 Added timeout to available input query parameters (#210)
* Added timeout to available input query parameters

Signed-off-by: Harsha Vamsi Kalluri <[email protected]>

* Add unit test to ensure that timeout is an accepted parameter

Signed-off-by: Harsha Vamsi Kalluri <[email protected]>

Signed-off-by: Harsha Vamsi Kalluri <[email protected]>
2022-10-25 10:41:29 -07:00
Harsha Vamsi KalluriandGitHub ecd15d44c7 Added CHANGELOG and verifier workflow (#218)
* Added CHANGELOG and verifier workflow

Signed-off-by: Harsha Vamsi Kalluri <[email protected]>

* Update contributing to include changelog

Signed-off-by: Harsha Vamsi Kalluri <[email protected]>

* Fix links

Signed-off-by: Harsha Vamsi Kalluri <[email protected]>

* Add changelog and changelog verifier

Signed-off-by: Harsha Vamsi Kalluri <[email protected]>

* Adding dependabot actions for changelog PR

Signed-off-by: Harsha Vamsi Kalluri <[email protected]>

Signed-off-by: Harsha Vamsi Kalluri <[email protected]>
2022-10-20 11:48:53 -07:00
Harsha Vamsi KalluriandGitHub 006dfc6cd7 Updating current maintainers: adding @VachaShah, @dblock, @harshavamsi (#219)
* Updating maintainers: adding @VachaShah @dblock @harshavamsi

Signed-off-by: Harsha Vamsi Kalluri <[email protected]>

* Fix formatting

Signed-off-by: Harsha Vamsi Kalluri <[email protected]>

* Fix admin names and text

Signed-off-by: Harsha Vamsi Kalluri <[email protected]>

* Add rushi to emeritus

Signed-off-by: Harsha Vamsi Kalluri <[email protected]>

* Removing rushi from codeowners

Signed-off-by: Harsha Vamsi Kalluri <[email protected]>

Signed-off-by: Harsha Vamsi Kalluri <[email protected]>
2022-10-19 08:47:09 -04:00
Harsha Vamsi KalluriandGitHub 11e5d146a4 Adds alerting plugin related docs (#213)
* Adds alerting plugin related docs

Signed-off-by: Harsha Vamsi Kalluri <[email protected]>

* Adds alerting examples to docs

Signed-off-by: Harsha Vamsi Kalluri <[email protected]>

Signed-off-by: Harsha Vamsi Kalluri <[email protected]>
2022-10-18 11:42:49 -07:00
Vacha ShahandGitHub 20cc9b4b98 Removing OpenDistro integration tests (#183)
Signed-off-by: Vacha Shah <[email protected]>

Signed-off-by: Vacha Shah <[email protected]>
2022-10-18 11:30:21 -07:00
Vacha ShahandGitHub e3729f4d31 Adding Dependabot configuration (#192)
Signed-off-by: Vacha Shah <[email protected]>

Signed-off-by: Vacha Shah <[email protected]>
2022-10-18 11:30:12 -07:00
2d03dc773b Alerting Plugins (#93)
* Alert Plugin

Signed-off-by: Arnav Das <[email protected]>

* lint file header license

Signed-off-by: Arnav Das <[email protected]>

* Tests For Alerting[Monitors]

Signed-off-by: Arnav Das <[email protected]>

* Tests For Alerting[Destinations]

Signed-off-by: Arnav Das <[email protected]>

* dynamic lookup 90#issuecomment-1003396742

Signed-off-by: Arnav Das <[email protected]>

* Alerting Async

Signed-off-by: Arnav Das <[email protected]>

* Lint Changes

Signed-off-by: Arnav Das <[email protected]>

* alerting plugins integration tests

Signed-off-by: Arnav Das <[email protected]>

* Integ UnitTests Skip on OPENSEARCH_VERSION >= 2.0.0

Signed-off-by: Arnav Das <[email protected]>

* Unit Test Skip Complete

Signed-off-by: Arnav Das <[email protected]>

* License Headers fixed

Signed-off-by: Arnav Das <[email protected]>

* test_urllib3_connection timeout

Signed-off-by: Arnav Das <[email protected]>

* lint

Signed-off-by: Arnav Das <[email protected]>

* Fix licenses in all files

Signed-off-by: Harsha Vamsi Kalluri <[email protected]>

* Remove elastic search licenses on new files

Signed-off-by: Harsha Vamsi Kalluri <[email protected]>

* Fix formatting

Signed-off-by: Harsha Vamsi Kalluri <[email protected]>

Signed-off-by: Arnav Das <[email protected]>
Signed-off-by: Harsha Vamsi Kalluri <[email protected]>
Co-authored-by: Harsha Vamsi Kalluri <[email protected]>
2022-10-03 14:45:18 -04:00
9398975f98 Adds various client docs within Opensearch client (#204)
Signed-off-by: Jay Mehta <[email protected]>
Signed-off-by: Jay Mehta <[email protected]>

Signed-off-by: Jay Mehta <[email protected]>
Signed-off-by: Jay Mehta <[email protected]>
Co-authored-by: Jay Mehta <[email protected]>
2022-09-27 15:51:17 -04:00
Harsha Vamsi KalluriandGitHub 382f63e033 Adding bulk api docs to getting_started (#187)
* Adding bulk api docs to getting_started

Signed-off-by: Harsha Vamsi Kalluri <[email protected]>

* Removing unnecessary file from gitignore

Signed-off-by: Harsha Vamsi Kalluri <[email protected]>

* Removing local test files from gitignore

Signed-off-by: Harsha Vamsi Kalluri <[email protected]>

* Separating docs into each use case

Signed-off-by: Harsha Vamsi Kalluri <[email protected]>

Signed-off-by: Harsha Vamsi Kalluri <[email protected]>
2022-08-26 16:45:36 -07:00
Vacha ShahandGitHub 035b472650 Adding link checker workflow (#180)
* Adding link checker workflow

Signed-off-by: Vacha Shah <[email protected]>

* Using the latest version for lycheeverse

Signed-off-by: Vacha Shah <[email protected]>

* Fixing links

Signed-off-by: Vacha Shah <[email protected]>

* Fixing test failures due to asyncio

Signed-off-by: Vacha Shah <[email protected]>
2022-07-21 11:06:37 -07:00
Vacha ShahandGitHub 16929f1dc6 Using standardized templates from .github (#170)
Signed-off-by: Vacha Shah <[email protected]>
2022-07-19 11:01:34 -07:00
Venu Vardhan Reddy TekulaandGitHub 40e706fdcb Update the links to absolute URLS in README.md (#179)
This commit updates the links to absolute URLs in the
README.md file in order to avoid broken links in PyPI
page or anywhere.

Signed-off-by: Venu Vardhan Reddy Tekula <[email protected]>
2022-07-18 13:42:11 -07:00
Vacha ShahandGitHub 144fe88a1d Adding new OpenSearch versions and updating compatibility matrix (#175) 2022-06-28 13:01:20 -07:00
Philip MayandGitHub 3add044c21 Add link to api doc (#169)
Signed-off-by: Philip May <[email protected]>
2022-06-09 12:14:37 -07:00
Vacha ShahandGitHub 76f2b60d11 Adding OpenSearch 2.0 to the test matrix (#168)
Signed-off-by: Vacha Shah <[email protected]>
2022-05-26 16:07:27 -07:00
Vacha ShahandGitHub cae0577fd2 Bump client version to 2.0.0 (#167)
* Bump client version to 2.0.0

Signed-off-by: Vacha Shah <[email protected]>

* Adding test support for other unreleased branches

Signed-off-by: Vacha Shah <[email protected]>
2022-05-26 11:07:47 -04:00
Vacha ShahandGitHub 3944cc2928 Re-enable integration tests across multiple versions of OpenSearch (#163)
* Re-enable integration tests for 1.x versions of OpenSearch

Signed-off-by: Vacha Shah <[email protected]>

* Fixing integ tests after re-enabling 1.x versions

Signed-off-by: Vacha Shah <[email protected]>

* Separating out versions

Signed-off-by: Vacha Shah <[email protected]>
2022-05-03 09:27:25 -07:00
Vacha ShahandGitHub 262f05ad02 Adding documentation for backport (#159)
Signed-off-by: Vacha Shah <[email protected]>
2022-04-25 17:10:10 -07:00
Vacha ShahandGitHub 1569c05f08 Remove include_type_name parameter from APIs (#156)
* Remove include_type_name parameter from APIs

Signed-off-by: Vacha Shah <[email protected]>

* Applying formatting

Signed-off-by: Vacha Shah <[email protected]>
2022-04-20 13:58:13 -07:00
Vacha ShahandGitHub 6da20db2d1 Fixing integration workflow matrix (#155)
Signed-off-by: Vacha Shah <[email protected]>
2022-04-13 11:28:51 -07:00
Vacha ShahandGitHub b1eaba0064 Type removal breaking changes (#151)
* Breaking changes for type removal

Signed-off-by: Vacha Shah <[email protected]>

* Adding support to test against unreleased OpenSearch

Signed-off-by: Vacha Shah <[email protected]>

* Formatting

Signed-off-by: Vacha Shah <[email protected]>

* Addressing comments to refactor run-opensearch.sh

Signed-off-by: Vacha Shah <[email protected]>
2022-04-13 10:47:48 -07:00
Vacha ShahandGitHub 092a013280 Removing DCO workflow since DCO now runs via App (#153)
Signed-off-by: Vacha Shah <[email protected]>
2022-04-11 15:36:46 -07:00
Vacha ShahandGitHub 54c9dc3315 Adding auto backport functionality (#149)
Signed-off-by: Vacha Shah <[email protected]>
2022-04-05 16:50:57 -07:00
Vacha ShahandGitHub 7ed477cca6 Adding CODEOWNERS file (#147)
Signed-off-by: Vacha Shah <[email protected]>
2022-04-05 16:35:37 -07:00
Vacha ShahandGitHub 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 <[email protected]>

* Adding a compatibility matrix and getting started guide with formatting

Signed-off-by: Vacha Shah <[email protected]>

* Splitting jobs for opendistro and opensearch

Signed-off-by: Vacha Shah <[email protected]>
2022-04-05 14:06:54 -07:00
Sam FosterandGitHub fe1730a88b Move requests to install_requires (#142)
Signed-off-by: Sam Foster <[email protected]>
2022-03-29 11:39:47 -04:00
Shivam DharandShivam Dhar cd63637c28 updates version for 1.1 release
Signed-off-by: Shivam Dhar <[email protected]>
2022-03-21 13:18:17 -07:00
Shivam DharandShivam Dhar 03b2beff2d updates README to add usage for AWSV4SignerAuth
Signed-off-by: Shivam Dhar <[email protected]>
2022-03-16 14:37:29 -07:00
Shivam DharandShivam Dhar 6ab90be906 adds IAM auth support
Signed-off-by: Shivam Dhar <[email protected]>
2022-03-09 13:12:45 -08:00
Aleksei AtavinandGitHub 65c12d7224 Rename needs-triage label to untriaged according org conventions (#129)
Signed-off-by: Aleksei Atavin <[email protected]>
2022-02-14 14:10:47 -05:00
whitesource-for-github-com[bot]andVijayan Balasubramanian 7ad68d5c4c Add .whitesource configuration file 2022-02-08 17:49:15 -08:00
Philip MayandVijayan Balasubramanian eca0b1736f fix GH actin to build Sphinx
Signed-off-by: Philip May <[email protected]>
2022-02-08 17:48:56 -08:00
Vijayan BalasubramanianandVijayan Balasubramanian f4fae0e303 Remove single quote
This fixes bug template to show up on templates.

Signed-off-by: Vijayan Balasubramanian <[email protected]>
2022-02-08 14:17:05 -08:00
Philip MayandVijayan Balasubramanian c34680a516 fix MD warnings in README.md
Signed-off-by: Philip May <[email protected]>
2022-02-08 11:39:58 -08:00
Philip MayandVijayan Balasubramanian 972fb64fe3 improve install doc with zsh
Signed-off-by: Philip May <[email protected]>
2022-02-08 11:39:58 -08:00
PhilipMayandVijayan Balasubramanian 19be5802ea add sphinx
Signed-off-by: Philip May <[email protected]>
2022-02-08 11:39:58 -08:00
Philip MayandVijayan Balasubramanian 4056fa0176 fix black formatting for new version
Signed-off-by: Philip May <[email protected]>
2022-02-05 00:13:37 -08:00
Philip MayandVijayan Balasubramanian 8b5a1caf61 change black target-version to py33
Signed-off-by: Philip May <[email protected]>
2022-02-05 00:13:37 -08:00
Philip MayandVijayan Balasubramanian 96bbbfa336 remove unused "type: ignore" comment
Signed-off-by: Philip May <[email protected]>
2022-02-01 13:05:37 -08:00
Shivam DharandShivam Dhar 25ff092c8f removes cert usage from CI module
Signed-off-by: Shivam Dhar <[email protected]>
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 <[email protected]>
2022-01-06 14:10:38 +05:30
Shivam DharandShivam Dhar cfe1190a22 removes elastic support from opensearch-py library
Signed-off-by: Shivam Dhar <[email protected]>
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 <[email protected]>
2022-01-03 09:48:11 +02:00
Vijayan BalasubramanianandVijayan Balasubramanian c0b17289b0 Remove xpack api
Remove _cat/ml* api.

Signed-off-by: Vijayan Balasubramanian <[email protected]>
2022-01-02 22:58:10 -08:00
Aleksei AtavinandGitHub 85b49ac228 Add default needs-triage label to issue templates (#100) 2021-12-28 10:23:32 +02: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 <[email protected]>
2021-12-22 21:52:49 +02:00
Venu Vardhan Reddy TekulaandGitHub 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 <[email protected]>
2021-12-16 21:58:39 +02:00
Vijayan BalasubramanianandGitHub ffce9f27a6 Use version instead of latest tag (#99)
Signed-off-by: Vijayan Balasubramanian <[email protected]>
2021-12-15 11:28:29 +02:00
Denis ZalevskiyandGitHub 67eb5ebe95 Update package documentation URL (#83)
So it points to the right location.

Fixes #81

Signed-off-by: Denis Zalevskiy <[email protected]>
2021-12-13 16:53:37 +02:00