summaryrefslogtreecommitdiffstats
path: root/crates/core/plugin_sm
AgeCommit message (Collapse)Author
2022-08-19Merge pull request #1348 from thin-edge/create-pull-request/patchAlbin Suresh
Patch version bump
2022-08-18Fix clippy in plugin_sm: 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-07-25Bump serial_test from 0.6.0 to 0.8.0dependabot[bot]
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>
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-20(cargo release) bump versionVersioneer
2022-07-14plugin_sm: Remove unused dependency "tedge_utils"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-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-23(cargo release) bump version 0.7.0 (#1154)Rina Fujino
2022-05-13Update serial_test crate versionAlbin Suresh
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-03operation logs improvement #1027initard
Signed-off-by: initard <solo@softwareag.com>
2022-05-03moving operation_logs out of agent #1027initard
- moved operation logs out of agent to be used in mapper Signed-off-by: initard <solo@softwareag.com>
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-14Merge pull request #1063 from makr11st/feature/759_logged_command_to_crateDidier Wenzek
#759 Move 'logged_command' to a crate as it going to be used by other components
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-08Move 'logged_command' to a crate as it goign to be used by other componentsLukasz Woznicki
Signed-off-by: Lukasz Woznicki <lukasz.woznicki@softwareag.com>
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-14(cargo release) bump version 0.6.0 (#996)Rina Fujino
2022-03-11error handling on tedge-mapper start upinitard
Signed-off-by: initard <solo@softwareag.com> Co-authored-by: Pradeep Kumar K J <pradeepkumar.kj@sofwareag.com>
2022-03-11error handling on tedge-agent start upinitard
Signed-off-by: initard <solo@softwareag.com> Co-authored-by: Pradeep Kumar K J <pradeepkumar.kj@sofwareag.com>
2022-03-10fixing sm plugins path error message (#937)initard
- ensuring success status is sent if no sm-plugins dir present (with empty software list) - added test confirming this Signed-off-by: initard <solo@softwareag.com>
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-07Remove unused importsMatthias Beyer
Signed-off-by: Matthias Beyer <matthias.beyer@ifm.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-02-23Remove "mut", logger must not be mutableMatthias Beyer
Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
2022-02-23Remove borrow that is immediately dereferencedMatthias Beyer
This fixes clippy lint `clippy::needless_borrow`. Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
2022-02-23Remove borrow that is immediately dereferencedMatthias Beyer
This fixes clippy lint `clippy::needless_borrow`. Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
2022-02-23Remove borrow that is immediately dereferencedMatthias Beyer
This fixes clippy lint `clippy::needless_borrow`. Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
2022-02-23Remove borrow that is immediately dereferencedMatthias Beyer
This fixes clippy lint `clippy::needless_borrow`. Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
2022-02-23Remove borrow that is immediately dereferencedMatthias Beyer
This fixes clippy lint `clippy::needless_borrow`. Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
2022-02-23Remove borrow that is immediately dereferencedMatthias Beyer
This fixes clippy lint `clippy::needless_borrow`. Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
2022-02-23Remove borrow that is immediately dereferencedMatthias Beyer
This fixes clippy lint `clippy::needless_borrow`. Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
2022-02-23Use slice instead of Vec as argumentMatthias Beyer
This fixes clippy lint `clippy::ptr_arg`. Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
2022-02-22Remove tedge_utils::paths::pathbuf_to_string()Matthias Beyer
The desired effect can be achieved via a combination of `Path::display()` and `ToString::to_string()`. This patch thus removes `tedge_utils::paths::pathbuf_to_string()` and all uses of this helper function. Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
2022-02-18Expect Ok(()) now, as dummy plugin now supports thisMatthias Beyer
Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
2022-02-18Replace structopt with clap 3Matthias Beyer
This patch rewrites the CLI interfaces to be used with clap 3.0 instead of clap 2.x + structopt. The changes are as minimal as possible, although I did not verify that the CLI is the same as before. Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
2022-02-16Patch version bump (#884)github-actions[bot]
* (cargo release) bump version 0.5.3
2022-02-08Change return type of LogFile::path to &PathMatthias Beyer
There's no need in the codebase to convert this to a `&str`. This patch ensures that we return `&Path` and use it appropriately. Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
2022-02-03Bump Rust version to 1.58.1 (#803)Michael Abel
* Bump Rust version to 1.58.1 * Avoid to run the cargo msrv check ... ... in favour of the hardcoded rust-version in our Cargo.toml files * Update rust version string from rustc --version
2022-01-20Migrate to edition 2021 (#558)Lukasz Woznicki
* Migrate to edition 2021 * Update docs and workflows * Update to latest rust 1.58 * Force version in clippy Signed-off-by: Lukasz Woznicki <lukasz.woznicki@softwareag.com>
2022-01-19Patch version bump (#771)github-actions[bot]
* (cargo release) bump version 0.5.2
2022-01-12Feature/651/configurable temp path (#732)initard
* configurable download path (WIP) (#651) Signed-off-by: initard <solo@softwareag.com> * download path test (WIP) (#651) Signed-off-by: initard <solo@softwareag.com> * default download path #651 Signed-off-by: initard <solo@softwareag.com> * install to download.path test (#651) Signed-off-by: initard <solo@softwareag.com> * formatting issues (#651) Signed-off-by: initard <solo@softwareag.com> * formatting issues (#651) Signed-off-by: initard <solo@softwareag.com> * rename download path to tmp path & test fix (#651) Signed-off-by: initard <solo@softwareag.com> * cargo fmt Signed-off-by: initard <solo@softwareag.com> * download path integration test (#651) Signed-off-by: initard <solo@softwareag.com> * adding doc detailing how to set temp path (#651) Signed-off-by: initard <solo@softwareag.com> * test fix (#651) Signed-off-by: initard <solo@softwareag.com> * adding sudo to doc (#651) Signed-off-by: initard <solo@softwareag.com> * removing unused test (#651) Signed-off-by: initard <solo@softwareag.com> * renaming, refactoring and extra documentation (#651) Signed-off-by: initard <solo@softwareag.com> * fixing naming of tmp.path (#651) Signed-off-by: initard <solo@softwareag.com> * changes to tmp dto #651 Signed-off-by: initard <solo@softwareag.com> Co-authored-by: initard <solo@softwareag.com>
2022-01-11[663] agent topics (#731)PradeepKiruvale
* move topics to json_sm crate * rename json_sm to sm_interface * format * rename agent interface * fix order of crates * rename crate * rename topics enum * refactor downloader code * move topicerror to error.rs * trigger wf * cargo fmt * address review comments * separate c8y topics * add tests * cargo fmt * change match cases * use download from common crate * update test names * fix the match issue * fix the topic matching * address review comments * remove mqtt dependancy * simplify try_from Co-authored-by: Pradeep Kumar K J <pradeepkumar.kj@sofwareag.com>
2022-01-05Patch version bump to 0.5.1 (#734)github-actions[bot]
* (cargo release) bump version to 0.5.1 Co-authored-by: Versioneer <info@thin-edge.io>
2021-12-17[638] trailing tab in list output (#675)PradeepKiruvale
* tab optional * update tests * fix the test * update document * remove unused crate * cargo fmt * Address review comments * refactor desrializer * add a trailing tab test Co-authored-by: Pradeep Kumar K J <pradeepkumar.kj@sofwareag.com>
2021-12-10Bump version to 0.5.0. Update some docs to use 0.5.0 as well (#677)Lukasz Woznicki
Signed-off-by: Lukasz Woznicki <lukasz.woznicki@softwareag.com> Co-authored-by: Sebastian Büttner <sebastian.buettner@softwareag.com>