summaryrefslogtreecommitdiffstats
path: root/crates/core/c8y_smartrest/src/smartrest_serializer.rs
AgeCommit message (Collapse)Author
2022-05-05Move the operation status message trait to the smartrest crateRina 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-04-21Add downloading config files supportRina Fujino
Signed-off-by: Rina Fujino <18257209+rina23q@users.noreply.github.com>
2022-04-12Issue #1030 Support c8y_UploadConfigFile operationAlbin Suresh
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>
2021-12-07#596 Declare supported operations (#652)Lukasz Woznicki
* Add operations to tedge_mapper * Add operations directory on install, remove supported ops from sm-c8y mapper * Update install command in postinst script to correctly create ops files Signed-off-by: Lukasz Woznicki <lukasz.woznicki@softwareag.com>
2021-12-06Feature/599/restart device cloud operation (#662)initard
* cloud restart operation #599 Signed-off-by: initard <solo@softwareag.com> * operation set to executing c8y #599 Signed-off-by: initard <solo@softwareag.com> * cargo fmt Signed-off-by: initard <solo@softwareag.com> * removing debug hard-coded echo Signed-off-by: initard <solo@softwareag.com> * updated handle_restart_opeartion signature in test #599 Signed-off-by: initard <solo@softwareag.com> * test update for c8y_Restart Signed-off-by: initard <solo@softwareag.com> * removed panic on empty restart request #599 Signed-off-by: initard <solo@softwareag.com> Co-authored-by: initard <solo@softwareag.com>
2021-11-26[CIT-659] restart device local operation (#591)initard
* [CIT-659] operation status rename Signed-off-by: Alex <solo@softwareag.com> * [CIT-659] OperationStatus rename Signed-off-by: Alex <solo@softwareag.com> * [CIT-659] adding new structs to lib import Signed-off-by: Alex <solo@softwareag.com> * [CIT-659] restart operation implementation Signed-off-by: Alex <solo@softwareag.com> * [CIT-659] restart operation check (WIP) Signed-off-by: Alex <solo@softwareag.com> * [CIT-659] wip Signed-off-by: Alex <solo@softwareag.com> * [CIT-659] restart operation check when /run/tedge_agent_restart persists after operation Signed-off-by: Alex <solo@softwareag.com> * [CIT-659] stash merge Signed-off-by: initard <solo@softwareag.com> * [CIT-659] restart operation refactoring, - chrono dependency Signed-off-by: initard <solo@softwareag.com> * [CIT-659] removed package feature, made file creation more explicit Signed-off-by: initard <solo@softwareag.com> * [CIT-659] dealing with some unwraps and error handling Signed-off-by: initard <solo@softwareag.com> * [CIT-659] reverting changes to operation_logs + error handling Signed-off-by: initard <solo@softwareag.com> * [CIT-659] changed operation from echo 6 to init 6 Signed-off-by: initard <solo@softwareag.com> * [CIT-659] fixing restart check logic Signed-off-by: initard <solo@softwareag.com> * [CIT-659] refactored error handling and added unit test for /run/tedge_agent_restart Signed-off-by: initard <solo@softwareag.com> * [CIT-659] refactoring of tests Signed-off-by: initard <solo@softwareag.com> * [CIT-659] ignored failed test Signed-off-by: initard <solo@softwareag.com> Co-authored-by: Alex <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>