Skip to content

Commit

Permalink
Add Profile description for AAS Discovery Service (#534)
Browse files Browse the repository at this point in the history
  • Loading branch information
seicke authored Nov 25, 2024
1 parent 23bae6f commit 912dc79
Showing 1 changed file with 17 additions and 0 deletions.
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));
}
}

0 comments on commit 912dc79

Please sign in to comment.