From 7b55199df721778447b611f25f1945b7d972af73 Mon Sep 17 00:00:00 2001 From: William Lyles <26171886+wilyle@users.noreply.github.com> Date: Tue, 6 Feb 2024 14:18:04 -0800 Subject: [PATCH] remove unused diagrams and update plantuml workflow --- .github/workflows/generate-plantuml.yml | 5 +- .../azure_digital_twins_cloud_connector.puml | 25 --------- .../azure_digital_twins_cloud_connector.svg | 50 ----------------- .../diagrams/azure_mqtt_cloud_connector.puml | 26 --------- .../diagrams/azure_mqtt_cloud_connector.svg | 55 ------------------- 5 files changed, 4 insertions(+), 157 deletions(-) delete mode 100644 docs/design/diagrams/azure_digital_twins_cloud_connector.puml delete mode 100644 docs/design/diagrams/azure_digital_twins_cloud_connector.svg delete mode 100644 docs/design/diagrams/azure_mqtt_cloud_connector.puml delete mode 100644 docs/design/diagrams/azure_mqtt_cloud_connector.svg diff --git a/.github/workflows/generate-plantuml.yml b/.github/workflows/generate-plantuml.yml index c70232eb..401f7577 100644 --- a/.github/workflows/generate-plantuml.yml +++ b/.github/workflows/generate-plantuml.yml @@ -1,6 +1,9 @@ name: generate plantuml -on: push +on: + push: + paths: + - '**.puml' jobs: generate_plantuml: diff --git a/docs/design/diagrams/azure_digital_twins_cloud_connector.puml b/docs/design/diagrams/azure_digital_twins_cloud_connector.puml deleted file mode 100644 index b2ddb9fd..00000000 --- a/docs/design/diagrams/azure_digital_twins_cloud_connector.puml +++ /dev/null @@ -1,25 +0,0 @@ -@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 diff --git a/docs/design/diagrams/azure_digital_twins_cloud_connector.svg b/docs/design/diagrams/azure_digital_twins_cloud_connector.svg deleted file mode 100644 index 4e4ee74f..00000000 --- a/docs/design/diagrams/azure_digital_twins_cloud_connector.svg +++ /dev/null @@ -1,50 +0,0 @@ -Azure Digital Twins ConnectorFreyjaAzure Digital TwinsAzure Digital Twins ClientEmitterCloud Adaptercloud_connector.proto \ No newline at end of file diff --git a/docs/design/diagrams/azure_mqtt_cloud_connector.puml b/docs/design/diagrams/azure_mqtt_cloud_connector.puml deleted file mode 100644 index e489ceab..00000000 --- a/docs/design/diagrams/azure_mqtt_cloud_connector.puml +++ /dev/null @@ -1,26 +0,0 @@ -@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 diff --git a/docs/design/diagrams/azure_mqtt_cloud_connector.svg b/docs/design/diagrams/azure_mqtt_cloud_connector.svg deleted file mode 100644 index 5f16fc14..00000000 --- a/docs/design/diagrams/azure_mqtt_cloud_connector.svg +++ /dev/null @@ -1,55 +0,0 @@ -Azure MQTT ConnectorFreyjaAzure FunctionAzure Digital TwinEvent Grid with MQTT v5MQTT v5 ClientEmitterCloud Adaptercloud_connector.proto \ No newline at end of file