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

Details

    • 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)

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              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:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: