From fb843d9ae4c2004240c6428c1c54d392ed5d9259 Mon Sep 17 00:00:00 2001 From: FriedJannik Date: Mon, 12 Jan 2026 08:50:19 +0100 Subject: [PATCH 1/8] Adds BaSyx SSP001 Profile to all Components --- ...coveryServiceDescriptionConfiguration.java | 2 +- .../api/BasyxDescriptionApiDelegate.java | 2 ++ .../open-api/patch-base-extensions.yaml | 27 ++++++++++++++++++- ...sitoryServiceDescriptionConfiguration.java | 2 +- ...ASXFileServerDescriptionConfiguration.java | 2 +- .../basyx/http/description/Profile.java | 6 ++++- ...sitoryServiceDescriptionConfiguration.java | 2 +- .../api/BasyxDescriptionApiDelegate.java | 1 + .../open-api/patch-base-extensions.yaml | 25 +++++++++++++++++ ...sitoryServiceDescriptionConfiguration.java | 2 +- 10 files changed, 64 insertions(+), 7 deletions(-) diff --git a/basyx.aasdiscoveryservice/basyx.aasdiscoveryservice-http/src/main/java/org/eclipse/digitaltwin/basyx/aasdiscoveryservice/http/AasDiscoveryServiceDescriptionConfiguration.java b/basyx.aasdiscoveryservice/basyx.aasdiscoveryservice-http/src/main/java/org/eclipse/digitaltwin/basyx/aasdiscoveryservice/http/AasDiscoveryServiceDescriptionConfiguration.java index 6a33d8b2d..238144159 100644 --- a/basyx.aasdiscoveryservice/basyx.aasdiscoveryservice-http/src/main/java/org/eclipse/digitaltwin/basyx/aasdiscoveryservice/http/AasDiscoveryServiceDescriptionConfiguration.java +++ b/basyx.aasdiscoveryservice/basyx.aasdiscoveryservice-http/src/main/java/org/eclipse/digitaltwin/basyx/aasdiscoveryservice/http/AasDiscoveryServiceDescriptionConfiguration.java @@ -12,6 +12,6 @@ public class AasDiscoveryServiceDescriptionConfiguration { @Bean public ProfileDeclaration aasDiscoveryProfiles() { - return () -> new TreeSet<>(List.of(Profile.DISCOVERYSERVICESPECIFICATION_SSP_001)); + return () -> new TreeSet<>(List.of(Profile.DISCOVERYSERVICESPECIFICATION_SSP_001, Profile.BASYXSERVICESPECIFICATION_SSP_001)); } } \ No newline at end of file diff --git a/basyx.aasregistry/basyx.aasregistry-service/src/main/java/org/eclipse/digitaltwin/basyx/aasregistry/service/api/BasyxDescriptionApiDelegate.java b/basyx.aasregistry/basyx.aasregistry-service/src/main/java/org/eclipse/digitaltwin/basyx/aasregistry/service/api/BasyxDescriptionApiDelegate.java index d259e40ce..eb4adee0a 100644 --- a/basyx.aasregistry/basyx.aasregistry-service/src/main/java/org/eclipse/digitaltwin/basyx/aasregistry/service/api/BasyxDescriptionApiDelegate.java +++ b/basyx.aasregistry/basyx.aasregistry-service/src/main/java/org/eclipse/digitaltwin/basyx/aasregistry/service/api/BasyxDescriptionApiDelegate.java @@ -29,6 +29,7 @@ import org.eclipse.digitaltwin.basyx.aasregistry.model.ServiceDescription; import org.eclipse.digitaltwin.basyx.aasregistry.model.ServiceDescription.ProfilesEnum; +import org.eclipse.digitaltwin.basyx.http.description.Profile; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; import org.springframework.http.HttpStatus; @@ -48,6 +49,7 @@ public void setValues(@Value("${description.profiles}") String[] profiles) { ProfilesEnum value = getProfile(eachProfile); profilesList.add(value); } + profilesList.add(ProfilesEnum.BASYXSERVICESPECIFICATION_SSP_001); description.setProfiles(profilesList); } diff --git a/basyx.aasregistry/open-api/patch-base-extensions.yaml b/basyx.aasregistry/open-api/patch-base-extensions.yaml index a6ca0bb6f..3cbb2d151 100644 --- a/basyx.aasregistry/open-api/patch-base-extensions.yaml +++ b/basyx.aasregistry/open-api/patch-base-extensions.yaml @@ -188,7 +188,32 @@ value: date-time ## alter ServiceDescription - op: remove - path: /components/schemas/ServiceDescription/example + path: /components/schemas/ServiceDescription/example +- op: add + path: /components/schemas/ServiceDescription/properties/profiles/items/enum/- + value: https://basyx.org/aas/API/3/0/BaSyxServiceSpecification/SSP-001 +- op: add + path: /components/schemas/ServiceDescription/properties/profiles/items/x-enum-varnames + value: + - ASSETADMINISTRATIONSHELLSERVICESPECIFICATION_SSP_001 + - ASSETADMINISTRATIONSHELLSERVICESPECIFICATION_SSP_002 + - SUBMODELSERVICESPECIFICATION_SSP_001 + - SUBMODELSERVICESPECIFICATION_SSP_002 + - SUBMODELSERVICESPECIFICATION_SSP_003 + - AASXFILESERVERSERVICESPECIFICATION_SSP_001 + - ASSETADMINISTRATIONSHELLREGISTRYSERVICESPECIFICATION_SSP_001 + - ASSETADMINISTRATIONSHELLREGISTRYSERVICESPECIFICATION_SSP_002 + - SUBMODELREGISTRYSERVICESPECIFICATION_SSP_001 + - SUBMODELREGISTRYSERVICESPECIFICATION_SSP_002 + - DISCOVERYSERVICESPECIFICATION_SSP_001 + - ASSETADMINISTRATIONSHELLREPOSITORYSERVICESPECIFICATION_SSP_001 + - ASSETADMINISTRATIONSHELLREPOSITORYSERVICESPECIFICATION_SSP_002 + - SUBMODELREPOSITORYSERVICESPECIFICATION_SSP_001 + - SUBMODELREPOSITORYSERVICESPECIFICATION_SSP_002 + - SUBMODELREPOSITORYSERVICESPECIFICATION_SSP_003 + - SUBMODELREPOSITORYSERVICESPECIFICATION_SSP_004 + - CONCEPTDESCRIPTIONSERVICESPECIFICATION_SSP_001 + - BASYXSERVICESPECIFICATION_SSP_001 ## PagedResult_paging_metadata - op: remove path: /components/schemas/PagedResult_paging_metadata/properties/cursor/example diff --git a/basyx.aasrepository/basyx.aasrepository-http/src/main/java/org/eclipse/digitaltwin/basyx/aasrepository/http/AasRepositoryServiceDescriptionConfiguration.java b/basyx.aasrepository/basyx.aasrepository-http/src/main/java/org/eclipse/digitaltwin/basyx/aasrepository/http/AasRepositoryServiceDescriptionConfiguration.java index 7123e96a1..51013f56e 100644 --- a/basyx.aasrepository/basyx.aasrepository-http/src/main/java/org/eclipse/digitaltwin/basyx/aasrepository/http/AasRepositoryServiceDescriptionConfiguration.java +++ b/basyx.aasrepository/basyx.aasrepository-http/src/main/java/org/eclipse/digitaltwin/basyx/aasrepository/http/AasRepositoryServiceDescriptionConfiguration.java @@ -13,6 +13,6 @@ public class AasRepositoryServiceDescriptionConfiguration { @Bean public ProfileDeclaration aasRepositoryProfiles() { return () -> new TreeSet<>(List.of(Profile.ASSETADMINISTRATIONSHELLREPOSITORYSERVICESPECIFICATION_SSP_001, - Profile.ASSETADMINISTRATIONSHELLREPOSITORYSERVICESPECIFICATION_SSP_002)); + Profile.ASSETADMINISTRATIONSHELLREPOSITORYSERVICESPECIFICATION_SSP_002, Profile.BASYXSERVICESPECIFICATION_SSP_001)); } } diff --git a/basyx.aasxfileserver/basyx.aasxfileserver-http/src/main/java/org/eclipse/digitaltwin/basyx/aasxfileserver/http/AASXFileServerDescriptionConfiguration.java b/basyx.aasxfileserver/basyx.aasxfileserver-http/src/main/java/org/eclipse/digitaltwin/basyx/aasxfileserver/http/AASXFileServerDescriptionConfiguration.java index 1d4c88c95..0e7b18b2c 100644 --- a/basyx.aasxfileserver/basyx.aasxfileserver-http/src/main/java/org/eclipse/digitaltwin/basyx/aasxfileserver/http/AASXFileServerDescriptionConfiguration.java +++ b/basyx.aasxfileserver/basyx.aasxfileserver-http/src/main/java/org/eclipse/digitaltwin/basyx/aasxfileserver/http/AASXFileServerDescriptionConfiguration.java @@ -12,6 +12,6 @@ public class AASXFileServerDescriptionConfiguration { @Bean public ProfileDeclaration aasxFileServerProfiles() { - return () -> new TreeSet<>(List.of(Profile.AASXFILESERVERSERVICESPECIFICATION_SSP_001)); + return () -> new TreeSet<>(List.of(Profile.AASXFILESERVERSERVICESPECIFICATION_SSP_001, Profile.BASYXSERVICESPECIFICATION_SSP_001)); } } \ No newline at end of file diff --git a/basyx.common/basyx.http/src/main/java/org/eclipse/digitaltwin/basyx/http/description/Profile.java b/basyx.common/basyx.http/src/main/java/org/eclipse/digitaltwin/basyx/http/description/Profile.java index c7834f05c..7754099a8 100644 --- a/basyx.common/basyx.http/src/main/java/org/eclipse/digitaltwin/basyx/http/description/Profile.java +++ b/basyx.common/basyx.http/src/main/java/org/eclipse/digitaltwin/basyx/http/description/Profile.java @@ -56,7 +56,11 @@ public enum Profile implements StandardizedLiteralEnum { "https://admin-shell.io/aas/API/3/0/SubmodelRepositoryServiceSpecification/SSP-004"), CONCEPTDESCRIPTIONSERVICESPECIFICATION_SSP_001( - "https://admin-shell.io/aas/API/3/0/ConceptDescriptionServiceSpecification/SSP-001"); + "https://admin-shell.io/aas/API/3/0/ConceptDescriptionServiceSpecification/SSP-001"), + + BASYXSERVICESPECIFICATION_SSP_001( + "https://basyx.org/aas/API/3/0/BaSyxServiceSpecification/SSP-001" + ); private String value; diff --git a/basyx.conceptdescriptionrepository/basyx.conceptdescriptionrepository-http/src/main/java/org/eclipse/digitaltwin/basyx/conceptdescriptionrepository/http/ConceptDescriptionRepositoryServiceDescriptionConfiguration.java b/basyx.conceptdescriptionrepository/basyx.conceptdescriptionrepository-http/src/main/java/org/eclipse/digitaltwin/basyx/conceptdescriptionrepository/http/ConceptDescriptionRepositoryServiceDescriptionConfiguration.java index 0bce537ef..41a98142a 100644 --- a/basyx.conceptdescriptionrepository/basyx.conceptdescriptionrepository-http/src/main/java/org/eclipse/digitaltwin/basyx/conceptdescriptionrepository/http/ConceptDescriptionRepositoryServiceDescriptionConfiguration.java +++ b/basyx.conceptdescriptionrepository/basyx.conceptdescriptionrepository-http/src/main/java/org/eclipse/digitaltwin/basyx/conceptdescriptionrepository/http/ConceptDescriptionRepositoryServiceDescriptionConfiguration.java @@ -12,6 +12,6 @@ public class ConceptDescriptionRepositoryServiceDescriptionConfiguration { @Bean public ProfileDeclaration cdRepositoryProfiles() { - return () -> new TreeSet<>(List.of(Profile.CONCEPTDESCRIPTIONSERVICESPECIFICATION_SSP_001)); + return () -> new TreeSet<>(List.of(Profile.CONCEPTDESCRIPTIONSERVICESPECIFICATION_SSP_001, Profile.BASYXSERVICESPECIFICATION_SSP_001)); } } diff --git a/basyx.submodelregistry/basyx.submodelregistry-service/src/main/java/org/eclipse/digitaltwin/basyx/submodelregistry/service/api/BasyxDescriptionApiDelegate.java b/basyx.submodelregistry/basyx.submodelregistry-service/src/main/java/org/eclipse/digitaltwin/basyx/submodelregistry/service/api/BasyxDescriptionApiDelegate.java index d5fabdb98..eca033421 100644 --- a/basyx.submodelregistry/basyx.submodelregistry-service/src/main/java/org/eclipse/digitaltwin/basyx/submodelregistry/service/api/BasyxDescriptionApiDelegate.java +++ b/basyx.submodelregistry/basyx.submodelregistry-service/src/main/java/org/eclipse/digitaltwin/basyx/submodelregistry/service/api/BasyxDescriptionApiDelegate.java @@ -48,6 +48,7 @@ public void setValues(@Value("${description.profiles}") String[] profiles) { ProfilesEnum value = getProfile(eachProfile); profilesList.add(value); } + profilesList.add(ProfilesEnum.BASYXSERVICESPECIFICATION_SSP_001); description.setProfiles(profilesList); } diff --git a/basyx.submodelregistry/open-api/patch-base-extensions.yaml b/basyx.submodelregistry/open-api/patch-base-extensions.yaml index dab515fe5..0d3b37a53 100644 --- a/basyx.submodelregistry/open-api/patch-base-extensions.yaml +++ b/basyx.submodelregistry/open-api/patch-base-extensions.yaml @@ -243,3 +243,28 @@ path: /paths/~1description/get/tags value: - Submodel Registry +- op: add + path: /components/schemas/ServiceDescription/properties/profiles/items/enum/- + value: https://basyx.org/aas/API/3/0/BaSyxServiceSpecification/SSP-001 +- op: add + path: /components/schemas/ServiceDescription/properties/profiles/items/x-enum-varnames + value: + - ASSETADMINISTRATIONSHELLSERVICESPECIFICATION_SSP_001 + - ASSETADMINISTRATIONSHELLSERVICESPECIFICATION_SSP_002 + - SUBMODELSERVICESPECIFICATION_SSP_001 + - SUBMODELSERVICESPECIFICATION_SSP_002 + - SUBMODELSERVICESPECIFICATION_SSP_003 + - AASXFILESERVERSERVICESPECIFICATION_SSP_001 + - ASSETADMINISTRATIONSHELLREGISTRYSERVICESPECIFICATION_SSP_001 + - ASSETADMINISTRATIONSHELLREGISTRYSERVICESPECIFICATION_SSP_002 + - SUBMODELREGISTRYSERVICESPECIFICATION_SSP_001 + - SUBMODELREGISTRYSERVICESPECIFICATION_SSP_002 + - DISCOVERYSERVICESPECIFICATION_SSP_001 + - ASSETADMINISTRATIONSHELLREPOSITORYSERVICESPECIFICATION_SSP_001 + - ASSETADMINISTRATIONSHELLREPOSITORYSERVICESPECIFICATION_SSP_002 + - SUBMODELREPOSITORYSERVICESPECIFICATION_SSP_001 + - SUBMODELREPOSITORYSERVICESPECIFICATION_SSP_002 + - SUBMODELREPOSITORYSERVICESPECIFICATION_SSP_003 + - SUBMODELREPOSITORYSERVICESPECIFICATION_SSP_004 + - CONCEPTDESCRIPTIONSERVICESPECIFICATION_SSP_001 + - BASYXSERVICESPECIFICATION_SSP_001 diff --git a/basyx.submodelrepository/basyx.submodelrepository-http/src/main/java/org/eclipse/digitaltwin/basyx/submodelrepository/http/SubmodelRepositoryServiceDescriptionConfiguration.java b/basyx.submodelrepository/basyx.submodelrepository-http/src/main/java/org/eclipse/digitaltwin/basyx/submodelrepository/http/SubmodelRepositoryServiceDescriptionConfiguration.java index 7442ecb83..8b0bd04f6 100644 --- a/basyx.submodelrepository/basyx.submodelrepository-http/src/main/java/org/eclipse/digitaltwin/basyx/submodelrepository/http/SubmodelRepositoryServiceDescriptionConfiguration.java +++ b/basyx.submodelrepository/basyx.submodelrepository-http/src/main/java/org/eclipse/digitaltwin/basyx/submodelrepository/http/SubmodelRepositoryServiceDescriptionConfiguration.java @@ -14,6 +14,6 @@ public class SubmodelRepositoryServiceDescriptionConfiguration { public ProfileDeclaration smRepositoryProfiles() { return () -> new TreeSet<>(List.of(Profile.SUBMODELREPOSITORYSERVICESPECIFICATION_SSP_001, Profile.SUBMODELREPOSITORYSERVICESPECIFICATION_SSP_002, Profile.SUBMODELREPOSITORYSERVICESPECIFICATION_SSP_003, - Profile.SUBMODELREPOSITORYSERVICESPECIFICATION_SSP_004)); + Profile.SUBMODELREPOSITORYSERVICESPECIFICATION_SSP_004, Profile.BASYXSERVICESPECIFICATION_SSP_001)); } } From 2c6a41c8a3d9b90840a7566c209aa56165fe0fc1 Mon Sep 17 00:00:00 2001 From: Jannik Fried Date: Mon, 12 Jan 2026 08:57:05 +0100 Subject: [PATCH 2/8] Update basyx.aasregistry/basyx.aasregistry-service/src/main/java/org/eclipse/digitaltwin/basyx/aasregistry/service/api/BasyxDescriptionApiDelegate.java Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- .../aasregistry/service/api/BasyxDescriptionApiDelegate.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/basyx.aasregistry/basyx.aasregistry-service/src/main/java/org/eclipse/digitaltwin/basyx/aasregistry/service/api/BasyxDescriptionApiDelegate.java b/basyx.aasregistry/basyx.aasregistry-service/src/main/java/org/eclipse/digitaltwin/basyx/aasregistry/service/api/BasyxDescriptionApiDelegate.java index eb4adee0a..b12e393d9 100644 --- a/basyx.aasregistry/basyx.aasregistry-service/src/main/java/org/eclipse/digitaltwin/basyx/aasregistry/service/api/BasyxDescriptionApiDelegate.java +++ b/basyx.aasregistry/basyx.aasregistry-service/src/main/java/org/eclipse/digitaltwin/basyx/aasregistry/service/api/BasyxDescriptionApiDelegate.java @@ -49,7 +49,9 @@ public void setValues(@Value("${description.profiles}") String[] profiles) { ProfilesEnum value = getProfile(eachProfile); profilesList.add(value); } - profilesList.add(ProfilesEnum.BASYXSERVICESPECIFICATION_SSP_001); + if (!profilesList.contains(ProfilesEnum.BASYXSERVICESPECIFICATION_SSP_001)) { + profilesList.add(ProfilesEnum.BASYXSERVICESPECIFICATION_SSP_001); + } description.setProfiles(profilesList); } From 57d4efb4e9a78dc6fe16c57c9a9aa26564ca3c5e Mon Sep 17 00:00:00 2001 From: Jannik Fried Date: Mon, 12 Jan 2026 08:57:13 +0100 Subject: [PATCH 3/8] Update basyx.aasregistry/basyx.aasregistry-service/src/main/java/org/eclipse/digitaltwin/basyx/aasregistry/service/api/BasyxDescriptionApiDelegate.java Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- .../aasregistry/service/api/BasyxDescriptionApiDelegate.java | 1 - 1 file changed, 1 deletion(-) diff --git a/basyx.aasregistry/basyx.aasregistry-service/src/main/java/org/eclipse/digitaltwin/basyx/aasregistry/service/api/BasyxDescriptionApiDelegate.java b/basyx.aasregistry/basyx.aasregistry-service/src/main/java/org/eclipse/digitaltwin/basyx/aasregistry/service/api/BasyxDescriptionApiDelegate.java index b12e393d9..25f82f922 100644 --- a/basyx.aasregistry/basyx.aasregistry-service/src/main/java/org/eclipse/digitaltwin/basyx/aasregistry/service/api/BasyxDescriptionApiDelegate.java +++ b/basyx.aasregistry/basyx.aasregistry-service/src/main/java/org/eclipse/digitaltwin/basyx/aasregistry/service/api/BasyxDescriptionApiDelegate.java @@ -29,7 +29,6 @@ import org.eclipse.digitaltwin.basyx.aasregistry.model.ServiceDescription; import org.eclipse.digitaltwin.basyx.aasregistry.model.ServiceDescription.ProfilesEnum; -import org.eclipse.digitaltwin.basyx.http.description.Profile; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; import org.springframework.http.HttpStatus; From 5ba866f95a8db3b0ebcce990e08f53a330cb2190 Mon Sep 17 00:00:00 2001 From: Jannik Fried Date: Mon, 12 Jan 2026 08:57:23 +0100 Subject: [PATCH 4/8] Update basyx.common/basyx.http/src/main/java/org/eclipse/digitaltwin/basyx/http/description/Profile.java Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- .../org/eclipse/digitaltwin/basyx/http/description/Profile.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/basyx.common/basyx.http/src/main/java/org/eclipse/digitaltwin/basyx/http/description/Profile.java b/basyx.common/basyx.http/src/main/java/org/eclipse/digitaltwin/basyx/http/description/Profile.java index 7754099a8..3fd92354a 100644 --- a/basyx.common/basyx.http/src/main/java/org/eclipse/digitaltwin/basyx/http/description/Profile.java +++ b/basyx.common/basyx.http/src/main/java/org/eclipse/digitaltwin/basyx/http/description/Profile.java @@ -59,7 +59,7 @@ public enum Profile implements StandardizedLiteralEnum { "https://admin-shell.io/aas/API/3/0/ConceptDescriptionServiceSpecification/SSP-001"), BASYXSERVICESPECIFICATION_SSP_001( - "https://basyx.org/aas/API/3/0/BaSyxServiceSpecification/SSP-001" + "https://basyx.org/aas/API/3/0/BaSyxServiceSpecification/SSP-001" ); private String value; From 105342c451be25ff08b75c0e1b6a18035a0b75ad Mon Sep 17 00:00:00 2001 From: Jannik Fried Date: Mon, 12 Jan 2026 08:57:28 +0100 Subject: [PATCH 5/8] Update basyx.submodelregistry/basyx.submodelregistry-service/src/main/java/org/eclipse/digitaltwin/basyx/submodelregistry/service/api/BasyxDescriptionApiDelegate.java Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- .../service/api/BasyxDescriptionApiDelegate.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/basyx.submodelregistry/basyx.submodelregistry-service/src/main/java/org/eclipse/digitaltwin/basyx/submodelregistry/service/api/BasyxDescriptionApiDelegate.java b/basyx.submodelregistry/basyx.submodelregistry-service/src/main/java/org/eclipse/digitaltwin/basyx/submodelregistry/service/api/BasyxDescriptionApiDelegate.java index eca033421..8e17fdc08 100644 --- a/basyx.submodelregistry/basyx.submodelregistry-service/src/main/java/org/eclipse/digitaltwin/basyx/submodelregistry/service/api/BasyxDescriptionApiDelegate.java +++ b/basyx.submodelregistry/basyx.submodelregistry-service/src/main/java/org/eclipse/digitaltwin/basyx/submodelregistry/service/api/BasyxDescriptionApiDelegate.java @@ -48,7 +48,9 @@ public void setValues(@Value("${description.profiles}") String[] profiles) { ProfilesEnum value = getProfile(eachProfile); profilesList.add(value); } - profilesList.add(ProfilesEnum.BASYXSERVICESPECIFICATION_SSP_001); + if (!profilesList.contains(ProfilesEnum.BASYXSERVICESPECIFICATION_SSP_001)) { + profilesList.add(ProfilesEnum.BASYXSERVICESPECIFICATION_SSP_001); + } description.setProfiles(profilesList); } From 19e87e84e7d8315150b41a3956e9cd2b48e76d06 Mon Sep 17 00:00:00 2001 From: FriedJannik Date: Mon, 12 Jan 2026 09:13:15 +0100 Subject: [PATCH 6/8] Adapts Tests --- .../aasregistry/service/tests/DescriptionProfilesTest.java | 2 +- .../submodelregistry/service/tests/DescriptionProfilesTest.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/basyx.aasregistry/basyx.aasregistry-service/src/test/java/org/eclipse/digitaltwin/basyx/aasregistry/service/tests/DescriptionProfilesTest.java b/basyx.aasregistry/basyx.aasregistry-service/src/test/java/org/eclipse/digitaltwin/basyx/aasregistry/service/tests/DescriptionProfilesTest.java index 2352c4cd1..480ad1c3b 100644 --- a/basyx.aasregistry/basyx.aasregistry-service/src/test/java/org/eclipse/digitaltwin/basyx/aasregistry/service/tests/DescriptionProfilesTest.java +++ b/basyx.aasregistry/basyx.aasregistry-service/src/test/java/org/eclipse/digitaltwin/basyx/aasregistry/service/tests/DescriptionProfilesTest.java @@ -55,7 +55,7 @@ @RunWith(SpringRunner.class) @WebMvcTest(DescriptionApiController.class) @DirtiesContext(classMode = ClassMode.AFTER_CLASS) -@TestPropertySource(properties = { "description.profiles=https://admin-shell.io/aas/API/3/0/AssetAdministrationShellRegistryServiceSpecification/SSP-001,https://admin-shell.io/aas/API/3/0/SubmodelRegistryServiceSpecification/SSP-001" }) +@TestPropertySource(properties = { "description.profiles=https://admin-shell.io/aas/API/3/0/AssetAdministrationShellRegistryServiceSpecification/SSP-001,https://admin-shell.io/aas/API/3/0/SubmodelRegistryServiceSpecification/SSP-001,https://basyx.org/aas/API/3/0/BaSyxServiceSpecification/SSP-001" }) public class DescriptionProfilesTest { @MockBean diff --git a/basyx.submodelregistry/basyx.submodelregistry-service/src/test/java/org/eclipse/digitaltwin/basyx/submodelregistry/service/tests/DescriptionProfilesTest.java b/basyx.submodelregistry/basyx.submodelregistry-service/src/test/java/org/eclipse/digitaltwin/basyx/submodelregistry/service/tests/DescriptionProfilesTest.java index 04f0c7c2b..446603e21 100644 --- a/basyx.submodelregistry/basyx.submodelregistry-service/src/test/java/org/eclipse/digitaltwin/basyx/submodelregistry/service/tests/DescriptionProfilesTest.java +++ b/basyx.submodelregistry/basyx.submodelregistry-service/src/test/java/org/eclipse/digitaltwin/basyx/submodelregistry/service/tests/DescriptionProfilesTest.java @@ -55,7 +55,7 @@ @RunWith(SpringRunner.class) @WebMvcTest(DescriptionApiController.class) @DirtiesContext(classMode = ClassMode.AFTER_CLASS) -@TestPropertySource(properties = { "description.profiles=https://admin-shell.io/aas/API/3/0/SubmodelRegistryServiceSpecification/SSP-001,https://admin-shell.io/aas/API/3/0/DiscoveryServiceSpecification/SSP-001" }) +@TestPropertySource(properties = { "description.profiles=https://admin-shell.io/aas/API/3/0/SubmodelRegistryServiceSpecification/SSP-001,https://admin-shell.io/aas/API/3/0/DiscoveryServiceSpecification/SSP-001,https://basyx.org/aas/API/3/0/BaSyxServiceSpecification/SSP-001" }) public class DescriptionProfilesTest { @MockBean From ccce9ac6792d05b203ccfc4d40e5ecd086be0706 Mon Sep 17 00:00:00 2001 From: FriedJannik Date: Mon, 12 Jan 2026 10:27:02 +0100 Subject: [PATCH 7/8] Adapts Tests --- .../service/tests/integration/BaseIntegrationTest.java | 5 +++-- .../service/tests/integration/BaseIntegrationTest.java | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/basyx.aasregistry/basyx.aasregistry-service-basetests/src/main/java/org/eclipse/digitaltwin/basyx/aasregistry/service/tests/integration/BaseIntegrationTest.java b/basyx.aasregistry/basyx.aasregistry-service-basetests/src/main/java/org/eclipse/digitaltwin/basyx/aasregistry/service/tests/integration/BaseIntegrationTest.java index 3c571ae36..2aaea35cb 100644 --- a/basyx.aasregistry/basyx.aasregistry-service-basetests/src/main/java/org/eclipse/digitaltwin/basyx/aasregistry/service/tests/integration/BaseIntegrationTest.java +++ b/basyx.aasregistry/basyx.aasregistry-service-basetests/src/main/java/org/eclipse/digitaltwin/basyx/aasregistry/service/tests/integration/BaseIntegrationTest.java @@ -81,6 +81,7 @@ import org.eclipse.digitaltwin.basyx.aasregistry.client.model.SortingPath; import org.eclipse.digitaltwin.basyx.aasregistry.client.model.SpecificAssetId; import org.eclipse.digitaltwin.basyx.aasregistry.client.model.SubmodelDescriptor; +import org.eclipse.digitaltwin.basyx.aasregistry.model.ServiceDescription; import org.eclipse.digitaltwin.basyx.aasregistry.paths.AasRegistryPaths; import org.eclipse.digitaltwin.basyx.aasregistry.service.events.RegistryEvent; import org.eclipse.digitaltwin.basyx.aasregistry.service.events.RegistryEvent.EventType; @@ -170,8 +171,8 @@ public void whenGetDescription_thenDescriptionIsReturned() throws ApiException { ApiResponse entity = api.getDescriptionWithHttpInfo(); assertThat(entity.getStatusCode()).isEqualTo(OK); List profiles = entity.getData().getProfiles(); - assertThat(profiles).asList().hasSize(1); - assertThat(profiles).asList().containsExactlyInAnyOrder(ProfilesEnum.ASSETADMINISTRATIONSHELLREGISTRYSERVICESPECIFICATION_SSP_001); + assertThat(profiles).asList().hasSize(2); + assertThat(profiles).asList().containsExactlyInAnyOrder(ProfilesEnum.ASSETADMINISTRATIONSHELLREGISTRYSERVICESPECIFICATION_SSP_001, ProfilesEnum.BASYXSERVICESPECIFICATION_SSP_001); } @Test diff --git a/basyx.submodelregistry/basyx.submodelregistry-service-basetests/src/main/java/org/eclipse/digitaltwin/basyx/submodelregistry/service/tests/integration/BaseIntegrationTest.java b/basyx.submodelregistry/basyx.submodelregistry-service-basetests/src/main/java/org/eclipse/digitaltwin/basyx/submodelregistry/service/tests/integration/BaseIntegrationTest.java index 195e2b78c..c8636618c 100644 --- a/basyx.submodelregistry/basyx.submodelregistry-service-basetests/src/main/java/org/eclipse/digitaltwin/basyx/submodelregistry/service/tests/integration/BaseIntegrationTest.java +++ b/basyx.submodelregistry/basyx.submodelregistry-service-basetests/src/main/java/org/eclipse/digitaltwin/basyx/submodelregistry/service/tests/integration/BaseIntegrationTest.java @@ -67,6 +67,7 @@ import org.eclipse.digitaltwin.basyx.submodelregistry.client.model.ServiceDescription; import org.eclipse.digitaltwin.basyx.submodelregistry.client.model.ServiceDescription.ProfilesEnum; import org.eclipse.digitaltwin.basyx.submodelregistry.client.model.SubmodelDescriptor; +import org.eclipse.digitaltwin.basyx.submodelregistry.model.ServiceDescription; import org.eclipse.digitaltwin.basyx.submodelregistry.service.events.RegistryEvent; import org.eclipse.digitaltwin.basyx.submodelregistry.service.events.RegistryEvent.EventType; import org.eclipse.digitaltwin.basyx.submodelregistry.service.tests.TestResourcesLoader; @@ -153,8 +154,8 @@ public void whenGetDescription_thenDescriptionIsReturned() throws ApiException { ApiResponse entity = api.getDescriptionWithHttpInfo(); assertThat(entity.getStatusCode()).isEqualTo(OK); List profiles = entity.getData().getProfiles(); - assertThat(profiles).asList().hasSize(1); - assertThat(profiles).asList().containsExactlyInAnyOrder(ProfilesEnum.SUBMODELREGISTRYSERVICESPECIFICATION_SSP_001); + assertThat(profiles).asList().hasSize(2); + assertThat(profiles).asList().containsExactlyInAnyOrder(ProfilesEnum.SUBMODELREGISTRYSERVICESPECIFICATION_SSP_001, ProfilesEnum.BASYXSERVICESPECIFICATION_SSP_001); } @Test From 871a0c719d1e99fefddf726016c09adf09809d4a Mon Sep 17 00:00:00 2001 From: FriedJannik Date: Mon, 12 Jan 2026 10:57:04 +0100 Subject: [PATCH 8/8] Adapts Tests --- .../service/tests/integration/BaseIntegrationTest.java | 1 - .../service/tests/integration/BaseIntegrationTest.java | 1 - 2 files changed, 2 deletions(-) diff --git a/basyx.aasregistry/basyx.aasregistry-service-basetests/src/main/java/org/eclipse/digitaltwin/basyx/aasregistry/service/tests/integration/BaseIntegrationTest.java b/basyx.aasregistry/basyx.aasregistry-service-basetests/src/main/java/org/eclipse/digitaltwin/basyx/aasregistry/service/tests/integration/BaseIntegrationTest.java index 2aaea35cb..f5503018c 100644 --- a/basyx.aasregistry/basyx.aasregistry-service-basetests/src/main/java/org/eclipse/digitaltwin/basyx/aasregistry/service/tests/integration/BaseIntegrationTest.java +++ b/basyx.aasregistry/basyx.aasregistry-service-basetests/src/main/java/org/eclipse/digitaltwin/basyx/aasregistry/service/tests/integration/BaseIntegrationTest.java @@ -81,7 +81,6 @@ import org.eclipse.digitaltwin.basyx.aasregistry.client.model.SortingPath; import org.eclipse.digitaltwin.basyx.aasregistry.client.model.SpecificAssetId; import org.eclipse.digitaltwin.basyx.aasregistry.client.model.SubmodelDescriptor; -import org.eclipse.digitaltwin.basyx.aasregistry.model.ServiceDescription; import org.eclipse.digitaltwin.basyx.aasregistry.paths.AasRegistryPaths; import org.eclipse.digitaltwin.basyx.aasregistry.service.events.RegistryEvent; import org.eclipse.digitaltwin.basyx.aasregistry.service.events.RegistryEvent.EventType; diff --git a/basyx.submodelregistry/basyx.submodelregistry-service-basetests/src/main/java/org/eclipse/digitaltwin/basyx/submodelregistry/service/tests/integration/BaseIntegrationTest.java b/basyx.submodelregistry/basyx.submodelregistry-service-basetests/src/main/java/org/eclipse/digitaltwin/basyx/submodelregistry/service/tests/integration/BaseIntegrationTest.java index c8636618c..1fc1daa0f 100644 --- a/basyx.submodelregistry/basyx.submodelregistry-service-basetests/src/main/java/org/eclipse/digitaltwin/basyx/submodelregistry/service/tests/integration/BaseIntegrationTest.java +++ b/basyx.submodelregistry/basyx.submodelregistry-service-basetests/src/main/java/org/eclipse/digitaltwin/basyx/submodelregistry/service/tests/integration/BaseIntegrationTest.java @@ -67,7 +67,6 @@ import org.eclipse.digitaltwin.basyx.submodelregistry.client.model.ServiceDescription; import org.eclipse.digitaltwin.basyx.submodelregistry.client.model.ServiceDescription.ProfilesEnum; import org.eclipse.digitaltwin.basyx.submodelregistry.client.model.SubmodelDescriptor; -import org.eclipse.digitaltwin.basyx.submodelregistry.model.ServiceDescription; import org.eclipse.digitaltwin.basyx.submodelregistry.service.events.RegistryEvent; import org.eclipse.digitaltwin.basyx.submodelregistry.service.events.RegistryEvent.EventType; import org.eclipse.digitaltwin.basyx.submodelregistry.service.tests.TestResourcesLoader;