-
Notifications
You must be signed in to change notification settings - Fork 205
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
6 - Ledger API changes for UM/UP extensions for Hub [DPP-1211] #14937
Conversation
3772677
to
c21bb71
Compare
fded063
to
14c3503
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mostly grammar/punctuation fixes.
|
||
**Category**: ContentionOnSharedResources | ||
|
||
**Conveyance**: This error is logged with log-level INFO on the server side. This error is exposed on the API with grpc-status ABORTED including a detailed error message |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
**Conveyance**: This error is logged with log-level INFO on the server side. This error is exposed on the API with grpc-status ABORTED including a detailed error message | |
**Conveyance**: This error is logged with log-level INFO on the server side and exposed on the API with grpc-status ABORTED including a detailed error message. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I created a separate PR to improve the conveyance wording, because we generate them from the same templates for all the error codes.
PR: #15043
(I'll be also marking all conveyance related comments in this PR as resolved.)
docs/resources/generated-error-pages/error-codes-inventory.rst.inc
Outdated
Show resolved
Hide resolved
docs/resources/generated-error-pages/error-codes-inventory.rst.inc
Outdated
Show resolved
Hide resolved
docs/resources/generated-error-pages/error-codes-inventory.rst.inc
Outdated
Show resolved
Hide resolved
MAX_USER_ANNOTATIONS_SIZE_EXCEEDED | ||
--------------------------------------------------------------------------------------------------------------------------------------- | ||
|
||
**Explanation**: A user can have only a limited amount of annotations. There was an attempt to create or update a user with too many annotations. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
**Explanation**: A user can have only a limited amount of annotations. There was an attempt to create or update a user with too many annotations. | |
**Explanation**: A user can have only a limited number of annotations. There was an attempt to create or update a user with too many annotations. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Similar to MAX_PARTY_DETAILS_ANNOTATIONS_SIZE_EXCEEDED
I'm rewording this to state:
A user can have at most 256kb worth of annotations in total measured in number of bytes in UTF-8 encoding.
There was an attempt to create or update a user such that this limit would have been exceeded.
docs/resources/generated-error-pages/error-codes-inventory.rst.inc
Outdated
Show resolved
Hide resolved
docs/resources/generated-error-pages/error-codes-inventory.rst.inc
Outdated
Show resolved
Hide resolved
…PartyManagementServiceErrorGroup.scala Co-authored-by: mziolekda <marcin.ziolek@digitalasset.com>
2a87414
to
dd92638
Compare
ledger-api/grpc-definitions/com/daml/ledger/api/v1/admin/party_management_service.proto
Outdated
Show resolved
Hide resolved
ledger-api/grpc-definitions/com/daml/ledger/api/v1/admin/user_management_service.proto
Outdated
Show resolved
Hide resolved
...rticipant-integration-api/src/main/scala/platform/apiserver/services/ApiVersionService.scala
Outdated
Show resolved
Hide resolved
...r/participant-integration-api/src/main/scala/platform/apiserver/update/UpdatePathError.scala
Outdated
Show resolved
Hide resolved
...gration-api/src/test/suite/scala/platform/apiserver/update/PartyRecordUpdateMapperSpec.scala
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have left a couple of final cosmetic comments. Otherwise it looks good.
Well done!
…_management_service.proto Co-authored-by: mziolekda <marcin.ziolek@digitalasset.com>
…management_service.proto Co-authored-by: mziolekda <marcin.ziolek@digitalasset.com>
@@ -79,6 +79,14 @@ conformance_test_tool_args = [ | |||
"TLSAtLeastOnePointTwoIT", | |||
"CommandDeduplicationPeriodValidationIT:OffsetPruned", # requires pruning not available in canton community | |||
"DeeplyNestedValueIT", # FIXME: Too deeply nested values flake with a time out (half of the time) | |||
# TODO um-for-hub: Enable these tests once Canton runs updated user and party management |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fyi @danilofaria
"end": "2.4.0-snapshot.20220914.10592.0.cf7c2b5c", | ||
"exclusions": [ | ||
"PartyManagementServiceIT:PMGetPartiesDetails", | ||
"PartyManagementServiceIT:PMListKnownParties", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
test tool exclusions
Some( | ||
User( | ||
id = AdminUserId, | ||
metadata = Some( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'TestAdminExists' test
changelog_begin
changelog_end
Other notes: