-
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.
- Loading branch information
Showing
12 changed files
with
99 additions
and
221 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
@startuml | ||
participant "Freyja Cartographer" | ||
participant "Data Adapter Selector" | ||
participant "Data Adapter" | ||
participant "In-Vehicle Digital Twin Provider" | ||
autonumber | ||
|
||
== Selection of a Data Adapter == | ||
|
||
"Freyja Cartographer"->"Data Adapter Selector": create_or_update_adapter(entity) | ||
|
||
"Data Adapter Selector"->"Data Adapter Selector": Lookup adapter in selector's local cache | ||
|
||
alt #Aqua Matching Data Adapter Doesn't Exist | ||
"Data Adapter Selector"->"Data Adapter": Create a data adapter associated with the entity endpoint | ||
end | ||
|
||
"Data Adapter Selector"->"Data Adapter": Register the new entity | ||
"Data Adapter Selector"->"Data Adapter Selector": Map entity to adapter in selector's local cache | ||
|
||
"Data Adapter" -> "In-Vehicle Digital Twin Provider": Call get or subscribe for values | ||
"In-Vehicle Digital Twin Provider" -> "Data Adapter": Return values | ||
== Selection of a Data Adapter == | ||
@enduml |
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,52 @@ | ||
@startuml | ||
participant "Cloud Digital Twin" | ||
box Freyja | ||
participant "Emitter" | ||
participant "Signal Store" | ||
participant "Cartographer" | ||
participant "Digital Twin Adapter" | ||
participant "Data Adapter Selector" | ||
participant "Data Adapter" | ||
end box | ||
participant "Ibeji" | ||
participant "Provider" | ||
|
||
autonumber | ||
|
||
== Data Flow to Emitter == | ||
|
||
"Cartographer"->"Digital Twin Adapter": Request DTDL for mapped entites | ||
"Digital Twin Adapter"->"Ibeji": Send find_by_id request(s) | ||
"Ibeji"->"Digital Twin Adapter": Respond with entity data | ||
"Digital Twin Adapter"->"Cartographer": Respond with entity data | ||
"Cartographer"->"Data Adapter Selector": Create or update data adapter with entity data | ||
"Data Adapter Selector"->"Data Adapter Selector": Select correct Data Adapter | ||
"Data Adapter Selector"->"Data Adapter": Register entity | ||
alt Entity supports subscribe | ||
"Data Adapter"->"Provider": Subscribe | ||
"Data Adapter"<-"Provider": Subscribe Response | ||
end | ||
"Data Adapter"->"Data Adapter Selector": Register entity response | ||
"Data Adapter Selector"->"Cartographer": Register entity response | ||
"Cartographer"->"Signal Store": Track Signals | ||
alt Entity doesn't support subscribe | ||
"Emitter"->"Data Adapter Selector": Request signal value | ||
"Data Adapter Selector"->"Data Adapter Selector": Select correct Data Adapter | ||
"Data Adapter Selector"->"Data Adapter": Request signal value | ||
"Data Adapter"->"Provider": Request signal value | ||
"Data Adapter"<-"Provider": Signal value response | ||
"Data Adapter Selector"<-"Data Adapter": Signal value response | ||
"Emitter"<-"Data Adapter Selector": Signal value response | ||
end | ||
alt Entity supports subscribe | ||
loop Provider publishes data asynchronously | ||
"Provider"->"Data Adapter": Publish data | ||
"Data Adapter"->"Signal Store": Update store | ||
end | ||
"Emitter"->"Signal Store": Request signal value | ||
"Emitter"<-"Signal Store": Signal value response | ||
end | ||
"Emitter"->"Cloud Digital Twin": Emit signal data | ||
|
||
== Data Flow to Emitter == | ||
@enduml |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.