onyx

FYI: alternative Onyx :onyx: chat is at <https://gitter.im/onyx-platform/onyx> ; log can be found at <https://clojurians-log.clojureverse.org/onyx/index.html>
sparkofreason 2018-07-03T16:52:52.000257Z

Are the slack logs still collected at the clojurians log link in the header? Was looking for a the discussion about a previous question, and the onyx logs there only go through 20180417.

lucasbradstreet 2018-07-03T17:05:06.000433Z

Ah damn. I think that must be because slack deprecated their slack gateway

2018-07-03T17:45:38.000543Z

yeah it is

2018-07-03T17:45:50.000007Z

it's a shame

sparkofreason 2018-07-03T18:36:07.000018Z

Our application is all about scaling cluster resources, and I want to dogfood it using our onyx cluster. Is there an API to get a list of pending jobs?

lucasbradstreet 2018-07-03T18:38:00.000272Z

onyx.api/job-state allows you to get the current state for a particular job ID. I could add another which returns the state for all jobs

lucasbradstreet 2018-07-03T18:38:41.000144Z

lib-onyx also has a bunch of helpful code for that sort of thing

sparkofreason 2018-07-03T19:13:05.000028Z

Looks like I could use the replica HTTP query server, just get a list of all jobs, and figure it out from there. That would be perfect.

lucasbradstreet 2018-07-03T19:14:15.000163Z

That’d work fine.

lucasbradstreet 2018-07-03T19:15:02.000194Z

Preferable to a job-state fn approach, as that has the play back the log each time