-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
None
-
None
-
None
-
False
-
False
-
NEW
-
NEW
-
Undefined
-
---
-
---
-
The fix doesn't work properly when one of Kie server is turned off. In such case there is deleted entry from containerInfo, causing any request to affected container to be returned with HTTP 404.
Reproducer:
Start Smart router
Start EAP with Business central and Kie server
Start second EAP with Kie server only (on different port)
Both Kie servers should have same Kie server id (to belong to same server template) and connect to Business central
Deploy Evaluation example to the server template (starting evaluation container on both Kie servers)
Check that Smart router returns proper response - HTTP GET on http://localhost:9000/containers/evaluation/processes should return evaluation process
Stop second EAP with Kie server.
Check Smart router again (HTTP GET on http://localhost:9000/containers/evaluation/processes) - this time Smart router returns HTTP 404. Expected behaviour is that evaluation process is returned (as first Kie server is still running).
- relates to
-
RHPAM-3159 Duplicate container-info entries in kie-server-router.json file if we create containers with unique container-alias
- Closed