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

76 commits

Author SHA1 Message Date
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
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