-
Notifications
You must be signed in to change notification settings - Fork 63
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
base: main
Are you sure you want to change the base?
Conversation
312e46b to
5625f77
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.
Thanks again for addressing my comments.
| "github.com/stretchr/testify/require" | ||
| ) | ||
|
|
||
| func TestPutBindings_MultipleEphemerals(t *testing.T) { |
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.
| func TestPutBindings_MultipleEphemerals(t *testing.T) { | |
| func TestPutBindingsMultipleEphemerals(t *testing.T) { |
| "github.com/stretchr/testify/require" | ||
| ) | ||
|
|
||
| func TestPutBindings_MultipleEphemerals(t *testing.T) { |
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.
| func TestPutBindings_MultipleEphemerals(t *testing.T) { | |
| func TestPutBindingsMultipleEphemerals(t *testing.T) { |
| query += strings.Join(argsReferences, ", ") | ||
| query += " ON CONFLICT DO NOTHING;" | ||
|
|
||
| logger.DebugfContext(ctx, "executing bulk insert: %s", query) |
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 am wondering if this should be really a debug message that also appears as tracing events.
This is a general questions for all logger.InfofContext in this PR. I would add tracing events only if you would gain additional knowledge in order to follow / understand the timing in traces. I think the traces should not be used as general log.
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.
This is how it was before the changes I made.
Are you sure no one is expecting these in the trace?
Maybe handle this in a different PR?
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.
Indeed, @mbrandenburger , we need to address this in a dedicate Issue/PR
Signed-off-by: [email protected] <[email protected]>
Signed-off-by: [email protected] <[email protected]>
Signed-off-by: [email protected] <[email protected]>
Signed-off-by: [email protected] <[email protected]>
Signed-off-by: [email protected] <[email protected]>
Signed-off-by: [email protected] <[email protected]>
Signed-off-by: [email protected] <[email protected]>
Signed-off-by: [email protected] <[email protected]>
Signed-off-by: [email protected] <[email protected]>
Signed-off-by: [email protected] <[email protected]>
Signed-off-by: Angelo De Caro <[email protected]>
2. fixed postgres test Signed-off-by: [email protected] <[email protected]>
Signed-off-by: [email protected] <[email protected]>
674d885 to
2cd3a22
Compare
Signed-off-by: [email protected] <[email protected]>
Signed-off-by: [email protected] <[email protected]>
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.