textual-notation-of-model/packages/features/middleware/middleware_score_variability_configuration.sysml
2 view(s) · 37 declared member(s) Jump to source ↓
view scoreMiddlewareProductLineConfigurationViewsource ↓
| Viewpoint | selected (Product |
|---|---|
| Framed concerns |
|
| Render | as |
| Exposes | Middlewareselectedselectedselectedselectedselectedselectedselected |
| Source | textual-notation-of-model/ |
Hover a model element for details open raw SVG.
view scoreMiddlewareProductModelAssemblyViewsource ↓
| Viewpoint | selected (Product |
|---|---|
| Framed concerns |
|
| Render | as |
| Exposes | MiddlewareMiddlewareMiddlewareMiddlewareMiddlewareMiddlewareMiddleware |
| Source | textual-notation-of-model/ |
Hover a model element for details open raw SVG.
Source
1/*2 * DE4SDV middleware variability and configuration model slice for the3 * Eclipse S-CORE realization.4 *5 * INC-MW-011, phase 9: the configured product of the S-CORE-integrated6 * member configuration, with the configuration identity MW-CONFIG-002.7 * It pairs two parts. The first is the platform-stack projection that the8 * configurator generates from the receipt of the feature configuration9 * middleware_autoware_score_reference.sysml. The second is the realization10 * of the middleware integration layer from phase 8. INC-MW-009 pairs the11 * projection of its member with the middleware boundary in the same way.12 * The feature configuration and the generated projection own the variant13 * selections. No element of this package restates them. Its docs name some14 * of them, and a guard test keeps those names equal to the receipt.15 *16 * The governed scope admits the configuration since the scope revision of17 * ADR 0023 and ADR 0026: it realizes the alternative S-CORE Integrated, and18 * its configured product specializes the member definition19 * SCOREIntegratedAutowareAEBSReferenceMember. The owner accepted the member20 * on 2026-11-13 (ADR 0023), before the runnable proof of phase 10. That21 * proof stays an obligation of phase 10: it is evidence about the member,22 * not a condition of its membership. This slice is configuration evidence23 * only: it proves no runtime behavior, satisfies no requirement and makes no24 * safety, cybersecurity or compliance claim.25 */2627package DE4SDV_MiddlewareSCOREVariabilityConfiguration {28 private import DE4SDV_MethodViewpoints::*;29 private import DE4SDV_Stakeholders::*;30 private import DE4SDV_MiddlewareSCOREPhysicalSoftwareRealization::SCOREMiddlewareIntegrationLayerRealization;31 private import DE4SDV_ProductLine::ProductLineConfiguredProduct;32 private import Views::*;3334 part def MiddlewareAutowareSCOREConfiguredProduct35 :> DE4SDV_AEBSProductLineScope::SCOREIntegratedAutowareAEBSReferenceMember, ProductLineConfiguredProduct {36 doc /*37 * The configured product of the S-CORE-integrated member configuration,38 * MW-CONFIG-002. It holds the generated platform-stack projection and the39 * realization of the middleware integration layer, the system of interest40 * of INC-MW-011. The local parts compose the projection and the phase-841 * realization. They choose no variant. The context parts of phase 8 stay42 * in the physical context SCORETwoDomainPhysicalSystem. Examples are the43 * Autoware-based AEBS stack, the vehicle-speed provider and the HMI44 * application in the guest.45 *46 * One instance and one owner per layer. The platform stack composes the47 * selected Eclipse S-CORE middleware, the derived Autoware-to-S-CORE48 * adapter, the guest middleware and the guest operating system. The49 * integration layer only refers to its S-CORE services, to its adapter,50 * to the SDV Core of the guest and to the SDV Gateway on IVI (phase 8).51 * Two bindings make the S-CORE services and the adapter of the layer the52 * same things as the selected middleware and the derived adapter. Two53 * more make the SDV Core the same thing as the guest middleware, and its54 * platform software the same thing as the guest operating system. The55 * AAOS-integrated configured member has the same two bindings. So the56 * platform stack is the only owner of each. The platform stack models57 * the guest middleware as one layer, with no feature for the gateway of58 * the IVI VM. So this product leaves the layer's reference to the SDV59 * Gateway on IVI unbound, and phase 8 binds it to the gateway of the IVI60 * VM. The other61 * parts of the layer are no platform layers. The guest side is the guest62 * operating system and the guest middleware of the platform stack: in63 * phase 8, a guest partition of two VMs (ADR 0025). So the product has64 * no second Android or AAOS SDV instance. For the same reason it does65 * not compose SCORETwoDomainPhysicalSystem.66 *67 * No shared asset implements the HMI display, so no feature binding68 * resolves the hmiDisplay selection. The projection lists it among the69 * selections that SysML does not resolve.70 *71 * The definition specializes the member definition72 * SCOREIntegratedAutowareAEBSReferenceMember of the governed scope (ADR73 * 0023, decision 8), as the AAOS-integrated configured member specializes74 * its member definition. It also specializes the kernel's75 * ProductLineConfiguredProduct, the configured product of phase 9 (owner76 * decision of 2026-10-29).77 */78 part platformStack : MiddlewareAutowareSCOREReference;79 part integrationLayer : SCOREMiddlewareIntegrationLayerRealization;80 binding scoreServicesBoundToSelectedMiddleware81 bind integrationLayer.scoreServices = platformStack.middleware;82 binding adapterBoundToDerivedAdapter83 bind integrationLayer.adapter = platformStack.applicationMiddlewareAdapter;84 binding sdvCoreBoundToGuestMiddleware85 bind integrationLayer.sdvCore = platformStack.guestMiddleware;86 binding platformSoftwareBoundToGuestOperatingSystem87 bind integrationLayer.sdvCore.platformSoftware = platformStack.guestOSPlatform;88 }8990 part <'MW-CONFIG-002'> configuredProduct : MiddlewareAutowareSCOREConfiguredProduct {91 doc /*92 * MW-CONFIG-002: the configuration identity that the phase-10 evidence93 * binds, as the INC-MW-010 evidence binds MW-CONFIG-001. The identity is94 * bound to the exact receipt that the configurator generated the95 * platform-stack projection from. receiptSha256 is the SHA-256 of96 * model-based-product-line-engineering/feature-models/receipts/sdv_product_line.receipt.json.97 * That receipt records the evaluation of the feature configuration98 * middlewareAutowareSCOREReference: valid, with the derived adapter99 * autowareToSCORE, and admitted: it realizes the alternative100 * scoreIntegrated. A receipt re-cut keeps this identity and rebinds101 * receiptSha256 here. The pull request that rebinds102 * it states whether the configuration's own receipt record changed.103 * By the decision of 2026-11-17, the record has not changed when its104 * only difference is added states omitted for features that it does105 * not select, and every other entry is the same: validity, reasons,106 * derived variants with their variant ids, admission, the selected107 * features, projection name, source, description and element id.108 * Evidence that binds MW-CONFIG-002 also records the receipt SHA-256 it109 * ran against.110 *111 * The guest side holds two VMs (phase 8, ADR 0025). The headless112 * sdv_core_cf SDV Core VM runs the SOME/IP broker (sdvCoreGuest). The113 * display-capable sdv_ivi_cf IVI VM of INC-AEBS-010 runs the HMI114 * (hmiGuest). The IVI frame relay of phase 8 runs in the IVI VM. For the115 * bench, both images come from one android17-release revision. The116 * SOME/IP mapping and the stack configuration go into the SDV Core image117 * when it is built, and the relay is provisioned on the IVI image. An IVI118 * image built with the relay stays open (GAP-MW-038).119 *120 * Configuration evidence only. This usage proves no provider, transport,121 * gateway, adapter or HMI behavior and no requirement satisfaction.122 */123 attribute receiptSha256 : ScalarValues::String = "ef8c84d63b93419982888ef0e5c69df1e75458fb0745131868ecb68d64c0d9a7";124 }125126 dependency configuredIntegrationLayerTrace127 from configuredProduct::integrationLayer128 to DE4SDV_MiddlewareSCOREPhysicalSoftwareRealization::scoreTwoDomainPhysicalSystem::integrationLayer;129 dependency configuredProductGuestImageGap130 from configuredProduct131 to DE4SDV_MiddlewareSCOREPhysicalSoftwareRealization::gapSOMEIPStackOnAAOSGuestUntested;132133 comment twoDomainMemberExpressed134 about configuredProduct,135 DE4SDV_MiddlewareVariabilityConfiguration::configuredMember136 /*137 * Phase 9 resolved the two-domain limitation. The SDV platform stack and the SDV feature138 * model have a main side and a guest side on one SoC. The owner decided139 * this on 2026-10-21 and 2026-10-22. The groups guestOperatingSystem and140 * guestMiddleware bind the variations guestOSPlatform and guestMiddleware,141 * and the requires constraints C007 to C009 constrain the guest side (C010142 * did too, until the scope revision of ADR 0026 removed it). C001143 * reads the main side only. MW-CONFIG-002 expresses the two-domain144 * product. Its main side is Linux with Eclipse S-CORE, and it is also the145 * KVM host. Its guest side is Android with the AAOS SDV middleware.146 * The AAOS-integrated member MW-CONFIG-001 has the same guest side. The147 * VM layout of the guest side is realization content of phase 8, and it148 * differs: one VM in MW-CONFIG-001, two in MW-CONFIG-002 (ADR 0025). The149 * admission of the S-CORE product is not part of this gap. The scope150 * revision of ADR 0023 made it.151 */152153 comment hmiGuestCandidateCounterpartAtBaseline154 about DE4SDV_MiddlewareSCOREFeatureClassification::hmiGuestExecutionDomain,155 DE4SDV_MiddlewareSCOREFeatureClassification::hmiGuestCandidateCounterpartOfAAOSIntegratedMode,156 DE4SDV_MiddlewareSCOREFeatureClassification::hmiGuestCandidateCounterpartOfSCOREIntegratedMode157 /*158 * CLS-MW-004 after the scope revision of ADR 0023 and ADR 0026. The159 * feature model carries the characteristic with the guest side:160 * MW-CONFIG-002 and the AAOS-integrated member both select kvm,161 * guestAndroid and guestAndroidSDV, which correspond to both integrated162 * alternatives. The HMI display is common content of every member (ADR163 * 0026), so it tells no member apart. eclipseSCORE, not hmiDisplay, tells164 * the S-CORE member apart from the AAOS-integrated member. The owner165 * decided on 2026-11-21 that the counterpart of CLS-MW-004 is both166 * integrated alternatives, AAOS Integrated and S-CORE Integrated. This167 * replaces the decision of 2026-10-21, made before ADR 0026, to re-point168 * it to S-CORE Integrated alone.169 */170171 concern scoreMiddlewareProductLineConfigurationConcern : ProductLineConfigurationConcern {172 doc /*173 * Product-line engineers, system architects and open-source reviewers174 * need the variant selections of MW-CONFIG-002 in the platform-stack175 * projection that the configurator generates from its receipt. The176 * main side selects Autoware, Eclipse S-CORE and Linux. The hypervisor177 * is KVM. The guest side selects Android with the AAOS SDV middleware.178 * The adapter is the derived Autoware-to-S-CORE adapter. For the179 * S-CORE product, this answers the representation part of the180 * framing's twoDomainMemberRepresentationConcern. This concern is181 * about choices, not assembly.182 */183 subject;184 stakeholder productLineEngineer : ProductLineEngineer;185 stakeholder systemArchitect : SystemArchitect;186 stakeholder reviewer : OpenSourceReviewer;187 }188189 concern scoreMiddlewareProductModelAssemblyConcern : ProductModelAssemblyConcern {190 doc /*191 * System architects, verification engineers and open-source reviewers192 * need the assembly of MW-CONFIG-002 with one instance and one owner193 * per platform layer. It holds the platform-stack projection and the194 * realization of the integration layer. The S-CORE services of the195 * layer are the selected middleware, and its adapter is the derived196 * adapter. The SDV Core of the layer is the guest middleware, and its197 * platform software is the guest operating system. The platform stack198 * owns all four. Phase 10 then verifies one product. This concern is199 * about assembled assets, not the variation space.200 */201 subject;202 stakeholder systemArchitect : SystemArchitect;203 stakeholder verificationEngineer : VerificationEngineer;204 stakeholder reviewer : OpenSourceReviewer;205 }206207 alias selectedVehicleApplication208 for MiddlewareAutowareSCOREReference::vehicleApplication;209 alias selectedMiddleware210 for MiddlewareAutowareSCOREReference::middleware;211 alias selectedOperatingSystem212 for MiddlewareAutowareSCOREReference::osPlatform;213 alias selectedHypervisor214 for MiddlewareAutowareSCOREReference::hypervisor;215 alias selectedGuestOperatingSystem216 for MiddlewareAutowareSCOREReference::guestOSPlatform;217 alias selectedGuestMiddleware218 for MiddlewareAutowareSCOREReference::guestMiddleware;219 alias selectedApplicationMiddlewareAdapter220 for MiddlewareAutowareSCOREReference::applicationMiddlewareAdapter;221222 view scoreMiddlewareProductLineConfigurationView {223 viewpoint selectedProductLineConfigurationViewpoint : ProductLineConfigurationViewpoint {224 frame scoreMiddlewareProductLineConfigurationConcern;225 }226 expose MiddlewareAutowareSCOREReference;227 expose selectedVehicleApplication;228 expose selectedMiddleware;229 expose selectedOperatingSystem;230 expose selectedHypervisor;231 expose selectedGuestOperatingSystem;232 expose selectedGuestMiddleware;233 expose selectedApplicationMiddlewareAdapter;234 attribute showAnnotationRows = false;235 attribute maxCompartmentEntries = 0;236 render asTreeDiagram;237 }238239 view scoreMiddlewareProductModelAssemblyView {240 viewpoint selectedProductModelAssemblyViewpoint : ProductModelAssemblyViewpoint {241 frame scoreMiddlewareProductModelAssemblyConcern;242 }243 doc /*244 * The configured product, its two parts and the four bindings. The245 * S-CORE services, the adapter and the SDV Core of the integration layer246 * are references. The bindings make them the same things as the247 * selected middleware, the derived adapter and the guest middleware of248 * the platform stack, their only owner. A fourth binding makes the249 * platform software of the SDV Core the guest operating system of the250 * stack. The view filters out the phase-8251 * allocations. They target the252 * adapter feature of the realization definition, so every usage of that253 * definition carries them, this product included.254 */255 expose MiddlewareAutowareSCOREConfiguredProduct;256 expose MiddlewareAutowareSCOREConfiguredProduct::platformStack;257 expose MiddlewareAutowareSCOREConfiguredProduct::integrationLayer;258 expose MiddlewareAutowareSCOREConfiguredProduct::scoreServicesBoundToSelectedMiddleware;259 expose MiddlewareAutowareSCOREConfiguredProduct::adapterBoundToDerivedAdapter;260 expose MiddlewareAutowareSCOREConfiguredProduct::sdvCoreBoundToGuestMiddleware;261 expose MiddlewareAutowareSCOREConfiguredProduct::platformSoftwareBoundToGuestOperatingSystem;262 filter not (@ SysML::AllocationUsage);263 attribute showAnnotationRows = false;264 attribute maxCompartmentEntries = 0;265 render asTreeDiagram;266 }267}268