Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add job statuses to see when a job has finished #44

Open
pglass opened this issue Jul 30, 2015 · 0 comments
Open

Add job statuses to see when a job has finished #44

pglass opened this issue Jul 30, 2015 · 0 comments

Comments

@pglass
Copy link
Contributor

pglass commented Jul 30, 2015

Since you can execute a job multiple times, we'll probably need another api call to fetch status for each execution of that job. This could look something like:

GET /v1/{tenant}/jobs/{job_id}/history/{run_number}
{
    “run_number": 1,
    "job_id": "4dcd8e8f-cdd4-4dc1-8f3c-8242db216388",
    "status": "in-progress",
    ...
}

I'm not sure what statuses we'll actually end up using... We'll need at least:

  • running or in-progress while the job is running
  • error if the job failed to complete for some reason
  • complete if the job has finished
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant