Closed shijinrajbosch closed 10 months ago
Test TTL file used is available here
The below test cases also failing in Semantic-hub - Test class : org.eclipse.tractusx.semantics.hub.ModelsApiTest Test Methods : testAasxEndpointExpectErrorForBAMM() testSaveValidModelExpectSuccessForBAMM() testExampleGenerateExamplePayloadJsonExpectSuccessForBAMM() testGenerateJsonSchemaExpectSuccessForBAMM() testSaveInvalidModelExpectSuccess() testGenerateOpenApiEndpointSpecExpectSuccessForBAMM() testSaveModelWithExternalReferencesExpectSuccessForBAMM() testGetModelListByMultipleUrnsForBAMM() testGetModelsExpectSuccessForBAMM() testSaveInvalidModelExpectSuccessForBAMM() testDependentModelBAMM() testAasxEndpointExpectSuccessForBAMM() testModelStatusTransitionForPostForBAMM() testDependentModelTransitionForBAMM() testModelStatusTransitionForPutForBAMM()
We have upgraded to ESMF SDK 2.4.2 and resolved the issues.
Describe the bug Test case works with sds-aspect-model-starter 2.1.3 & esmf-aspect-model-starter 2.2.3 and failing with - esmf-aspect-model-starter 2.3.1 & 2.3.2
Test class : org.eclipse.tractusx.semantics.hub.ModelsApiTest Test method : testDependentModelTransitionForBAMM()
Semantic-hub Github : https://github.com/bci-oss/sldt-semantic-hub.git (for esmf-aspect-model-starter 2.3.1) Branch - bug/SAMM_BAMM_support
Semantic-hub Github : https://github.com/bci-oss/sldt-semantic-hub.git (for esmf-aspect-model-starter 2.3.2) Branch - SAMM_BAMM_Support-ESMF_SDK_2.3.2
Where Test class : org.eclipse.tractusx.semantics.hub.ModelsApiTest Test method : testDependentModelTransitionForBAMM()
Semantic-hub Github : https://github.com/bci-oss/sldt-semantic-hub.git Branch - bug/SAMM_BAMM_support
Additional context Steps to reproduce the issue :
resolvedModel.isFailure() is true with resolvedModel.getCause().getMessage() as "TripleStoreResolutionStrategy: definition for urn:samm:org.eclipse.tractusx.test_model_list_by_urns_1:1.0.0#Movement not found"