summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.github/ISSUE_TEMPLATE/bug_report.md13
-rw-r--r--.github/ISSUE_TEMPLATE/doc_improvement.md10
-rw-r--r--.github/ISSUE_TEMPLATE/feature_improvement.md15
-rw-r--r--.github/ISSUE_TEMPLATE/feature_request.md12
-rw-r--r--.github/ISSUE_TEMPLATE/refactoring_request.md17
-rw-r--r--.github/dependabot.yml12
-rw-r--r--.github/pull_request_template.md22
-rw-r--r--.github/workflows/build-workflow.yml231
-rw-r--r--.github/workflows/ci_pipeline.yml219
-rw-r--r--.github/workflows/commit-workflow-optional.yml111
-rw-r--r--.github/workflows/commit-workflow.yml237
-rw-r--r--.github/workflows/gh-pages.yml11
-rw-r--r--.github/workflows/hosted-post-merge_version_update.yml14
-rw-r--r--.github/workflows/integration-test-workflow.yml225
-rw-r--r--.github/workflows/pull-request-checks.yml380
-rw-r--r--.github/workflows/system-test-offsite.yml157
-rw-r--r--.github/workflows/system-test-workflow.yml45
-rw-r--r--.github/workflows/update-tedge-ref-docs.yml49
-rw-r--r--.gitignore6
-rw-r--r--CONTRIBUTING.md16
-rw-r--r--Cargo.lock1704
-rw-r--r--Cargo.toml6
-rw-r--r--README.md7
-rwxr-xr-xci/az_upload_device_cert.py2
-rwxr-xr-xci/build_scripts/build_for_amd64.sh22
-rwxr-xr-xci/build_scripts/build_for_arm.sh35
-rwxr-xr-xci/ci_run_all_plugin_tests.sh52
-rwxr-xr-xci/ci_run_all_sm_tests.sh63
-rwxr-xr-xci/ci_run_all_tests.sh50
-rwxr-xr-xci/ci_smoke_test_az.sh5
-rwxr-xr-xci/ci_smoke_test_c8y.sh56
-rwxr-xr-xci/configure_bridge.sh58
-rwxr-xr-xci/delete_current_device_c8y.py73
-rwxr-xr-xci/find_device_id.py72
-rwxr-xr-xci/installation_scripts/clean_up_rpi.sh15
-rwxr-xr-xci/installation_scripts/install_for_amd64.sh18
-rwxr-xr-xci/installation_scripts/install_for_arm.sh25
-rwxr-xr-xci/package_list.sh37
-rwxr-xr-xci/report/build.sh13
-rwxr-xr-xci/report/build_local.sh13
-rwxr-xr-xci/report/download_workflow_artifact.py235
-rwxr-xr-xci/report/final_result.py33
-rwxr-xr-xci/report/report_builder.py207
-rwxr-xr-xci/test_build.sh22
-rw-r--r--configuration/contrib/tedge_upgrade/upgrade_tedge_0.6.sh37
-rw-r--r--configuration/debian/c8y_configuration_plugin/postinst8
-rw-r--r--configuration/debian/c8y_log_plugin/postinst18
-rwxr-xr-xconfiguration/debian/tedge/postinst39
-rw-r--r--configuration/debian/tedge/postrm25
-rw-r--r--configuration/debian/tedge/preinst57
-rw-r--r--configuration/debian/tedge_agent/postinst33
-rw-r--r--configuration/debian/tedge_agent/postrm35
-rw-r--r--configuration/debian/tedge_mapper/postinst24
-rw-r--r--configuration/debian/tedge_mapper/postrm30
-rw-r--r--configuration/debian/tedge_mapper/prerm7
-rw-r--r--configuration/init/systemd/c8y-configuration-plugin.service11
-rw-r--r--configuration/init/systemd/c8y-log-plugin.service12
-rw-r--r--configuration/init/systemd/tedge-agent.service5
-rw-r--r--configuration/init/systemd/tedge-mapper-az.service2
-rw-r--r--configuration/init/systemd/tedge-mapper-c8y.service2
-rw-r--r--configuration/init/systemd/tedge-mapper-collectd.service2
-rw-r--r--configuration/init/systemd/tedge-mapper-sm-c8y.service12
-rw-r--r--configuration/init/systemd/tedge-watchdog.service13
-rw-r--r--crates/common/batcher/Cargo.toml6
-rw-r--r--crates/common/batcher/src/batch.rs37
-rw-r--r--crates/common/batcher/src/batchable.rs4
-rw-r--r--crates/common/batcher/src/batcher.rs49
-rw-r--r--crates/common/batcher/src/config.rs2
-rw-r--r--crates/common/batcher/src/driver.rs36
-rw-r--r--crates/common/certificate/Cargo.toml15
-rw-r--r--crates/common/certificate/src/lib.rs34
-rw-r--r--crates/common/clock/Cargo.toml13
-rw-r--r--crates/common/clock/src/lib.rs21
-rw-r--r--crates/common/download/Cargo.toml16
-rw-r--r--crates/common/download/examples/simple_download.rs4
-rw-r--r--crates/common/download/src/download.rs42
-rw-r--r--crates/common/flockfile/Cargo.toml6
-rw-r--r--crates/common/flockfile/src/unix.rs70
-rw-r--r--crates/common/json_writer/Cargo.toml4
-rw-r--r--crates/common/json_writer/src/lib.rs17
-rw-r--r--crates/common/logged_command/Cargo.toml18
-rw-r--r--crates/common/logged_command/src/lib.rs3
-rw-r--r--crates/common/logged_command/src/logged_command.rs (renamed from crates/core/plugin_sm/src/logged_command.rs)50
-rw-r--r--crates/common/mqtt_channel/Cargo.toml8
-rw-r--r--crates/common/mqtt_channel/src/config.rs26
-rw-r--r--crates/common/mqtt_channel/src/connection.rs57
-rw-r--r--crates/common/mqtt_channel/src/errors.rs26
-rw-r--r--crates/common/mqtt_channel/src/lib.rs2
-rw-r--r--crates/common/mqtt_channel/src/messages.rs2
-rw-r--r--crates/common/mqtt_channel/src/session.rs90
-rw-r--r--crates/common/mqtt_channel/src/tests.rs203
-rw-r--r--crates/common/mqtt_channel/src/topics.rs40
-rw-r--r--crates/common/tedge_config/Cargo.toml7
-rw-r--r--crates/common/tedge_config/src/models/file_path.rs10
-rw-r--r--crates/common/tedge_config/src/models/ipaddress.rs86
-rw-r--r--crates/common/tedge_config/src/models/mod.rs5
-rw-r--r--crates/common/tedge_config/src/models/templates_set.rs57
-rw-r--r--crates/common/tedge_config/src/settings.rs66
-rw-r--r--crates/common/tedge_config/src/tedge_config.rs122
-rw-r--r--crates/common/tedge_config/src/tedge_config_defaults.rs27
-rw-r--r--crates/common/tedge_config/src/tedge_config_dto.rs14
-rw-r--r--crates/common/tedge_config/src/tedge_config_location.rs52
-rw-r--r--crates/common/tedge_config/src/tedge_config_repository.rs5
-rw-r--r--crates/common/tedge_config/tests/test_tedge_config.rs65
-rw-r--r--crates/common/tedge_users/Cargo.toml12
-rw-r--r--crates/common/tedge_users/src/lib.rs29
-rw-r--r--crates/common/tedge_users/src/unix.rs225
-rw-r--r--crates/common/tedge_users/src/windows.rs37
-rw-r--r--crates/common/tedge_utils/Cargo.toml18
-rw-r--r--crates/common/tedge_utils/src/file.rs360