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 new file mode 100644 index 000000000..1d4c88c95 --- /dev/null +++ b/basyx.aasxfileserver/basyx.aasxfileserver-http/src/main/java/org/eclipse/digitaltwin/basyx/aasxfileserver/http/AASXFileServerDescriptionConfiguration.java @@ -0,0 +1,17 @@ +package org.eclipse.digitaltwin.basyx.aasxfileserver.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 AASXFileServerDescriptionConfiguration { + @Bean + public ProfileDeclaration aasxFileServerProfiles() { + return () -> new TreeSet<>(List.of(Profile.AASXFILESERVERSERVICESPECIFICATION_SSP_001)); + } +} \ No newline at end of file