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
Empty outputArguments v1.0 #740
Comments
I was able to reproduce the problem and it seems to be caused by a combination of issues such as
As a quick fix, you can change your model file like this aas-fixed.json. The changes I made are renaming input-/output-/inoutputVariable to input-/output-/inoutputVariables (with additional s at the end) and moving the expected result property We will also work on addressing the above mentioned issues in the near future. |
The updated model solves the problem. Thank you. |
Thank you for the feedback. I also figured out the cause of your problem with with filestorage and the reason is that there are some errors in the documentation which caused your configuration to be incorrect. The correct filestorage part of your config should look like this "fileStorage": {
"@class": "de.fraunhofer.iosb.ilt.faaast.service.filestorage.memory.FileStorageInMemory"
} I also fixed the documentation accordingly. |
Describe the bug
Executing an operation returns an empty list of outputArguments
To Reproduce
Steps to reproduce the behavior:
aas.json
config.json
and this is the payload of the operation:
{ "inoutputArguments": [], "inputArguments": [ { "value": { "modelType": "Property", "valueType": "xs:integer", "idShort": "input1", "value": "3" } }, { "value": { "modelType": "Property", "valueType": "xs:integer", "idShort": "input2", "value": "2" } } ], "clientTimeoutDuration": "PT1M" }
Expected behavior
{ "messages": [], "executionState": "Completed", "success": true, "outputArguments": [ { "value": { "modelType": "Property", "valueType": "xs:integer", "idShort": "sum", "value": "5" } } ], "inoutputArguments": [] }
Output
{ "messages": [], "executionState": "Completed", "success": true, "outputArguments": [], "inoutputArguments": [] }
The text was updated successfully, but these errors were encountered: