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 new file mode 100644 index 000000000..6a33d8b2d --- /dev/null +++ b/basyx.aasdiscoveryservice/basyx.aasdiscoveryservice-http/src/main/java/org/eclipse/digitaltwin/basyx/aasdiscoveryservice/http/AasDiscoveryServiceDescriptionConfiguration.java @@ -0,0 +1,17 @@ +package org.eclipse.digitaltwin.basyx.aasdiscoveryservice.http; + +import java.util.List; +import java.util.TreeSet; + +import org.eclipse.digitaltwin.basyx.http.description.Profile; +import org.eclipse.digitaltwin.basyx.http.description.ProfileDeclaration; +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; + +@Configuration +public class AasDiscoveryServiceDescriptionConfiguration { + @Bean + public ProfileDeclaration aasDiscoveryProfiles() { + return () -> new TreeSet<>(List.of(Profile.DISCOVERYSERVICESPECIFICATION_SSP_001)); + } +} \ No newline at end of file