-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Add Topic Operator refactoring: handlers #10412
Conversation
/azp run regression |
Azure Pipelines successfully started running 1 pipeline(s). |
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.
Thanks @fvaleri!
topic-operator/src/main/java/io/strimzi/operator/topic/model/Results.java
Outdated
Show resolved
Hide resolved
topic-operator/src/main/java/io/strimzi/operator/topic/model/TopicOperatorException.java
Outdated
Show resolved
Hide resolved
topic-operator/src/main/java/io/strimzi/operator/topic/model/Results.java
Outdated
Show resolved
Hide resolved
topic-operator/src/main/java/io/strimzi/operator/topic/model/Results.java
Outdated
Show resolved
Hide resolved
topic-operator/src/main/java/io/strimzi/operator/topic/model/Results.java
Outdated
Show resolved
Hide resolved
topic-operator/src/main/java/io/strimzi/operator/topic/cruisecontrol/CruiseControlHandler.java
Outdated
Show resolved
Hide resolved
...-operator/src/main/java/io/strimzi/operator/topic/cruisecontrol/CruiseControlClientImpl.java
Outdated
Show resolved
Hide resolved
topic-operator/src/main/java/io/strimzi/operator/topic/KubernetesHandler.java
Outdated
Show resolved
Hide resolved
topic-operator/src/main/java/io/strimzi/operator/topic/KubernetesHandler.java
Outdated
Show resolved
Hide resolved
topic-operator/src/main/java/io/strimzi/operator/topic/KubernetesHandler.java
Show resolved
Hide resolved
topic-operator/src/main/java/io/strimzi/operator/topic/model/Results.java
Outdated
Show resolved
Hide resolved
topic-operator/src/main/java/io/strimzi/operator/topic/model/TopicOperatorException.java
Outdated
Show resolved
Hide resolved
topic-operator/src/main/java/io/strimzi/operator/topic/model/Results.java
Outdated
Show resolved
Hide resolved
topic-operator/src/main/java/io/strimzi/operator/topic/model/Results.java
Outdated
Show resolved
Hide resolved
topic-operator/src/main/java/io/strimzi/operator/topic/cruisecontrol/CruiseControlHandler.java
Show resolved
Hide resolved
757ae49
to
3b07dc3
Compare
@tombentley hopefully, I addressed all your comments, including the ascii art one :) Failed test is unrelated. |
/packit test --labels regression |
b19b588
to
2a595be
Compare
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 @fvaleri
This change completes the TO refactoring by introducing a set of handlers and related tests. Each handler contains the logic used to call an external system, and helps to keep the BatchTopicController focused on the reconciliation logic. This also introduces the Results object, used toeliminate all side effects from reconciliation functions. The fix for strimzi#9972 is also included. All unit, integration and relevant system tests have been run locally. Signed-off-by: Federico Valeri <[email protected]>
Signed-off-by: Federico Valeri <[email protected]>
Signed-off-by: Federico Valeri <[email protected]>
Signed-off-by: Federico Valeri <[email protected]>
Signed-off-by: Federico Valeri <[email protected]>
Signed-off-by: Federico Valeri <[email protected]>
Signed-off-by: Federico Valeri <[email protected]>
/packit test --labels regression |
/azp run regression |
Azure Pipelines successfully started running 1 pipeline(s). |
/azp run build |
Azure Pipelines successfully started running 1 pipeline(s). |
Type of change
Description
This change completes the TO refactoring by introducing a set of handlers and related tests. Each handler contains the logic used to call an external system, and helps to keep the BatchTopicController focused on the reconciliation logic. This also introduces the Results object, used toeliminate all side effects from reconciliation functions.
The fix for #9972 is also included.
All unit, integration and relevant system tests have been run locally.
Checklist