[Task] CLI - relax fixed models directory structure #512
Labels
acknowledged
Has been viewed by one of the maintainers and is ready for further work, discussion or other steps.
task
Is your task related to a problem? Please describe.
In
https://eclipse-esmf.github.io/esmf-developer-guide/tooling-guide/samm-cli.html#models-directory-structure a strict folder structure is required to be able to resolve shared namespaces or splitted namespaces
In the future I would like to add SAMM models as part of a Submodel Template, e.g. here
https://github.com/admin-shell-io/submodel-templates/tree/main/published/Control%20Component%20Instance/1/0 in a subfolder "semantics" or similar
The thinking is similar to https://github.com/eclipse-tractusx/sldt-semantic-models/tree/main/io.catenax.battery.battery_pass/3.0.1/gen, (in gen .aasx files are generated) only the other way around
Describe the solution you'd like
Similar to the system variable "PATH" it should be possible to define where to look for (shared) aspect models.
Or you may add a configuration file (similar to a registry with logical IDs and mapping to endpoints)
<namespace> <path>, <namespace#aspect> <path>
where to look for and this configuration file could be an additional parameter is the CLI call
The text was updated successfully, but these errors were encountered: