* 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]>
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]>
* 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]>
* 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]>
* 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]>
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]>
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]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>