eclipse-esmf / esmf-sdk

Load Aspect Models and their artifacts as Java code; share components to realize SAMM as code
https://eclipse-esmf.github.io/esmf-developer-guide/index.html
Mozilla Public License 2.0
25 stars 12 forks source link

[Task] Reporting for namespace(s) and aspect models #506

Open chris-volk opened 8 months ago

chris-volk commented 8 months ago

As a SAMM CLI user I want a convenient overview how many Aspect Models are on a repository/any model source and which of them are valid.

Expected is a summary and a table. Summary: How many aspect model versions, how many aspect models (multiple versions only count once), how many namespaces with/without version, the lowest and highest SAMM version in use, the percentage of valid models (and perhaps something regarding minimum and maximum size of models, maybe lines of code if number of elements is harder)

Table: For each Aspect Model the info of the according namespace (included in urn of aspect already, so that's given), SAMM version in use, whether it is valid or not, and perhaps the number of direct and transitive references to other aspects model

Input: Any source that contains one or multiple namespaces, e.g. local file system path or link to github folder (e.g. catena-x) that contains one or multiple namespaces, e.g. https://github.com/eclipse-tractusx/sldt-semantic-models

Options:

chris-volk commented 8 months ago

Test of this issue: runs successfully on https://github.com/eclipse-tractusx/sldt-semantic-models