Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Task] Extend generic Aspect to AAS conversion to allow more fine-grained customizations #547

Open
andreas-schilling opened this issue Mar 15, 2024 · 0 comments
Labels
acknowledged Has been viewed by one of the maintainers and is ready for further work, discussion or other steps. task

Comments

@andreas-schilling
Copy link
Contributor

andreas-schilling commented Mar 15, 2024

Is your task related to a problem? Please describe.
The current implementation of the Aspect to AAS converter is a good starting point for simple and quick results starting from an Aspect model (and potentially also Aspect data in form of a JSON payload).
If the main task is to create an AAS representation of a custom Aspect model, this is sufficient as it is. However, for many tasks it is required to be close to an IDTA specified submodel, which has strict specifications about elements like the ShortIds of elements or their Semantic Ids.
This can partially be handled by overriding the Property Mapping mechanism, but it would still not allow doing this for other elements, e.g. SubmodelElementCollection or SubmodelElementList.

Describe the solution you'd like
The conversion setup needs to allow more points where developers can hook in to change the behaviour.
A non-exhaustive list would be:

  • Short-Id generation
  • Semantic-Id generation
  • Creation of each element that can appear in an AAS (e.g. SubmodelElementCollection)

Addditionally, the ESMF-SDK should provide default implementations as a starting point for developers, so that certain standard use cases are already covered (e.g. having a Semantic-Id generator that uses the see element of SAMM properties) and ready to be used.
Ideally, full customization is still only necessary for very special variants of a conversion process.

References
The following issues are related to this topic:

@chris-volk chris-volk added the acknowledged Has been viewed by one of the maintainers and is ready for further work, discussion or other steps. label Mar 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
acknowledged Has been viewed by one of the maintainers and is ready for further work, discussion or other steps. task
Projects
None yet
Development

No branches or pull requests

2 participants