Uploaded image for project: 'DC/OS'
  1. DC/OS
  2. DCOS_OSS-2615

Retrieve the status of a particular run of a job from Metronome API

    Details

    • Type: Task
    • Status: Accepted
    • Priority: Medium
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: metronome
    • Labels:

      Description

      Hi,

      Currently there is no way to know the Status and other details of a particular run instance of a job which is 'inactive'. 

      Currently, there are only two ways to know the status:
      To check the status of an active job:
      GET http://<master IP>/service/metronome/v1/jobs/{jobId}/runs/{runId}

      To check the status of an inactive job:
      GET http://<master IP>/service/metronome/v1/jobs/{jobId}?embed=history and parse on the basis of 'runId', if is is within the last 100 or 1000 runs.

      It would be better to have a single API based on jobId and runId.

      Ref: https://jira.mesosphere.com/browse/DCOS_OSS-1647

      Thanks.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ambujpandey Ambuj Pandey
              Team:
              Orchestration Team
              Watchers:
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: