Skip to content

fix(examples): replace illegal Assignment relationships with Composition/Serving/Realization#76

Merged
victorsoriadrp merged 3 commits into
mainfrom
fix/technology-stack-relationships
Apr 28, 2026
Merged

fix(examples): replace illegal Assignment relationships with Composition/Serving/Realization#76
victorsoriadrp merged 3 commits into
mainfrom
fix/technology-stack-relationships

Conversation

@victorsoriadrp

Copy link
Copy Markdown
Contributor

Summary

Replaces the 57+39 Assignment relationships removed in #75 with semantically correct ArchiMate 3.1 alternatives, restoring the Technology Stack information in both extended models.

Replacement logic

Original (illegal) Replacement Semántica
SystemSoftware → Node (Assignment) Composition (Node ◆→ SW) El nodo aloja el software
SW → SW (Assignment) Composition (host ◆→ guest) Un SW aloja al otro
ApplicationComponent → SystemSoftware (Assignment) Serving (SW → AppComp) La plataforma sirve a la app
ApplicationComponent → Node directo (Assignment) Serving (Node → AppComp) El nodo sirve a la app
TechnologyService → Node (Assignment) Realization (Node →→ Service) El nodo realiza el servicio

Estado tras el cambio

  • archimetal-extended.xml: 57 nuevas relaciones, 0 Assignment violations nuevas
  • archisurance-extended.xml: 39 nuevas relaciones, 0 Assignment violations nuevas
  • El único Assignment restante (Grouping→TechnologyProcess, referenciado en diagrama) se mantiene intencionalmente pendiente de rediseño manual

Test plan

  • Importar archimetal-extended.xml en Archi — sin errores de relaciones ilegales
  • Importar archisurance-extended.xml en Archi — sin errores de relaciones ilegales
  • Verificar en ArchiPulse que la vista Technology Stack muestra conexiones entre ApplicationComponents, SystemSoftware y Nodes
  • go test ./internal/parser/... ./internal/exporter/... pasa

🤖 Generated with Claude Code

…ion/Serving/Realization

For each removed Assignment violation, adds the semantically correct replacement:
- SystemSoftware/Device → Node       → Composition (Node ◆→ SW)
- SW → SW                            → Composition (host ◆→ guest)
- ApplicationComponent → SystemSoftware → Serving (SW → AppComp)
- ApplicationComponent → Node (direct)  → Serving (Node → AppComp)
- TechnologyService → Node           → Realization (Node →→ Service)

57 replacements in archimetal-extended.xml, 39 in archisurance-extended.xml.
The one remaining Assignment (Grouping→TechnologyProcess, diagram-referenced)
is intentionally left pending a manual redesign of that diagram.
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Apr 28, 2026

Copy link
Copy Markdown

Deploying archipulse with  Cloudflare Pages  Cloudflare Pages

Latest commit: 130c96e
Status: ✅  Deploy successful!
Preview URL: https://6908bd39.archipulse.pages.dev
Branch Preview URL: https://fix-technology-stack-relatio.archipulse.pages.dev

View logs

…ix query

The query only recognized Assignment/Realization as app-tech links.
After replacing illegal Assignment relationships with Serving (Tech→App)
and Composition, the matrix returned zero matches. Now includes all four
valid relationship types that connect Application and Technology layers.
@victorsoriadrp victorsoriadrp merged commit d1fc1a7 into main Apr 28, 2026
2 checks passed
@victorsoriadrp victorsoriadrp deleted the fix/technology-stack-relationships branch April 28, 2026 01:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant