From 6bcb6e95c44ca9461c7544513e5c144c619b9df4 Mon Sep 17 00:00:00 2001 From: postmannen Date: Tue, 8 Jun 2021 04:02:23 +0200 Subject: [PATCH] changed cmd structure, and todo list --- .gitignore | 4 +++- README.md | 18 +++++++++++++++++- cmd/{ => steward}/main.go | 0 3 files changed, 20 insertions(+), 2 deletions(-) rename cmd/{ => steward}/main.go (100%) diff --git a/.gitignore b/.gitignore index 046163f..800be96 100644 --- a/.gitignore +++ b/.gitignore @@ -9,4 +9,6 @@ var/ store.log changes.md steward.sock -.gitignore \ No newline at end of file +ships/ +.gitignore +testing_messages/ \ No newline at end of file diff --git a/README.md b/README.md index 88632dd..0a51f24 100644 --- a/README.md +++ b/README.md @@ -536,7 +536,23 @@ For CliCommand message to a node named "ship1" of type Command and it wants an A ## TODO -- Implement a workflow request type that will allow steps to be executed, and rollback if something failed during execution. +### Workflow request type + +Implement a workflow request type that will allow steps to be executed, and rollback if something failed during execution. + +### Reply messages naming + +For reply messages, put the "reply" part at the end of the subject instead of the beginning. + +### Visualize the id of a process in the ps listing, and what they do + +Processes gets their name based on the REQ type of subject the belong to. If two processes who does the same thing is started they will get the same process name. + +Change so processes also show the processID,and also possibly the data field it is working on, so it is possible to distinguish more processes for the same REQ type. + +Also maybe put in a timer for showing how long a process have been running. + + ## Disclaimer diff --git a/cmd/main.go b/cmd/steward/main.go similarity index 100% rename from cmd/main.go rename to cmd/steward/main.go