diff options
author | Lukasz Woznicki <75632179+makr11st@users.noreply.github.com> | 2021-11-24 20:54:56 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-24 20:54:56 +0000 |
commit | a4ffeccf60090e4456755bc53a6e3b8c8038e855 (patch) | |
tree | 9583f187114913a92866571920dd3bb205bd50a3 | |
parent | 8217e80670e76dbf9168780f5e0545355a39f8f3 (diff) |
Restructure directories of the workspace (#559)
* 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>
-rw-r--r-- | .github/workflows/commit-workflow.yml | 22 | ||||
-rw-r--r-- | Cargo.lock | 4 | ||||
-rw-r--r-- | Cargo.toml | 28 | ||||
-rwxr-xr-x | ci/ci_run_all_plugin_tests.sh | 2 | ||||
-rwxr-xr-x | ci/ci_run_all_sm_tests.sh | 3 | ||||
-rwxr-xr-x | ci/ci_smoke_test_c8y.sh | 5 | ||||
-rw-r--r-- | crates/common/batcher/Cargo.toml (renamed from common/batcher/Cargo.toml) | 0 | ||||
-rw-r--r-- | crates/common/batcher/src/batch.rs (renamed from common/batcher/src/batch.rs) | 0 | ||||
-rw-r--r-- | crates/common/batcher/src/batchable.rs (renamed from common/batcher/src/batchable.rs) | 0 | ||||
-rw-r--r-- | crates/common/batcher/src/batcher.rs (renamed from common/batcher/src/batcher.rs) | 0 | ||||
-rw-r--r-- | crates/common/batcher/src/config.rs (renamed from common/batcher/src/config.rs) | 0 | ||||
-rw-r--r-- | crates/common/batcher/src/driver.rs (renamed from common/batcher/src/driver.rs) | 0 | ||||
-rw-r--r-- | crates/common/batcher/src/lib.rs (renamed from common/batcher/src/lib.rs) | 0 | ||||
-rw-r--r-- | crates/common/certificate/Cargo.toml (renamed from common/certificate/Cargo.toml) | 0 | ||||
-rw-r--r-- | crates/common/certificate/src/device_id.rs (renamed from common/certificate/src/device_id.rs) | 0 | ||||
-rw-r--r-- | crates/common/certificate/src/lib.rs (renamed from common/certificate/src/lib.rs) | 0 | ||||
-rw-r--r-- | crates/common/clock/Cargo.toml (renamed from common/clock/Cargo.toml) | 0 | ||||
-rw-r--r-- | crates/common/clock/src/lib.rs (renamed from common/clock/src/lib.rs) | 0 | ||||
-rw-r--r-- | crates/common/download/Cargo.toml (renamed from sm/download/Cargo.toml) | 4 | ||||
-rw-r--r-- | crates/common/download/examples/simple_download.rs (renamed from sm/download/examples/simple_download.rs) | 0 | ||||
-rw-r--r-- | crates/common/download/src/download.rs (renamed from sm/download/src/download.rs) | 0 | ||||
-rw-r--r-- | crates/common/download/src/error.rs (renamed from sm/download/src/error.rs) | 0 | ||||
-rw-r--r-- | crates/common/download/src/lib.rs (renamed from sm/download/src/lib.rs) | 0 | ||||
-rw-r--r-- | crates/common/flockfile/Cargo.toml (renamed from common/flockfile/Cargo.toml) | 0 | ||||
-rw-r--r-- | crates/common/flockfile/src/lib.rs (renamed from common/flockfile/src/lib.rs) | 0 | ||||
-rw-r--r-- | crates/common/flockfile/src/unix.rs (renamed from common/flockfile/src/unix.rs) | 0 | ||||
-rw-r--r-- | crates/common/flockfile/src/windows.rs (renamed from common/flockfile/src/windows.rs) | 0 | ||||
-rw-r--r-- | crates/common/json_writer/Cargo.toml (renamed from common/json_writer/Cargo.toml) | 0 | ||||
-rw-r--r-- | crates/common/json_writer/src/lib.rs (renamed from common/json_writer/src/lib.rs) | 0 | ||||
-rw-r--r-- | crates/common/mqtt_client/Cargo.toml (renamed from common/mqtt_client/Cargo.toml) | 2 | ||||
-rw-r--r-- | crates/common/mqtt_client/examples/publish_test.rs (renamed from common/mqtt_client/examples/publish_test.rs) | 0 | ||||
-rw-r--r-- | crates/common/mqtt_client/examples/sawtooth_publisher.rs (renamed from common/mqtt_client/examples/sawtooth_publisher.rs) | 0 | ||||
-rw-r--r-- | crates/common/mqtt_client/examples/simple_mapper.rs (renamed from common/mqtt_client/examples/simple_mapper.rs) | 0 | ||||
-rw-r--r-- | crates/common/mqtt_client/examples/temperature_publisher.rs (renamed from common/mqtt_client/examples/temperature_publisher.rs) | 0 | ||||
-rw-r--r-- | crates/common/mqtt_client/src/lib.rs (renamed from common/mqtt_client/src/lib.rs) | 0 | ||||
-rw-r--r-- | crates/common/mqtt_client/tests/mqtt_pub_sub_test.rs (renamed from common/mqtt_client/tests/mqtt_pub_sub_test.rs) | 0 | ||||
-rw-r--r-- | crates/common/mqtt_client/tests/packet_size_tests.rs (renamed from common/mqtt_client/tests/packet_size_tests.rs) | 0 | ||||
-rw-r--r-- | crates/common/tedge_config/Cargo.toml (renamed from tedge_config/Cargo.toml) | 4 | ||||
-rw-r--r-- | crates/common/tedge_config/src/config_setting.rs (renamed from tedge_config/src/config_setting.rs) | 0 | ||||
-rw-r--r-- | crates/common/tedge_config/src/error.rs (renamed from tedge_config/src/error.rs) | 0 | ||||
-rw-r--r-- | crates/common/tedge_config/src/lib.rs (renamed from tedge_config/src/lib.rs) | 0 | ||||
-rw-r--r-- | crates/common/tedge_config/src/models/connect_url.rs (renamed from tedge_config/src/models/connect_url.rs) | 0 | ||||
-rw-r--r-- | crates/common/tedge_config/src/models/file_path.rs (renamed from tedge_config/src/models/file_path.rs) | 0 | ||||
-rw-r--r-- | crates/common/tedge_config/src/models/flag.rs (renamed from tedge_config/src/models/flag.rs) | 0 | ||||
-rw-r--r-- | crates/common/tedge_config/src/models/mod.rs (renamed from tedge_config/src/models/mod.rs) | 0 | ||||
-rw-r--r-- | crates/common/tedge_config/src/models/port.rs (renamed from tedge_config/src/models/port.rs) | 0 | ||||
-rw-r--r-- | crates/common/tedge_config/src/settings.rs (renamed from tedge_config/src/settings.rs) | 0 | ||||
-rw-r--r-- | crates/common/tedge_config/src/tedge_config.rs (renamed from tedge_config/src/tedge_config.rs) | 0 | ||||
-rw-r--r-- | crates/common/tedge_config/src/tedge_config_defaults.rs (renamed from tedge_config/src/tedge_config_defaults.rs) | 0 | ||||
-rw-r--r-- | crates/common/tedge_config/src/tedge_config_dto.rs (renamed from tedge_config/src/tedge_config_dto.rs) | 0 | ||||
-rw-r--r-- | crates/common/tedge_config/src/tedge_config_location.rs (renamed from tedge_config/src/tedge_config_location.rs) | 0 | ||||
-rw-r--r-- | crates/common/tedge_config/src/tedge_config_repository.rs (renamed from tedge_config/src/tedge_config_repository.rs) | 0 | ||||
-rw-r--r-- | crates/common/tedge_config/tests/test_tedge_config.rs (renamed from tedge_config/tests/test_tedge_config.rs) | 0 | ||||
-rw-r--r-- | crates/common/tedge_users/Cargo.toml (renamed from common/tedge_users/Cargo.toml) | 0 | ||||
-rw-r--r-- | crates/common/tedge_users/src/lib.rs (renamed from common/tedge_users/src/lib.rs) | 0 | ||||
-rw-r--r-- | crates/common/tedge_users/src/unix.rs (renamed from common/tedge_users/src/unix.rs) | 0 | ||||
-rw-r--r-- | crates/common/tedge_users/src/windows.rs (renamed from common/tedge_users/src/windows.rs) | 0 | ||||
-rw-r--r-- | crates/common/tedge_utils/Cargo.toml (renamed from common/tedge_utils/Cargo.toml) | 0 | ||||
-rw-r--r-- | crates/common/tedge_utils/src/fs.rs (renamed from common/tedge_utils/src/fs.rs) | 0 | ||||
-rw-r--r-- | crates/common/tedge_utils/src/lib.rs (renamed from common/tedge_utils/src/lib.rs) | 0 | ||||
-rw-r--r-- | crates/common/tedge_utils/src/logging.rs (renamed from common/tedge_utils/src/logging.rs) | 0 | ||||
-rw-r--r-- | crates/common/tedge_utils/src/paths.rs (renamed from common/tedge_utils/src/paths.rs) | 0 | ||||
-rw-r--r-- | crates/common/tedge_utils/src/signals.rs (renamed from common/tedge_utils/src/signals.rs) | 0 | ||||
-rw-r--r-- | crates/core/c8y_smartrest/Cargo.toml (renamed from mapper/cumulocity/c8y_smartrest/Cargo.toml) | 2 | ||||
-rw-r--r-- | crates/core/c8y_smartrest/src/error.rs (renamed from mapper/cumulocity/c8y_smartrest/src/error.rs) | 0 | ||||
-rw-r--r-- | crates/core/c8y_smartrest/src/lib.rs (renamed from mapper/cumulocity/c8y_smartrest/src/lib.rs) | 0 | ||||
-rw-r--r-- | crates/core/c8y_smartrest/src/smartrest_deserializer.rs (renamed from mapper/cumulocity/c8y_smartrest/src/smartrest_deserializer.rs) | 0 | ||||
-rw-r--r-- | crates/core/c8y_smartrest/src/smartrest_serializer.rs (renamed from mapper/cumulocity/c8y_smartrest/src/smartrest_serializer.rs) | 0 | ||||
-rw-r--r-- | crates/core/c8y_translator/Cargo.toml (renamed from mapper/cumulocity/c8y_translator_lib/Cargo.toml) | 8 | ||||
-rw-r--r-- | crates/core/c8y_translator/benches/thin_edge_json.rs (renamed from mapper/cumulocity/c8y_translator_lib/benches/thin_edge_json.rs) | 2 | ||||
-rw-r--r-- | crates/core/c8y_translator/examples/multi_value_translation.rs (renamed from mapper/cumulocity/c8y_translator_lib/examples/multi_value_translation.rs) | 2 | ||||
-rw-r--r-- | crates/core/c8y_translator/examples/single_value_translation.rs (renamed from mapper/cumulocity/c8y_translator_lib/examples/single_value_translation.rs) | 2 | ||||
-rw-r--r-- | crates/core/c8y_translator/examples/translate_to_c8yjson.rs (renamed from mapper/cumulocity/c8y_translator_lib/examples/translate_to_c8yjson.rs) | 2 | ||||
-rw-r--r-- | crates/core/c8y_translator/fuzz/.gitignore (renamed from mapper/cumulocity/c8y_translator_lib/fuzz/.gitignore) | 0 | ||||
-rw-r--r-- | crates/core/c8y_translator/fuzz/Cargo.toml (renamed from mapper/cumulocity/c8y_translator_lib/fuzz/Cargo.toml) | 4 | ||||
-rw-r--r-- | crates/core/c8y_translator/fuzz/README.md (renamed from mapper/cumulocity/c8y_translator_lib/fuzz/README.md) | 0 | ||||
-rw-r--r-- | crates/core/c8y_translator/fuzz/fuzz_targets/fuzz_target_1.rs (renamed from mapper/cumulocity/c8y_translator_lib/fuzz/fuzz_targets/fuzz_target_1.rs) | 2 | ||||
-rw-r--r-- | crates/core/c8y_translator/src/json.rs (renamed from mapper/cumulocity/c8y_translator_lib/src/json.rs) | 2 | ||||
-rw-r--r-- | crates/core/c8y_translator/src/lib.rs (renamed from mapper/cumulocity/c8y_translator_lib/src/lib.rs) | 0 | ||||
-rw-r--r-- | crates/core/c8y_translator/src/serializer.rs (renamed from mapper/cumulocity/c8y_translator_lib/src/serializer.rs) | 0 | ||||
-rw-r--r-- | crates/core/json_sm/Cargo.toml (renamed from sm/json_sm/Cargo.toml) | 0 | ||||
-rw-r--r-- | crates/core/json_sm/src/error.rs (renamed from sm/json_sm/src/error.rs) | 0 | ||||
-rw-r--r-- | crates/core/json_sm/src/lib.rs (renamed from sm/json_sm/src/lib.rs) | 0 | ||||
-rw-r--r-- | crates/core/json_sm/src/messages.rs (renamed from sm/json_sm/src/messages.rs) | 0 | ||||
-rw-r--r-- | crates/core/json_sm/src/software.rs (renamed from sm/json_sm/src/software.rs) | 0 | ||||
-rw-r--r-- | crates/core/plugin_sm/Cargo.toml (renamed from sm/plugin_sm/Cargo.toml) | 2 | ||||
-rw-r--r-- | crates/core/plugin_sm/src/lib.rs (renamed from sm/plugin_sm/src/lib.rs) | 0 | ||||
-rw-r--r-- | crates/core/plugin_sm/src/log_file.rs (renamed from sm/plugin_sm/src/log_file.rs) | 0 | ||||
-rw-r--r-- | crates/core/plugin_sm/src/logged_command.rs (renamed from sm/plugin_sm/src/logged_command.rs) | 0 | ||||
-rw-r--r-- | crates/core/plugin_sm/src/plugin.rs (renamed from sm/plugin_sm/src/plugin.rs) | 0 | ||||
-rw-r--r-- | crates/core/plugin_sm/src/plugin_manager.rs (renamed from sm/plugin_sm/src/plugin_manager.rs) | 0 | ||||
-rw-r--r-- | crates/core/plugin_sm/tests/fixtures/plugin/plugin_get_command_list.0 (renamed from sm/plugin_sm/tests/fixtures/plugin/plugin_get_command_list.0) | 0 | ||||
-rw-r--r-- | crates/core/plugin_sm/tests/plugin.rs (renamed from sm/plugin_sm/tests/plugin.rs) | 9 | ||||
-rw-r--r-- | crates/core/plugin_sm/tests/plugin_manager.rs (renamed from sm/plugin_sm/tests/plugin_manager.rs) | 9 | ||||
-rw-r--r-- | crates/core/tedge/Cargo.toml (renamed from tedge/Cargo.toml) | 8 | ||||
-rw-r--r-- | crates/core/tedge/README.md (renamed from tedge/README.md) | 0 | ||||
-rw-r--r-- | crates/core/tedge/src/cli/certificate/cli.rs (renamed from tedge/src/cli/certificate/cli.rs) | 0 | ||||
-rw-r--r-- | crates/core/tedge/src/cli/certificate/create.rs (renamed from tedge/src/cli/certificate/create.rs) | 0 | ||||
-rw-r--r-- | crates/core/tedge/src/cli/certificate/error.rs (renamed from tedge/src/cli/certificate/error.rs) | 0 | ||||
-rw-r--r-- | crates/core/tedge/src/cli/certificate/mod.rs (renamed from tedge/src/cli/certificate/mod.rs) | 0 | ||||
-rw-r--r-- | crates/core/tedge/src/cli/certificate/remove.rs (renamed from tedge/src/cli/certificate/remove.rs) | 0 | ||||
-rw-r--r-- | crates/core/tedge/src/cli/certificate/show.rs (renamed from tedge/src/cli/certificate/show.rs) | 0 | ||||
-rw-r--r-- | crates/core/tedge/src/cli/certificate/upload.rs (renamed from tedge/src/cli/certificate/upload.rs) | 0 | ||||
-rw-r--r-- | crates/core/tedge/src/cli/config/cli.rs (renamed from tedge/src/cli/config/cli.rs) | 0 | ||||
-rw-r--r-- | crates/core/tedge/src/cli/config/commands/get.rs (renamed from tedge/src/cli/config/commands/get.rs) | 0 |