feat(tokenization): add individual key retrieval API by name#116
Merged
feat(tokenization): add individual key retrieval API by name#116
Conversation
…t for tokenization module (by name)'
…nterface' as complete
…Case struct' as complete
…ndler' as complete
…on/keys/:name' as complete
…or tokenization module (by name)' as complete
…t for tokenization module (by name)'
Implemented a new endpoint GET /v1/tokenization/keys/:name to retrieve metadata for a single tokenization key. This addition improves API parity with the transit module and facilitates direct key inspection. Key changes: - Added GetByName to TokenizationKeyUseCase and implemented it in tokenizationKeyUseCase and its metrics decorator. - Created GetByNameHandler in TokenizationKeyHandler and registered the corresponding route. - Added comprehensive unit tests for use case and HTTP handler layers. - Added an integration test case to verify the full flow across PostgreSQL and MySQL. - Updated docs/engines/tokenization.md and docs/openapi.yaml with the new endpoint details.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implemented a new endpoint GET /v1/tokenization/keys/:name to retrieve
metadata for a single tokenization key. This addition improves API parity
with the transit module and facilitates direct key inspection.
Key changes:
tokenizationKeyUseCase and its metrics decorator.
the corresponding route.
PostgreSQL and MySQL.
the new endpoint details.