Age | Commit message (Collapse) | Author |
|
Signed-off-by: Krzysztof Piotrowski <krzysztof.piotrowski@inetum.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
|
|
- 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>
|
|
|
|
* 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>
|
|
* 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>
|
|
* 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>
|
|
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>
|
|
* 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>
|
|
* 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>
|
|
Co-authored-by: Pradeep K J <Pradeep K J pradeekumar.kj@softwareag.com>
|
|
* [CIT-353] Support purge option for tedge debian package
|
|
Signed-off-by: Lukasz Woznicki <lukasz.woznicki@softwareag.com>
|
|
(#125)
fixing to small bugs:
include shouldn`t be added multiple times to mosquitto.conf
maintainer scripts path for tedge should be relative to repo root (as in tedge-mapper)
|
|
Adding creation of mosquitto-conf folder and device certs folder.
Adding /etc/tedge/mosquitto-conf as include in mosquitto.conf
|
|
* Enhance tedge-mapper debian package
- Add tedge-mapper systemd service script
- Add postinst debian package script
- Add debian package configurations in Cargo.toml
|
|
* [CIT-264] Adding postinst script for tedge debian package.
The posinst script contains creation of
- users
- groups
- /etc/tedge folder
- file to /etc/sudoers.d
* Extended comments with --gecos arguments
moved the postinst script to new place to be aligned with tedge-mapper
* changed to check for already existent users and groups
using install for directory creation in one command
* Update configuration/debian/tedge/postinst
Co-authored-by: Rina Fujino <18257209+rina23q@users.noreply.github.com>
* Update configuration/debian/tedge/postinst
Co-authored-by: Rina Fujino <18257209+rina23q@users.noreply.github.com>
* removed optionsystemd-units = { enable = false }
Co-authored-by: Rina Fujino <18257209+rina23q@users.noreply.github.com>
|