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

38 commits

Author SHA1 Message Date
postmannen
3a31ced938 Squashed commit of the following:
implemented reading and embedding the content of a local file with {{CTRL_FILE}}

fixed error with not found filename in copy test, remove debug logs

seedfile: removed deletion, and changed file permissions to 600

created flags for profiling

renamed startup.subscriber to startup.startProcess

created a separate method for helloPublisher

removed processKind, og removed not needed file check in copy request

removed sams from channels

removed publisher channel on subject, and messages to publish are now directly published from the newMessagesCh

removed no longer needed compression and serialization flags.

all messaging are using zstd for compression, and cbor for serializing

added functions for handling cbor serializing and zstd compression, and swapped out json marshaling of jetstream message data with cbor and zstd

added flag for max jetstream messages to keep on broker per subject
2024-12-03 16:17:33 +01:00
postmannen
cdf660aa07 add NODES.all as jetstream subject, and updated doc
added handling of consumed jetstream messages, and fixed a read error with readFolder which sometimes read empty content

newMessagesCh now takes single sam instead of []sams

added jetstream publish channel
2024-11-27 08:34:49 +01:00
postmannen
b1a5406598 Squashed commit of the following:
commit ec6ea8158d5051010c25ef848a7b7b91fa40efef
Author: postmannen <postmannen@gmail.com>
Date:   Tue Nov 19 03:48:03 2024 +0100

    Removed remaining use of REQ in naming

commit b80bb06a47cf564a88d684c1d1d4fe2e408c3c0f
Author: postmannen <postmannen@gmail.com>
Date:   Mon Nov 18 23:15:32 2024 +0100

    removed REQ in more variable names, including methods

commit af7f6fef3e0093312d2ca12740f7b27840797800
Author: postmannen <postmannen@gmail.com>
Date:   Mon Nov 18 22:54:40 2024 +0100

    renamed all the method type variables

commit e657ecb37f
Author: postmannen <postmannen@gmail.com>
Date:   Mon Nov 18 22:32:13 2024 +0100

    renamed methods constant values and removed REQ
2024-11-19 03:48:42 +01:00
postmannen
2fb43591ce updated readme
removed example for no longer existing relay messages
cleaned up comments
Removed some remaings after REQToFileNACK
Implemented env variables for all flags, and removed config flag. Also added use of .env file.
removed configuration as input argument from all the loggers
replaced logging of new messages in read folder with a logDebug so we don't send those messages to the error kernel
2024-03-27 12:48:17 +01:00
postmannen
69995f76ca updated package info
updated references
removed tui client
removed ringbuffer persist store
removed ringbuffer
enabled audit logging
moved audit logging to message readers
disabled goreleaser
update readme, cbor, zstd
removed request type ping and pong
update readme
testing with cmd.WaitDelay for clicommand
fixed readme
removed ringbuffer flag
default serialization set to cbor, default compression set to zstd, fixed race,
removed event type ack and nack, also removed from subject. Fixed file stat error for copy log file
removed remaining elements of the event type
removed comments
renamed toRingbufferCh to samToSendCh
renamed directSAMSCh ro samSendLocalCh
removed handler interface
agpl3 license
added license-change.md
2024-02-07 22:54:50 +01:00
postmannen
8c8061dc15 renamed logConsoleOnlyIfDebug to logDebug 2023-01-12 12:03:10 +01:00
postmannen
076abdef71 changed from log package to slog 2023-01-12 12:01:01 +01:00
postmannen
1dbff78c81 replaced log print with slog debug 2023-01-12 07:44:28 +01:00
postmannen
aa925329f7 fixed output of error logging 2023-01-12 07:12:35 +01:00
postmannen
807455119c Added x/slog for stderr logging 2023-01-11 08:38:15 +01:00
postmannen
d0d3ef8b39 initial declaration of slog logger 2023-01-11 06:09:42 +01:00
postmannen
eced76a85c initially removed dependency to NACK/ACK event type 2023-01-05 01:55:52 +01:00
postmannen
fb4cf5de79 updated comments 2022-06-22 14:50:26 +02:00
postmannen
b3bb2e44a1 updated comments 2022-06-22 14:32:58 +02:00
postmannen
b8a2d3d5e7 removed copyFile<from/to> and relay request types 2022-06-16 23:32:44 +02:00
postmannen
f92e8a8e0a added testCh to errrorKernel 2022-05-22 06:36:02 +02:00
postmannen
5d9e57db20 added logConsoleOnlyIfDebug to errorKernel 2022-02-18 07:01:43 +01:00
postmannen
244804bae9 added the use of enableDebug flag in errorKernel 2022-02-18 06:40:00 +01:00
postmannen
def4bd8e58 removed debug printing 2022-02-11 09:04:14 +01:00
postmannen
521702fa53 initial signature verification 2022-02-04 06:24:34 +01:00
postmannen
1fa45b1293 changed message.Data from []string to []byte 2022-01-31 08:49:46 +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
43bd929b2c added own error layout for relayed messages 2022-01-20 07:19:49 +01:00
postmannen
a75c0d933a errorKernel comments 2022-01-20 06:55:08 +01:00
postmannen
024842b99c errorKernel, send error for all requests 2022-01-19 07:31:25 +01:00
postmannen
db60d69289 added errorKernel to the processes struct 2022-01-19 05:44:20 +01:00
postmannen
08749f517e added errSend type and method 2022-01-19 05:04:11 +01:00
postmannen
09a42d9442 errkrnl initial logic setup 2022-01-18 19:26:36 +01:00
postmannen
c27a3dc188 updated comments 2021-08-16 13:01:12 +02:00
postmannen
95e2984c86 Added stop function for errorKernel 2021-08-04 08:35:35 +02:00
postmannen
d2846007bd Added child contexts for errorkernel and startup subscribers 2021-08-03 13:43:05 +02:00
postmannen
ca295d97d8 sending errors to central 2021-03-12 09:38:19 +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
993f89e2c6 implemented general store and get to kv store 2021-02-15 11:28:27 +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