Daniel (dB.) Doubrovkine and GitHub
56c96d7c4f
Expanded type coverage to benchmarks, samples and tests. ( #566 )
...
* Renamed json samples to fix duplicate module name.
Signed-off-by: dblock <[email protected] >
* Enabled mypy on all source files.
Signed-off-by: dblock <[email protected] >
* Added missing types.
Signed-off-by: dblock <[email protected] >
* Added CHANGELOG.
Signed-off-by: dblock <[email protected] >
* Move type: ignore to fix untyped decorator makes function untyped.
Signed-off-by: dblock <[email protected] >
* Fix nox -rs lint-3.7.
Signed-off-by: dblock <[email protected] >
* Fixed incorrect import.
Signed-off-by: dblock <[email protected] >
* Fix broken test.
Signed-off-by: dblock <[email protected] >
* Fixed TestBulk::test_bulk_works_with_bytestring_body.
Signed-off-by: dblock <[email protected] >
---------
Signed-off-by: dblock <[email protected] >
2023-11-09 10:51:20 -05:00
Daniel (dB.) Doubrovkine and GitHub
dcb79cc322
Merge .pyi type stubs inline ( #563 )
...
* Merged types into .py code.
Signed-off-by: dblock <[email protected] >
* Fix: nox -rs generate.
Signed-off-by: dblock <[email protected] >
* Updated CHANGELOG.
Signed-off-by: dblock <[email protected] >
* Use lowest common python version for lint.
Signed-off-by: dblock <[email protected] >
* Fix: don't typeshed.
Signed-off-by: dblock <[email protected] >
* Removed unneeded comment.
Signed-off-by: dblock <[email protected] >
* Simplify OPENSEARCH_URL.
Signed-off-by: dblock <[email protected] >
* Fix: positional ignore_status used as chunk_size.
Signed-off-by: dblock <[email protected] >
* Fix: parse version string.
Signed-off-by: dblock <[email protected] >
* Remove future annotations for Python 3.6.
Signed-off-by: dblock <[email protected] >
* Fix: types in documentation.
Signed-off-by: dblock <[email protected] >
* Improve CHANGELOG text.
Signed-off-by: dblock <[email protected] >
* Re-added missing separator.
Signed-off-by: dblock <[email protected] >
* Remove duplicate licenses.
Signed-off-by: dblock <[email protected] >
* Get rid of Optional[Any].
Signed-off-by: dblock <[email protected] >
* Fix docs with AsyncOpenSearch.
Signed-off-by: dblock <[email protected] >
* Fix: undo comment.
Signed-off-by: dblock <[email protected] >
---------
Signed-off-by: dblock <[email protected] >
2023-11-06 10:08:19 -08:00
Daniel (dB.) Doubrovkine and GitHub
bcfef113c4
Added samples, benchmarks and docs for nox format. ( #556 )
...
* Added samples for nox format.
Signed-off-by: dblock <[email protected] >
* Added space after #!/usr/bin/env python.
Signed-off-by: dblock <[email protected] >
* Added benchmarks and docs.
Signed-off-by: dblock <[email protected] >
---------
Signed-off-by: dblock <[email protected] >
2023-10-26 19:55:50 -07:00
Daniel (dB.) Doubrovkine and GitHub
0da60b2623
Added a utf-8 header to all .py files ( #557 )
...
Signed-off-by: dblock <[email protected] >
2023-10-26 13:34:34 -04:00
Daniel (dB.) Doubrovkine and GitHub
ebd50e0515
Override put_mapping definition to make index name optional. ( #553 )
...
Signed-off-by: dblock <[email protected] >
2023-10-26 11:31:13 -04:00
Sai Medhini Reddy Maryada and GitHub
1190079f51
Generate opensearch-py client from API specs ( #551 )
...
Signed-off-by: saimedhi <[email protected] >
2023-10-26 10:58:33 -04:00
Sai Medhini Reddy Maryada and GitHub
ce835fb59d
Generate cluster client from API specs ( #530 )
...
Signed-off-by: saimedhi <[email protected] >
2023-10-09 17:57:09 -04:00
Sai Medhini Reddy Maryada and GitHub
e4c59e4732
Modified generator to generate api deprecation warnings ( #527 )
...
Signed-off-by: saimedhi <[email protected] >
2023-10-09 16:47:26 -04:00
Sai Medhini Reddy Maryada and GitHub
70db37a3c0
Modified generator to generate 'options' and 'default value' for parameters in description ( #519 )
...
Signed-off-by: saimedhi <[email protected] >
2023-10-03 10:43:05 -04:00
Sai Medhini Reddy Maryada and GitHub
7d3c528dff
Integrated generated ingest client APIs into the existing module, ensuring alignment with the server and maintaining backward compatibility ( #513 )
...
Signed-off-by: saimedhi <[email protected] >
2023-09-28 20:18:53 -07:00
Sai Medhini Reddy Maryada and GitHub
c6c7df5461
Updated APIs to match other clients and opensearch openapi spec ( #502 )
...
Signed-off-by: saimedhi <[email protected] >
2023-09-26 12:46:18 -04:00
Sai Medhini Reddy Maryada and GitHub
8485606913
Added generating imports and headers to API generator ( #467 )
...
Signed-off-by: saimedhi <[email protected] >
2023-08-02 15:00:20 -07:00
Sai Medhini Reddy Maryada and GitHub
bc6a50b0b9
Enhanced existing API generator to use OpenSearch OpenAPI spec ( #412 )
...
Signed-off-by: saimedhi <[email protected] >
2023-06-27 11:56:55 -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
Philip May and Vijayan Balasubramanian
4056fa0176
fix black formatting for new version
...
Signed-off-by: Philip May <[email protected] >
2022-02-05 00:13:37 -08: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 <[email protected] >
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 <[email protected] >
2021-09-09 19:05:18 +05:30
Rushi Agrawal
9e9269c8f3
Rename Elasticsearch -> OpenSearch
...
Signed-off-by: Rushi Agrawal <[email protected] >
2021-08-19 07:58:20 +05:30
Shephali Mittal
924d71729a
Add SPDX and OpenSearch Modification license header
...
Signed-off-by: Shephali Mittal <[email protected] >
2021-08-10 19:36:47 +05:30
Pierre Grimaud and Seth Michael Larson
305f894c1f
[7.x] Fix typos in documentation
...
Co-authored-by: Seth Michael Larson <[email protected] >
2021-05-25 07:48:43 -05:00
Seth Michael Larson and GitHub
794a97578f
[7.x] Start using the Elastic Artifacts API for YAML REST tests
2021-04-22 12:08:05 -05:00
Seth Michael Larson
e4cdd4544d
[7.x] Add per-request authentication for http_auth and api_key
2021-04-19 17:26:44 -05:00
Seth Michael Larson
f8ffb2cd0a
[7.x] Generate APIs using Elastic build artifacts API
2021-04-19 14:39:21 -05:00
Seth Michael Larson and GitHub
a728aaa491
[7.x] Sort imports with isort and regenerate APIs
2021-01-13 14:21:04 -06:00
Seth Michael Larson
708e282eaf
[7.x] Actually dockerize repo, update build-dists for release manager
2020-11-04 13:58:42 -06:00