Skip to content

Commit

Permalink
rename implementation to handlers
Browse files Browse the repository at this point in the history
  • Loading branch information
Bravo555 committed Jul 29, 2024
1 parent 1d9edb1 commit 80e6962
Show file tree
Hide file tree
Showing 11 changed files with 8 additions and 11 deletions.
8 changes: 4 additions & 4 deletions crates/extensions/c8y_mapper_ext/src/operations/handler.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use super::implementation::EntityTarget;
use super::implementation::OperationContext;
use super::implementation::OperationMessage;
use super::implementation::UpdateStatus;
use super::handlers::EntityTarget;
use super::handlers::OperationContext;
use super::handlers::OperationMessage;
use super::handlers::UpdateStatus;
use crate::actor::IdDownloadRequest;
use crate::actor::IdDownloadResult;
use crate::actor::IdUploadRequest;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
use crate::converter::CumulocityConverter;
use anyhow::Context;
use c8y_api::smartrest::smartrest_serializer::succeed_operation_no_payload;
use c8y_api::smartrest::smartrest_serializer::CumulocitySupportedOperations;
Expand Down Expand Up @@ -64,8 +63,6 @@ impl OperationContext {
}
}

impl CumulocityConverter {}

#[cfg(test)]
mod tests {
use crate::tests::skip_init_messages;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//! Reacting to thin-edge operation messages.
//! Handling of different types of thin-edge.io operations.
mod config_snapshot;
mod config_update;
Expand Down
4 changes: 2 additions & 2 deletions crates/extensions/c8y_mapper_ext/src/operations/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ mod error;
mod handler;
pub use handler::OperationHandler;

mod implementation;
pub use implementation::EntityTarget;
mod handlers;
pub use handlers::EntityTarget;

pub mod topic_filter;
mod upload;
2 changes: 1 addition & 1 deletion crates/extensions/c8y_mapper_ext/src/operations/upload.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ use tedge_uploader_ext::UploadResult;
use time::OffsetDateTime;
use url::Url;

use super::implementation::OperationContext;
use super::handlers::OperationContext;
use crate::error::ConversionError;

impl OperationContext {
Expand Down

0 comments on commit 80e6962

Please sign in to comment.