-
Notifications
You must be signed in to change notification settings - Fork 575
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
[JBPM-9464] Kie server notification causes bad status in BC #2327
Conversation
2765f5e
to
df5bb35
Compare
SonarCloud Quality Gate failed. |
Jenkins retest this please |
Jenkins retest this |
...er-controller-impl/src/main/java/org/kie/server/controller/impl/KieServerControllerImpl.java
Show resolved
Hide resolved
...r-controller-impl/src/main/java/org/kie/server/controller/impl/KieServerInstanceManager.java
Outdated
Show resolved
Hide resolved
...ces/kie-server-services-common/src/main/java/org/kie/server/services/impl/KieServerImpl.java
Outdated
Show resolved
Hide resolved
...-common/src/main/java/org/kie/server/services/impl/controller/DefaultRestControllerImpl.java
Show resolved
Hide resolved
Jenkins retest this |
1 similar comment
Jenkins retest this |
Jenkins retest this |
jenkins retest this |
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 good to me, but need to fix failing test (KieServerInstanceManagerTest.testGetContainersRemoteOperationWhenResponseTypeIsSUCCESS),
by adding the expected status to the mocked container:
doReturn(KieContainerStatus.STARTED).when(container).getStatus();
Some other minor comments
...r-controller-impl/src/main/java/org/kie/server/controller/impl/KieServerInstanceManager.java
Outdated
Show resolved
Hide resolved
...-common/src/main/java/org/kie/server/services/impl/controller/DefaultRestControllerImpl.java
Outdated
Show resolved
Hide resolved
...-common/src/main/java/org/kie/server/services/impl/controller/DefaultRestControllerImpl.java
Show resolved
Hide resolved
SonarCloud Quality Gate failed. |
Checked with Kie server and standalone controller - seems to work ok. |
@elguardian When I use WebSockets for connection between Kie server and Business central then I get this warning:
The warning is shown for example when container is started or stopped using Business central. |
Jira https://issues.redhat.com/browse/JBPM-9464
depends on kiegroup/kie-wb-common#3505