Commit Graph
55 Commits
Author SHA1 Message Date
Sai Medhini Reddy Maryada 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 2feccc22bb Integrated generated APIs into the existing module, ensuring alignment with the server and maintaining backward compatibility (#508)
Signed-off-by: saimedhi <[email protected]>
2023-09-26 12:49:25 -04:00
Sai Medhini Reddy Maryada 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 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 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
aiudirog f1f73e7ff2 Fixed utils/build-dists.py which was broken by 49ae7c7 (#316)
* Fixed utils/build-dists.py which was broken by 49ae7c7
Previously the async helpers imported AsyncOpenSearch and therefore failed to import anytime it did

Signed-off-by: Roger Aiudi <[email protected]>

* Refactor async helpers try block to a simple if statement

Signed-off-by: Roger Aiudi <[email protected]>

* Remove newline to pass black

Signed-off-by: Roger Aiudi <[email protected]>

---------

Signed-off-by: Roger Aiudi <[email protected]>
2023-03-08 17:34:43 -08:00
Sai Medhini Reddy Maryada c58375aa7b Merging opensearch-dsl-py to opensearch-py (#287)
Signed-off-by: saimedhi <[email protected]>
2023-02-14 15:03:56 -08:00
Arnav DasandHarsha Vamsi Kalluri 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
Vacha Shah 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
Philip May 4056fa0176 fix black formatting for new version
Signed-off-by: Philip May <[email protected]>
2022-02-05 00:13:37 -08: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 <[email protected]>
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 <[email protected]>
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 <[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 c6cae11f97 Use opensearch1 instead of opensearch7 as example in tests
Signed-off-by: Rushi Agrawal <[email protected]>
2021-08-19 07:58:20 +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 GrimaudandSeth 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 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 a728aaa491 [7.x] Sort imports with isort and regenerate APIs 2021-01-13 14:21:04 -06:00
Seth Michael Larson 3d14e4ff27 [7.x] Handle qualified version snapshots with make.sh
Co-authored-by: Seth Michael Larson <[email protected]>
2020-11-23 17:33:00 -06:00
Seth Michael Larson 0ff76b1648 [7.x] Update build-dists to support all Elastic version specifiers 2020-11-17 12:06:14 -06:00
github-actions[bot]andSeth Michael Larson 21f25419eb [7.x] Change 'make.sh release' to 'make.sh assemble'
Co-authored-by: Seth Michael Larson <[email protected]>
2020-11-10 13:45:05 -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
Seth Michael Larson d08860a357 [7.x] Document all APIs, add stability warning 2020-10-28 13:49:05 -05:00
Seth Michael Larson 2ce9fd3914 [7.x] Test typing metadata in build-dist script 2020-10-20 15:22:43 -05:00
Seth Michael Larson 9b8cee0199 [7.x] Add .ci/make.sh script for building releases
Co-authored-by: Seth Michael Larson <[email protected]>
2020-10-12 16:42:23 -05:00
Seth Michael Larson cde2a53468 [7.x] Switch to MutableMapping for headers/params 2020-09-28 15:49:14 -05:00
Seth Michael Larson c8d0a71a63 [7.x] Add type stub template to API generator 2020-09-28 15:49:14 -05:00
Seth Michael Larson 6daa14315a [7.x] Add typing metadata and manual types to package 2020-09-28 15:49:14 -05:00
github-actions[bot]andSeth Michael Larson 6250aacafe [7.x] Update build_dists.py to build namespaced packages
Co-authored-by: Seth Michael Larson <[email protected]>
2020-09-21 16:44:39 -05:00
Seth Michael Larson 680ab85275 [7.x] Add async helpers 2020-08-20 09:11:33 -05:00
Seth Michael Larson 6f66f7958b [7.x] Add 'write_only' option to Index APIs 2020-07-29 17:12:11 -05:00
Seth Michael Larson b13c7c6217 [7.x] Switch to long Apache-2.0 license header 2020-07-02 13:15:25 -05:00
Seth Michael Larson 4473f9a659 [7.x] Switch to Nox, add build_dist script 2020-06-24 14:44:04 -05:00
Seth Michael Larson 5db3482b5c Add typeless API for exists_source 2020-06-03 10:38:35 -05:00
Seth Michael Larson 1773bd17be [7.x] Backport overrides for typeless APIs 2020-05-26 08:23:21 -05:00
Seth Michael Larson bed5ffc740 [7.x] Update API generator for async 2020-05-21 11:36:21 -05:00
Seth Michael Larson 8e1798cf31 Apply license header changes and API gen 2020-04-23 14:10:49 -05:00
Seth Michael Larson 24c57840cb Update API and license tools 2020-04-23 14:10:49 -05:00
Seth Michael Larson 44571e0ae9 Release 7.7.0a2 2020-04-03 12:52:11 -05:00
Seth Michael Larson 9c39f37547 Release 7.7.0a1 2020-04-01 09:16:38 -05:00
Morten Hauberg acbbdd2d0a Remove duplicate arguments in docstrings 2020-03-20 08:21:11 -05:00
Seth Michael Larson 9b20a30b0f Restore and deprecate client.tasks.get() without task_id 2020-03-13 16:20:54 -05:00
Seth Michael Larson 883287551a Update supported ES API to 7.6 2020-03-13 13:44:46 -05:00
Seth Michael Larson 9219c92779 [7.x] Add support for X-Opaque-Id 2020-03-11 16:33:15 -05:00
Seth Michael Larson 8074ff294b [7.x] Restore default metric='_all' to cluster.state() 2020-03-10 12:08:03 -05:00
Seth Michael Larson 2c7ea70201 Migrate CI to Jenkins on 7.x branch (#1114) 2020-02-27 10:13:49 -06:00