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

57 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
6c615591a6 Squashed commit of the following:
commit 2a5cb441ff8c3f3f4404c49188c16afdb701cd42
Author: postmannen <postmannen@gmail.com>
Date:   Tue Nov 19 06:46:58 2024 +0100

    updated doc

commit a97d2dd4fd162a45dcf8f80d833a31bdc7e0b817
Author: postmannen <postmannen@gmail.com>
Date:   Tue Nov 19 06:25:57 2024 +0100

    renamed the various naming for channels where new messages are put to newMessagesCh

commit 3c840eb718358bb55d9e1c58692517e4bbbb5f4d
Author: postmannen <postmannen@gmail.com>
Date:   Tue Nov 19 05:08:55 2024 +0100

    Restructured configuration, and added a StartProcesses struct for the flags that are for starting processes
2024-11-19 20:28:26 +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
debed0f791 Squashed commit of the following:
commit cde5c14c74
Author: postmannen <postmannen@gmail.com>
Date:   Mon Nov 18 19:24:17 2024 +0100

    updated doc

commit 26441819a2
Author: postmannen <postmannen@gmail.com>
Date:   Mon Nov 18 16:57:11 2024 +0100

    added book content and moved build files

commit 8ec3e8c21e
Author: postmannen <postmannen@gmail.com>
Date:   Mon Nov 18 11:27:32 2024 +0100

    more about messaging added to the book
2024-11-18 19:25:47 +01:00
postmannen
fc15c4dd63 Added book 2024-11-17 21:22:35 +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
7e9754fcdd examples 2023-04-19 09:51:09 +02:00
postmannen
4c3b639e65 updated doc example messages 2023-04-19 08:07:03 +02:00
postmannen
198ba9503e Added message flow diagram 2022-11-08 08:44:24 +01:00
postmannen
9c15e6dbfd added example kubernetes yaml file 2022-09-20 11:50:54 +02:00
postmannen
b3bb2e44a1 updated comments 2022-06-22 14:32:58 +02:00
postmannen
d249f58756 todo comments 2022-05-11 13:45:49 +02:00
postmannen
59f2b137f5 update comments 2022-05-11 06:14:26 +02:00
postmannen
5c9dbae7f8 added import and export method of main ACLMap 2022-05-11 05:25:46 +02:00
postmannen
5102b7c3a2 removed func main 2022-05-10 11:32:02 +02:00
postmannen
55e2a4a0e0 more tests for schema handling 2022-05-10 11:04:35 +02:00
postmannen
ea735406bd added acl generations for working with groups 2022-05-10 08:57:10 +02:00
postmannen
718b7fb7d6 renamed grp_cmds_ to grp_commands_ 2022-05-10 08:25:02 +02:00
postmannen
85a7124bf3 added concurrent test 2022-05-10 06:57:07 +02:00
postmannen
304436a220 renamed structures 2022-05-10 06:40:27 +02:00
postmannen
1f1cfa214c comments 2022-05-10 05:47:58 +02:00
postmannen
1f00b24b63 name changes 2022-05-09 20:06:22 +02:00
postmannen
56cd575716 renamed generete json method to generateACLsForAllNodes 2022-05-09 19:56:40 +02:00
postmannen
7cc50d4680 replaced json with cbor 2022-05-09 19:41:18 +02:00
postmannen
10d79b6c40 added hash creation 2022-05-09 18:59:38 +02:00
postmannen
02c5846c2f added command group iteration for single host 2022-05-09 12:06:21 +02:00
postmannen
8151e62d9d renamed function arguments 2022-05-09 10:55:56 +02:00
postmannen
6c4a1b4d38 renamed acl add/delete methods 2022-05-09 07:10:19 +02:00
postmannen
2c44c08081 command groups ok 2022-05-09 07:00:52 +02:00
postmannen
f645c03bab auth concept testing 2022-05-06 07:47:12 +02:00
postmannen
81c8610ff1 doc 2022-04-19 18:42:19 +02:00
postmannen
2768e70fdf doc update 2022-04-19 18:30:00 +02:00
postmannen
b669dc537c initial key distribution testing 2022-04-07 09:34:06 +02:00
postmannen
10796f3556 doc 2022-04-06 05:00:33 +02:00
postmannen
594a9f495c updated doc 2022-04-04 13:02:51 +02:00
postmannen
567209cacf hello reigster contains signatures of nodes 2022-04-04 10:29:14 +02:00
postmannen
f0c84f48db injected server directly procs 2022-04-01 07:09:55 +02:00
postmannen
ea79bced4d updated procFunc for hello messages 2022-03-31 14:54:39 +02:00
postmannen
dd07002f91 concept for authorization 2022-03-31 13:48:54 +02:00
postmannen
03898cec6a updated doc 2022-03-14 03:44:49 +01:00
postmannen
193be1561b updated doc with message examples 2022-03-11 11:46:04 +01:00
postmannen
0d89631289 doc - create example message files 2022-03-11 11:44:19 +01:00
postmannen
e7e5726095 renamed commandorevent field name in subject struct 2022-01-27 10:06:06 +01:00
postmannen
fcfeb142f4 updated relay doc 2021-12-07 10:42:11 +01:00
postmannen
c8f8de71c5 relay, central ok, but no output to node1 2021-11-19 09:35:53 +01:00
postmannen
e7a0d8d8e5 added message routing drawing 2021-11-18 10:20:24 +01:00
postmannen
215a4ffd19 removed remains of allowednodes 2021-11-16 11:18:59 +01:00
postmannen
054455b857 renamed REQnCliCommandCont to REQCliCommandCont 2021-09-17 10:17:10 +02:00