java.lang.Object
de.iip_ecosphere.platform.support.aas.basyx2.server.apps.aasRepository.AasRepositorySpringApp

@SpringBootApplication @Configuration @ComponentScan(basePackages={"org.eclipse.digitaltwin.basyx","de.iip_ecosphere.platform.support.aas.basyx2.server.apps.security"}, excludeFilters=) public class AasRepositorySpringApp extends Object
Spring application running an AAS repository. Somehow feature-based composition does not work in here. More investigation needed.
Author:
Monika Staciwa, SSE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.security.web.SecurityFilterChain
    filterChain(org.springframework.security.config.annotation.web.builders.HttpSecurity http)
    Defines the security filter chain.
    static org.eclipse.digitaltwin.basyx.aasservice.backend.AasBackend
    Returns the AAS backend instance.
    static org.eclipse.digitaltwin.basyx.aasrepository.AasRepository
    getAasRepository(de.iip_ecosphere.platform.support.aas.AuthenticationDescriptor authDesc)
    Returns the AAS repository instance.
    static org.eclipse.digitaltwin.basyx.aasservice.AasServiceFactory
    Returns the AAS service factory instance.
    static org.eclipse.digitaltwin.basyx.core.filerepository.FileRepository
    Returns the file repository instance.
    static void
    main(String[] args)
    Starts the application.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AasRepositorySpringApp

      public AasRepositorySpringApp()
  • Method Details

    • main

      public static void main(String[] args)
      Starts the application.
      Parameters:
      args - the command line arguments
    • getAasRepository

      @Bean public static org.eclipse.digitaltwin.basyx.aasrepository.AasRepository getAasRepository(@Nullable de.iip_ecosphere.platform.support.aas.AuthenticationDescriptor authDesc)
      Returns the AAS repository instance.
      Parameters:
      authDesc - the actual authentication descriptor
      Returns:
      the AAS repository
    • getAasServiceFactory

      @Bean public static org.eclipse.digitaltwin.basyx.aasservice.AasServiceFactory getAasServiceFactory()
      Returns the AAS service factory instance.
      Returns:
      the AAS service factory
    • getAasBackend

      @Bean public static org.eclipse.digitaltwin.basyx.aasservice.backend.AasBackend getAasBackend()
      Returns the AAS backend instance.
      Returns:
      the AAS backend instance
    • getFileRepository

      @Bean public static org.eclipse.digitaltwin.basyx.core.filerepository.FileRepository getFileRepository()
      Returns the file repository instance.
      Returns:
      the file repository instance
    • filterChain

      @Profile("test") @Bean public org.springframework.security.web.SecurityFilterChain filterChain(org.springframework.security.config.annotation.web.builders.HttpSecurity http) throws Exception
      Defines the security filter chain.
      Parameters:
      http - the security instance
      Returns:
      the filterchain
      Throws:
      Exception - if something fails