Skip to content

external-with-components

An External System or Service declares Components.

Severity: error · Since: v1.0.0

For the failing example below, archidocs check prints:

shop/services.yaml:6:7 error external-with-components Component "stripe-sdk" is inside External Service "stripe"; an External Element can't contain declared Components

An External System or Service runs outside the organization, and you can’t see inside it. Components declared there would describe software that its Owner, the Team accountable for the integration, doesn’t run and can’t check.

shop/services.yaml:

services:
stripe:
name: Stripe
external: true
components:
stripe-sdk:
name: Stripe SDK

Remove the Components, or drop external if the organization runs the Element itself.

shop/services.yaml:

services:
stripe:
name: Stripe
external: true
  • invalid-nesting: System > Service > Component is broken, by nesting or in:.

Documents the beta branch at cd98671, ahead of the latest release, v1.4.0.