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

[SW] Add support to GET method to OpenShift custom function

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Duplicate
    • Icon: Major Major
    • None
    • None
    • None
    • False
    • None
    • False
    • ---
    • ---

      Users should be allowed to use GET requests in OpenShift custom functions. Default is POST.

      {
        "id": "myworkflow",
        "specVersion": "0.8",
        "version": "1.0",
        "start": "State1",
        "functions": [
          {
            "name": "function1",
            "type": "custom",
            "operation": "openshift:serving.knative.dev/v1/mynamespace/myservice",
            "metadata": {
              "method": "GET"
              "path": "/my_path"
            }
        ],
        "states": [
          {
            "name": "State1",
            "type": "operation",
            "actions": [
              {
                "functionRef": {
                  "refName": "function1",
                  "arguments": {
                    "data": "${ .data }"
                  }
                }
              }
            ],
            "end": true
          }
        ]
      }
      

              hbelmiro@redhat.com Helber Belmiro
              hbelmiro@redhat.com Helber Belmiro
              Marian Macik Marian Macik
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: