summaryrefslogtreecommitdiffstats
path: root/crates/common/tedge_config/src
AgeCommit message (Collapse)Author
2022-08-18Fix clippy in tedge_config: Remove let-unit-valueMatthias Beyer
This patch fixes `clippy::let_unit_value`. Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
2022-06-16tedge_config fixing clippy warnings #825initard
Signed-off-by: initard <solo@softwareag.com>
2022-05-20Add defaults to TemplatesSetLukasz Woznicki
Signed-off-by: Lukasz Woznicki <lukasz.woznicki@softwareag.com>
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-13Add smartrest templates sets to possible tedge config optionsLukasz Woznicki
Signed-off-by: Lukasz Woznicki <lukasz.woznicki@softwareag.com>
2022-04-11Remove default from some tedge config settigsRina Fujino
Signed-off-by: Rina Fujino <18257209+rina23q@users.noreply.github.com>
2022-03-10fixed /run path bug introduced by #939initard
- updated /run default configuration to use /run Signed-off-by: initard <solo@softwareag.com>
2022-03-08Merge pull request #939 from ↵Alex Solomes
initard/improvement/858/configurable-lock-and-restart-path #858 configurable run/log path
2022-03-07Move tests into moduleMatthias Beyer
Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
2022-03-07Move import to top of fileMatthias Beyer
Signed-off-by: Matthias Beyer <matthias.beyer@ifm.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-01[823] Configurable mqtt bind address (#929)PradeepKiruvale
* [823] add mqtt.bind_address option * ipaddress instead of string
2022-02-23Remove unnecessary ? operatorMatthias Beyer
This fixes the clippy lint `clippy::needless_question_mark`. Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
2022-02-22--config-dir for tedge command (#814)initard
When the tedge command is called, you can now pass `--config-dir` as a cli option. The default value for this option is "/etc/tedge" and is defined in tedge_config/src/tedge_config_location.rs. - removed if/else tedge_config::TEdgeConfigLocation::from_users_home_location logic from tedge main.rs - added --config-dir option to tedge command - fixed failing tests Signed-off-by: initard <solo@softwareag.com>
2022-02-17Merge pull request #895 from matthiasbeyer/clippy-fixes-tedge_configMatthias Beyer
Clippy fixes for: tedge_config
2022-02-15c8y_api lib, tedge config, mqtt/http utilities (#790)initard
Preparing the repo for the log request plugin. Restructuring folders, moving code out of sm_c8y_mapper and into c8y_api, c8y_smartrest or tedge_config. Signed-off-by: initard <solo@softwareag.com>
2022-02-14Remove TEdgeConfig::config_location because it was unusedMatthias Beyer
Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
2022-02-14Remove clone() call for Copy typeMatthias Beyer
This fixes clippy lint `clippy::clone_on_copy`. Signed-off-by: Matthias Beyer <matthias.beyer@ifm.com>
2022-01-27#733 Configurable Device Type (#782)initard
* configurable device type (#733) Signed-off-by: initard <solo@softwareag.com> * adding device data fragment to mapper init (#733) Signed-off-by: initard <solo@softwareag.com> * fixing test Signed-off-by: initard <solo@softwareag.com> * adding device type when making new device (#733) Signed-off-by: initard <solo@softwareag.com> * removing comment and unused package Signed-off-by: initard <solo@softwareag.com> * passing down device type and removing tedge util Signed-off-by: initard <solo@softwareag.com> * string formatting (#733) Signed-off-by: initard <solo@softwareag.com> * documenting device data settings Signed-off-by: initard <solo@softwareag.com> * addressing minor pr comments on syntax (#733) Signed-off-by: initard <solo@softwareag.com> Co-authored-by: initard <solo@softwareag.com>
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>
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>