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

API Refactor: Fix trust domain ID use in Bundle API #1659

Merged

Conversation

azdagron
Copy link
Member

The new Bundle message conveys the trust domain name (e.g., "domain.test") as the primary key but the datastore takes the trust domain ID (e.g. "spiffe://domain.test"). The Bundle API service was
passing the trust domain name in the TrustDomainId field instead of the trust domain ID.

The new Bundle message conveys the trust domain name (e.g.,
"domain.test") as the primary key but the datastore takes the trust
domain ID (e.g. "spiffe://domain.test"). The Bundle API service was
passing the trust domain name in the TrustDomainId field instead of the
trust domain ID.

Signed-off-by: Andrew Harding <andrew.harding@hpe.com>
@azdagron azdagron changed the title Fix trust domain ID use in Bundle API API Refactor: Fix trust domain ID use in Bundle API Jun 16, 2020
Copy link
Member

@amartinezfayo amartinezfayo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @azdagron!

@azdagron azdagron merged commit a65d0a7 into spiffe:master Jun 16, 2020
@azdagron azdagron deleted the fix-trust-domain-id-passing-in-bundle-api branch June 16, 2020 19:33
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.

None yet

2 participants