-
Bug
-
Resolution: Done
-
Major
-
7.0.2.GA
-
Business-central + managed kie-server in same EAP with out-of-the-box configuration
the following REST call returns errors from ALL kie-containers in a kie-server although it's designed for return errors in the kie-container passed in the path:
curl -X GET "http://localhost:8080/kie-server/services/rest/server/admin/containers/IntentionalErrors_1.0.0/processes/errors?includeAck=false&page=0&pageSize=10&sortOrder=true" -H "accept: application/json"
1. Install the kjar in the business-central repository
2. Create a kie-container with name IntentionalErrors_1.0.0 with the attached kjar.
3. Create a process instance through business-central. The instance will be created with an error in the first node.
4. Get errors of the kie-container using kie-server's swagger with endpoint /server/admin/containers/
5. Create a new kie-container with name "IntentionalErrors_1.0.0_Copy" with the same kjar.
6. Create a process instance in the new kie-container.
7. Get errors of the kie-container using kie-server's swagger with endpoint /server/admin/containers/{id}
/processes/errors passing as parameter "IntentionalErrors_1.0.0_Copy". The response will show errors from both containers.
- clones
-
RHPAM-1599 REST Endpoint for getting errors in a kie-container doesn't filter the result by container id
- Closed