Skip to content
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

Semantic-hub model upload issue #237

Open
agg3fe opened this issue Feb 8, 2024 · 2 comments · May be fixed by #309
Open

Semantic-hub model upload issue #237

agg3fe opened this issue Feb 8, 2024 · 2 comments · May be fixed by #309
Assignees
Labels
bug Something isn't working spillover

Comments

@agg3fe
Copy link
Contributor

agg3fe commented Feb 8, 2024

Current Behavior

When trying to upload some random model, it shows error message.

example:
When tried to upload DigitalProductPassport:3.0.0, it throws error:
{"error":{"message":"Validation failed.","path":"/hub/api/v1/models","details":{"ERR_PROCESSING":"Resolution strategy returned a model which does not contain element definition for urn:samm:io.catenax.shared.quantity:1.0.0#LinearCharacteristic"}}}

link: https://github.com/eclipse-tractusx/sldt-semantic-models/actions/runs/8018829694/job/21905528698

Expected Behavior

Model should be uploaded successfully, as the dependent models are already present in DB.

The issue does not occur for every model, but only for few models.

Issue trace:

The validation of model fails in semantic-hub side.
SAMMSdk.java class throws error: https://github.com/eclipse-tractusx/sldt-semantic-hub/blob/main/backend/src/main/java/org/eclipse/tractusx/semantics/hub/persistence/triplestore/SAMMSdk.java#L79
Seems something wrong with samm sdk, but not sure for now.

@agg3fe agg3fe added the bug Something isn't working label Feb 8, 2024
@agg3fe agg3fe self-assigned this Feb 8, 2024
@agg3fe agg3fe moved this to In Progress in 🚀SLDT Board Feb 8, 2024
@agg3fe agg3fe moved this from In Progress to In Review in 🚀SLDT Board Feb 9, 2024
@agg3fe agg3fe moved this from In Review to In Progress in 🚀SLDT Board Feb 23, 2024
@agg3fe agg3fe moved this from In Progress to Todo in 🚀SLDT Board Mar 4, 2024
@RazvanZmau RazvanZmau moved this from Todo to In Progress in 🚀SLDT Board Apr 16, 2024
@RazvanZmau RazvanZmau moved this from In Progress to Todo in 🚀SLDT Board May 14, 2024
@tunacicek
Copy link
Contributor

@agg3fe : Can we close this issue?

@agg3fe
Copy link
Contributor Author

agg3fe commented Aug 5, 2024

@agg3fe : Can we close this issue?

@tunacicek I would say not yet. need to update the sdk in semantic-hub to resolve the upload issues.

mittalVaghela added a commit to mittalVaghela/sldt-semantic-hub that referenced this issue Dec 18, 2024
Following changes
- Update Validation logic
- Update following lib version:
 Update Samm-lib version 2.8.1
 Update jena version 4.9.0
 Update commons-io.version 2.17.0
@mittalVaghela mittalVaghela linked a pull request Dec 18, 2024 that will close this issue
2 tasks
@agg3fe agg3fe moved this from Todo to In Progress in 🚀SLDT Board Jan 19, 2025
@tunacicek tunacicek moved this from In Progress to In Review in 🚀SLDT Board Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working spillover
Projects
Status: In Review
Development

Successfully merging a pull request may close this issue.

3 participants