Code Monkey home page Code Monkey logo

Comments (6)

FrankSchnicke avatar FrankSchnicke commented on August 17, 2024 2

This is not implemented for V2 as of now. However, we will implement it in the coming weeks.
I will keep this ticket open and update it whenever the feature is implemented.

from basyx-java-server-sdk.

FrankSchnicke avatar FrankSchnicke commented on August 17, 2024 1

Operation Delegation is now implemented and will be included in the next release (i.e., next week).
Property Delegation, however, we're not planning to implement as of now. The reason is that it does not integrate well with the other architecture concepts of BaSyx (e.g., eventing). Since the value is only retrieved on-demand, features like eventing will not work as expected. I would advise for these scenarios to use the BaSyx DataBridge.

Do you have any scenario in mind where the DataBridge would not work but Property Delegation does?

from basyx-java-server-sdk.

FrankSchnicke avatar FrankSchnicke commented on August 17, 2024 1

Once the feature is pushed to main, it would be great if you could also provide a sample AAS to see both Operation Delegation as well as Eventing in action.

We're planning on providing these examples. I will send an update on the basyx-dev mailing list whenever they are available.

Another approach towards data collection in the AAS was recently prototyped in a AASX Package Explorer branch via AID / AIMC Submodels. Maybe both approaches can be streamlined.

We would like to integrate AID / AIMC with the BaSyx DataBridge in a first step. Additionally, configurating operation delegation via these submodels is also a very interesting topic. However, for this there is no concrete ETA at the moment.

from basyx-java-server-sdk.

wiresio avatar wiresio commented on August 17, 2024

Having set the respective property to:

  {
      "idShort": "live",
      "qualifiers": [
          {
              "type": "delegatedTo",
              "valueType": "xs:string",
              "value": "http://IPADDRESS:8080/aidrunner/properties/count"
          }
      ],
      "valueType": "xs:string",
      "value": "",
      "modelType": "Property"
  }

I get back an empty value.

from basyx-java-server-sdk.

wiresio avatar wiresio commented on August 17, 2024

Connectivity tested via docker exec -it CONTAINERID timeout 3 /bin/bash -c "echo > /dev/tcp/IPADDRESS/8080 >& /dev/null" && echo "ok" || echo "nok" seems to be working - however, still no value.

Any ideas or just not (yet) implemented in v2?

from basyx-java-server-sdk.

wiresio avatar wiresio commented on August 17, 2024

Thanks for the efforts and the update!

I think it is fine to use a gateway (e.g., DataBridge or node-wot) to take care of the data collection and update of the respective Submodels or Submodel Elements. Eventing is anyhow preferred over cyclic polling.

Once the feature is pushed to main, it would be great if you could also provide a sample AAS to see both Operation Delegation as well as Eventing in action.

Another approach towards data collection in the AAS was recently prototyped in a AASX Package Explorer branch via AID / AIMC Submodels. Maybe both approaches can be streamlined.

from basyx-java-server-sdk.

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.