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 |
|
postmannen
|
0b44f1d339
|
changed config directories handling
|
2021-05-12 09:50:03 +02:00 |
|
postmannen
|
02ccc9f208
|
added TLS option
|
2021-04-19 21:06:37 +02:00 |
|
postmannen
|
64a22c84e9
|
removed printf's, or made them into log's
|
2021-04-16 13:43:58 +02:00 |
|
postmannen
|
fde053a0cb
|
error handling on newserver
|
2021-04-16 13:18:10 +02:00 |
|
postmannen
|
64af20adf7
|
working on map value instead of directly on the map
|
2021-04-13 07:58:26 +02:00 |
|
postmannen
|
30564f09ae
|
removed not used function
|
2021-04-13 07:45:14 +02:00 |
|
postmannen
|
f32dafc806
|
Added metric for running processes by name
|
2021-04-12 15:35:20 +02:00 |
|
postmannen
|
1acddfa8b4
|
rewrote prometheus metrics handling
|
2021-04-12 10:51:26 +02:00 |
|
postmannen
|
f1359e45d9
|
moved startup pub/sub into process structure
|
2021-04-09 11:30:40 +02:00 |
|
postmannen
|
c091ebfa38
|
moved all starting of pub/sub procs under process
|
2021-04-08 13:43:47 +02:00 |
|
postmannen
|
d909784094
|
Start proc via message, moved nats.conn into process
|
2021-04-07 16:45:51 +02:00 |
|
postmannen
|
23b6b58439
|
renamed label field in message to directory
|
2021-04-07 06:33:29 +02:00 |
|
postmannen
|
2c2f53f6f4
|
errorLog handler writing to file structure
|
2021-04-06 09:06:26 +02:00 |
|
postmannen
|
27fc56256b
|
Renamed ErrorLog to REQErrorLog
|
2021-04-06 07:56:49 +02:00 |
|
postmannen
|
32c70dbc59
|
fixed type error when creating error message subject
|
2021-04-04 10:39:59 +02:00 |
|
postmannen
|
f75aa73703
|
newSubject now uses the methods available map to figure out what kind of CommandOrEvent type it is
|
2021-04-03 07:33:03 +02:00 |
|
postmannen
|
833ce66c00
|
method opcommand, embedded processes to process
|
2021-03-31 08:56:13 +02:00 |
|
postmannen
|
26b606d3cf
|
moved socket listener to server
|
2021-03-30 10:37:16 +02:00 |
|
postmannen
|
ed00f247ae
|
unix socket for new mesages, changed naming of channels
|
2021-03-29 13:36:30 +02:00 |
|
postmannen
|
f792675ebe
|
cleaned up err console logging
|
2021-03-26 05:13:51 +01:00 |
|
postmannen
|
f0b39b1861
|
renamed start of sub errorLog
|
2021-03-25 12:50:58 +01:00 |
|
postmannen
|
899d2e1f09
|
renamed inmsg to steward.sock
|
2021-03-25 12:33:53 +01:00 |
|
postmannen
|
04f7ca013b
|
flagNodeSlice flags gets updated in config file. Made RST flag value to reset config values
|
2021-03-25 11:28:26 +01:00 |
|
postmannen
|
09e7090f83
|
specify allowed nodes via flag for errorLogger
|
2021-03-24 10:14:17 +01:00 |
|