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

Add CLI endpoints for scheduling workflows

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.1.1
    • Component/s: CLI
    • Labels:
      None
    • Release Notes:
      Added CLI support for adding, deleting, updating, and retrieving workflow schedules.
    • Rank:
      1|hzzx9r:

      Description

      The following endpoints will be added:

      add time schedule <schedule-name> for <program-type> <program> [vesrsion <version>] [description "optional desc"] at "cron expression" [concurrency <concurrency>] [properties "optional map of properties"]
      +-> PUT /v3/namespaces/default/apps/<app-id>/versions/<app-version>/schedules/<schedule-id>
      
      update time schedule <schedule-name> for <program-type> <program> [vesrsion <version>] [description "optional desc"] at "cron expression" [concurrency <concurrency>] [properties "optional map of properties"] 
      +-> POST /v3/namespaces/default/apps/<app-id>/versions/<app-version>/schedules/<schedule-id>/update
      
      delete schedule <app-id.schedule-id>
      +-> DELETE /v3/namespaces/default/apps/<app-id>/versions/<app-version>/schedules/<schedule-id>
      
      get workflow schedules <app-id.workflow-id>
      +-> GET /v3/namespaces/<namespace-id>/apps/<app-id>/versions/<app-version>/<program-type>/<program-id>/schedules
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                denton Denton Liu
                Reporter:
                denton Denton Liu
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: