summaryrefslogtreecommitdiffstats
path: root/crates/core/tedge
AgeCommit message (Collapse)Author
2022-08-19Merge pull request #1348 from thin-edge/create-pull-request/patchAlbin Suresh
Patch version bump
2022-08-18Merge pull request #1349 from matthiasbeyer/clippy-fixesDidier Wenzek
Clippy fixes
2022-08-18Fix clippy: tedge: 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 tedge: Remove let-unit-valueMatthias Beyer
This patch fixes `clippy::let_unit_value`. Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
2022-08-18(cargo release) bump versionVersioneer
2022-08-17Merge pull request #1330 from Bravo555/add-homepage-fieldDidier Wenzek
Yocto: Add homepage and repository fields to manifests of tedge and tedge_mapper crates
2022-08-11Add homepage and repository fields to manifests of tedge and tedge_mapper cratesMarcel Guzik
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>
2022-08-08tedge: Remove unnecessary let _ =Matthias Beyer
Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
2022-08-06Do not necessarily pass &str anymore to fs helper fnsMatthias Beyer
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>
2022-07-22Bump test-case from 2.1.0 to 2.2.1dependabot[bot]
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>
2022-07-20Remove unused testDidier Wenzek
The test `create_certificate_as_root_should_switch_to_mosquitto` were behind features and never triggered. As a consequence this test has not been maintained and is no more aligned with the code base (the tedge config is no more user dependent, there is --config-dir option, the tedge command is no more running as tegde). Futhermore this test was using `sudo`. Better to simply remove it. Signed-off-by: Didier Wenzek <didier.wenzek@free.fr>
2022-07-20(cargo release) bump versionVersioneer
2022-07-16Merge pull request #1251 from didier-wenzek/feature/remove-user-managerDidier Wenzek
Deprecate the user manager
2022-07-15Remove the `tedge` dependency on `UserManager`Didier Wenzek
The UserManager was used to run the `tedge` command as the `tedge` user becomming `root` or `mosquitto` only when required. In practice, this introduced more issues than benefits. Notably, this forces to have a `tedge` user to run the command. While switching to a different user is required only to create a certificate under mosquitto. The behavior is unchanged. Particularly, errors are ignored when giving ownership of the certificate to mosquitto (for instance, if the `tedge cert create` command is not run with `sudo`). Signed-off-by: Didier Wenzek <didier.wenzek@free.fr>
2022-07-14tedge: Remove unused dependency "futures"Matthias Beyer
Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
2022-06-22Patch version bump 0.7.2 (#1214)github-actions[bot]
* (cargo release) bump version Co-authored-by: Versioneer <info@thin-edge.io> Co-authored-by: Rina Fujino <18257209+rina23q@users.noreply.github.com>
2022-06-16tedge fixing clippy warnings #825initard
Signed-off-by: initard <solo@softwareag.com>
2022-06-08Patch version bump 0.7.1 (#1185)github-actions[bot]
* (cargo release) bump version Co-authored-by: Versioneer <info@thin-edge.io> Co-authored-by: Rina Fujino <18257209+rina23q@users.noreply.github.com>
2022-05-30moved mqtt tests from Python to Rust #1011 (#1128)Alex Solomes
Signed-off-by: initard <solo@softwareag.com> Co-authored-by: Lukasz Woznicki <lukasz.woznicki@softwareag.com> Co-authored-by: initard <solo@softwareag.com> Co-authored-by: Lukasz Woznicki <lukasz.woznicki@softwareag.com>
2022-05-25port mqtt port set/unset pysys tests to rust #1013 (#1129)Alex Solomes
Signed-off-by: initard <solo@softwareag.com> Co-authored-by: Lukasz Woznicki lukasz.woznicki@softwareag.com Co-authored-by: initard <solo@softwareag.com>
2022-05-23(cargo release) bump version 0.7.0 (#1154)Rina Fujino
2022-05-17Merge pull request #1142 from makr11st/feature/1051_smartrest_templatesLukasz Woznicki
[1051] Add support for smartrest templates to config
2022-05-17Add smartrest templates to the list of topics for the bridge creationLukasz Woznicki
Signed-off-by: Lukasz Woznicki <lukasz.woznicki@softwareag.com>
2022-05-11Patch version bump 0.6.4 (#1136)github-actions[bot]
* (cargo release) bump version 0.6.4 Co-authored-by: Versioneer <info@thin-edge.io>
2022-05-09Revert the pull request #1116Rina Fujino
Signed-off-by: Rina Fujino <18257209+rina23q@users.noreply.github.com>
2022-05-05Cumulocity mapper fails to process messages when connected to a thick-edge ↵PradeepKiruvale
VM (#1103) * Closes #1082 do not validate self-signed certificates Signed-off-by: Pradeep Kumar K J <pradeepkumar.kj@softwareag.com> * add individual certificate to root_store Signed-off-by: Pradeep Kumar K J <pradeepkumar.kj@softwareag.com> * update document
2022-05-04Merge pull request #1068 from makr11st/feature/759_tedge_disconnect_report_errorLukasz Woznicki
#759 tedge disconnect falsely returns exit code 0 when disabling or stopping of a component fails
2022-04-28removed unused dependencies #1110initard
Signed-off-by: initard <solo@softwareag.com>
2022-04-27Patch version bump 0.6.3 (#1108)github-actions[bot]
* (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>
2022-04-26 #1061 make mosquitto a recommendation for tedge debian package (#1098)PradeepKiruvale
Signed-off-by: Pradeep Kumar K J <pradeepkumar.kj@softwareag.com>
2022-04-14Merge pull request #1071 from rina23q/fix/rename-inappropriate-config-variablesRina Fujino
Remove "default" from the name of some tedge config settigs
2022-04-13Patch version bump 0.6.2 (#1079)github-actions[bot]
* (cargo release) bump version 0.6.2 Co-authored-by: Versioneer <info@thin-edge.io> Co-authored-by: Rina Fujino <18257209+rina23q@users.noreply.github.com>
2022-04-11Remove default from some tedge config settigsRina Fujino
Signed-off-by: Rina Fujino <18257209+rina23q@users.noreply.github.com>
2022-04-11Closes #1040 use config-dir feature for initalize and run (#1059)PradeepKiruvale
2022-04-11tedge disconnect falsely returns exit code 0 when disabling or stopping of a ↵Lukasz Woznicki
component fails Signed-off-by: Lukasz Woznicki <lukasz.woznicki@softwareag.com>
2022-04-07Closes #862 Report mosquitto cloud bridge health status via MQTTAlbin Suresh
2022-03-30Patch version bump 0.6.1 (#1041)github-actions[bot]
* (cargo release) bump version 0.6.1 Co-authored-by: Versioneer <info@thin-edge.io> Co-authored-by: Rina Fujino <18257209+rina23q@users.noreply.github.com>
2022-03-24[#761] tedge init (#993)PradeepKiruvale
* tedge init #Closes 761 * add file/directory creation errors * add the clear session to az and collectd mappers * refactor tedgecomponent * remove redundant code * subscribe to az/collectd topics in init_session * remove duplicate init_sessions
2022-03-14(cargo release) bump version 0.6.0 (#996)Rina Fujino
2022-03-11Upgrade dependencies to eliminate vulnerable regex crate v1.5.4Albin Suresh
2022-03-11Closes #893 Support custom fields and fragments in Thin Edge JSON eventsAlbin Suresh
2022-03-09test-case version updateinitard
- test-case crate version 1.2.3 was breaking cargo test - updated test-case crate to 2.0 Signed-off-by: initard <solo@softwareag.com>
2022-03-04configurable run path (#858)initard
- added logs.path to `tedge` command - can now use `tedge config set run.path /some/run/path` - agent and mapper use the run config Signed-off-by: initard <solo@softwareag.com>
2022-03-04configurable logs path (#858)initard
- added logs.path to `tedge` command - can now use `tedge config set logs.path /some/log/path` Signed-off-by: initard <solo@softwareag.com>
2022-03-02Patch version bump 0.5.4 (#963)github-actions[bot]
* (cargo release) bump version 0.5.4 Co-authored-by: Versioneer <info@thin-edge.io> Co-authored-by: Rina Fujino <18257209+rina23q@users.noreply.github.com>
2022-03-01Merge pull request #940 Update the output of tedge connect, tutorial and ↵Rina Fujino
how-to guide
2022-03-01[823] Configurable mqtt bind address (#929)PradeepKiruvale
* [823] add mqtt.bind_address option * ipaddress instead of string
2022-02-28Fix: Remove unused "use"Matthias Beyer
Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
2022-02-25Cosmetic fix to print out fullname of a cloud platform for tedge disconnect ↵Rina Fujino
command Signed-off-by: Rina Fujino <18257209+rina23q@users.noreply.github.com>
2022-02-23#814 --config-dir option for tedge commands Alex Solomes