Hide Forgot
Description of problem: Execution server controller from business central doesn't notify Kie server if there is container started or deleted. This behaviour was simulated on REST interface of controller. Issue seems to be caused by KieServerAdminControllerCDI, which overrides notify methods, but doesn't do anything in them. Issue was simulated using old controller interface: http://localhost:8080/business-central/rest/controller/admin/ This issue was simulated on KieControllerIntegrationTest[1], test method testStartAndStopContainer, line 338. [1] https://github.com/droolsjbpm/droolsjbpm-integration/blob/master/kie-server-parent/kie-server-tests/kie-server-integ-tests-controller/src/test/java/org/kie/server/integrationtests/controller/KieControllerIntegrationTest.java#L338 Version-Release number of selected component (if applicable): 6.3.0 ER1 How reproducible: Deploy business central and Kie server. Create Kie server. Create container in Kie server. Start container. Steps to Reproduce: 1. Deploy business central and Kie server. 2. Create Kie server. Using for example: PUT http://localhost:8080/business-central/rest/controller/admin/server/15ad5bfa-7532-3eea-940a-abbbbc89f1e8 3. Create container in Kie server. Using for example: PUT http://localhost:8080/business-central/rest/controller/admin/server/15ad5bfa-7532-3eea-940a-abbbbc89f1e8/containers/kie-concurrent 4. Start container. Using for example: POST http://localhost:8080/business-central/rest/controller/admin/server/15ad5bfa-7532-3eea-940a-abbbbc89f1e8/containers/kie-concurrent/status/started Actual results: Kie server doesn't contain any container. Expected results: Container is registered in Kie server and started. Additional info: This functionality worked for 6.3.0 DR2
Alessandro, you may want to be aware of this. This is a backwards compatibility issue - we are being told that, essentially, the old API should only be considered read-only.
To clarify this: In 6.2 there is REST controller for Kie server available on URL SERVER:HOST/business-central/rest/controller/admin Using this controller user can control kie server instances, create and control containers. In 6.3 this controller is deprecated, can be used just to read informations about kie servers and containers. To start or stop containers user has to use new controller located on URL SERVER:HOST/business-central/rest/controller/management This new controller brings additional functionality like specifying container configuration.
kie-wb-common master: https://github.com/droolsjbpm/kie-wb-common/commit/49aa207ecc8854e4c0c228282ff9b87e935bcb7e 6.4.x: https://github.com/droolsjbpm/kie-wb-common/commit/f5147c35b20f3b057b1bb0d735d57c9d4898bcb9
Verified in 6.3.0ER2.