Skip to content

Commit

Permalink
Add Profile description for AAS Discovery Service
Browse files Browse the repository at this point in the history
  • Loading branch information
seicke committed Nov 22, 2024
1 parent e70c288 commit 98b8a7b
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 98b8a7b

Please sign in to comment.