Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Http namespace #649

Merged
merged 1 commit into from
Nov 28, 2023
Merged

Http namespace #649

merged 1 commit into from
Nov 28, 2023

Conversation

nhtruong
Copy link
Collaborator

@nhtruong nhtruong commented Nov 20, 2023

Description

Added Low Level API functions
Removed fixtures flagged by git-secrets for containing passwords/secrets

Issues Resolved

Closes #631

Check List

  • New functionality includes testing.
    • All tests pass
  • Linter check was successfull - yarn run lint doesn't show any errors
  • Commits are signed per the DCO using --signoff
  • Changelog was updated.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@nhtruong nhtruong force-pushed the http_namespace branch 6 times, most recently from dd8aa9c to cfb6cba Compare November 20, 2023 20:52
@nhtruong nhtruong closed this Nov 20, 2023
@nhtruong nhtruong reopened this Nov 20, 2023
Copy link
Member

@dblock dblock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like it!

@nhtruong nhtruong force-pushed the http_namespace branch 2 times, most recently from 464f9cd to 1707171 Compare November 21, 2023 18:02
@nhtruong nhtruong marked this pull request as ready for review November 21, 2023 18:04
Copy link
Member

@dblock dblock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good, some asks below. Can we also start adding working samples like in https://github.com/opensearch-project/opensearch-py/tree/main/samples with this one?

CHANGELOG.md Outdated Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
api/api/http.js Outdated Show resolved Hide resolved
api/api/http.js Show resolved Hide resolved
guides/low_level_api.md Outdated Show resolved Hide resolved
guides/low_level_api.md Outdated Show resolved Hide resolved
- Removed fixtures wrongly flagged by git-secrets for containing passwords/secrets

Signed-off-by: Theo Truong <theotr@amazon.com>
Copy link
Member

@dblock dblock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's merge, the nits can be addressed later and standardized across the board.

@@ -5,6 +5,7 @@ Inspired from [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
## [Unreleased]
### Added
- Added deprecation warnings for Index Template APIs ([654](https://github.com/opensearch-project/opensearch-js/pull/645))
- Added `http` functions: `connect`, `delete`, `get`, `head`, `options`, `patch`, `post`, `put`, and `trace` ([#649](https://github.com/opensearch-project/opensearch-js/pull/649))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: Added http.connect, delete ...

@@ -0,0 +1,60 @@
# Making raw HTTP requests
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Capitalize like other files, "Making Raw HTTP Requests"

@dblock dblock merged commit 4da9a4b into opensearch-project:main Nov 28, 2023
65 checks passed
@nhtruong nhtruong deleted the http_namespace branch June 11, 2024 17:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEATURE] Make raw JSON REST requests to OpenSearch
2 participants