-
Notifications
You must be signed in to change notification settings - Fork 314
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: Made PositionService dependency optional for CloudServices #5638
Conversation
09705cb
to
c3b23bc
Compare
The sonar analysis fails for code coverage and duplication. This because the |
@@ -1,5 +1,5 @@ | |||
/******************************************************************************* | |||
* Copyright (c) 2011, 2023 Eurotech and/or its affiliates and others | |||
* Copyright (c) 2011, 2024 Eurotech and/or its affiliates and others |
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.
happy new year
0526b41
to
01fe160
Compare
Signed-off-by: pierantoniomerlino <[email protected]>
Signed-off-by: pierantoniomerlino <[email protected]>
Signed-off-by: pierantoniomerlino <[email protected]>
Signed-off-by: pierantoniomerlino <[email protected]>
Signed-off-by: pierantoniomerlino <[email protected]>
Signed-off-by: pierantoniomerlino <[email protected]>
01fe160
to
395a95e
Compare
Forcing merge. The sonar part complains on code duplication due to the fact that the cloud bundles share a large amount of code. But this cannot be prevented. |
This PR modifies the
CloudService
s dependencies making thePositionService
optional.Related Issue: This PR fixes/closes N/A
Description of the solution adopted: In order to optimize the dependency list of the
CloudService
implementations, this PR removes thePoistionService
static dependency and makes it optional (dynamic, 0..1). Moreover, some small improvements have been done on the code. The modifications impact onlyorg.eclipse.kura.cloudconnection.kapua.mqtt.provider
andorg.eclipse.kura.cloudconnection.eclipseiot.mqtt.provider
.