Skip to content

Commit

Permalink
Merge pull request #2173 from jarhodes314/feat/2168/avoid-subscribing…
Browse files Browse the repository at this point in the history
…-to-dcr

Avoid subscribing to s/dcr and forwarding s/ucr
  • Loading branch information
reubenmiller authored Aug 21, 2023
2 parents f900160 + 2d2f391 commit 033af64
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
6 changes: 0 additions & 6 deletions crates/core/tedge/src/cli/connect/bridge_config_c8y.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@ impl From<BridgeConfigC8yParams> for BridgeConfig {
} = params;

let mut topics: Vec<String> = vec![
// Registration
r#"s/dcr in 2 c8y/ """#.into(),
r#"s/ucr out 2 c8y/ """#.into(),
// Templates
r#"s/dt in 2 c8y/ """#.into(),
r#"s/ut/# out 2 c8y/ """#.into(),
Expand Down Expand Up @@ -134,9 +131,6 @@ fn test_bridge_config_from_c8y_params() -> anyhow::Result<()> {
use_mapper: true,
use_agent: true,
topics: vec![
// Registration
r#"s/dcr in 2 c8y/ """#.into(),
r#"s/ucr out 2 c8y/ """#.into(),
// Templates
r#"s/dt in 2 c8y/ """#.into(),
r#"s/ut/# out 2 c8y/ """#.into(),
Expand Down
4 changes: 0 additions & 4 deletions docs/src/references/mqtt-topics.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,6 @@ The topics follow the below format

All Cumulocity topics have been prefixed by `c8y/`.

* Registration topics
c8y/s/dcr
c8y/s/ucr

* Creating template topics
c8y/s/dt
c8y/s/ut/#
Expand Down

1 comment on commit 033af64

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Robot Results

✅ Passed ❌ Failed ⏭️ Skipped Total Pass %
255 0 5 255 100

Please sign in to comment.