-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(#3048): don't send status update for sub-workflow operations
Avoid processing operations on a sub-workflow operation topic in OperationHandler. To verify the fix I created two unit tests: - one for OperationHandler to test its public interface - one more permanent test in c8y_mapper_ext::tests to make sure it still holds even if OperationHandler implementation changes As this check could easily be done in c8y mapper unit tests, I didn't create an integration test. To avoid similar problems in the future, we should distinguish sub-workflow command ids on a type level. Signed-off-by: Marcel Guzik <[email protected]>
- Loading branch information
Showing
2 changed files
with
81 additions
and
0 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