-
Notifications
You must be signed in to change notification settings - Fork 11
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
Comments
@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
2 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
The text was updated successfully, but these errors were encountered: