Skip to content

feat(identity_service): check identity DB if a lookup fails #1415 - #1416

Merged
adecaro merged 17 commits into
mainfrom
1415-featidentity_service-check-identity-db-if-a-lookup-fails
Mar 20, 2026
Merged

feat(identity_service): check identity DB if a lookup fails #1415#1416
adecaro merged 17 commits into
mainfrom
1415-featidentity_service-check-identity-db-if-a-lookup-fails

Conversation

@adecaro

@adecaro adecaro commented Mar 10, 2026

Copy link
Copy Markdown
Contributor

This PR fixes #1415 by introducing a notification service for the identity table. The notification service is provided by the smart client. In this PR we instantiate it to track the additions performed to the identity table. Upon an event, the membership service registers the new identity.

@adecaro adecaro added this to the Q1/26 milestone Mar 10, 2026
@adecaro adecaro self-assigned this Mar 10, 2026
@adecaro
adecaro marked this pull request as draft March 10, 2026 14:20
@adecaro
adecaro force-pushed the 1415-featidentity_service-check-identity-db-if-a-lookup-fails branch from 9f1936e to ac970a2 Compare March 10, 2026 14:46
@adecaro adecaro linked an issue Mar 10, 2026 that may be closed by this pull request
@adecaro
adecaro force-pushed the 1415-featidentity_service-check-identity-db-if-a-lookup-fails branch 3 times, most recently from d92bcc8 to 98e909d Compare March 11, 2026 12:33
@adecaro
adecaro requested a review from AkramBitar March 12, 2026 14:58
@adecaro
adecaro marked this pull request as ready for review March 12, 2026 14:59
@adecaro
adecaro force-pushed the 1415-featidentity_service-check-identity-db-if-a-lookup-fails branch 4 times, most recently from 1c371fb to 472732e Compare March 13, 2026 13:00
return nil, err
}

return d.IdentityNotifier.Get(*opts)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I am wondering if we need to add unit test for this file also the same comments for other files go file in driver, kvs, memory, postgres, sqlite, etc.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

good point, will add.

@adecaro
adecaro force-pushed the 1415-featidentity_service-check-identity-db-if-a-lookup-fails branch from 472732e to 15b64f3 Compare March 16, 2026 12:33
@adecaro
adecaro requested a review from AkramBitar March 16, 2026 12:33
@adecaro
adecaro force-pushed the 1415-featidentity_service-check-identity-db-if-a-lookup-fails branch 2 times, most recently from 677f56a to 7bd9a32 Compare March 16, 2026 13:04
@adecaro
adecaro force-pushed the 1415-featidentity_service-check-identity-db-if-a-lookup-fails branch 4 times, most recently from 35d5092 to b13d56e Compare March 20, 2026 10:26
adecaro added 4 commits March 20, 2026 11:27
Signed-off-by: Angelo De Caro <adc@zurich.ibm.com>
Signed-off-by: Angelo De Caro <adc@zurich.ibm.com>
Signed-off-by: Angelo De Caro <adc@zurich.ibm.com>
Signed-off-by: Angelo De Caro <adc@zurich.ibm.com>
adecaro added 13 commits March 20, 2026 11:27
Signed-off-by: Angelo De Caro <adc@zurich.ibm.com>
Signed-off-by: Angelo De Caro <adc@zurich.ibm.com>
Signed-off-by: Angelo De Caro <adc@zurich.ibm.com>
Signed-off-by: Angelo De Caro <adc@zurich.ibm.com>

# Conflicts:
#	go.mod

# Conflicts:
#	go.mod
Signed-off-by: Angelo De Caro <adc@zurich.ibm.com>
Signed-off-by: Angelo De Caro <adc@zurich.ibm.com>
Signed-off-by: Angelo De Caro <adc@zurich.ibm.com>
Signed-off-by: Angelo De Caro <adc@zurich.ibm.com>
Signed-off-by: Angelo De Caro <adc@zurich.ibm.com>
Signed-off-by: Angelo De Caro <adc@zurich.ibm.com>
Signed-off-by: Angelo De Caro <adc@zurich.ibm.com>
Signed-off-by: Angelo De Caro <adc@zurich.ibm.com>
Signed-off-by: Angelo De Caro <adc@zurich.ibm.com>
@adecaro
adecaro force-pushed the 1415-featidentity_service-check-identity-db-if-a-lookup-fails branch from b13d56e to 743b900 Compare March 20, 2026 10:27
@adecaro
adecaro merged commit ae5419e into main Mar 20, 2026
99 checks passed
@adecaro
adecaro deleted the 1415-featidentity_service-check-identity-db-if-a-lookup-fails branch March 20, 2026 12:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(identity_service): check identity DB if a lookup fails

2 participants