Skip to content

Commit 912dc79

Browse files
authored
Add Profile description for AAS Discovery Service (#534)
1 parent 23bae6f commit 912dc79

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
package org.eclipse.digitaltwin.basyx.aasdiscoveryservice.http;
2+
3+
import java.util.List;
4+
import java.util.TreeSet;
5+
6+
import org.eclipse.digitaltwin.basyx.http.description.Profile;
7+
import org.eclipse.digitaltwin.basyx.http.description.ProfileDeclaration;
8+
import org.springframework.context.annotation.Bean;
9+
import org.springframework.context.annotation.Configuration;
10+
11+
@Configuration
12+
public class AasDiscoveryServiceDescriptionConfiguration {
13+
@Bean
14+
public ProfileDeclaration aasDiscoveryProfiles() {
15+
return () -> new TreeSet<>(List.of(Profile.DISCOVERYSERVICESPECIFICATION_SSP_001));
16+
}
17+
}

0 commit comments

Comments
 (0)