-
Notifications
You must be signed in to change notification settings - Fork 62
feature(endpoint.Service)!: Bind multiple ephemeral identities at the same time #1009 #1033
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
Conversation
312e46b to
5625f77
Compare
mbrandenburger
left a comment
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.
Thanks again for addressing my comments.
platform/view/services/storage/driver/sql/postgres/binding_test.go
Outdated
Show resolved
Hide resolved
platform/view/services/storage/driver/sql/sqlite/binding_test.go
Outdated
Show resolved
Hide resolved
674d885 to
2cd3a22
Compare
406634f to
efa9438
Compare
mbrandenburger
left a comment
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.
Thanks for this PR! It is in a good shape already. See below a few minor comments to address. Thanks again!
platform/view/services/storage/driver/sql/postgres/binding_test.go
Outdated
Show resolved
Hide resolved
platform/view/services/storage/driver/sql/sqlite/binding_test.go
Outdated
Show resolved
Hide resolved
platform/view/services/storage/driver/sql/sqlite/binding_test.go
Outdated
Show resolved
Hide resolved
platform/view/services/storage/driver/sql/postgres/binding_test.go
Outdated
Show resolved
Hide resolved
a943954 to
67820e0
Compare
Signed-off-by: Hayim.Shaul@ibm.com <hayimsha@he4cloud1.sl.cloud9.ibm.com>
4b7c81e to
d6717c0
Compare
mbrandenburger
left a comment
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.
Thanks @HayimShaul LGTM
The goal of this PR is to allow the binding of multiple identities at the same time so to same in the number of DB connections when binding multiple identities. This will be used in the token-sdk.
This PR is linked to FTS's PR hyperledger-labs/fabric-token-sdk#1245
Note
This PR contains a breaking change on the endpoint service API
Bind(ctx context.Context, longTerm view.Identity, ephemeralIDs ...view.Identity) error