How to monitor external task/job progress via API? #1429
Unanswered
ChrisLynchHPE
asked this question in
Q&A
Replies: 1 comment
-
I should also ask, does this scale well? How are these Pode Tasks treated internally? When you define a task in the Pode Server config, is it a single task, or is a unique task created each time the task is called? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm using Pode to develop my own REST API to be a front-end to another job scheduler service, which brokers assignment of resources when a new job is scheduled. I use the Pode State feature to keep track of these assignments. Can anyone recommend a process to essentially perform a status poll of this external job scheduler? I've tried to use Pode Tasks, but that appears to be buggy and you have to define multiple tasks up front.
Here is my route code:
Here is the Pode Task code:
And for completeness, here is the Pode State config:
Here is how the caller makes the POST call to this API:
Beta Was this translation helpful? Give feedback.
All reactions