1
0
Fork 0
mirror of https://github.com/postmannen/ctrl.git synced 2025-03-05 06:46:48 +00:00

updated readme

This commit is contained in:
postmannen 2021-09-23 09:52:32 +02:00
parent 8239c76bda
commit 5204df4633

View file

@ -65,13 +65,9 @@ The idea behind Steward is to help out with exactly these issues, allowing you t
- [Subject](#subject)
- [Complete subject example](#complete-subject-example)
- [TODO](#todo)
- [Implements a replyOpts message field](#implements-a-replyopts-message-field)
- [Implements a repeat and repeatInterval message field](#implements-a-repeat-and-repeatinterval-message-field)
- [Split out the different opCmd's into it's own request types](#split-out-the-different-opcmds-into-its-own-request-types)
- [Move the processes map into it's own go routine](#move-the-processes-map-into-its-own-go-routine)
- [Services at startup of Steward. Could be implemented by having a local folder of messages to go through at startup. What is needed](#services-at-startup-of-steward-could-be-implemented-by-having-a-local-folder-of-messages-to-go-through-at-startup-what-is-needed)
- [A carrier type of message, that are able to forward a message on behalf of others, and are not directly ment for itself](#a-carrier-type-of-message-that-are-able-to-forward-a-message-on-behalf-of-others-and-are-not-directly-ment-for-itself)
- [Workflow request type](#workflow-request-type)
- [Add Op option the remove messages from the queue on nodes](#add-op-option-the-remove-messages-from-the-queue-on-nodes)
- [Disclaimer](#disclaimer)
@ -998,16 +994,10 @@ For CliCommand message to a node named "ship1" of type Command and it wants an A
## TODO
### Implements a replyOpts message field
To be used for specifying options that can be needed for reply methods like external calls, etc.
### Implements a repeat and repeatInterval message field
To specify how many times a message should be run and at what interval
### Split out the different opCmd's into it's own request types
### Move the processes map into it's own go routine
Use channels to update and get values, and get rid of the use of mutex's.
@ -1018,12 +1008,6 @@ Use channels to update and get values, and get rid of the use of mutex's.
- A Handler that can check what is in this folder.
- A Handler to remove messages from this folder.
### A carrier type of message, that are able to forward a message on behalf of others, and are not directly ment for itself
### Workflow request type
Implement a workflow request type that will allow steps to be executed, and rollback if something failed during execution.
### Add Op option the remove messages from the queue on nodes
If messages have been sent, and not picked up by a node it might make sense to have some method to clear messages on a node. This could either be done by message ID, and/or time duration.