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

Add a test to check element resolving #28

Merged

Conversation

Hanna-Shalamitskaya-EPAM
Copy link
Contributor

Changes:

  • Added a test for the element resolving logic

@prefix type: <urn:samm:com.bosch.test.type:0.2.0#> .
@prefix samm: <urn:samm:org.eclipse.esmf.samm:meta-model:2.0.0#> .

:ProcessParameters a samm:Aspect ;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use a neutral Aspect Model name

# Copyright (c) 2023 Robert Bosch Manufacturing Solutions GmbH, Germany. All rights reserved.
#

@prefix : <urn:samm:com.bosch.test.models:0.2.0#>.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The test namespace should be urn:samm:org.eclipse.esmf.test:1.0.0#

#

@prefix : <urn:samm:com.bosch.test.models:0.2.0#>.
@prefix type: <urn:samm:com.bosch.test.type:0.2.0#> .
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If this needs to be in another namspace than the default test namespace, it should be included in it, e.g. urn:samm:org.eclipse.esmf.test.other:1.0.0#

@prefix samm-c: <urn:samm:org.eclipse.esmf.samm:characteristic:2.0.0#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

:processedPartId a samm:Property ;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use a neutral model element name

@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

:processedPartId a samm:Property ;
samm:preferredName "Processed Part ID"@en ;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adapt to neutral element name

@prefix samm-c: <urn:samm:org.eclipse.esmf.samm:characteristic:2.0.0#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

:materialNumber a samm:Property ;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use neutral model element name

@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

:materialNumber a samm:Property ;
samm:preferredName "Material Number"@en ;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove


:materialNumber a samm:Property ;
samm:preferredName "Material Number"@en ;
samm:preferredName "Materialnummer"@de ;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove

:materialNumber a samm:Property ;
samm:preferredName "Material Number"@en ;
samm:preferredName "Materialnummer"@de ;
samm:description "The identification of the product based on the SAP material number."@en ;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove

samm:preferredName "Material Number"@en ;
samm:preferredName "Materialnummer"@de ;
samm:description "The identification of the product based on the SAP material number."@en ;
samm:exampleValue "F03Z12345602" ;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove

@atextor atextor merged commit b448fdf into eclipse-esmf:main Feb 15, 2024
2 checks passed
@atextor atextor deleted the rbs-13551_resolve-elements-from-other-files branch February 15, 2024 10:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants