summaryrefslogtreecommitdiffstats
path: root/crates/core/thin_edge_json/src
AgeCommit message (Collapse)Author
2022-08-18Merge pull request #1349 from matthiasbeyer/clippy-fixesDidier Wenzek
Clippy fixes
2022-08-18Fix clippy: thin_edge_json: Add derive for EqMatthias Beyer
This fixes clippy::derive_partial_eq_without_eq Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
2022-08-18Fix clippy in thin_edge_json: Remove let-unit-valueMatthias Beyer
This patch fixes `clippy::let_unit_value`. Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
2022-08-08Alarms for child devices (#1314)PradeepKiruvale
With this feature the child device now able to send an alarm message to Cumulocity cloud. The child device must use the mqtt topic to publish the alarm message, then thin-edge device will pickup this alarm message and forward it to the cumulocity cloud. Signed-off-by: Pradeep Kumar K J <pradeepkumar.kj@softwareag.com>
2022-07-29MQTT health endpoints for tedge plugin extensions (#1299)PradeepKiruvale
* tedge watchdog for c8y-log-plugin and c8y-config-plugin This PR also refactors the health check by removing the duplicate code. Pushed the duplicate code to one place and reused it across all the thin-edge services. Signed-off-by: Pradeep Kumar K J <pradeepkumar.kj@softwareag.com>
2022-07-26Replace clock serde functionality with time serde functionalityMatthias Beyer
The serde module from the "clock" crate was only a reexport of the serde module of the "time" crate, so we can simply use the latter here. Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
2022-07-22Extend events API to support child devices (#1243)PradeepKiruvale
* Events for child devices Extend events APIs to send the event messages from external/child device to device twin in the cloud. Signed-off-by: Pradeep Kumar K J <pradeepkumar.kj@softwareag.com>
2022-03-11Closes #893 Support custom fields and fragments in Thin Edge JSON eventsAlbin Suresh
2022-03-11Rename message field to text in Thin Edge JSON events payloadAlbin Suresh
2022-03-11Rename message field to text in Thin Edge JSON alarms payloadAlbin Suresh
2022-02-22Make message field optional in Thin Edge JSON events (#923)Albin Suresh
2022-02-15Merge pull request #876 from uklotzde/clock-serdeDidier Wenzek
clock: Hide serde support behind feature flag `with-serde`
2022-02-15alarm/event: Use clock::TimestampUwe Klotz
Signed-off-by: Uwe Klotz <uwe.klotz@slowtec.de>
2022-02-15clock: Hide serde support behind feature flag `with-serde`Uwe Klotz
Signed-off-by: Uwe Klotz <uwe.klotz@slowtec.de>
2022-02-15Remove unnecessary ? operatorMatthias Beyer
This fixes clippy lint `clippy::try_err`. Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
2022-02-15Remove unnecessary return statementMatthias Beyer
This fixes clippy lint `clippy::needless_return`. Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
2022-02-15Remove new() constructor in favour of Default implMatthias Beyer
This fixes clippy lint `clippy::new_without_default` Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
2022-02-14Use 'time' instead of 'chrono' due to CVE for thin_edge_json and all ↵Lukasz Woznicki
dependent crates Signed-off-by: Lukasz Woznicki <lukasz.woznicki@softwareag.com>
2022-02-09[#809] Thin Edge JSON events support for Cumulocity mapper (#831)Albin Suresh
* [#809] Thin Edge JSON events support for Cumulocity mapper
2021-12-22Closes #667 Thin Edge JSON alarm support (#726)Albin Suresh
* Closes #667 Thin Edge JSON alarm support
2021-11-24Restructure directories of the workspace (#559)Lukasz Woznicki
* Restructure directories of the workspace * Rename c8y_translator_lib to c8y_translator * Update comment on how to get dummy plugin path Signed-off-by: Lukasz Woznicki <lukasz.woznicki@softwareag.com>