-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve configuration for digital twin adapters and mock (#56)
Improve configuration for digital twin adapters and mock Closes #17
- Loading branch information
Showing
24 changed files
with
277 additions
and
283 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 0 additions & 32 deletions
32
digital_twin_adapters/in_memory_mock_digital_twin_adapter/res/config.json
This file was deleted.
Oops, something went wrong.
34 changes: 34 additions & 0 deletions
34
...apters/in_memory_mock_digital_twin_adapter/res/in_memory_digital_twin_config.default.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"values": [ | ||
{ | ||
"entity": { | ||
"id": "dtmi:sdv:Vehicle:Cabin:HVAC:AmbientAirTemperature;1", | ||
"name": "AmbientAirTemperature", | ||
"uri": "http://0.0.0.0:1111", | ||
"description": "The immediate surroundings air temperature (in Fahrenheit).", | ||
"operation": "Get", | ||
"protocol": "in-memory" | ||
} | ||
}, | ||
{ | ||
"entity": { | ||
"id": "dtmi:sdv:Vehicle:Cabin:HVAC:IsAirConditioningActive;1", | ||
"name": "IsAirConditioningActive", | ||
"uri": "http://0.0.0.0:1111", | ||
"description": "Is air conditioning active?", | ||
"operation": "Subscribe", | ||
"protocol": "in-memory" | ||
} | ||
}, | ||
{ | ||
"entity": { | ||
"id": "dtmi:sdv:Vehicle:OBD:HybridBatteryRemaining;1", | ||
"name": "HybridBatteryRemaining", | ||
"uri": "http://0.0.0.0:1111", | ||
"description": "Percentage of the hybrid battery remaining", | ||
"operation": "Subscribe", | ||
"protocol": "in-memory" | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 0 additions & 3 deletions
3
digital_twin_adapters/mock_digital_twin_adapter/res/config.json
This file was deleted.
Oops, something went wrong.
3 changes: 3 additions & 0 deletions
3
...twin_adapters/mock_digital_twin_adapter/res/mock_digital_twin_adapter_config.default.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"digital_twin_service_uri": "http://127.0.0.1:8800" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.