-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Profile description for AAS Discovery Service (#534)
- Loading branch information
Showing
1 changed file
with
17 additions
and
0 deletions.
There are no files selected for viewing
17 changes: 17 additions & 0 deletions
17
...gitaltwin/basyx/aasdiscoveryservice/http/AasDiscoveryServiceDescriptionConfiguration.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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)); | ||
} | ||
} |