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

[SW] Add support for GET method to Knative custom function

    XMLWordPrintable

Details

    • 2023 Week 30-32 (from Jul 24), 2023 Week 33-35 (from Aug 14)

    Description

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

      {
        "id": "myworkflow",
        "specVersion": "0.8",
        "version": "1.0",
        "start": "State1",
        "functions": [
          {
            "name": "function1",
            "type": "custom",
            "operation": "knative:mynamespace/func1?path=/my_path&method=get"
          }
        ],
        "states": [
          {
            "name": "State1",
            "type": "operation",
            "actions": [
              {
                "functionRef": {
                  "refName": "function1",
                  "arguments": {
                    "data": "${ .data }"
                  }
                }
              }
            ],
            "end": true
          }
        ]
      }
      

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: