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

[PROPOSAL]Deprecate PointInTime Endpoints for Improved Standardization across clients #198

Open
saimedhi opened this issue May 31, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@saimedhi
Copy link
Collaborator

What/Why

What are you proposing?

Deprecate the CreatePointInTime and DeletePointInTime endpoints, and introduce CreatePit, DeletePit, DeleteAllPits, and GetAllPits instead. Any calls made to the deprecated APIs will be redirected to the newly added endpoints.
spec for new endpoints is here.

What problems are you trying to solve?

The aim is to standardize endpoints across all clients and enable the client to be entirely generated from the specification.

What is the developer experience going to be?

This change will simplify the process for developers to generate endpoints from the specification. Additionally, the generated endpoints will have consistent structures across all language clients.

Are there breaking changes to the User Experience?

No, the deprecated endpoints will still function, but they will automatically redirect to the new endpoints.

What will it take to execute?

Execution will follow a process similar to the current implementation for deprecating the getAliases endpoint.
https://github.com/opensearch-project/opensearch-php/blob/main/src/OpenSearch/Namespaces/IndicesNamespace.php#L1241

@saimedhi saimedhi changed the title [PROPOSAL] [PROPOSAL]Deprecate PointInTime Endpoints for Improved Standardization across clients May 31, 2024
@dblock dblock added enhancement New feature or request and removed untriaged labels Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants