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

The REST endpoint "/server/containers/instances/{containerId}" returns HTTP OK response status code even for failure scenarios

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.11.0.GA
    • 7.9.1.GA
    • Kie-Server
    • False
    • False
    • CR1
    • +
    • Undefined
    • Hide

      1) Call kie-server end point to execute One or more runtime command, with wrong container id

      "/server/containers/instances/{containerId}" 
      

      2) Although failure response is returned with error details, HTTP response status code is still "200 - OK".

      Show
      1) Call kie-server end point to execute One or more runtime command, with wrong container id "/server/containers/instances/{containerId}" 2) Although failure response is returned with error details, HTTP response status code is still "200 - OK".
    • ---
    • ---
    • 2021 Week 07-09 (from Feb 15)

      The below ending which executes one or more runtime commands always returns Http response code "200 -OK".

      ~~~
      /server/containers/instances/

      {containerId}

      ~~~

      Even for failure scenarios like "Bad request" or "Container not instantiated" it returns "OK-Status" code.

              ftirados Francisco Javier Tirado Sarti
              rhn-support-sudnair Sudhish Nair
              Karel Suta Karel Suta
              Karel Suta Karel Suta
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: