Add executor to Executor Pool #3

Closed
opened 2021-10-07 12:54:32 +00:00 by reynisson · 0 comments
reynisson commented 2021-10-07 12:54:32 +00:00 (Migrated from github.com)

Acceptance criteria:

  • Implement the AddExecutor REST call that takes as parameters: IP Address, Port, Task Type
    • Validate that the IP, Port combination is not taken. If it is then return an AddressTakenError
    • If validation succeeds then add the parameters (IP Address, Port, Task Type) to the ExecutorPool (list stored in memory for now)
    • If the saving of the Executor was successful then return a success message
    • If not, return an error message
**Acceptance criteria:** - [x] Implement the AddExecutor REST call that takes as parameters: _IP Address, Port, Task Type_ - [ ] Validate that the IP, Port combination is not taken. If it is then return an AddressTakenError - [ ] If validation succeeds then add the parameters (_IP Address, Port, Task Type_) to the ExecutorPool (list stored in memory for now) - [x] If the saving of the Executor was successful then return a success message - [x] If not, return an error message
Sign in to join this conversation.
No description provided.