Skip to content
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

Device Defender changes #67

Merged
merged 34 commits into from
May 3, 2022
Merged

Conversation

TwistedTwigleg
Copy link
Contributor

@TwistedTwigleg TwistedTwigleg commented Mar 15, 2022

Description of changes:

Adjusts the custom metrics clean up function to clear the memory for the array in custom string-list and ip-list metrics. It also adds support for double numbers and double number lists, allowing for numbers with decimals to be used in the resulting JSON.

Leaving as draft currently as it may need additional changes


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@TwistedTwigleg TwistedTwigleg marked this pull request as ready for review March 15, 2022 23:29
include/aws/iotdevice/device_defender.h Outdated Show resolved Hide resolved
include/aws/iotdevice/device_defender.h Outdated Show resolved Hide resolved
source/device_defender.c Outdated Show resolved Hide resolved
source/device_defender.c Outdated Show resolved Hide resolved
source/device_defender.c Outdated Show resolved Hide resolved
@TwistedTwigleg
Copy link
Contributor Author

Will check and fix what is causing the tests to fail. I think it is just something minor due to removing a constant or something

@TwistedTwigleg TwistedTwigleg changed the title Minor Device Defender changes Device Defender changes Mar 18, 2022
@TwistedTwigleg
Copy link
Contributor Author

Thanks for the review! I adjusted the code and it's all working again 👍

include/aws/iotdevice/device_defender.h Outdated Show resolved Hide resolved
source/device_defender.c Outdated Show resolved Hide resolved
source/device_defender.c Outdated Show resolved Hide resolved
source/device_defender.c Show resolved Hide resolved
@TwistedTwigleg
Copy link
Contributor Author

Thanks for the review! I adjusted the code accordingly 👍

@TwistedTwigleg TwistedTwigleg merged commit 9a5d6a8 into main May 3, 2022
@TwistedTwigleg TwistedTwigleg deleted the DeviceDefenderCustomMetricsSupport branch May 3, 2022 19:16
@TwistedTwigleg
Copy link
Contributor Author

Thanks for the reviews! Merging into main...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants