DSD-DBS / py-capellambse

A Python 3 headless implementation of the Capella modeling tool.
https://dsd-dbs.github.io/py-capellambse/
Apache License 2.0
50 stars 8 forks source link

Modeling rules and validation #428

Closed freshavocado7 closed 1 month ago

freshavocado7 commented 1 month ago

Based on the modeling rules maintained in our internal Polarion and the old PR #270 that outlined the work for me, I have implemented the modeling rules in py-capellambse.

To generate the metrics report, run the following command:

python -m capellambse.extensions.validation -m [model] -o report.html

This command will create a report.html file containing all the applied modeling rules and the metrics report.

Wuestengecko commented 1 month ago

We need to clarify the relation between this and #270. I thought that #270 was to be split up, but now this completely new PR also contains large parts of it squashed in. Assuming this gets merged, what would happen to #270? Would it be abandoned? Rebased? Split out into its own extension repo?