Commit 87cb9d17 authored by Christos Tranoris's avatar Christos Tranoris
Browse files

fix diagram

parent 5dd01e92
Loading
Loading
Loading
Loading
+13 −7
Changes for docs/writing-an-openslice-controller.md: 13 added lines, 7 removed lines.
Original line number Diff line number Diff line
@@ -49,12 +49,16 @@ convention here is the same as a Java package.
## 2. Architecture

```mermaid
flowchart LR
flowchart TB
    subgraph OSL["OpenSlice"]
        OSOM["OSOM<br/>orchestrator / planner"]
        INV[("TMF Inventory<br/><b>production</b> resources")]
        TINV[("<b>Tentative planning inventory</b><br/>internal, per-plan resources")]
        CATS["TMF Catalog"]
        OSOM["OSOM<br/>orchestrator"]
        INV[("TMF Inventory<br/><b>production</b> <br/>services and resources")]
        
        CATS["TMF production Catalog"]
        subgraph OSOMPLANNERmod["OSOMv2"]
            OSOMPLANNER["OSOM<br/>planning components"]
            TINV[("<b>Tentative planning inventory</b><br/>internal, per-plan services and resources")]
        end
    end

    BUS{{"ActiveMQ Artemis"}}
@@ -76,11 +80,12 @@ flowchart LR
    BUS ==>|"3 persisted"| INV

    %% Planning path (orange, dashed)    
    OSOM -.->|"1 .../PLANNING + X-OSL-SIMULATION"| BUS
    OSOMPLANNER <-.->|"reuse"| OSOM
    OSOMPLANNER -.->|"1 .../PLANNING + X-OSL-SIMULATION"| BUS
    REPO -.->|"2 no side effects:<br/>logic + estimate"| EST
    REPO -.->|"3 PLANNING.RESOURCE.CREATEORUPDATE<br/>(HELD, then UP, + estimates)"| BUS
    BUS -.->|"4 tentative resource stored"| TINV
    TINV -.->|"plan + costs"| OSOM
    TINV -.->|"plan + costs"| OSOMPLANNER

    REPO --- REG
    BOOT --> REG
@@ -91,6 +96,7 @@ flowchart LR
    linkStyle 6,7,8,9,10 stroke:#e8590c,stroke-width:2px,stroke-dasharray:6 4
    style TINV fill:#fff4e6,stroke:#e8590c,stroke-width:3px,color:#000
    style INV fill:#e7f0ff,stroke:#1f6feb,stroke-width:2px,color:#000

```

| Path | Blue, solid — **production** | Orange, dashed — **planning** |