Closed jzbmw closed 6 months ago
Agreed on PL with @jzbmw to use full urn with hash, eg: "urn": "urn:bamm:io.catenax.single_level_usage_as_planned:1.1.0#SingleLevelUsageAsPlanned",
Agreed on beheviour: Semantics Hub models: "urn": "urn:bamm:io.catenax.single_level_usage_as_planned:1.0.0#SingleLevelUsageAsPlanned", "urn": "urn:bamm:io.catenax.single_level_usage_as_planned:1.0.1#SingleLevelUsageAsPlanned", "urn": "urn:bamm:io.catenax.single_level_usage_as_planned:1.1.0#SingleLevelUsageAsPlanned",
1. apects [ "urn:bamm:io.catenax.single_level_usage_as_planned:5.12.0#SingleLevelUsageAsPlanned" ] result => { "statusCode": "BAD_REQUEST", "error": "Aspects did not match the available aspects: '[urn:bamm:io.catenax.single_level_usage_as_planned:5.12.0#SingleLevelUsageAsPlanned]'", "messages": null }
2. apects [ "urn:bamm:io.catenax.single_level_usage_as_planned:1.0.1#SingleLevelUsageAsPlanned" ] result => { Job with submodels: "urn": "urn:bamm:io.catenax.single_level_usage_as_planned:1.0.0#SingleLevelUsageAsPlanned", "urn": "urn:bamm:io.catenax.single_level_usage_as_planned:1.0.1#SingleLevelUsageAsPlanned", "urn": "urn:bamm:io.catenax.single_level_usage_as_planned:1.1.0#SingleLevelUsageAsPlanned", }
the API Documentation has been updated - done the Tests have been updated - done The API has been changed to accept only the urn's which are available - done Add valid example values to API docu ( replace "string") - done FQN is used to define the aspect name - done For detecting version we use the major version under account - done 2.?.? Accepting any minor a patch version of this aspect model - done Update Tavern and Cucumber Tests - done Update documentation arc42, admin manual, etc - done
the failing tavern tests will be accepted and checked again with the update of the Testdata to version 1.7.0 Issue was that Semantic Hub was not delivering valid schema files for SLBAB 2.0.0
the failing tavern tests will be accepted and checked again with the update of the Testdata to version 1.7.0 Issue was that Semantic Hub was not delivering valid schema files for SLBAB 2.0.0
As PO , I want to be compliant to the versioning initiative of CX , so that we will be downward compatible .
Acceptance Criteria
Hints / Details
Defining the aspect 2.0.0 the minor and patch version is ignored. The version 2.0.0 accepts any version between 2.0.0 and 3.0.0
example Value for an array element urn:samm:io.catenax.single_level_bom_as_built:2.0.0
it shall be possible, that two versions of the same aspect can exist in parallel
Out of Scope