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

ProgramClient.start() should block until program starts and return program instance handle

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: CDAP Clients
    • Labels:
      None
    • Rank:
      1|hzzxgv:

      Description

      CDAP's ProgramClient.start() should provide the RunId of the Instance of the WorkFlow that was requested to start. Rather than being a fire and forget, this would be a version that blocks, and returns the handle to the Program Instance that the Caller just started. Further, CDAP's ProgramClient would be enhanced to provide a wrapper around the REST API endpoint that directly retrieves the status of a specific RunId (http://docs.cask.co/cdap/3.5.3/en/reference-manual/http-restful-api/lifecycle.html#retrieving-specific-run-information)

        Attachments

          Activity

            People

            • Assignee:
              nitin Nitin Motgi
              Reporter:
              steve.hestness Steve Hestness
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: