-
Notifications
You must be signed in to change notification settings - Fork 12
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
Set Multiple AAS Environment Files as Input #172
Comments
This feature is not supported. We are aware that some users would like to have this feature but currently we cannot provide any details on if/when it will be available in the future. This is also because merging multiple environments becomes quite complex once there are collisions/overlaps in the different files. As a quick work-around you could use the FA³ST Package Explorer Converter; a tool intended to convert JSON files exported from the AASX Package Explorer to be FA³ST-compliant. However, it also has a (rather primitive) merge feature. You'll have to manually merge your files into one with this and then load the merged file into FA³ST. |
Is multiple aas as input while starting the service supported in latest version now, using FileStorageSystem? |
No, it is still not supported. The reason it is not yet supported to load multiple model files is that it would require rather changes to the Could you maybe provide some insight in your use case and how you would like to operate FA³ST using multiple models? Are you using in-memory or file-based persistence? Do you maybe only need to create a read-only instance, i.e. users should not be able to modify the model via API once FA³ST is started? |
Thanks for your detailed explanation! I understand it now. |
With the recently 😄 merged proprietary '/import'-Feature (similar to basyx '/upload') uploading multiple aasx is easier possible now, but merging is still primitive right? cat $e | curl -H "Content-Type: application/asset-administration-shell-package+xml" -X POST --data-binary @- http://localhost:8080/api/v3.0/import PSI guess '/reset' should not use GET (CSRF).
|
Correct. The new {
"fileErrors": {
"[filename]": "[error message]",
...
},
"modelErrors": {
"[serialized reference to element that caused the error]": "[error message]",
...
}
} In the future, this might be extended to provide more options about how to handle conflicts but right now, no merging algorithm exists in FA³ST.
|
Description
Does FAAAST supports multiple aas environment files as input while starting the service? If so, what is the procedure?
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Multiple aas environment files will be given as input when starting the FAAAST service.
Output
The HTTP endpoint will return results from multiple aas environment files based on the query.
The text was updated successfully, but these errors were encountered: