Skip to content

feat(tokenization): add individual key retrieval API by name#116

Merged
allisson merged 24 commits intomainfrom
tokenization-keys
Mar 7, 2026
Merged

feat(tokenization): add individual key retrieval API by name#116
allisson merged 24 commits intomainfrom
tokenization-keys

Conversation

@allisson
Copy link
Owner

@allisson allisson commented Mar 7, 2026

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.

allisson added 24 commits March 7, 2026 18:05
…or tokenization module (by name)' as complete
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.
@allisson allisson merged commit 6d63f2b into main Mar 7, 2026
3 checks passed
@allisson allisson deleted the tokenization-keys branch March 7, 2026 22:28
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.

1 participant