diff --git a/MODULE.bazel b/MODULE.bazel index 4c772cf12..1c8f62e58 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -40,7 +40,7 @@ download_archive( bazel_dep(name = "score_tooling", dev_dependency = True) git_override( module_name = "score_tooling", - commit = "0a1baf63d498f88859bd62ccd212ff4ed2a9e1ba", + commit = "4c83c578069768c6133e4268b63929646754f6a6", remote = "https://github.com/eclipse-score/tooling.git", ) diff --git a/score/mw/com/dependability/BUILD b/score/mw/com/dependability/BUILD index ca5de742e..5408a790d 100644 --- a/score/mw/com/dependability/BUILD +++ b/score/mw/com/dependability/BUILD @@ -10,3 +10,17 @@ # # SPDX-License-Identifier: Apache-2.0 # ******************************************************************************* +load("@score_tooling//bazel/rules/rules_score:rules_score.bzl", "dependable_element") + +dependable_element( + name = "dependable_element", + architectural_design = ["//score/mw/com/dependability/software_architectural_design"], + assumptions_of_use = [], + components = [], + dependability_analysis = [], + integrity_level = "B", + maturity = "development", + requirements = [], + tags = ["manual"], + tests = [], +) diff --git a/score/mw/com/dependability/software_architectural_design/BUILD b/score/mw/com/dependability/software_architectural_design/BUILD index e69de29bb..7b7a225cf 100644 --- a/score/mw/com/dependability/software_architectural_design/BUILD +++ b/score/mw/com/dependability/software_architectural_design/BUILD @@ -0,0 +1,19 @@ +# ******************************************************************************* +# Copyright (c) 2026 Contributors to the Eclipse Foundation +# +# See the NOTICE file(s) distributed with this work for additional +# information regarding copyright ownership. +# +# This program and the accompanying materials are made available under the +# terms of the Apache License Version 2.0 which is available at +# https://www.apache.org/licenses/LICENSE-2.0 +# +# SPDX-License-Identifier: Apache-2.0 +# ******************************************************************************* +load("@score_tooling//bazel/rules/rules_score:rules_score.bzl", "architectural_design") + +architectural_design( + name = "software_architectural_design", + static = ["static_view.puml"], + visibility = ["//score/mw/com/dependability:__pkg__"], +) diff --git a/score/mw/com/dependability/software_architectural_design/static_view.puml b/score/mw/com/dependability/software_architectural_design/static_view.puml new file mode 100644 index 000000000..f98bddbf0 --- /dev/null +++ b/score/mw/com/dependability/software_architectural_design/static_view.puml @@ -0,0 +1,61 @@ +' ******************************************************************************* +' Copyright (c) 2026 Contributors to the Eclipse Foundation +' +' See the NOTICE file(s) distributed with this work for additional +' information regarding copyright ownership. +' +' This program and the accompanying materials are made available under the +' terms of the Apache License Version 2.0 which is available at +' https://www.apache.org/licenses/LICENSE-2.0 +' +' SPDX-License-Identifier: Apache-2.0 +' ******************************************************************************* +@startuml static_design + +interface "mw_com" as mw_com_public_api + +component "mw::com" as mw_com <> { + + component "Frontend" as frontend <> { + component "Proxy" as frontend_proxy <> + component "Skeleton" as frontend_skeleton <> + component "Service Discovery" as frontend_sd <> + } + + component "Bindings" as bindings <> { + component "LoLa" as lola <> { + component "Proxy" as lola_proxy <> + component "Skeleton" as lola_skeleton <> + component "Service Discovery" as lola_sd <> + } + component "Mock" as mock_binding <> { + } + } + + portin " " as p1 + portin " " as p2 + portin " " as p3 + + portout " " as public_api +} + +together { + interface "score::memory" as memory + interface "score::message_passing" as message_passing + interface "OS" as os +} + +p1 -u-( memory +p2 -u-( message_passing +p3 -u-( os + +public_api -left-() mw_com_public_api + + +' ------------------------ Formatting ------------------- + +memory -[hidden]down- lola_sd +frontend_proxy -[hidden]left- frontend_skeleton +frontend_skeleton -[hidden]left- frontend_sd +frontend -[hidden]down- bindings +@enduml