Closed
Description
Wallet Addresses should become tenanted as per the Multi-Tenancy design, and will be logically separated in the backend
database by a tenantId
row that serves as a foreign key on the tenants table.
- Add
tenantId
row towalletAddresses
table that is required and maps to an id on thetenants
table. - Add
tenantId
to database queries on wallet addresses - Acquire
tenantId
from request headers on wallet address GraphQL requests and pass them into wallet address service logic. - Include
tenantId
in base URL ofauthServer
andresourceServer
fields of the current wallet address response.- See feat(backend): wallet address response with tenant id #2986 for existing implementation on old feature branch.
- eg:
{ ..., resourceServer: OPEN_PAYMENTS_URL/tenantId/ }
Prerequisites
Pull Request
Metadata
Metadata
Assignees
Type
Projects
Status
Done