Code Monkey home page Code Monkey logo

Comments (3)

mjacoby avatar mjacoby commented on May 26, 2024 1

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.

mjacoby avatar mjacoby commented on May 26, 2024

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 of inputVariables) 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 only outputArguments

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.

wssmd avatar wssmd commented on May 26, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.