Uploaded image for project: 'FlightPath'
  1. FlightPath
  2. FLPATH-678

Add openapi generator for orchestrator backend

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • None

      Base the implementation on the Analysis doc

       

      CURRENT IMPLEMENTATION PROGRESS

      REPO: https://github.com/gciavarrini/backstage-plugins/tree/add-openapi-router-v2

      Implemented v2 endpoints:{}

      •  /v2/workflows/overview
      •  /v2/workflows/{workflowId}/overview
      •  /v2/workflows
      •  /v2/workflows/{workflowId}
      •  /v2/workflows/instances

      HOW TO WORK ON THIS ITEM

      https://docs.google.com/document/d/1vvgOeOd8YVqqpPWUmI0twRTgkNx72Lu1Z1WEnyfRZvU/edit?usp=sharing

      In the orchestrator plugin backend the endpoints are defined here https://github.com/caponetto/backstage-plugins/blob/cb4bc4f3f8ba0fff906ec0635f6441c99deb1f83/plugins/orchestrator-backend/src/service/router.ts#L129 and don't rely on openapi.

       

      Add the openapi generator to programmatically create ts code from openapi.json file.

            gciavarrini@redhat.com Gloria Ciavarrini
            gciavarrini@redhat.com Gloria Ciavarrini
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: