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

58 commits

Author SHA1 Message Date
postmannen
abf8c0d3c7 added procFunc concept, fixed race and timer issues 2021-03-04 16:27:55 +01:00
postmannen
9c9498341c removed *server dependency for newProcess() 2021-03-04 06:53:03 +01:00
postmannen
d38b9b03dc processes type, and moved check out of server closer to where they are needed 2021-03-03 15:44:32 +01:00
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
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
82c420bc54 ability to choose publishers on subscriber processes 2021-02-26 15:11:20 +01:00
postmannen
f736212307 fixed send to yourself 2021-02-26 07:55:28 +01:00
postmannen
f49b4b3cf6 implemented message timeout and retry options 2021-02-25 13:08:10 +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
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
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
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
1f998b3b6a changed types used for ringbuffer, and fixed mutex on message index 2021-02-16 14:29:32 +01:00
postmannen
f7cbbe3115 storing to message kv buffer seems to work 2021-02-16 12:29:15 +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
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
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
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