dbinfrago / dbinfrago/py-capellambse

Unable to create deploying components in physical architecture layer

Open
#579 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
72
Forks
18
Avg merge
2d 1h
Merged PRs (30d)
1

Description

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](url)
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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.