Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-8779

RestWorkItemHandler should include query if specified in endpoint

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 1.36.0.Final
    • None
    • Core Engine
    • None
    • False
    • None
    • False
    • ---
    • ---
    • 2023 Week 09-11 (from Feb 27)

      Currently RestWorkItemHandler is ignoring the query part and realy on parameters of the form QUERY_<query_param_name> to fill the query part of the URI.
      In order to make it easier copy pasting a URI for Custom REST operation in serverless workflow, for example, to be able to write this

      rest:get:https://api.agify.io:80/?name={name}
      

      and specify this arguments object

      {
       "name" : "Pepe"
      }
      
      

      which will be an alternative to the currently working, but somehow more cumbersome

      rest:get:https://api.agify.io:80/
      

      with params

      
      {
      "QUERY_name": "Pepe"
      }
      
      

            ftirados Francisco Javier Tirado Sarti
            ftirados Francisco Javier Tirado Sarti
            Marian Macik Marian Macik
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: