-
Notifications
You must be signed in to change notification settings - Fork 110
Updated DeviceDefender task interface changes #305
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
Merged
Merged
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
1af3791
Updating DeviceDefender interfaces.
DavidOgunsAWS 84e22c9
All tests pass after DeviceDefender task interface change.
DavidOgunsAWS 4c814f4
Corrected error propagation.
DavidOgunsAWS fee4a48
clang-format
DavidOgunsAWS 5633de3
clang-format
DavidOgunsAWS df46e84
Updating crt-cpp
DavidOgunsAWS 7f27d2d
Submodule updates.
DavidOgunsAWS 2422ccd
Submodule version adjustment.
DavidOgunsAWS 809e6c1
MSVC warning fix.
DavidOgunsAWS 2110c76
Fixing gcc4.8 error.
DavidOgunsAWS fef2311
Updating submodule with bugfix.
DavidOgunsAWS 36381c0
Updating submodule to tagged version v0.0.7
DavidOgunsAWS cc45a5b
Merge branch 'main' into ddupdate
DavidOgunsAWS 12f4338
Fixing poor return code flow path and adding test to verify proper re…
DavidOgunsAWS 719764c
Merge branch 'ddupdate' of github.com:aws/aws-iot-device-sdk-cpp-v2 i…
DavidOgunsAWS 5a0a956
Fixing a failure to update status change and added test logic to verify.
DavidOgunsAWS 26f8b83
Making ReportTask non-moveable and adjusting where necessary. Fixing …
DavidOgunsAWS 1e93643
clang-format
DavidOgunsAWS 2e6328a
Addressing PR comment and possible problem
DavidOgunsAWS File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Submodule aws-c-iot
updated
12 files
+33 −5 | .github/workflows/ci.yml | |
+1 −1 | CMakeLists.txt | |
+21 −36 | README.md | |
+349 −22 | include/aws/iotdevice/device_defender.h | |
+5 −3 | include/aws/iotdevice/exports.h | |
+5 −0 | include/aws/iotdevice/iotdevice.h | |
+1,026 −264 | source/device_defender.c | |
+14 −1 | source/iotdevice.c | |
+4 −1 | tests/CMakeLists.txt | |
+128 −40 | tests/aws_iot_devicedefender_client_test.c | |
+431 −67 | tests/metrics_tests.c | |
+7 −11 | tests/secure_tunneling_tests.c |
This file contains hidden or 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 hidden or 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 hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
With this change, if the first
if
statement fails, we'll end up returning AWS_OP_ERR without having ever raised an errorThere 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.
True. Raising AWS_ERROR_INVALID_STATE in this situation