1
0
Fork 0
mirror of https://github.com/postmannen/ctrl.git synced 2025-01-08 05:09:15 +00:00
Commit graph

203 commits

Author SHA1 Message Date
postmannen
f0c84f48db injected server directly procs 2022-04-01 07:09:55 +02:00
postmannen
d69634a706 added helloRegister and centralAuth to server 2022-04-01 05:46:37 +02:00
postmannen
7e71064adf replaced log statements with errorKernel logger 2022-02-18 09:51:11 +01:00
postmannen
def4bd8e58 removed debug printing 2022-02-11 09:04:14 +01:00
postmannen
5fa3f593e7 removed errorCh from newProcess arguments 2022-02-07 06:42:17 +01:00
postmannen
b3630f62c4 moved signatures into signatures.go 2022-02-07 04:23:13 +01:00
postmannen
426b98941e moved the ownership of signatures server from processes 2022-02-04 10:33:31 +01:00
postmannen
521702fa53 initial signature verification 2022-02-04 06:24:34 +01:00
postmannen
11991d95ff generating signing keys 2022-02-02 08:54:36 +01:00
postmannen
1fa45b1293 changed message.Data from []string to []byte 2022-01-31 08:49:46 +01:00
postmannen
4390d494f4 updated comments with references to command to just have for the event type 2022-01-27 14:25:24 +01:00
postmannen
e7e5726095 renamed commandorevent field name in subject struct 2022-01-27 10:06:06 +01:00
postmannen
d7bee9d361 removed command type 2022-01-27 07:19:04 +01:00
postmannen
88672f1e35 added logic for startup folder 2022-01-26 09:23:02 +01:00
postmannen
48500aa1fb sendInfo also now via error kernel 2022-01-21 06:15:26 +01:00
postmannen
ccd57dad10 renamed newMessagesCh to ringBufferBulkInCh 2022-01-20 08:17:37 +01:00
postmannen
698706b41f update comments 2022-01-20 07:50:58 +01:00
postmannen
91bfb8510f replaced sendError with errorKernel.errSend all over 2022-01-19 10:55:03 +01:00
postmannen
db60d69289 added errorKernel to the processes struct 2022-01-19 05:44:20 +01:00
postmannen
57b3a44169 tui console send message are working 2022-01-13 08:34:22 +01:00
postmannen
7092265d8c added tui req handler 2022-01-12 07:42:41 +01:00
postmannen
0e98ce7cfb moved code from pkg stew to tui type 2022-01-08 04:19:51 +01:00
postmannen
41ce645dc2 removed stew.sock 2022-01-07 09:14:31 +01:00
postmannen
341d714361 added disabling av steward.sock 2022-01-07 07:36:19 +01:00
postmannen
248258d8e8 moved socket creation into own function 2022-01-07 07:21:21 +01:00
postmannen
14493e2a4a added removal of stew.sock on exit 2022-01-05 19:53:26 +01:00
postmannen
909915a77b added flag for ringBufferSize 2021-12-21 07:21:12 +01:00
postmannen
6399cc427d Added connection timeouts 2021-12-17 17:28:57 +01:00
postmannen
b02a84f6cc added config flags for jitter 2021-12-16 11:01:01 +01:00
postmannen
9b07eaa44b comments 2021-11-22 08:32:45 +01:00
postmannen
38e286ab7d removed debug printing 2021-11-22 08:25:50 +01:00
postmannen
c8f8de71c5 relay, central ok, but no output to node1 2021-11-19 09:35:53 +01:00
postmannen
81bd4d0589 Get default message timers directly from flag 2021-11-18 06:50:25 +01:00
postmannen
307695842f removed the inner map of procsmap 2021-11-16 19:07:24 +01:00
postmannen
883f824325 put back proc active map with mutexes 2021-11-16 10:21:44 +01:00
postmannen
382137d770 updated comments 2021-11-10 16:10:51 +01:00
postmannen
452e3a2e43 checking if we are the the relay host 2021-11-10 12:58:23 +01:00
postmannen
20b5d6cf56 creating new subject for relay, first hop relay ok 2021-11-10 11:31:48 +01:00
postmannen
d02d9018e9 more relay structure, and sub startup 2021-11-10 11:21:38 +01:00
postmannen
c37eeffeb5 initial relay request types 2021-11-10 06:22:03 +01:00
postmannen
4fe066aebd cleaned up old comments 2021-11-09 14:01:42 +01:00
postmannen
cef01a65b6 updated comments 2021-11-09 13:18:58 +01:00
postmannen
ffc5d76623 removed no longer needed mutex 2021-10-08 22:39:46 +02:00
postmannen
92047c9851 procsMap seems to work 2021-10-08 12:07:10 +02:00
postmannen
8239c76bda added sendInfoLogMessage function 2021-09-23 08:31:30 +02:00
postmannen
de7a6c0dda removed message from error messages 2021-09-23 08:19:53 +02:00
postmannen
e33fba19e1 removed debug print statements 2021-09-23 05:46:25 +02:00
postmannen
21f532c128 replaced goto in routeMessageToProcess 2021-09-21 23:29:42 +02:00
postmannen
b29724f8a3 using main context on ringbuffer 2021-09-15 10:46:30 +02:00
postmannen
1434e5a85c initial stop function for ringbuffer 2021-09-15 09:17:35 +02:00
postmannen
64207adc62 working on context for ringbuffer 2021-09-15 08:39:34 +02:00
postmannen
cb867ba7a2 moved bucket names into ringbuffer struct 2021-09-14 16:23:01 +02:00
postmannen
aba7324ba6 fixed bug with hang caused by the of mutex 2021-09-13 13:15:21 +02:00
postmannen
254e522092 debug print statements 2021-09-13 09:24:38 +02:00
postmannen
0b61e510b4 added debug output 2021-09-13 07:02:14 +02:00
postmannen
5a1f20142c added prometheus exporter for build version 2021-09-10 10:21:33 +02:00
postmannen
69f6287ee8 added version and ldflags example to set it 2021-09-10 10:04:25 +02:00
postmannen
7229f33cac initial http reader for messages 2021-09-10 05:26:16 +02:00
postmannen
8ad6d819e5 removed not need argument from readTcpListener 2021-09-09 13:32:04 +02:00
postmannen
d0f1ed32d1 removed the values field from flagslice 2021-09-08 17:57:21 +02:00
postmannen
0f93e9a439 added error message timeouts and retries 2021-09-07 09:43:54 +02:00
postmannen
804e714eaf added flag for natsConnectRetryInterval 2021-09-01 13:39:54 +02:00
postmannen
b0dc2db3f9 always nats retry connect when starting 2021-09-01 13:25:02 +02:00
postmannen
ebbca59eb7 changed time format 2021-08-27 12:27:38 +02:00
postmannen
18272d73ab metrics on error messages 2021-08-26 12:26:08 +02:00
postmannen
c93fe189c6 removed no longer needed comments 2021-08-26 07:02:36 +02:00
postmannen
2a182e78a2 renamed variables 2021-08-25 10:16:55 +02:00
postmannen
ac932ac2c9 renaming variables 2021-08-25 08:50:24 +02:00
postmannen
914135fdd1 renamed toRingbuffer channel to newMessagesCh 2021-08-25 08:31:48 +02:00
postmannen
a042b51672 renamed channel 2021-08-25 06:38:23 +02:00
postmannen
bf75a44fbf renamed message fileextension to message filename 2021-08-24 14:05:44 +02:00
postmannen
8b32d9aefa implemented handler for file server 2021-08-23 17:05:56 +02:00
postmannen
b77f04bd5d implemented tcp listener for new messages 2021-08-23 16:00:48 +02:00
postmannen
10d28f6ec1 expose datafolder via http 2021-08-23 12:47:33 +02:00
postmannen
c9e095ff5b more metrics 2021-08-18 15:41:53 +02:00
postmannen
b50cab487c put in custom prometheus registry 2021-08-18 12:16:21 +02:00
postmannen
c27a3dc188 updated comments 2021-08-16 13:01:12 +02:00
postmannen
a0304e31e7 added stop method on processes 2021-08-11 12:23:37 +02:00
postmannen
06bdbc0fe2 moved startup-processes in to processes 2021-08-11 10:11:57 +02:00
postmannen
0af326bba5 more tests 2021-08-10 07:41:30 +02:00
postmannen
e28eb3770d initial test package created 2021-08-09 14:41:31 +02:00
postmannen
898f299e71 created stop function for server 2021-08-09 09:18:30 +02:00
postmannen
9039e82fb7 comments 2021-08-09 05:50:08 +02:00
postmannen
09f28a79a7 restructured the start of metrics 2021-08-04 10:37:24 +02:00
postmannen
95e2984c86 Added stop function for errorKernel 2021-08-04 08:35:35 +02:00
postmannen
90d43bda7c removed old comments 2021-08-03 15:05:34 +02:00
postmannen
e5f995cf62 rewrote starting of startMetrics 2021-08-03 13:57:29 +02:00
postmannen
d2846007bd Added child contexts for errorkernel and startup subscribers 2021-08-03 13:43:05 +02:00
postmannen
7002ca4364 Activating timed exit 2021-08-03 12:30:18 +02:00
postmannen
1523ae84c3 replaced struct{} with callback func for testing 2021-07-05 07:43:33 +02:00
postmannen
dd6d52f427 added delivered verification between buffer and buffer reader 2021-07-02 19:09:42 +02:00
postmannen
7791899e3d Removed some errors via messages 2021-07-02 18:32:01 +02:00
postmannen
f4c501d3c5 disabled main ctx cancelation 2021-07-02 13:26:30 +02:00
postmannen
684b3f896f Added main ctx, and child ctx derived from main to procs 2021-07-02 11:26:52 +02:00
postmannen
4929191269 added initital code for stew socket 2021-07-02 08:38:44 +02:00
postmannen
923fd4c611 exported type node to Node 2021-06-29 08:21:42 +02:00
postmannen
63c043e0ff Unique process naming with id's used in active map to be able to control all individual processes 2021-06-08 13:56:31 +02:00
postmannen
495442079a Added retry if no nats server available at startup 2021-05-25 10:23:27 +02:00
postmannen
d9cd986426 set nats maxreconnects to unlimited 2021-05-21 13:33:03 +02:00
postmannen
91ac5da4d6 added nkey seed 2021-05-20 12:27:25 +02:00