Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-2480

Workflow current run info endpoint is missing a /runs/ in the path

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 3.0.0, 2.8.0
    • Fix Version/s: 3.1.0
    • Component/s: API, Docs, Router, Workflow
    • Labels:
      None
    • Sprint:
      Workflow/Spark ending 07/20
    • Rank:
      1|hzyc5j:

      Description

      We correctly have runs/{run-id } in most URLs, such as:

      @Path("/apps/{app-id}/workflows/{workflow-name}/runs/{run-id}/resume")
      

      but there is one that is missing the runs/:

      @Path("/apps/{app-id}/workflows/{workflow-name}/{run-id}/current")
      

      We should add a new endpoint with the correct URL in 3.1 and change the docs. We will also deprecate this endpoint. (How to deprecate an HTTP endpoint?)

      In 3.2 we will remove the faulty one.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bhooshan Bhooshan Mogal
                Reporter:
                andreas Andreas Neumann
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: