Uploaded image for project: 'Serverless logic'
  1. Serverless logic
  2. SRVLOGIC-7

[core] Simplified serverless knative function invocation

XMLWordPrintable

    • Icon: Feature Feature
    • Resolution: Done
    • Icon: Major Major
    • 1.28.0
    • None
    • serverless-workflow
    • None
    • False
    • None
    • False
    • 2022 Week 41-43 (from Oct 10), 2022 Week 44-46 (from Oct 31), 2022 Week 47-49 (from Nov 21), 2022 Week 50-02 (from Dec 12), 2023 Week 03-05 (from Jan 16), 2023 Week 06-08 (from Feb 6)

      Motivation

      Knative/Kubernetes resources such as KN Service, Service, Ingress, Deployment, Pods, and more can be called by a regular HTTP POST request.

      This means that SW could support this feature out of the box, not needing an OpenAPI interface to do so.

      Goal

      Simplify invocation of serverless knative functions from serverless workflows

      Scenarios

      As a developer, I want to define endpoints of serverless functions in serverless workflow operations dynamically based on their service name in the namespace, see the examples below:

      1. knative:mynamespace/func1 -> the func1 Knative Service in mynamespace
      2. knative:func2 -> the func2 Knative Service in the same namespace

      As a developer, I don’t want to add OpenAPI to a serverless function in order to be able to call it from a workflow.

      Expected outcomes

      Function operation can use new formats knative: and kubernetes: for defining endpoints dynamically.

      Serverless functions doesn’t require OpenAPI and will be called directly via HTTP requests

              hbelmiro@redhat.com Helber Belmiro
              ibek1@redhat.com Ivo Bek
              Marian Macik Marian Macik
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: