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

feat(wire.CloudPublisher): Set as body a property removing it from metrics #4328

Merged
merged 5 commits into from
Feb 20, 2023

Conversation

marcomatteo
Copy link
Contributor

@marcomatteo marcomatteo commented Jan 16, 2023

Added "remove.body.from.metrics" boolean property in the component metatype.
If set to True and the "set a property as body" is not empty, remove the property from the KuraPayload metrics and KuraMessage properties.
The default value is false and preserve the current behaviour.

Added the test cases and refactor the CloudPublisherTest class with scenarios.

Related Issue: This PR fixes the issue #4292

…lso to metrics

Signed-off-by: Marco Matteo Buzzulini <marco.buzzulini@eurotech.com>
…tor the tests

Signed-off-by: Marco Matteo Buzzulini <marco.buzzulini@eurotech.com>
@marcomatteo marcomatteo changed the title feat(wire.CloudPublisher): Set as body a property without adding it also to metrics feat(wire.CloudPublisher): Set as body a property removing it from metrics Jan 20, 2023
@marcomatteo marcomatteo marked this pull request as ready for review January 20, 2023 20:25
@marcellorinaldo
Copy link
Contributor

marcellorinaldo commented Jan 25, 2023

Thanks for the PR @marcomatteo. When you have the time, could you please address the review?

@marcomatteo marcomatteo marked this pull request as draft January 25, 2023 20:39
@marcomatteo
Copy link
Contributor Author

Thank you @marcellorinaldo for the review. I'll answer and fix soon.

Signed-off-by: Marco Matteo Buzzulini <marco.buzzulini@eurotech.com>
Signed-off-by: Marco Matteo Buzzulini <marco.buzzulini@eurotech.com>
@marcomatteo marcomatteo marked this pull request as ready for review January 29, 2023 17:06
Signed-off-by: Marco Matteo Buzzulini <marco.buzzulini@eurotech.com>
@MMaiero
Copy link
Contributor

MMaiero commented Feb 14, 2023

Hi @marcomatteo,
are the changes to this PR done?
Can we ask @marcellorinaldo to perform another pass for the review?

Thanks

@marcomatteo
Copy link
Contributor Author

Hi @MMaiero,
yes, I'm waiting for the review.
Thank you in advance.

@marcellorinaldo
Copy link
Contributor

Also here, the Eclipse CI cannot retrieve Sonar status for Kura project.

image

@MMaiero MMaiero merged commit d04ae9e into eclipse-kura:develop Feb 20, 2023
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