Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-9611

Command resource returns HTTP OK response status code even for failure scenarios

XMLWordPrintable

    • False
    • False
    • NEW
    • NEW
    • 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
              ftirados Francisco Javier Tirado Sarti
              Karel Suta Karel Suta
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: