diff options
author | initard <alex.solomes@softwareag.com> | 2022-01-20 22:05:56 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-20 22:05:56 +0100 |
commit | f9658c812b13410c2bbbaecbce02291e15a03cf8 (patch) | |
tree | 5db4f6668296849eb439ae293f84dc1592475597 /crates/core/tedge/src | |
parent | 84140584dd24103baea69cfb3bc378d0134a6a8b (diff) |
Feature/686/c8y platform fragments (#757)
* adding c8y bridge to config (#686)
Signed-off-by: initard <solo@softwareag.com>
* creating inventory fragments and refactoring supported operations
fragments (#686)
Signed-off-by: initard <solo@softwareag.com>
* adding device name to c8y converter (#686)
Signed-off-by: initard <solo@softwareag.com>
* added errors to ConversionError to support json (#686)
Signed-off-by: initard <solo@softwareag.com>
* adding c8y_fragments module to project (#686)
Signed-off-by: initard <solo@softwareag.com>
* c8y fragments file (#686)
Signed-off-by: initard <solo@softwareag.com>
* matching on read_json_from_file in case it is not present (#686)
Signed-off-by: initard <solo@softwareag.com>
* fixing existing tests to take device name in converter (#686)
Signed-off-by: initard <solo@softwareag.com>
* added tests for inventory from file + individual fragment (#686)
Signed-off-by: initard <solo@softwareag.com>
* test fix (#686)
Signed-off-by: initard <solo@softwareag.com>
* removing unit test, does not work (#686)
Signed-off-by: initard <solo@softwareag.com>
* adding newly created topic for test (#686)
Signed-off-by: initard <solo@softwareag.com>
* removed unit test and refactoring (#686)
Signed-off-by: initard <solo@softwareag.com>
* rename to inventory (#686)
Signed-off-by: initard <solo@softwareag.com>
* refactoring with consts and renaming error messages (#686)
Signed-off-by: initard <solo@softwareag.com>
* removing unwrap (#686)
Signed-off-by: initard <solo@softwareag.com>
Co-authored-by: initard <solo@softwareag.com>
Diffstat (limited to 'crates/core/tedge/src')
-rw-r--r-- | crates/core/tedge/src/cli/connect/bridge_config_c8y.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crates/core/tedge/src/cli/connect/bridge_config_c8y.rs b/crates/core/tedge/src/cli/connect/bridge_config_c8y.rs index 574b1543..2ceb7007 100644 --- a/crates/core/tedge/src/cli/connect/bridge_config_c8y.rs +++ b/crates/core/tedge/src/cli/connect/bridge_config_c8y.rs @@ -65,6 +65,7 @@ impl From<BridgeConfigC8yParams> for BridgeConfig { r#"c/uc/# out 2 c8y/ """#.into(), r#"s/dc/# in 2 c8y/ """#.into(), // c8y JSON + r#"inventory/managedObjects/update/# out 2 c8y/ """#.into(), r#"measurement/measurements/create out 2 c8y/ """#.into(), r#"error in 2 c8y/ """#.into(), // c8y JWT token retrieval @@ -125,6 +126,7 @@ fn test_bridge_config_from_c8y_params() -> anyhow::Result<()> { r#"c/uc/# out 2 c8y/ """#.into(), r#"s/dc/# in 2 c8y/ """#.into(), // c8y JSON + r#"inventory/managedObjects/update/# out 2 c8y/ """#.into(), r#"measurement/measurements/create out 2 c8y/ """#.into(), r#"error in 2 c8y/ """#.into(), // c8y JWT token retrieval |