missing-step
A Dynamic View Step has no Relationship or derived edge between from and to (nor a via subscription of to to from), or the named relationship doesn’t connect them.
Severity: error · Since: v1.0.0
What check reports
Section titled “What check reports”For the failing example below, archidocs check prints:
shop/services.yaml:28:11 error missing-step No Relationship from "shop:cart" to "shop:web", nor a `via` subscription of "shop:web" to itEach Step must follow a Relationship that exists in the Model, so a scenario can’t show a call the architecture doesn’t have. A Step with no Relationship behind it means the scenario is wrong or the Model is missing a Relationship.
Failing example
Section titled “Failing example”shop/services.yaml:
services: web: name: Web relationships: - to: cart cart: name: Cart components: cart-api: name: Cart API orders: name: Orders events: name: Events type: broker mailer: name: Mailer relationships: - to: orders interaction: async via: events channel: order-placedviews: dynamic: purchase: title: Purchase steps: - { from: cart, to: web }Point the Step at two Elements a Relationship connects, declare the Relationship, or name one that connects them.
shop/services.yaml:
services: web: name: Web relationships: - to: cart cart: name: Cart components: cart-api: name: Cart API orders: name: Orders events: name: Events type: broker mailer: name: Mailer relationships: - to: orders interaction: async via: events channel: order-placedviews: dynamic: purchase: title: Purchase steps: - { from: web, to: cart }Related rules
Section titled “Related rules”ambiguous-step: Several Relationships match a Dynamic View Step (several between the pair, or both a call and an event) and norelationshipnames one.return-without-relationship: A Dynamic View return Step has no Relationship the other way, from itstoto itsfrom.
Documents the beta branch at cd98671, ahead of the latest release, v1.4.0.