Open jjeroch opened 1 month ago
Hi @jjeroch, there are currently still 5 standardised BAMM models that have not yet been updated. Could this be a possible blocker / dependency for this issue?
@jjeroch @MaximilianHauer not sure about this feature. Should it be part of tomorrow's presentation? ⇾ Since the status is still Inbox
Description: We need to simplify our API endpoints for semantic models by removing the model type attribute/parameter. As per the latest standard defined in the document CX-0003-SAMMSemanticAspectMetaModel-v1.1.0, only SAMM (Semantic Aspect Meta Model) types will be supported going forward. Hence, the attribute that specifies the semantic model type in API requests and responses is no longer necessary and should be removed to reflect this change.
Acceptance Criteria:
type
parameter should be removed from all API endpoints that currently include it.type
parameter.type
attribute in the JSON body.type
parameter is either removed or adjusted to work without it.type
parameter.Affected Endpoints:
/hub/api/v1/models
/hub/api/v1/models
/hub/api/v1/models
/hub/api/v1/models/{urn}
/hub/api/v1/models/{urn}
Tasks:
type
attribute is used.type
attribute from the request and response handling logic.type
attribute.Test Cases for Simplification of Semantic Model API Endpoints
Test Cases for Simplified Semantic Model API Endpoints
Test Case 1: Verify Removal of
type
Parameter in POST Requesttype
parameter.type
parameter.type
.Test Case 2: Verify GET List Endpoint Without
type
Parametertype
attribute.type
parameter.type
attribute in the JSON body.Test Case 3: Verify PUT Endpoint Without
type
Parametertype
parameter.type
parameter in the request body.type
attribute.Test Case 4: Verify GET Individual Model Endpoint Functionality
type
attribute.type
attribute.Test Case 5: Verify PUT Individual Model Endpoint Functionality
type
parameter.type
parameter in the request body.type
attribute.Test Case 6: Confirm Filtering Without
type
Parametertype
parameter is no longer available.type
filter applied.type
filter or return an error indicating that filtering bytype
is not supported.Test Case 7: Validate API Documentation Update
type
parameter.type
parameter should be removed.Test Case 8: Backward Compatibility Check
type
parameter are not affected.type
parameter) to interact with the API.type
parameter.Test Case 9: Error Handling for
type
Parametertype
parameter gracefully.type
parameter.type
parameter or respond with an appropriate error message indicating that the parameter is no longer supported.Test Case 10: Comprehensive Regression Testing
Additional Information
Milestones