java.lang.Object
de.iip_ecosphere.platform.support.aas.basyx2.server.apps.submodelRegistry.SubmodelRegistrySpringApp

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

    • SubmodelRegistrySpringApp

      public SubmodelRegistrySpringApp()
  • Method Details

    • main

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

      @Bean public org.eclipse.digitaltwin.basyx.submodelregistry.service.storage.SubmodelRegistryStorage submodelRegistryStorage()
      Returns the AAS registry storage.
      Returns:
      the storage instance
    • registryEventSink

      @Bean public org.eclipse.digitaltwin.basyx.submodelregistry.service.events.RegistryEventSink registryEventSink()
      Returns the event sink.
      Returns:
      the event sink
    • submodelRegistryMappingJackson2HttpMessageConverter

      @Bean public org.springframework.http.converter.json.MappingJackson2HttpMessageConverter submodelRegistryMappingJackson2HttpMessageConverter()
      Returns the message converter.
      Returns:
      the message converter
    • locationBuilder

      @Bean public org.eclipse.digitaltwin.basyx.submodelregistry.service.api.LocationBuilder locationBuilder()
      Returns the location builder.
      Returns:
      the location builder 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