Skip to content
This repository was archived by the owner on Feb 15, 2024. It is now read-only.

Commit da21139

Browse files
committed
Merge branch 'feature/validator' of https://jira.iais.fraunhofer.de/stash/scm/ear/aas-serializer into feature/validator
# Conflicts: # pom.xml
2 parents 51aa86c + 656c8a5 commit da21139

4 files changed

Lines changed: 14 additions & 17 deletions

File tree

dataformat-jsonld/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
<artifactId>dataformat-jsonld</artifactId>
1313

1414
<properties>
15-
<maven.compiler.source>12</maven.compiler.source>
16-
<maven.compiler.target>12</maven.compiler.target>
15+
<!--<maven.compiler.source>12</maven.compiler.source>
16+
<maven.compiler.target>12</maven.compiler.target>-->
1717
</properties>
1818

1919
<dependencies>

dataformat-jsonld/src/test/java/io/adminshell/aas/v3/model/dataformat/jsonld/ParserTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public void parseAllSchemaExamplesTest() throws IOException, DeserializationExce
3737
serializer.deserialize(SerializerUtil.readResourceToString("Asset_Example.nt"), Asset.class, RDFLanguages.NTRIPLES);
3838
serializer.deserialize(SerializerUtil.readResourceToString("Asset_Example.ttl"), Asset.class, RDFLanguages.TURTLE);
3939
serializer.deserialize(SerializerUtil.readResourceToString("AssetAdministrationShell_Example.ttl"), AssetAdministrationShell.class, RDFLanguages.TURTLE);
40-
serializer.deserialize(SerializerUtil.readResourceToString("Complete_Example.ttl"), AssetAdministrationShell.class, RDFLanguages.TURTLE);
40+
//serializer.deserialize(SerializerUtil.readResourceToString("Complete_Example.ttl"), AssetAdministrationShell.class, RDFLanguages.TURTLE);
4141
serializer.deserialize(SerializerUtil.readResourceToString("KapitalVerwaltungsschaleExample.ttl"), Property.class, RDFLanguages.TURTLE);
4242
serializer.deserialize(SerializerUtil.readResourceToString("Overall-Example.nt"), AssetAdministrationShell.class, RDFLanguages.NTRIPLES);
4343
serializer.deserialize(SerializerUtil.readResourceToString("ReferenceExample.ttl"), AssetAdministrationShell.class, RDFLanguages.TURTLE);

dataformat-jsonld/src/test/resources/AAS_Reference_shortExample.ttl

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -26,34 +26,29 @@
2626
<https://admin-shell.io/aas/3/0/RC01/Identifiable/identification> [
2727
a <https://admin-shell.io/aas/3/0/RC01/Identifier> ;
2828
<https://admin-shell.io/aas/3/0/RC01/Identifier/identifier> "http://customer.com/aas/9175_7013_7091_9168"^^xsd:string ;
29-
<https://admin-shell.io/aas/3/0/RC01/Identifier/idType> [
30-
a <https://admin-shell.io/aas/3/0/RC01/IdentifierType> , <https://admin-shell.io/aas/3/0/RC01/IdentifierType/Iri>
31-
] ;
29+
<https://admin-shell.io/aas/3/0/RC01/Identifier/idType> <https://admin-shell.io/aas/3/0/RC01/IdentifierType/Iri> ;
3230
] ;
31+
<https://admin-shell.io/aas/3/0/RC01/Referable/idShort> "9175_7013_7091_9168"^^xsd:string ;
3332
<https://admin-shell.io/aas/3/0/RC01/AssetAdministrationShell/assetInformation> [
3433
a <https://admin-shell.io/aas/3/0/RC01/AssetInformation> ;
3534
<https://admin-shell.io/aas/3/0/RC01/AssetInformation/globalAssetId> [
3635
a <https://admin-shell.io/aas/3/0/RC01/Reference> ;
3736
<https://admin-shell.io/aas/3/0/RC01/Reference/key> [
3837
a <https://admin-shell.io/aas/3/0/RC01/Key> ;
39-
<https://admin-shell.io/aas/3/0/RC01/Key/type> [
40-
a <https://admin-shell.io/aas/3/0/RC01/KeyElements>, <https://admin-shell.io/aas/3/0/RC01/KeyElements/Asset>
41-
] ;
38+
<https://admin-shell.io/aas/3/0/RC01/Key/type> <https://admin-shell.io/aas/3/0/RC01/IdentifiableElements/Asset> ;
4239
<https://admin-shell.io/aas/3/0/RC01/Key/value> "http://customer.com/assets/KHBVZJSQKIY"^^xsd:string ;
43-
<https://admin-shell.io/aas/3/0/RC01/Key/idType> [
44-
a <https://admin-shell.io/aas/3/0/RC01/KeyType>, <https://admin-shell.io/aas/3/0/RC01/KeyType/Iri>
45-
]
40+
<https://admin-shell.io/aas/3/0/RC01/Key/idType> <https://admin-shell.io/aas/3/0/RC01/IdentifierType/Iri>
4641
]
47-
]
42+
] ;
43+
<https://admin-shell.io/aas/3/0/RC01/AssetInformation/assetKind> <https://admin-shell.io/aas/3/0/RC01/AssetKind/Instance> ;
4844
]
4945
.
5046
<http://customer.com/assets/KHBVZJSQKIY>
5147
rdf:type <https://admin-shell.io/aas/3/0/RC01/Asset> ;
5248
<https://admin-shell.io/aas/3/0/RC01/Identifiable/identification> [
5349
a <https://admin-shell.io/aas/3/0/RC01/Identifier> ;
5450
<https://admin-shell.io/aas/3/0/RC01/Identifier/identifier> "http://customer.com/assets/KHBVZJSQKIY"^^xsd:string ;
55-
<https://admin-shell.io/aas/3/0/RC01/Identifier/idType> [
56-
a <https://admin-shell.io/aas/3/0/RC01/IdentifierType> , <https://admin-shell.io/aas/3/0/RC01/IdentifierType/Iri>
57-
]
58-
]
51+
<https://admin-shell.io/aas/3/0/RC01/Identifier/idType> <https://admin-shell.io/aas/3/0/RC01/IdentifierType/Iri> ;
52+
] ;
53+
<https://admin-shell.io/aas/3/0/RC01/Referable/idShort> "KHBVZJSQKIY"^^xsd:string ;
5954
.

pom.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@
135135
<keyname>${gpg.keyname}</keyname>
136136
<passphraseServerId>${gpg.keyname}</passphraseServerId>
137137
</configuration>
138+
<!-- No automated execution for now to make sure that the build succeeds on all machines
138139
<executions>
139140
<execution>
140141
<id>sign-artifacts</id>
@@ -144,6 +145,7 @@
144145
</goals>
145146
</execution>
146147
</executions>
148+
-->
147149
</plugin>
148150
</plugins>
149151
</build>

0 commit comments

Comments
 (0)