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

Add imports #161

Merged
merged 5 commits into from
Oct 23, 2024
Merged

Add imports #161

merged 5 commits into from
Oct 23, 2024

Conversation

rohanshah18
Copy link
Contributor

Problem

Add four endpoints of the BulkOperationsApi.

Solution

Added the following four endpoints of the BulkOperationsApi:

  1. startImport(String uri, String integrationId, ImportErrorMode.OnErrorEnum errorMode)
  2. describeImport(Integer limit, String paginationToken)
  3. listImport(String id)
  4. cancelImport(String id)

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update
  • Infrastructure change (CI configs, etc)
  • Non-code change (docs, etc)
  • None of the above: (explain here)

Test Plan

Added unit tests.

@rohanshah18 rohanshah18 marked this pull request as ready for review October 23, 2024 17:12
src/main/java/io/pinecone/clients/AsyncIndex.java Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
@rohanshah18 rohanshah18 merged commit 45b0f2a into rshah/release-candidate/2024-10 Oct 23, 2024
7 checks passed
@rohanshah18 rohanshah18 deleted the rshah/imports branch October 23, 2024 20:27
rohanshah18 added a commit that referenced this pull request Oct 24, 2024
## Problem

Add four endpoints of the `BulkOperationsApi`.

## Solution

Added the following four endpoints of the `BulkOperationsApi`:
1. `startImport(String uri, String integrationId,
ImportErrorMode.OnErrorEnum errorMode)`
2. `describeImport(Integer limit, String paginationToken)`
3. `listImport(String id)`
4. `cancelImport(String id)`

## Type of Change

- [ ] Bug fix (non-breaking change which fixes an issue)
- [X] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] This change requires a documentation update
- [ ] Infrastructure change (CI configs, etc)
- [ ] Non-code change (docs, etc)
- [ ] None of the above: (explain here)

## Test Plan

Added unit tests.
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.

3 participants