-
Notifications
You must be signed in to change notification settings - Fork 137
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
Split up command router modules #3623
Merged
sophokles73
merged 27 commits into
eclipse-hono:master
from
controlant-org:split_command_router_modules
May 17, 2024
Merged
Split up command router modules #3623
sophokles73
merged 27 commits into
eclipse-hono:master
from
controlant-org:split_command_router_modules
May 17, 2024
Conversation
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
…onnection-base and client-device-connection-infinispan. Unit tests run.
…nto client-device-connection-base module. Unit tests run.
…e and services/command-router-infinispan. Unit tests and integration tests run.
StFS
requested review from
calohmn,
dejanb,
kaniyan and
sophokles73
as code owners
April 3, 2024 20:03
This was referenced Apr 3, 2024
Addresses #3532 |
sophokles73
requested changes
Apr 11, 2024
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.
Looks pretty good so far 👍
Just some formal issues to fix ...
...est/java/org/eclipse/hono/deviceconnection/common/CommonCacheQuarkusPropertyBindingTest.java
Outdated
Show resolved
Hide resolved
...est/java/org/eclipse/hono/deviceconnection/common/CommonCacheQuarkusPropertyBindingTest.java
Outdated
Show resolved
Hide resolved
...uter-infinispan/src/main/java/org/eclipse/hono/commandrouter/infinispan/app/Application.java
Show resolved
Hide resolved
...uter-infinispan/src/main/java/org/eclipse/hono/commandrouter/infinispan/app/Application.java
Outdated
Show resolved
Hide resolved
…org/eclipse-hono into split_command_router_modules
sophokles73
reviewed
Apr 17, 2024
sophokles73
requested changes
Apr 29, 2024
sophokles73
reviewed
Apr 30, 2024
Co-authored-by: Kai Hudalla <[email protected]>
Co-authored-by: Kai Hudalla <[email protected]>
…and then pushing them in the second
…le to provided scope, remove the optional option and remove exclusion rule
sophokles73
approved these changes
May 17, 2024
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.
LGTM
Thanks for contributing 👍
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This PR is preparation for adding a redis backed command-router.
It consists of the following changes:
client-device-connection-infinispan
module intoclient-device-connection-base
andclient-device-connection-infinispan
modules.-base
module got refactored and their package name changes fromorg.eclipse.hono.deviceconnection.infinispan.client
toorg.eclipse.hono.deviceconnection.common
QuarkusPropertyBindingTest
class got split into two:CommonCacheQuarkusPropertyBindingTest
andRemoteCacheQuarkusPropertyBindingTest
vertx-web
, it turned out to be sufficient to depend onvertx-core
). TODOs were added to get feedback on whether dependencies should only be declared in the-base
module or whether they should be repeated in the-infinispan
module.services/command-router
module was split intoservices/command-router-base
andservices/command-router-infinispan
.command-router-base
module contains the vast majority of the code but the creation of a docker image was removed from that module.Application
class was converted to an abstract class to be implemented in descendant modules and namedAbstractApplication
accordingly.DeviceConnectionInfoProducer
class was removed from the base module to be implemented in descendant modules.command-router-infinispan
module contains the docker image creation. It also implements aInfinispanDeviceConnectionInfoProducer
and anApplication
class (descendant ofAbstractApplication
) in order to create an Infinispan based implementation of a command-router.