-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Server updates #17
base: master
Are you sure you want to change the base?
Server updates #17
Commits on Aug 20, 2024
-
feat(interface): define a device-owned interface to send data
The interface allows generic sensors to stream samples data in double format. The interface is the same as the one defined in the stream-qt5-test astarte-platform repository Signed-off-by: Riccardo Gallo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9fb9ed2 - Browse repository at this point
Copy the full SHA 9fb9ed2View commit details -
feat(deps): add deps for logging and error reporting
Introduce: - `color_eyre` to have a structured report handler - `tracing_subscriber` to collect scoped, structured and async-aware log data Signed-off-by: Riccardo Gallo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1d17222 - Browse repository at this point
Copy the full SHA 1d17222View commit details
Commits on Nov 7, 2024
-
feat(math): define math functions to send data
This required also the introduction of some environment variables and structures to handle the generation of the samples to be sent to Astarte. For simplicity, the math functions are the same as the ones used in the stream-qt5-test repository. Signed-off-by: Riccardo Gallo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e0cb23c - Browse repository at this point
Copy the full SHA e0cb23cView commit details -
feat(clap): add CLI to start the application
Use clap to start the application, also taking into account possible environment variables set by the user. Signed-off-by: Riccardo Gallo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c0b1a87 - Browse repository at this point
Copy the full SHA c0b1a87View commit details -
refactor(config): update astarte device config
Now the configuration information to connect a device to Astarte are provided inside a `astarte-device-DEVICE_ID_HERE-conf` directory, in a `config.toml` file. Instead, all the information necessary to generate samples to be sent to Astarte are provided via CLI or environment variables. Also the README have been update to explain how to configure the application and build/run it. Signed-off-by: Riccardo Gallo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for eccec52 - Browse repository at this point
Copy the full SHA eccec52View commit details -
chore(deps): update sdk to 0.8.4
Signed-off-by: Riccardo Gallo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e61140a - Browse repository at this point
Copy the full SHA e61140aView commit details -
feat(atsarte): provide astarte cfg
Provide the Atsarte configuration via environment variables or config.toml file, prioritizing env vars Signed-off-by: Riccardo Gallo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6393b2d - Browse repository at this point
Copy the full SHA 6393b2dView commit details -
refactor(log): use EnvFilter to log only the application logs
Signed-off-by: Riccardo Gallo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5edc336 - Browse repository at this point
Copy the full SHA 5edc336View commit details -
refactor(mod): simplify main by adding cli and astarte modules
Signed-off-by: Riccardo Gallo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3ba7e12 - Browse repository at this point
Copy the full SHA 3ba7e12View commit details -
feat(msghub): allow connection to the astarte message hub
Signed-off-by: Riccardo Gallo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6ae284e - Browse repository at this point
Copy the full SHA 6ae284eView commit details -
refactor(connection): decide which connection to astarte use
Give more flexibility to choose the mqtt or grpc Astarte connection configuration by using the CLI, environment variables and a config.toml file Signed-off-by: Riccardo Gallo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d59721d - Browse repository at this point
Copy the full SHA d59721dView commit details -
chore(ci): update Windows check with sqlite-static
Signed-off-by: Riccardo Gallo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 391f51b - Browse repository at this point
Copy the full SHA 391f51bView commit details -
feat(test): implement tests for the astarte config builder
Signed-off-by: Riccardo Gallo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 06c0eb4 - Browse repository at this point
Copy the full SHA 06c0eb4View commit details -
refactor(log): simplify the set up of EnvFilter
Signed-off-by: Riccardo Gallo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 67bf216 - Browse repository at this point
Copy the full SHA 67bf216View commit details -
fix(math): correct and simplify some math functions
Signed-off-by: Riccardo Gallo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ba6c64d - Browse repository at this point
Copy the full SHA ba6c64dView commit details
Commits on Nov 26, 2024
-
refactor(con): change retrieval of Astarte config
Now it is only possible to specify the type of connection (mqtt or grpc) through the ASTARTE_CONNECTION env variable. The application will first try to retrieve the config from env; if an error occurs, it tries to retrieve them from a config.toml (if a path has beem specified). The merge operation for the 2 sources of config has been removed. Signed-off-by: Riccardo Gallo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6db96f7 - Browse repository at this point
Copy the full SHA 6db96f7View commit details
Commits on Nov 27, 2024
-
refactor(math): remove unused From impl
Signed-off-by: Riccardo Gallo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bc38219 - Browse repository at this point
Copy the full SHA bc38219View commit details -
feat(docker): containerize the application
In this commit: - Define scripts, env file and Dockerfile to build and run the container - Get astarte config from env vars - Add dependabot checks for docker - Update Readme with the information to build and run a docker container Signed-off-by: Riccardo Gallo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 85f5a4f - Browse repository at this point
Copy the full SHA 85f5a4fView commit details -
feat(shutdown): handle SIGINT/SIGTERM signals
Gracefully shut down all the active tasks when SIGINT or SIGTERM signals are received. Signed-off-by: Riccardo Gallo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7499604 - Browse repository at this point
Copy the full SHA 7499604View commit details -
feat(server): modify the stream through server-owned stream
Update the math function, the scale and the interval between two samples through a server-owned datastream interface Signed-off-by: Riccardo Gallo <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 08a76c4 - Browse repository at this point
Copy the full SHA 08a76c4View commit details