Giter VIP home page Giter VIP logo

Comments (3)

JBlezi avatar JBlezi commented on July 30, 2024 1

Hi @aaronzi, thank you for your response. This is working for me as well now. I was using an older version of the endpoint (V3.0.1_SSP001). It works now that I am using V3.0.1_SSP002.
Thank you!

from basyx-java-server-sdk.

mdanish98 avatar mdanish98 commented on July 30, 2024

Hi @JBlezi ,

Thanks for raising this issue.
We are analyzing this issue and will get back to you with the analysis/fix.

from basyx-java-server-sdk.

aaronzi avatar aaronzi commented on July 30, 2024

Hi @JBlezi,

I tried to reproduce your issue but for me everything was working just fine.
Here is the setup I used:
MongoDiscoveryIssue.zip

I executed the following three requests via Postman to verify that it's working:

  1. Create a new link:
curl --location 'http://localhost:8084/lookup/shells/aHR0cHM6Ly9leGFtcGxlLmNvbS9pZHMvYWFzLzEyNzNfOTA5MF80MDQyXzQ5MTg' \
--header 'Content-Type: application/json' \
--data '[
    {
        "name": "globalAssetId",
        "value": "https://example.com/ids/asset/1373_9090_4042_5900"
    }
]'
  1. Get the created link by aasIdentifier:
curl --location 'http://localhost:8084/lookup/shells/aHR0cHM6Ly9leGFtcGxlLmNvbS9pZHMvYWFzLzEyNzNfOTA5MF80MDQyXzQ5MTg'
  1. Get the link by assetId:
curl --location 'http://localhost:8084/lookup/shells?assetIds=eyJuYW1lIjoiZ2xvYmFsQXNzZXRJZCIsInZhbHVlIjoiaHR0cHM6Ly9leGFtcGxlLmNvbS9pZHMvYXNzZXQvMTM3M185MDkwXzQwNDJfNTkwMCJ9'

Every request returned the expected results.
Since I don't know what exact request you send via Postman or what your exact BaSyx configuration looks like I would assume it's either a small mistake in the request you are sending or a configuration issue in BaSyx.

Hope this helps

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.