Age | Commit message (Collapse) | Author |
|
* Move c8y alarms converter code to a separate file
Signed-off-by: Pradeep Kumar K J <pradeepkumar.kj@softwareag.com>
|
|
Patch version bump
|
|
Clippy fixes
|
|
This fixes clippy::derive_partial_eq_without_eq
Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
|
|
This patch fixes `clippy::let_unit_value`.
Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
|
|
* Create external device only after alarm message sync
Signed-off-by: Pradeep Kumar K J <pradeepkumar.kj@softwareag.com>
|
|
|
|
Yocto: Add homepage and repository fields to manifests of tedge and tedge_mapper crates
|
|
This change is necessary to generate bitbake recipes from tedge and
tedge_mapper crates as part of #1329. Currently, we're trying to set up
a minimal working example, and as such only these crates required this
change.
Signed-off-by: Marcel Guzik <marcel.guzik2@inetum.com>
|
|
These were introduced in 098cd1bc0b8a5fb46d114733c5f5c632fc25587e ("Alarms for child devices (#1314)")
from pull request #1314 where my review comments were not fixed, so I'm
gonna fix these here.
Fixes: 098cd1bc0b8a5fb46d114733c5f5c632fc25587e ("Alarms for child devices (#1314)")
Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
|
|
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>
|
|
This patch changs the calls of the fs helper functions where the
interface of the functions was changed from taking `&str` as path
argument to `impl AsRef<Path>`.
Because of this, it is not necessary anymore that `&str` is passed, but
`Path`es can be passed or, as in most cases, the ad-hoc created
`String` objects can be passed by value instead of by reference,
resulting in less mental load on the calling side.
Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
|
|
* 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>
|
|
initard/improvement/1173/inotify-tedge-mapper-dynamic-discovery-of-operations
tedge mapper dynamic discovery of operations
|
|
Signed-off-by: initard <solo@softwareag.com>
|
|
Bumps [serial_test](https://github.com/palfrey/serial_test) from 0.6.0 to 0.8.0.
- [Release notes](https://github.com/palfrey/serial_test/releases)
- [Commits](https://github.com/palfrey/serial_test/compare/v0.6.0...v0.8.0)
---
updated-dependencies:
- dependency-name: serial_test
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
|
|
Bump test-case from 2.1.0 to 2.2.1
|
|
Bumps [clap](https://github.com/clap-rs/clap) from 3.2.12 to 3.2.14.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v3.2.12...v3.2.14)
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
|
|
Bumps [test-case](https://github.com/frondeus/test-case) from 2.1.0 to 2.2.1.
- [Release notes](https://github.com/frondeus/test-case/releases)
- [Changelog](https://github.com/frondeus/test-case/blob/master/CHANGELOG.md)
- [Commits](https://github.com/frondeus/test-case/compare/v2.1.0...v2.2.1)
---
updated-dependencies:
- dependency-name: test-case
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
|
|
* 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>
|
|
|
|
Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
|
|
exiting files (#1217)
--init should not overwrite the existing files
Signed-off-by: Pradeep Kumar K J <pradeepkumar.kj@softwareag.com>
|
|
* (cargo release) bump version
Co-authored-by: Versioneer <info@thin-edge.io>
Co-authored-by: Rina Fujino <18257209+rina23q@users.noreply.github.com>
|
|
Signed-off-by: initard <solo@softwareag.com>
|
|
* temp tedge dir poc
Signed-off-by: initard <solo@softwareag.com>
* renaming crate and removing TedgeChildTempDir
- renamed the crate to tedge_test_utils
- removed TedgeChildTempDir as TempTedgeDir already had the same
functions
Signed-off-by: Alex Solomes <alex.solomes@softwareag.com>
* changing agent.rs tests to use TempTedgeDir
- changing agent.rs to use TempTedgeDir
- un-ignoring a test to check if agent restart creates a file in the
right place
Signed-off-by: Alex Solomes <alex.solomes@softwareag.com>
* changing tedge_mapper tests to use TempTedgeDir
Signed-off-by: Alex Solomes <alex.solomes@softwareag.com>
* changing tedge_config tests to use TempTedgeDir
Signed-off-by: Alex Solomes <alex.solomes@softwareag.com>
* changing c8y_configuration_plugin tests to use TempTedgeDir
Signed-off-by: Alex Solomes <alex.solomes@softwareag.com>
* changing tedge_apama_plugin tests to use TempTedgeDir
Signed-off-by: Alex Solomes <alex.solomes@softwareag.com>
* changing logged_command tests to use TempTedgeDir
Signed-off-by: Alex Solomes <alex.solomes@softwareag.com>
* adding another method to TempTedgeDir
Signed-off-by: initard <solo@softwareag.com>
Co-authored-by: initard <solo@softwareag.com>
|
|
* (cargo release) bump version
Co-authored-by: Versioneer <info@thin-edge.io>
Co-authored-by: Rina Fujino <18257209+rina23q@users.noreply.github.com>
|
|
* Closes #612 discover operations dynamically
Signed-off-by: Pradeep Kumar K J <pradeepkumar.kj@softwareag.com>
* select! on async ops
Signed-off-by: Pradeep Kumar K J <pradeepkumar.kj@softwareag.com>
* update operations document
Signed-off-by: Pradeep Kumar K J <pradeepkumar.kj@softwareag.com>
* move inotify/mqtt message processing to separate fn
* move mqtt process code to a separate fn
|
|
|
|
|
|
|
|
- log plugin is now a daemon
- log file uses a configuration file to request logs from c8y UI
- log plugin uses inotify to automatically update c8y of new logs files
Signed-off-by: initard <solo@softwareag.com>
|
|
|
|
Signed-off-by: Rina Fujino <18257209+rina23q@users.noreply.github.com>
|
|
|
|
|
|
* (cargo release) bump version 0.6.4
Co-authored-by: Versioneer <info@thin-edge.io>
|
|
Signed-off-by: Rina Fujino <18257209+rina23q@users.noreply.github.com>
|
|
- added a from_logs_path method for CumulocityConverter, allowing the
possibility to specify tempDir for logs paths
Signed-off-by: initard <solo@softwareag.com>
|
|
Signed-off-by: initard <solo@softwareag.com>
|
|
initard/improvement/1110/removing-unused-dependencies
#1110 removed unused dependencies
|
|
|
|
Signed-off-by: initard <solo@softwareag.com>
|
|
commits. (#1095)
Closes #1056 c8y measurement threshold check for mqtt
Signed-off-by: Pradeep Kumar K J <pradeepkumar.kj@softwareag.com>
|
|
* (cargo release) bump version 0.6.3
Co-authored-by: Versioneer <info@thin-edge.io>
Co-authored-by: Rina Fujino <18257209+rina23q@users.noreply.github.com>
|
|
|
|
Signed-off-by: Rina Fujino <18257209+rina23q@users.noreply.github.com>
|
|
* Closes #1031 single tedge user
Signed-off-by: Pradeep Kumar K J <pradeepkumar.kj@softwareag.com>
* Add script to upgrade tedge from 0.6
Signed-off-by: Pradeep Kumar K J <pradeepkumar.kj@softwareag.com>
|
|
#958 fixing tedge mapper tests
|
|
Remove "default" from the name of some tedge config settigs
|