You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MaxThom edited this page Nov 15, 2024
·
2 revisions
BigBrainNoGo
Ideas
MIR DEVICE UPDATE
mir device edit --targets...
This will open a text editor to edit the json file
and then send the update to the server on save
mir device apply -f <file>
This will apply a device object from a file
mir device patch --targets... --patch="{spec.disabled=true}
This will patch the device object
Dilema
protobuf models and domain models
route subjects and clients
maybe device_route instead of device_client
IDEA
change logger to standard logger
all command go through command modules
INTEGRATION TEST
when using top level go test. each module spawn their
required services which can step on each other toes.
using queue group instead solve this problem. I can foresee
in the futur this problem coming back because maybe some services
will be fan out and not queue. Maybe we should stand
the infrascture including Mir services before instead of
the services coded
CLI Serve
cons
natsio
influx
surreal
mir serve
loglevel
http serve port (mainly for prometheus)
embed targets for mng db, tlm db and bus
all of this is through config
flag for each module (flag or arg list? I think flag)