Class VectorsTomcatConnectorsConfiguration

  • All Implemented Interfaces:

    @Configuration()@Profile(value = {"vectors"})@EnableConfigurationProperties(value = {S3VectorsProperties.class}) 
    public final class VectorsTomcatConnectorsConfiguration
    
                        

    Adds dedicated HTTP and HTTPS connectors on the vectors ports (default 9092 / 9193) when the vectors Spring profile is active. This lets S3VectorsClient.endpointOverride(...) use a clean root URI separate from the S3 endpoints on 9090/9191.

    The HTTPS connector reuses the same self-signed keystore as the main S3 HTTPS port, read from the server.ssl.* properties (defaulting to the bundled s3mock.jks).

    The existing S3 connectors registered by com.adobe.testing.s3mock.S3MockConfiguration are unaffected.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final WebServerFactoryCustomizer<TomcatServletWebServerFactory> vectorsConnectorCustomizer(S3VectorsProperties vectorsProperties)
      • Methods inherited from class java.lang.Object

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

      • VectorsTomcatConnectorsConfiguration

        VectorsTomcatConnectorsConfiguration(ApplicationContext applicationContext)