-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use single and unique entity ID to deal with entity info wrapper (#4704)
* Use single and unique entity ID to deal with entity info wrapper This drops our reliance on a per-entity-type ID and instead just uses a single entity ID in the entity info wrapper. The intention is to simplify the code and make adding new entities simpler. Signed-off-by: Juan Antonio Osorio <ozz@stacklok.com> Fix entity ID serialized in wrong place and data race issue Signed-off-by: Juan Antonio Osorio <ozz@stacklok.com> Use local error variable for EEA test Signed-off-by: Juan Antonio Osorio <ozz@stacklok.com> Add more guardrails Signed-off-by: Juan Antonio Osorio <ozz@stacklok.com> fix more unit tests Signed-off-by: Juan Antonio Osorio <ozz@stacklok.com> remove unused function Signed-off-by: Juan Antonio Osorio <ozz@stacklok.com> fix tests Signed-off-by: Juan Antonio Osorio <ozz@stacklok.com> * Use entity ID instead of repo ID in message meta in gh handler test Signed-off-by: Juan Antonio Osorio <ozz@stacklok.com> --------- Signed-off-by: Juan Antonio Osorio <ozz@stacklok.com>
- Loading branch information
Showing
19 changed files
with
302 additions
and
463 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.