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

913 commits

Author SHA1 Message Date
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
postmannen
2594495668 auto spawning of new publisher proc for new subjects. 2021-02-09 14:29:19 +01:00
postmannen
6d955b5fe0 updated doc 2021-02-09 13:56:38 +01:00
postmannen
f0f659f23c added same process structure to subscriber as publisher 2021-02-09 13:48:02 +01:00
postmannen
29254c04d0 implemented the concept of processKind 2021-02-09 11:52:08 +01:00
postmannen
39e29a079e added messageKind and handling of different types of message 2021-02-09 11:16:02 +01:00
postmannen
809ea472a4 Rewrote publisher to handle incomming messages concurrently 2021-02-08 21:58:31 +01:00
postmannen
06161887a4 todo comments in regards to errors 2021-02-08 08:45:21 +01:00
postmannen
f01995cab5 implemented error kernel process actions 2021-02-08 06:02:54 +01:00
postmannen
f4d7f40c86 moved the error kernel out into it's own type 2021-02-05 13:56:42 +01:00
postmannen
8db29c7e2f implemented the concept of an error kernel 2021-02-05 10:47:07 +01:00
postmannen
7d5b2bccb9 testing with message types 2021-02-05 07:25:12 +01:00
postmannen
98d5c4b3da input from file seems to initially work 2021-02-04 13:26:10 +01:00
postmannen
86bfb014b3 changed exported types 2021-02-04 11:46:58 +01:00
postmannen
dc2352cab7 refactoring for reading input from file...and more 2021-02-03 22:08:28 +01:00
postmannen
efb781ccf0 rewrote so all processes receive the messages via a channel 2021-02-03 14:53:25 +01:00
postmannen
6ec1ce54f4 fixed more descriptive error messages 2021-02-03 12:59:08 +01:00
postmannen
0aa74de868 rewrote so the processes map is based on the subject name instead of the node name 2021-02-03 12:55:02 +01:00
postmannen
9fae25e19b implemented the use of the subject type to name the subject 2021-02-03 10:23:50 +01:00
postmannen
41ced11b59 updated doc 2021-02-03 09:06:37 +01:00
postmannen
d6d77e6b02 updated doc 2021-02-03 08:28:21 +01:00
postmannen
fea2d576a4 added subject as its own type attached to process 2021-02-02 13:39:24 +01:00
postmannen
c8886121b9 checking file for updates and reading content 2021-02-02 13:06:37 +01:00