1
0
Fork 0
mirror of https://github.com/postmannen/ctrl.git synced 2024-12-14 12:37:31 +00:00
Commit graph

85 commits

Author SHA1 Message Date
postmannen
fb0121db7d refactoring into the process type 2021-03-03 14:14:32 +01:00
postmannen
65f2776519 updated comments 2021-03-03 12:45:46 +01:00
postmannen
4f106ea8cc rewrote the textlogger subscriber, fixed * in allowed publishers, cleaned up logging 2021-03-02 13:46:02 +01:00
postmannen
9553aec6bd put in default config if file do not exist 2021-03-02 06:51:08 +01:00
postmannen
069bf5a639 Creating config file, and storing flag values 2021-03-01 20:49:43 +01:00
postmannen
35e0c12109 removed the need for specifying the kind of event/command within a message. This is now picked from the generated subject 2021-03-01 17:08:40 +01:00
postmannen
52a92af20e renamed the ShellCommand type to CLICommand 2021-03-01 12:16:36 +01:00
postmannen
001b66944e updated todo list 2021-03-01 10:16:07 +01:00
postmannen
82c420bc54 ability to choose publishers on subscriber processes 2021-02-26 15:11:20 +01:00
postmannen
dc42ce29e9 add service for publishing hello I'm here messages 2021-02-26 09:02:53 +01:00
postmannen
f736212307 fixed send to yourself 2021-02-26 07:55:28 +01:00
postmannen
77df07533c Updated readme 2021-02-25 13:42:34 +01:00
postmannen
f49b4b3cf6 implemented message timeout and retry options 2021-02-25 13:08:10 +01:00
postmannen
9daa8ebcd6 refactored errorLogSend 2021-02-25 11:08:05 +01:00
postmannen
61e2343f18 refactored, and implemented error messages to central 2021-02-24 15:43:31 +01:00
postmannen
f812c4307e cleaning up restructuring 2021-02-24 10:58:02 +01:00
postmannen
af6a282b6a refactoring 2021-02-24 07:39:14 +01:00
postmannen
e19d76a5fc Changed to upercase const values for command and events, and added choosing of prometheus port 2021-02-22 09:33:37 +01:00
postmannen
25de8982b2 updated with overview svg file 2021-02-19 18:00:47 +01:00
postmannen
b608eb01ef implemented idea for handling metrics from processes 2021-02-19 16:58:16 +01:00
postmannen
41d8091506 rearranget structure, and moved starting of error kernel 2021-02-19 11:07:09 +01:00
postmannen
4e5acb111b reversed the subject structure order internally 2021-02-19 08:16:53 +01:00
postmannen
0fabb73cd9 added say hello handler, prometheus metrics, and correct handling of NACK messages 2021-02-18 14:27:53 +01:00
postmannen
6b59608c82 added initial prometheus exporter 2021-02-18 12:29:14 +01:00
postmannen
65c3eaacb0 checking for valid command type in json input config 2021-02-18 08:25:13 +01:00
postmannen
5524eb3d2b fixed typo in readme 2021-02-17 22:51:21 +01:00
postmannen
dbd38e5c7b updated README with correct values for new command type 2021-02-17 20:57:04 +01:00
postmannen
8dea13b850 added types for ACK and NACK messages 2021-02-17 18:59:49 +01:00
postmannen
529cc48440 naming, and comments 2021-02-17 16:58:51 +01:00
postmannen
71059ba97d updated readme 2021-02-17 13:14:19 +01:00
postmannen
6a81c0e9db retreival and handling of previosly unhandled messages on program restart implemented 2021-02-17 12:02:34 +01:00
postmannen
c60699bce5 addeded permanent log storage 2021-02-17 10:27:39 +01:00
postmannen
08bb43a620 Updated comments 2021-02-16 14:58:59 +01:00
postmannen
1f998b3b6a changed types used for ringbuffer, and fixed mutex on message index 2021-02-16 14:29:32 +01:00
postmannen
a5b8df9ea6 split the message processing into it's own functions, and handle each message concurrently within the buffer 2021-02-16 12:59:37 +01:00
postmannen
f7cbbe3115 storing to message kv buffer seems to work 2021-02-16 12:29:15 +01:00
postmannen
5e44c4bbc4 printing db after message consumed 2021-02-16 06:43:09 +01:00
postmannen
3cb0c9f5c9 kv store for index and messages pu in 2021-02-16 04:57:54 +01:00
postmannen
993f89e2c6 implemented general store and get to kv store 2021-02-15 11:28:27 +01:00
postmannen
fb02962231 put in a ring buffer for new messages 2021-02-12 11:21:51 +01:00
postmannen
63c64aa669 methods are being got'n from map, and executed if it exist 2021-02-11 15:51:07 +01:00
postmannen
ed3ae1dbc3 implemented map for method handler types 2021-02-11 15:39:19 +01:00
postmannen
c1d82f9c25 created initial functions for handlers 2021-02-11 15:07:03 +01:00
postmannen
a9e265f760 updated readme 2021-02-10 23:59:47 +01:00
postmannen
1e715abf62 updated readme 2021-02-10 19:02:57 +01:00
postmannen
4071650f74 Added error handling for correctness of message fields 2021-02-10 14:29:17 +01:00
postmannen
dce6152496 simplified the structure of the infile.txt json format 2021-02-10 10:14:49 +01:00
postmannen
1a3b19071e changed MessageKind to CommandOrEvent 2021-02-10 07:25:44 +01:00
postmannen
271447d42d first concept of receiving messages from end nodes 2021-02-10 05:11:48 +01:00
postmannen
042aee0c29 adding sending node name to messages 2021-02-09 15:08:04 +01:00