java.lang.Object
de.iip_ecosphere.platform.support.aas.basyx2.server.apps.aasRegistry.AasRegistrySpringApp

@SpringBootApplication @Configuration @ComponentScan(basePackages={"org.eclipse.digitaltwin.basyx","de.iip_ecosphere.platform.support.aas.basyx2.server.apps.security"}, excludeFilters=) @Component public class AasRegistrySpringApp extends Object
Spring application for starting an in-memory AAS registry. 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.aasregistry.service.storage.AasRegistryStorage
    Returns the AAS registry storage.
    static void
    main(String[] args)
    Starts the application.
    org.eclipse.digitaltwin.basyx.aasregistry.service.events.RegistryEventSink
    Returns the AAS registry event sink.

    Methods inherited from class java.lang.Object

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

    • AasRegistrySpringApp

      public AasRegistrySpringApp()
  • Method Details

    • main

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

      @Bean public static org.eclipse.digitaltwin.basyx.aasregistry.service.storage.AasRegistryStorage getAasRegistry()
      Returns the AAS registry storage.
      Returns:
      the storage instance
    • registryEventSink

      @Bean public org.eclipse.digitaltwin.basyx.aasregistry.service.events.RegistryEventSink registryEventSink()
      Returns the AAS registry event sink.
      Returns:
      the event sink 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