Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Digital Twin Graph #110

Merged
merged 115 commits into from
May 13, 2024
Merged
Show file tree
Hide file tree
Changes from 17 commits
Commits
Show all changes
115 commits
Select commit Hold shift + click to select a range
48d8c10
Digital Twin Graph
ashbeitz Mar 24, 2024
2f2a748
Improved seat massager sample
ashbeitz Mar 25, 2024
eebe5bd
Digital Twin Graph
ashbeitz Mar 25, 2024
42a3230
Digital Twin Graph
ashbeitz Mar 25, 2024
9fa461d
Digital Twin Graph
ashbeitz Mar 25, 2024
41f3e7f
Digital Twin Graph
ashbeitz Mar 26, 2024
6a448bb
Digital Twin Graph
ashbeitz Apr 18, 2024
3144fec
Digital Twin Graph
ashbeitz Apr 18, 2024
2cdc650
Digital Twin Graph
ashbeitz Apr 21, 2024
084f896
Digital Twin Graph
ashbeitz Apr 21, 2024
bbab189
Digital Twin Graph
ashbeitz Apr 22, 2024
30bdb56
Digital Twin Graph
ashbeitz Apr 22, 2024
ace163d
Digital Twin Graph
ashbeitz Apr 22, 2024
2852951
Digital Twin Graph
ashbeitz Apr 23, 2024
0e267fb
Digital Twin Graph
ashbeitz Apr 23, 2024
1bfd6f9
Digital Twin Graph
ashbeitz Apr 23, 2024
5baf3ce
Digital Twin Graph
ashbeitz Apr 23, 2024
3001f7e
Digital Twin Graph
ashbeitz Apr 23, 2024
ec8b1bb
Digital Twin Graph
ashbeitz Apr 24, 2024
30c43e3
Digital Twin Graph
ashbeitz Apr 24, 2024
0f104dd
Digital Twin Graph
ashbeitz Apr 24, 2024
e1bcafb
Digital Twin Graph
ashbeitz Apr 24, 2024
0ba7580
Digital Twin Graph
ashbeitz Apr 24, 2024
788f4d0
Digital Twin Graph
ashbeitz Apr 25, 2024
1950d82
Digital Twin Graph
ashbeitz Apr 25, 2024
f02a537
Digital Twin Graph
ashbeitz Apr 26, 2024
2d8f2da
Generate PlantUML Diagrams
eclipse-ibeji-bot Apr 26, 2024
4390681
Digital Twin Graph
ashbeitz Apr 26, 2024
565a983
Merge branch 'ashbeitz/digitalTwinGraph' of https://github.com/eclips…
ashbeitz Apr 26, 2024
1581377
Generate PlantUML Diagrams
eclipse-ibeji-bot Apr 26, 2024
b304cd0
Digital Twin Graph
ashbeitz Apr 26, 2024
a7652e5
Merge branch 'ashbeitz/digitalTwinGraph' of https://github.com/eclips…
ashbeitz Apr 26, 2024
282012c
Digital Twin Graph
ashbeitz Apr 29, 2024
0b9bc6a
Generate PlantUML Diagrams
eclipse-ibeji-bot Apr 29, 2024
72067f7
Digital Twin Graph
ashbeitz Apr 29, 2024
07ca7c0
Merge branch 'ashbeitz/digitalTwinGraph' of https://github.com/eclips…
ashbeitz Apr 29, 2024
80c53c5
Digital Twin Graph
ashbeitz Apr 29, 2024
efea9e8
Digital Twin Graph
ashbeitz Apr 29, 2024
57942c5
Digital Twin Graph
ashbeitz Apr 29, 2024
3881c10
Digital Twin Graph
ashbeitz Apr 29, 2024
9d5404d
Digital Twin Graph
ashbeitz Apr 29, 2024
2aed358
Digital Twin Graph
ashbeitz Apr 30, 2024
0a881d4
Generate PlantUML Diagrams
eclipse-ibeji-bot Apr 30, 2024
8c60c7c
Digital Twin Graph
ashbeitz Apr 30, 2024
23cdfc3
Generate PlantUML Diagrams
eclipse-ibeji-bot Apr 30, 2024
243e057
Digital Twin Graph
ashbeitz Apr 30, 2024
a2d05f8
Generate PlantUML Diagrams
eclipse-ibeji-bot Apr 30, 2024
26088cb
Digital Twin Graph
ashbeitz Apr 30, 2024
6a5cab1
Merge branch 'ashbeitz/digitalTwinGraph' of https://github.com/eclips…
ashbeitz Apr 30, 2024
66693e2
Digital Twin Graph
ashbeitz Apr 30, 2024
a51723d
Digital Twin Graph
ashbeitz Apr 30, 2024
3b3f331
Digital Twin Graph
ashbeitz May 1, 2024
0aa2baf
Digital Twin Graph
ashbeitz May 1, 2024
c663f87
Digital Twin Graph
ashbeitz May 1, 2024
de66a57
Digital Twin Graph
ashbeitz May 1, 2024
7b2bb16
Digital Twin Graph
ashbeitz May 1, 2024
8afdd76
Digital Twin Graph
ashbeitz May 1, 2024
68f1124
Digital Twin Graph
ashbeitz May 1, 2024
7b9b4d6
Digital Twin Graph
ashbeitz May 2, 2024
05345ab
Digital Twin Graph
ashbeitz May 2, 2024
1807489
Digital Twin Graph
ashbeitz May 2, 2024
5ae74c4
Digital Twin Graph
ashbeitz May 2, 2024
22a6f4c
Digital Twin Graph
ashbeitz May 2, 2024
4a590fb
Digital Twin Graph
ashbeitz May 3, 2024
532a84e
Digital Twin Graph
ashbeitz May 3, 2024
f3b11fd
Digital Twin Graph
ashbeitz May 3, 2024
1f132a8
Digital Twin Graph
ashbeitz May 4, 2024
cc4a5be
Digital Twin Graph
ashbeitz May 4, 2024
21735bf
Digital Twin Graph
ashbeitz May 5, 2024
84369e9
Digital Twin Graph
ashbeitz May 5, 2024
dba0a31
Digital Twin Graph
ashbeitz May 5, 2024
4506ec0
Digital Twin Graph
ashbeitz May 5, 2024
ef9ced4
Digital Twin Graph
ashbeitz May 5, 2024
ce9f992
Digital Twin Graph
ashbeitz May 6, 2024
66f2c0f
Digital Twin Graph
ashbeitz May 6, 2024
d10a7dd
Digital Twin Graph
ashbeitz May 6, 2024
4608cf2
Digital Twin Graph
ashbeitz May 6, 2024
837c383
Digital Twin Graph
ashbeitz May 6, 2024
bdb67ac
Digital Twin Graph
ashbeitz May 6, 2024
7fc6ff1
Digital Twin Graph
ashbeitz May 6, 2024
7a97fc3
Digital Twin Graph
ashbeitz May 6, 2024
f5bfaee
Digital Twin Graph
ashbeitz May 6, 2024
f502fac
Digital Twin Graph
ashbeitz May 6, 2024
40293c0
Digital Twin Graph
ashbeitz May 6, 2024
57b2534
Digital Twin Graph
ashbeitz May 6, 2024
edde513
Digital Twin Graph
ashbeitz May 7, 2024
2ad820e
Generate PlantUML Diagrams
eclipse-ibeji-bot May 7, 2024
61de269
Digital Twin Graph
ashbeitz May 7, 2024
11bda50
Digital Twin Graph
ashbeitz May 7, 2024
2cb4bce
Digital Twin Graph
ashbeitz May 7, 2024
7e637c3
Digital Twin Graph
ashbeitz May 7, 2024
07d51b2
Digital Twin Graph
ashbeitz May 7, 2024
0b5b675
Digital Twin Graph
ashbeitz May 8, 2024
56ab4b9
Digital Twin Graph
ashbeitz May 8, 2024
b116968
Digital Twin Graph
ashbeitz May 9, 2024
ca47575
Digital Twin Graph
ashbeitz May 9, 2024
a0ce789
Digital Twin Graph
ashbeitz May 9, 2024
e32c6d7
Digital Twin Graph
ashbeitz May 9, 2024
8b12825
Digital Twin Graph
ashbeitz May 9, 2024
1a17ea6
Digital Twin Graph
ashbeitz May 9, 2024
0043b28
Digital Twin Graph
ashbeitz May 10, 2024
e0eb9b8
Generate PlantUML Diagrams
eclipse-ibeji-bot May 10, 2024
9bd59df
Digital Twin Graph
ashbeitz May 10, 2024
984c072
Digital Twin Graph
ashbeitz May 10, 2024
8138699
Generate PlantUML Diagrams
eclipse-ibeji-bot May 10, 2024
4d14d0e
Digital Twin Graph
ashbeitz May 10, 2024
98541b6
Merge branch 'ashbeitz/digitalTwinGraph' of https://github.com/eclips…
ashbeitz May 10, 2024
a0568fe
Digital Twin Graph
ashbeitz May 10, 2024
d0ca2ce
Generate PlantUML Diagrams
eclipse-ibeji-bot May 10, 2024
9dca7ff
Digital Twin Graph
ashbeitz May 10, 2024
6e90503
Merge branch 'ashbeitz/digitalTwinGraph' of https://github.com/eclips…
ashbeitz May 10, 2024
7ed2c96
Digital Twin Graph
ashbeitz May 10, 2024
b7a4580
Generate PlantUML Diagrams
eclipse-ibeji-bot May 10, 2024
951fa26
Digital Twin Graph
ashbeitz May 10, 2024
d0d1161
Digital Twin Graph
ashbeitz May 10, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,7 @@ Instructions for installing Mosquitto can be found [here](https://github.com/ecl

## <a name="cloning-the-repo">Cloning the Repo</a>

The repo has two submodules [opendigitaltwins-dtdl](https://github.com/Azure/opendigitaltwins-dtdl) and [iot-plugandplay-models](https://github.com/Azure/iot-plugandplay-models) that provide DTDL context files
and DTDL samples file. To ensure that these are included, please use the following command when cloning Ibeji's github repo:
The repo has two submodules [opendigitaltwins-dtdl](https://github.com/Azure/opendigitaltwins-dtdl) and [iot-plugandplay-models](https://github.com/Azure/iot-plugandplay-models) that provide DTDL context files and DTDL samples file. To ensure that these are included, please use the following command when cloning Ibeji's github repo:

````shell
git clone --recurse-submodules https://github.com/eclipse-ibeji/ibeji`
Expand All @@ -107,8 +106,7 @@ cargo build

This will build all of the foundation libraries and executables.

Ibeji also has add-on modules that rely on feature flags to include them in the build. For example, to build Ibeji with the Digital Twin Graph
and the Digital Twin Registry modules run:
Ibeji also has add-on modules that rely on feature flags to include them in the build. For example, to build Ibeji with the Digital Twin Graph and the Digital Twin Registry modules run:

````shell
cargo build --features "digital_twin_graph,digital_twin_registry"
Expand Down
10 changes: 0 additions & 10 deletions core/common/src/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@ pub enum ServiceUriSource {
///
/// # Arguments
/// * `config_filename` - Name of the config file to load settings from.
/// # Returns
/// * The settings.
pub fn load_settings<T>(config_filename: &str) -> Result<T, ConfigError>
where
T: for<'de> serde::Deserialize<'de>,
Expand All @@ -67,8 +65,6 @@ where
/// * `retry_interval_ms` - The retry interval between retries in milliseconds.
/// * `function` - The function to retry.
/// * `context` - Context field to provide additional info for logging.
/// # Returns
/// * The result of the function.
pub async fn execute_with_retry<T, E, Fut, F: FnMut() -> Fut>(
max_retries: u32,
retry_interval_ms: Duration,
Expand Down Expand Up @@ -112,8 +108,6 @@ where
/// * `version` - The service's version.
/// # `expected_communication_kind` - The service's expected communication kind.
/// # `expected_communication_reference` - The service's expected communication reference.
/// # Returns
/// * The service's URI.
pub async fn discover_service_using_chariott(
chariott_uri: &str,
namespace: &str,
Expand Down Expand Up @@ -153,8 +147,6 @@ pub async fn discover_service_using_chariott(
/// * `service_uri_source` - Enum providing information on how to get the service URI.
/// # `expected_communication_kind` - The service's expected communication kind.
/// # `expected_communication_reference` - The service's expected communication reference.
/// # Returns
/// * The service's URI.
pub async fn get_service_uri(
service_uri_source: ServiceUriSource,
expected_communication_kind: &str,
Expand Down Expand Up @@ -198,8 +190,6 @@ pub async fn get_service_uri(
/// # Arguments
/// * `subset` - The provided subset.
/// * `superset` - The provided superset.
/// # Returns
/// * `true` if the subset is a subset of the superset, `false` otherwise.
pub fn is_subset(subset: &[String], superset: &[String]) -> bool {
subset.iter().all(|subset_member| {
superset.iter().any(|supserset_member| subset_member == supserset_member)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@ pub struct Settings {

/// Load the settings.
/// The settings are loaded from the default config file name.
///
/// # Returns
/// The settings.
pub fn load_settings() -> Settings {
utils::load_settings(DEFAULT_CONFIG_FILENAME).unwrap()
}
Expand All @@ -27,8 +24,6 @@ pub fn load_settings() -> Settings {
///
/// # Arguments
/// * `config_filename` - The name of the config file.
/// # Returns
/// The settings.
pub fn load_settings_with_config_filename(config_filename: &str) -> Settings {
utils::load_settings(config_filename).unwrap()
}
Loading