Identify potential executors (TODO) #8

Closed
opened 2021-10-07 14:15:36 +00:00 by reynisson · 0 comments
reynisson commented 2021-10-07 14:15:36 +00:00 (Migrated from github.com)

Acceptance criteria:

  • Implement the FindExecutor REST call that takes as parameters: Task ID, Task Type, Task Options (JSON)
    • Query the executor pool via GetExecutorsForTaskType(Task Type).
      • If 1 or more executors are returned then add the (Task ID, Task Type, Task Options (JSON)) to the task queue (internal dictionary of queues?).
        • Then notify all executors returned that there is a new task on the task list via TODO FILL IN
      • Else if no executors are returned, then respond with a descriptive error message
**Acceptance criteria:** - [ ] Implement the FindExecutor REST call that takes as parameters: _Task ID, Task Type, Task Options (JSON)_ - [ ] Query the executor pool via GetExecutorsForTaskType(Task Type). - [ ] If 1 or more executors are returned then add the (_Task ID, Task Type, Task Options (JSON)_) to the task queue (internal dictionary of queues?). - [ ] Then notify all executors returned that there is a new task on the task list via TODO FILL IN - [ ] Else if no executors are returned, then respond with a descriptive error message
Sign in to join this conversation.
No description provided.