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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.1.1.GA
    • 7.0.2.GA
    • Kie-Server
    • 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/

      {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.

              elguardian@gmail.com Enrique González Martínez (Inactive)
              rhn-support-tkobayas Toshiya Kobayashi
              Karel Suta Karel Suta
              Karel Suta Karel Suta
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: