Skip to content
This repository has been archived by the owner on Apr 24, 2023. It is now read-only.

Provide an HTTP based job tracking endpoint #48

Closed
tnn1t1s opened this issue Sep 24, 2015 · 3 comments
Closed

Provide an HTTP based job tracking endpoint #48

tnn1t1s opened this issue Sep 24, 2015 · 3 comments

Comments

@tnn1t1s
Copy link

tnn1t1s commented Sep 24, 2015

Users would like to be able to query Cook for the list of their running and waiting jobs. We've discussed this at length internally but I'd like to bring this to the open source for design, review and implementation.

@dgrnbrg
Copy link
Contributor

dgrnbrg commented Sep 24, 2015

So, I'd like to make this query one which can be answered through an external DB, like the SQLite DB I want to attach to the gRPC-based transport. I think that rich, programmatic API (as client libs) are a better bet than trying to go full HTTP REST.

@tnn1t1s
Copy link
Author

tnn1t1s commented Oct 1, 2015

Being able to 'curl' the status of a job, without having to find and deploy a client side library is a huge upside and will make it much easier for us to adopt this API. That said, i'm not against rich programmatic APIs that can be fronted by a simple HTTP service for a subset of operations.

@leifwalsh
Copy link
Contributor

The fastest path to something people can use is to just expose a new rest endpoint that either runs the query or answers from a cache if this query is too expensive. Keeping another DB in sync with datomic sounds like a longer project but probably one worth getting to eventually.

@tnn1t1s can you sketch out what would be a useful interface?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants