-
Notifications
You must be signed in to change notification settings - Fork 5.3k
[Azure Confidential Computing Ledger] API Review #21804
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
Comments
Meeting updated by Andrea Piccione Service Name: Azure Confidential Computing Ledger Description: See PR description: #21659 (comment) Detailed meeting information and documents provided can be accessed here |
API Stewardship Board Review: 1-Jan-23Happy New Year
Next Steps
|
@JeffreyRichter and I had a meeting to discuss the model for the new {
"applicationClaims": [
{
"version": "v1",
"secretKey": "secret",
"claimData": {
"collectionId": "name",
"contents": "value",
}
},
{
"version": "v1",
"claimDigest": "some digest",
}
]
} It was noted that this model is not clear for customers, as they must check each field to understand how to process a single claim element, which could come in different, mutually exclusive formats. To address this issue, as also discussed during the API review meeting, we decided to add a {
"applicationClaims": [
{
"version": "v1",
"kind": "data",
"data": {
"collectionId": "sample connection",
"contents": "sample content",
"secretKey": "sample secret"
}
},
{
"version": "v1",
"kind": "digest",
"digest": {
"value": "sample digest"
}
}
]
} We also discussed the However, it was pointed out by Jeffrey that if we add a new kind or version in the future, older clients using an older API version may not be able to process claims elements with the new, unsupported kind or version, and may therefore receive unexpected results when processing the elements in the array. The team will need to further discuss how to handle this situation and whether we should segregate claim versions under different API versions to support forward compatible changes. I will provide you with an update once we take a decision and make the required changes to the model. cc @lynshi |
Yesterday, @JeffreyRichter, @lynshi and I had a follow-up meeting to further discuss the model and resolve the last few doubts after a recent email exchange on the topic. To summarize the outcome respect to the previous comment:
|
Regarding the other pending points:
We agree and we moved the API version from stable to preview
As discussed during the review meeting, we don't envision the list to become very large at the moment since the number of claims depends on the maximum number of entries that can be written per transaction (currently only 1). We will make sure to add some limit on the claims list if the number of ledger entries per transaction will increase in the future. These should cover all the pending points. I updated the PR based on the latest decisions and discussion, could I please have a new review? Thanks a lot in advance! #21659 |
PR is signed off -- we can close. |
New API Review meeting has been requested.
Service Name: Azure Confidential Computing Ledger
Review Created By: Andrea Piccione @andpiccione
Review Date: 1/4/2023 9:00 AM PT
PR: #21659
Hero Scenarios Link: Not Provided
Core Concepts Doc Link: Not Provided
Description: See PR description: #21659 (comment)
Detailed meeting information and documents provided can be accessed here
For more information that will help prepare you for this review, the requirements, and office hours, visit the documentation here
The text was updated successfully, but these errors were encountered: