Comments (3)
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.
from faaast-service.
I was able to reproduce the problem and it seems to be caused by a combination of issues such as
- the AAS model is not valid (as it is using
inputVariable
instead ofinputVariables
) but is still loaded without any feedback to the user - output says "Model successfully validated" although model validation is currently very limited (as the AAS4J library FA³ST Service is using did not yet update the model validation logic to v3.0 and therefore is currently not available)
- there is a bug with using
inoutputParameters
(which your model is using although your expected response contains onlyoutputArguments
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 sum
from inoutputVariables to outputVariables.
Using this updated model it did work for me. Please let me know if this is not working for you.
We will also work on addressing the above mentioned issues in the near future.
from faaast-service.
The updated model solves the problem. Thank you.
Just a reminder that FileStorage is not read from the configuration file and must be manually added to the ServiceConfig object.
from faaast-service.
Related Issues (20)
- Feature request: Registration with "foreign" Registry HOT 3
- Set Multiple AAS Environment Files as Input HOT 1
- Some AAS Environment File Fails to Load HOT 1
- How to connect AAS model with OPC UA server HOT 11
- Error during build process(mvn clean install) HOT 3
- HTTP Connection hard to debug HOT 2
- Inconsistent response to DELETE HOT 2
- Passing a submodel id for a shell id (and vice versa) results in internal server error HOT 3
- Question regarding OPC UA Crawler HOT 1
- OpcUaAssetConnection value stays empty HOT 6
- 500 upon bad request HOT 3
- Add validation of incoming data on write-operations HOT 6
- Inquiries about the scope of persistence service HOT 3
- OpenAPI Spec not on SwaggerHub HOT 1
- Version issue (v3rc01 -> v3rc02) HOT 1
- OPC UA asset connection failed HOT 1
- Question regarding OPC UA endpoint HOT 1
- How to correctly create an AAS submodel via HTTP endpoint HOT 1
- OPC UA asset connection failed HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from faaast-service.