openup: EA model built + enriched - baseline, associations, joint design package
All checks were successful
build / build-test (push) Successful in 16s
All checks were successful
build / build-test (push) Successful in 16s
Windows/EA session per BUILD-CHECKLIST 0-6 (the planned human-gate path, executed on the EA machine). Baseline built from EABase.eapx via build-model.ps1 and verified per checklist 4: 3 actors, 12 UCs with scenarios, 13 associations, 0 include connectors, 7 SS requirements, 12 realization packages / 36 elements; UC-08 MSS (9 steps) and UC-11 learn spell level (3 steps) match use-case-model.md verbatim. Script fixes (defects 1-3 of the session log): PS 5.1 hashtable parse error; realization UC lookup now accepts short and full use-case names. Enrichment after a manual layout pass - model changes are surgical from now on, re-running build-model.ps1 is forbidden (checklist 6): - add-analysis-associations.ps1: 24 analysis associations per mapping 2a (boundary-controller-entity; UC-04 boundary-entity) rendered via DiagramLinks without touching manual layout; 4 uses-dependencies to DomainError (UC-05/06/08/12 error paths, model-level) - add-design-package.ps1: Analysis-Design/Design - joint component model (skara-brae-client, sb-api, sb-auth, sb-db, sb-core, sb-shared, sb-common; 10 dependencies, rule inward). Joint-model decision recorded in mapping 1: one model for server+client+common; client- side UC realizations are a future work item. Markdown sources updated first (drift rule): mapping 1 tree + 2a interactions + 3 design component model; checklist 6. Exports regenerated from the model: use-case-model.json new, uc-realizations.json re-exported (useCase full names, notes merged, crossCutting added; element content verified equal to the markdown-to-json generator output). Open: XMI backup - ExportPackageXMI fails via COM (DISP_E_TYPEMISMATCH, PS 5.1 + cscript); manual EA UI export per model/README.md option 2.
This commit is contained in:
parent
201f8f251c
commit
c0226df62d
8 changed files with 1296 additions and 300 deletions
|
|
@ -305,7 +305,7 @@ try {
|
|||
@{ Name = 'Alternate flows'; Type = 'Alternate';
|
||||
Notes = 'already at max level; not enough XP; not enough gold -> all 422. Foreign character -> 403; not found -> 404.'; Steps = @() }
|
||||
)
|
||||
)
|
||||
}
|
||||
foreach ($useCase in $useCases) {
|
||||
$ucElement = $elements[$useCase.Name]
|
||||
foreach ($scenarioData in $scenariosByUc[$useCase.Name]) {
|
||||
|
|
@ -375,7 +375,12 @@ try {
|
|||
$architecture.Elements.Refresh()
|
||||
|
||||
$step = 'UC realization packages (from exports/uc-realizations.json)'
|
||||
$elementsByShortName = @{}
|
||||
foreach ($useCase in $useCases) { $elementsByShortName[$useCase.Name.Substring(6)] = $elements[$useCase.Name] }
|
||||
foreach ($realization in $realizations.realizations) {
|
||||
$supplierElement = $elements[$realization.useCase]
|
||||
if (-not $supplierElement) { $supplierElement = $elementsByShortName[$realization.useCase] }
|
||||
if (-not $supplierElement) { throw "use case not found for $($realization.id): $($realization.useCase)" }
|
||||
$realizationPackage = $analysisDesign.Packages.AddNew($realization.id, 'Package')
|
||||
$null = $realizationPackage.Update()
|
||||
$analysisDesign.Packages.Refresh()
|
||||
|
|
@ -385,7 +390,7 @@ try {
|
|||
$realizationPackage.Elements.Refresh()
|
||||
$connector = $collaboration.Connectors.AddNew('', 'Realization')
|
||||
$connector.ClientID = $collaboration.ElementID
|
||||
$connector.SupplierID = ($elements[$realization.useCase]).ElementID
|
||||
$connector.SupplierID = $supplierElement.ElementID
|
||||
$null = $connector.Update()
|
||||
$collaboration.Connectors.Refresh()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue