Age | Commit message (Collapse) | Author |
|
Signed-off-by: Krzysztof Piotrowski <krzysztof.piotrowski@inetum.com>
|
|
* Closes #1174, add watchdog to tedge watchdog
Signed-off-by: Pradeep Kumar K J <pradeepkumar.kj@softwareag.com>
|
|
* log plugin bugfix, tests, doc and service update
- added logic to sort files by file metadata
- added tests for c8y log plugin
- updated documentation
- updated service file to enable service if connect to c8y
- log plugin handling failure case and info logs
- updating request as failed if there is an issue retrieving the log
- empty file error now returns an empty string
|
|
Signed-off-by: initard <solo@softwareag.com>
|
|
- 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: Pradeep Kumar K J <pradeepkumar.kj@softwareag.com>
|
|
Signed-off-by: Pradeep Kumar K J <pradeepkumar.kj@softwareag.com>
|
|
Signed-off-by: Pradeep Kumar K J <pradeepkumar.kj@softwareag.com>
|
|
|
|
* Add --init option to deploy the operation files
* Add debian packaging information to Cargo.toml
* Add systemd service file
* Add postinst script
* Small refactoring
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>
|
|
* [953] tedge-systemd-watchdog
* update service file to watchdog
* Closes #953 thin-edge watchdog
* health check for all the services
* update document
|
|
* 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
|
|
- c8y_LogfileRequest is now a plugin so this makes no sense here
Signed-off-by: initard <solo@softwareag.com>
Co-authored-by: initard <solo@softwareag.com>
|
|
- removed sm-c8y-mapper from systemd init
- connection reset by peer was caused by conflicting client names
Signed-off-by: initard <solo@softwareag.com>
Co-authored-by: Rina Fujino <18257209+rina23q@users.noreply.github.com>
Co-authored-by: Michael Abel <info@abel-ikt.de>
|
|
Signed-off-by: Rina Fujino <18257209+rina23q@users.noreply.github.com>
|
|
anymore
Signed-off-by: Lukasz Woznicki <lukasz.woznicki@softwareag.com>
|
|
- renamed jwt token session
- renamed file C8y_LogfileRequest to c8y_LogfileRequest
- added cargo deb asset to create binary in /usr/bin/tedge_logfile_request_plugin
- closing mqtt client connection in plugin
Signed-off-by: initard <solo@softwareag.com>
|
|
- cargo-deb config in cargo.toml
- cargo build in workflow
- stripping binary
- updated get-thin-edge.io script
Signed-off-by: initard <solo@softwareag.com>
|
|
* add init to tedge_agent
* init mapper
* init mapper and agent postinst
* separate init and clear session functions
* use tokio::mutex instead of std::mutex
* pysys test for agent init
* system test for mapper init session
* use mqtt_channel init/clear session apis
Co-authored-by: Pradeep Kumar K J <pradeepkumar.kj@sofwareag.com>
|
|
* The purpose of this change is to get rid of the hard-coded dependencies on systemd from tedge connect/disconnect, to allow users to use other system managers, e.g. OpenRC, initd, etc..
* If /etc/tedge/system.toml exists, tedge connect/disconnect uses the service manager defined in the file.
* If the file is not given by user, tedge connect/disconnect uses /bin/systemctl as the service manager. (the same behaviour as we have it so far)
* Delete old service implementation files for BSD, OpenRC, systemd, and NULL.
* Add system.toml example files for BSD and OpenRC.
* Add a reference guide to explain the format of system.toml configuration file.
Signed-off-by: Rina Fujino <18257209+rina23q@users.noreply.github.com>
|
|
* creating runtime directory /run/tedge_agent (#683)
Signed-off-by: initard <solo@softwareag.com>
* ignoring test due to permission error (#683)
Signed-off-by: initard <solo@softwareag.com>
Co-authored-by: initard <solo@softwareag.com>
|
|
Signed-off-by: initard <solo@softwareag.com>
Co-authored-by: initard <solo@softwareag.com>
|
|
commands (#683)
Signed-off-by: initard <solo@softwareag.com>
Co-authored-by: initard <solo@softwareag.com>
|
|
Signed-off-by: Lukasz Woznicki <lukasz.woznicki@softwareag.com>
|
|
* 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>
|
|
|
|
* Add more explicit message when service manager is not found
* Add message on disconnect
* Add conditional use of systemctl in deb scripts
Signed-off-by: Lukasz Woznicki <lukasz.woznicki@softwareag.com>
|
|
Signed-off-by: Lukasz Woznicki <lukasz.woznicki@softwareag.com>
|
|
* Add note in installation doc about upgradingg
* Add prerm scripts with hints to stop running mappers
Signed-off-by: Lukasz Woznicki <lukasz.woznicki@softwareag.com>
|
|
* Add guide how to isntall without dpkg
* Extend info in postinst scripts to help understand steps
Signed-off-by: Lukasz Woznicki <lukasz.woznicki@softwareag.com>
|
|
Signed-off-by: Rina Fujino <18257209+rina23q@users.noreply.github.com>
|
|
|
|
|
|
|
|
Signed-off-by: Rina Fujino <18257209+rina23q@users.noreply.github.com>
|
|
* postrm rm users, groups, logs, .d files [CIT-556]
Signed-off-by: Alex Solomes <alex.solomes@softwareag.com>
* added case statement & purge/remove logic [CIT-556]
Signed-off-by: Alex Solomes <alex.solomes@softwareag.com>
* removing sudoers file [CIT-556]
Signed-off-by: Alex Solomes <alex.solomes@softwareag.com>
* remove sudoers from tedge-agent [CIT-556]
Signed-off-by: Alex Solomes <alex.solomes@softwareag.com>
|
|
* [CIT-577] Update postinst script of tedge-agent
- tedge-agent can execute other plugins than apt
Signed-off-by: Rina Fujino <18257209+rina23q@users.noreply.github.com>
* [CIT-471] Add tests part 1
Signed-off-by: Rina Fujino <18257209+rina23q@users.noreply.github.com>
|
|
* [CIT-525] extend tedge dis/connect to dis/enable sm services
* enable services postinstall
* fix minor issues
* address review comments
* update the println
* remove to_do macro
* add system tests
* add use_agent flag
* refactor common code
* address review comments
* address review comment
* Update tedge/src/cli/connect/command.rs
* update log
* [CIT-540] create .agent directory
* fix the apt plugin permission issue
* address PR comment
* disable tests for tarpaulin
* fix tarpaulin issue
* revert the tarpaulin changes
* update workflow
Co-authored-by: Pradeep Kumar K J <pradeepkumar.kj@sofwareag.com>
Co-authored-by: Sebastian Büttner <sebastian.buettner@softwareag.com>
|
|
* [CIT-525] extend tedge dis/connect to dis/enable sm services
* enable services postinstall
* fix minor issues
* address review comments
* update the println
* remove to_do macro
* add system tests
* add use_agent flag
* refactor common code
* address review comments
* address review comment
* Update tedge/src/cli/connect/command.rs
* update log
Co-authored-by: Pradeep Kumar K J <pradeepkumar.kj@sofwareag.com>
Co-authored-by: Sebastian Büttner <sebastian.buettner@softwareag.com>
|
|
Signed-off-by: Rina Fujino <18257209+rina23q@users.noreply.github.com>
|
|
* Add basic tedge_agent code and service
* Add tedge_utils::fs atomically write file
* Add short documentation notes for tedge_agent
* Make sm-plugins path dynamic for agent
* Update dependencies due to cargo audit hyper vuln
Signed-off-by: Lukasz Woznicki <lukasz.woznicki@softwareag.com>
|
|
* fix broken mqtt library test
* move config files into test directory
* Create only one istance of broker for all tests
* remove dependancy on the config file
* cargo fmt
* address review comments
* remove unused dev-dependencies
Co-authored-by: Pradeep Kumar K J <pradeepkumar.kj@sofwareag.com>
|
|
* CIT-420] mqtt reconnection on bigger packets
* cargo fmt
* [CIT-420] Add max_packet_size
* [CIT-420] cap packet size at 256MB
* [CIT-420] Address review comments
* Add integration test
* added timeout
* fix the broken test
* [CIT-420] refactor code
* packet creation function
* Fix error handling
* Fix the error handling
* Fix test
* Add a new config
* update the ports
* format
* remove bridge_max_packet_size
* Rename functions and add comments
Co-authored-by: Pradeep K J <Pradeep K J pradeekumar.kj@softwareag.com>
|
|
* Move collectd_mapper to tedge_mapper
* Add tedge-mapper-collectd service
* Rename cli arg from dm to collectd
Signed-off-by: Lukasz Woznicki <lukasz.woznicki@softwareag.com>
|
|
* [CIT-396] Include tedge collectd.conf in debian package
* Include binary asset in debian package
* Update tedge collectd.conf path in workflows
|
|
* Add service file for azure
* Update tedge-mapper-az.service
Signed-off-by: Lukasz Woznicki <lukasz.woznicki@softwareag.com>
|
|
Co-authored-by: Pradeep K J <Pradeep K J pradeekumar.kj@softwareag.com>
|
|
|
|
* [CIT-353] Support purge option for tedge debian package
|