Making task endpoint a bit more useful, including state changes and attempts

This commit is contained in:
Ian Roddis
2022-02-25 14:17:36 -04:00
parent 7510fc288d
commit 197af4c76a
3 changed files with 52 additions and 12 deletions

View File

@@ -41,6 +41,8 @@ namespace daggy {
std::string tasksToJSON(const TaskSet &tasks);
std::string taskRecordToJSON(const loggers::dag_run::TaskRecord &taskRecord);
// Full specs
DAGSpec dagFromJSON(const rj::Value &spec);
DAGSpec dagFromJSON(const std::string &jsonSpec);