-
Notifications
You must be signed in to change notification settings - Fork 485
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(metadata): Add query parameters for device parents/children. (#5053
) * feat(metadata): Add query parameters for device parents/children. Closes: #4769 Signed-off-by: Corey Mutter <[email protected]> * fix: Repair a broken UT due to the added check in device deletion. Signed-off-by: Corey Mutter <[email protected]> * fix: Stop tree queries if they get into a loop, which could happen if a device was its own parent. Also try to keep that from happening in the first place. Signed-off-by: Corey Mutter <[email protected]> * fix: Add unit tests for tree queries and add/update/delete checks. Signed-off-by: Corey Mutter <[email protected]> * fix: gofmt Signed-off-by: Corey Mutter <[email protected]> --------- Signed-off-by: Corey Mutter <[email protected]>
- Loading branch information
1 parent
f9a1cad
commit a1c5a89
Showing
11 changed files
with
335 additions
and
30 deletions.
There are no files selected for viewing
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
39 changes: 39 additions & 0 deletions
39
internal/core/metadata/infrastructure/interfaces/mocks/DBClient.go
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
Oops, something went wrong.