Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-1600

REST call does not filter results by container ID

    Details

    • Type: Bug
    • Status: Verified (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 7.0.2.GA
    • Fix Version/s: 7.1.1.GA
    • Component/s: Kie-Server
    • Labels:
    • Environment:

      Business-central + managed kie-server in same EAP with out-of-the-box configuration

      Description

      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/

      {id}/processes/errors passing as parameter "IntentionalErrors_1.0.0". The response is correct.
      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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  elguardian Enrique González Martínez
                  Reporter:
                  tkobayashi Toshiya Kobayashi
                  Tester:
                  Karel Suta
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: