id: 06f695c01da7431e82e23980bcad9756
parent_id: bd232ee1d1574cb5862a3aea7b1acb0e
item_type: 1
item_id: 5e634876c359468e83c41e2534c5db94
item_updated_time: 1787724821545
title_diff: "[]"
body_diff: "[{\"diffs\":[[0,\"mi` \"],[-1,\"- XMI 2.1: SYS-level authentication workflow (black-box: Tester/Dcm/SSA-AP/HSM, two-step $29)\\\n- `SW_AuthSequence.xmi` - XMI 2.1: SW-level authentication workflow (white-box: Dcm + SSA-AP modules, both s\"],[1,\"/ `SW_AuthSequence.xmi` / `SW_CertVerifySequence.xmi` - XMI 2.1 sequence diagrams (named via patch)\\\n- `patch_xmi_names.py` - adds the missing `name` attribu\"],[0,\"te\"],[-1,\"p\"],[0,\"s \"],[-1,\"+ ACL check + timeout/de-auth)\\\n- `SW_CertVerifySequence.xmi` - XMI 2.1: certificate verification call chain (Parser/KeyM/NvM/Csm/HSM incl. NRC alt-block)\\\n\\\n## Why scripts for structure, XMI for sequences\"],[1,\"to PlantUML XMI; **run after every -txmi export**\\\n- `EA_Sequences_EA.js` - fallback: builds the three sequences natively via script if XMI import is ever unavailable\\\n\\\n## Structure: EA script\"],[0,\"\\\nPla\"]],\"start1\":422,\"start2\":422,\"length1\":417,\"length2\":358},{\"diffs\":[[0,\"its \"],[-1,\"**\"],[0,\"UML 1.3\"],[-1,\"/XMI 1.1**\"],[0,\" for\"]],\"start1\":796,\"start2\":796,\"length1\":27,\"length2\":15},{\"diffs\":[[0,\"iagrams \"],[-1,\"(\"],[1,\"- \"],[0,\"poor EA \"]],\"start1\":829,\"start2\":829,\"length1\":17,\"length2\":18},{\"diffs\":[[0,\"lity\"],[-1,\") but clean **UML 2.1/XMI 2.1** for sequence diagrams. Hence: structure via EA Automation scripts (native elements, stereotypes, notes, coordinates), sequences via XMI 2.1 import (EA auto-layouts the messages).\\\n\\\n## Steps\\\n1. In EA, select the model/roo\"],[1,\". Use scripts instead.\\\n1. Select targe\"],[0,\"t pa\"]],\"start1\":857,\"start2\":857,\"length1\":259,\"length2\":46},{\"diffs\":[[0,\"kage in \"],[-1,\"the \"],[0,\"Project \"]],\"start1\":904,\"start2\":904,\"length1\":20,\"length2\":16},{\"diffs\":[[0,\"ndow\"],[-1,\" (Specialize -> Scripts)\"],[0,\" -> \"]],\"start1\":944,\"start2\":944,\"length1\":32,\"length2\":8},{\"diffs\":[[0,\"roup -> \"],[-1,\"**\"],[0,\"Add Scri\"]],\"start1\":953,\"start2\":953,\"length1\":18,\"length2\":16},{\"diffs\":[[0,\"ript\"],[-1,\"**,\"],[0,\" \"],[1,\"(\"],[0,\"Lang\"]],\"start1\":967,\"start2\":967,\"length1\":12,\"length2\":10},{\"diffs\":[[0,\"pt**\"],[-1,\" (not JavaScript) -> paste `SYS_Import_EA.js` -> Save -> select target package -> **Run** (F5). Creates \\\"SYS.3 System Architectural Design\\\" (Context / Architecture / Behavior).\\\n3. Repeat with `SW_Import_EA.js` -> creates \\\"SWE.2 SW Architectural Design\\\" (Architecture / Behavior / Memory Layout).\\\n4. Import sequences: right-click the \\\"Behavior\\\" package (SYS.3 or SWE.2) -> Import/Export -> Import Model from XMI -> choose the .xmi file. Verify lifelines and messages, then use EA's sequence auto-layout if needed.\\\n   -\"],[1,\") -> paste script -> Save -> Run (F5).\\\n3. One-shot alternative: paste into the Scripting console + Enter.\\\n\\\n## Sequences: XMI import (works, with the name patch)\\\nPlantUML `-txmi` for sequences = clean UML 2.1 Interactions; EA imports diagram + elements. Two gotchas:\\\n- **Names missing**: PlantUML omits the interaction `name` attribute -> EA shows unnamed diagrams. Fix: run `patch_xmi_names.py` after export (or rename in EA with F2).\\\n- **No delta merge**: EA matches by GUID; re-import duplicates. Keep one sub-package per sequence; to update: delete sub-package, re-import patched XMI.\\\n1. Right-click target package -> Import/Export -> Import Model from XMI (EA 15+: Publish ribbon; or console: `Repository.ImportPackageXMI(pkg.PackageGUID, \\\"<path>.xmi\\\", 1);`).\\\n2. Targets:\"],[0,\" SYS\"]],\"start1\":991,\"start2\":991,\"length1\":525,\"length2\":783},{\"diffs\":[[0,\"Behavior\"],[-1,\":\"],[1,\" <-\"],[0,\" `SYS_Au\"]],\"start1\":1777,\"start2\":1777,\"length1\":17,\"length2\":19},{\"diffs\":[[0,\"xmi`\"],[-1,\"\\\n   -\"],[1,\";\"],[0,\" SWE\"]],\"start1\":1807,\"start2\":1807,\"length1\":13,\"length2\":9},{\"diffs\":[[0,\"Behavior\"],[-1,\":\"],[1,\" <-\"],[0,\" `SW_Aut\"]],\"start1\":1819,\"start2\":1819,\"length1\":17,\"length2\":19},{\"diffs\":[[0,\"xmi`\"],[-1,\"\\\n5. Quick alternative without saved script: paste the whole script into the Scripting **Console** + Enter (one-shot\"],[1,\".\\\n3. Open diagram, Layout Diagram if cramped. `\\\\\n` breaks arrive as multi-line labels (intended\"],[0,\").\\\n\\\n\"]],\"start1\":1877,\"start2\":1877,\"length1\":123,\"length2\":103},{\"diffs\":[[0,\"ces \"],[-1,\"from the DOORS workbook - keep them as the traceability h\"],[1,\"- the traceability hook to the DOORS workb\"],[0,\"ook.\"]],\"start1\":2039,\"start2\":2039,\"length1\":65,\"length2\":50},{\"diffs\":[[0,\"ues \"],[-1,\"linking to the\"],[1,\"for\"],[0,\" req\"]],\"start1\":2112,\"start2\":2112,\"length1\":22,\"length2\":11},{\"diffs\":[[0,\" IDs\"],[-1,\" for traceability reports\"],[0,\".\\\n- \"]],\"start1\":2131,\"start2\":2131,\"length1\":33,\"length2\":8},{\"diffs\":[[0,\"ypes\"],[-1,\" used\"],[0,\": MI\"]],\"start1\":2146,\"start2\":2146,\"length1\":13,\"length2\":8},{\"diffs\":[[0,\"initial.\"],[-1,\"\\\n-\"],[0,\" Connect\"]],\"start1\":2190,\"start2\":2190,\"length1\":18,\"length2\":16},{\"diffs\":[[0,\"ctor\"],[-1,\" style\"],[1,\"s\"],[0,\": De\"]],\"start1\":2204,\"start2\":2204,\"length1\":14,\"length2\":9},{\"diffs\":[[0,\"cy (\"],[-1,\"dashed) for all flows; statechart uses Transition.\\\n- After import, cross-check element positions\"],[1,\"structure) / Transition (states).\\\n- Cross-check\"],[0,\" aga\"]],\"start1\":2219,\"start2\":2219,\"length1\":104,\"length2\":55},{\"diffs\":[[0,\"against \"],[-1,\"the \"],[0,\"PNG rend\"]],\"start1\":2271,\"start2\":2271,\"length1\":20,\"length2\":16},{\"diffs\":[[0,\"ams/SW/`\"],[1,\" after import\"],[0,\"; adjust\"]],\"start1\":2320,\"start2\":2320,\"length1\":16,\"length2\":29},{\"diffs\":[[0,\" a s\"],[-1,\"cript creates\"],[1,\"tructure script\"],[0,\" dup\"]],\"start1\":2388,\"start2\":2388,\"length1\":21,\"length2\":23},{\"diffs\":[[0,\"uplicate\"],[1,\"s\"],[0,\" package\"]],\"start1\":2409,\"start2\":2409,\"length1\":16,\"length2\":17},{\"diffs\":[[0,\"old \"],[-1,\"ones\"],[1,\"tree\"],[0,\" fir\"]],\"start1\":2441,\"start2\":2441,\"length1\":12,\"length2\":12}]"
metadata_diff: {"new":{},"deleted":[]}
encryption_cipher_text: 
encryption_applied: 0
updated_time: 2026-08-26T06:19:43.076Z
created_time: 2026-08-26T06:19:43.076Z
is_locked: 0
type_: 13