Skip to content

Unable to create deploying components in physical architecture layer #579

@TJ0071

Description

@TJ0071

Hello there, I am unable to create the deploying components for a physical component https://dbinfrago.github.io/py-capellambse/code/capellambse.metamodel.pa.html#capellambse.metamodel.pa.PhysicalArchitecture.component_pkg
YAML:

  • parent: !uuid 40d4887e-3a5a-480c-856e-2b88215fb79a #pa components package
    extend:
    components:
    - name: Bean Hopper
    promise_id: pa_Bean Hopper
    nature: NODE
    - name: Bean Hopper Level
    promise_id: pa_Bean Hopper Level
    nature: BEHAVIOR
    deploying_components:
    - !promise pa_Bean Hopper
    ports:
    - name: in1
    kind: FLOW
    direction: IN
    promise_id: pa_in1
    - name: out1
    kind: FLOW
    direction: OUT
    promise_id: pa_out1
    allocated_functions:
    - !promise pa_Hold Coffee Beans
    - name: User
    promise_id: pa_User
    is_actor: true
    is_human: false
    ports:
    - name: tobean
    kind: FLOW
    direction: OUT
    promise_id: pa_tobean
    exchanges:
    - name: Exchange_1
    source: !promise pa_tobean
    target: !promise pa_in1

ERROR: TypeError: Cannot create object: PhysicalComponent.deploying_components is not model-coupled

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions