-
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
5 changed files
with
82 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: generate plantuml | ||
|
||
on: | ||
push: | ||
paths: | ||
- '**.puml' | ||
|
||
jobs: | ||
generate_plantuml: | ||
runs-on: ubuntu-latest | ||
name: plantuml | ||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v3 | ||
- name: generate plantuml | ||
run: | | ||
sudo apt-get install -y plantuml graphviz | ||
# This uses a slightly off-white background color because #ffffff renders as transparent for some reason | ||
plantuml -tsvg -SbackgroundColor=fefefe -checkmetadata -v **/*.puml | ||
shell: bash | ||
- name: commit changes | ||
uses: EndBug/add-and-commit@v9 | ||
with: | ||
author_name: Automated Notice Generation Pipeline | ||
author_email: [email protected] | ||
message: Generate PlantUML Diagrams | ||
pathspec_error_handling: exitAtEnd |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
@startuml | ||
|
||
cloud { | ||
[Azure Digital Twins] | ||
} | ||
|
||
frame "Azure Digital Twins Connector" as azure_cloud_connector { | ||
[Azure Digital Twins Client] | ||
} | ||
|
||
frame "Freyja" as freyja { | ||
[Emitter] -left-> [Cloud Adapter] | ||
} | ||
|
||
[Azure Digital Twins Client] -up---> [Azure Digital Twins] | ||
|
||
azure_cloud_connector -down- cloud_connector.proto | ||
|
||
[Cloud Adapter] -left--> cloud_connector.proto | ||
|
||
' The two hidden arrows below help with spacing between the "Freyja" frame and the "cloud_connector.proto" interface | ||
[Emitter] -[hidden]right--> cloud_connector.proto | ||
[Emitter] -[hidden]up--------> cloud_connector.proto | ||
|
||
@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,26 @@ | ||
@startuml | ||
|
||
cloud { | ||
[Azure Function] -up-> [Azure Digital Twin] | ||
[Event Grid with MQTT v5] -up-> [Azure Function] | ||
} | ||
|
||
frame "Azure MQTT Connector" as azure_mqtt_cloud_connector { | ||
[MQTT v5 Client] | ||
} | ||
|
||
frame "Freyja" as freyja { | ||
[Emitter] -left-> [Cloud Adapter] | ||
} | ||
|
||
[MQTT v5 Client] -left-> [Event Grid with MQTT v5] | ||
|
||
azure_mqtt_cloud_connector -down- cloud_connector.proto | ||
|
||
[Cloud Adapter] -left--> cloud_connector.proto | ||
|
||
' The two hidden arrows below help with spacing between the "Freyja" frame and the "cloud_connector.proto" interface | ||
[Emitter] -[hidden]right--> cloud_connector.proto | ||
[Emitter] -[hidden]up--------> cloud_connector.proto | ||
|
||
@enduml |