Class TrustStoreResource

java.lang.Object
org.apache.camel.quarkus.test.TrustStoreResource
All Implemented Interfaces:
io.quarkus.test.common.QuarkusTestResourceLifecycleManager

public class TrustStoreResource extends Object implements io.quarkus.test.common.QuarkusTestResourceLifecycleManager
Native images built using a docker container end up with javax.net.ssl.trustStore system property pointing to a non-existing file; see https://quarkus.io/guides/native-and-ssl For that case, we have to set javax.net.ssl.trustStore to an existing path explicitly.
  • Nested Class Summary

    Nested classes/interfaces inherited from interface io.quarkus.test.common.QuarkusTestResourceLifecycleManager

    io.quarkus.test.common.QuarkusTestResourceLifecycleManager.Context, io.quarkus.test.common.QuarkusTestResourceLifecycleManager.TestInjector
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static Path
     
     
    void
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface io.quarkus.test.common.QuarkusTestResourceLifecycleManager

    init, inject, inject, order, setContext
  • Constructor Details

    • TrustStoreResource

      public TrustStoreResource()
  • Method Details

    • start

      public Map<String,String> start()
      Specified by:
      start in interface io.quarkus.test.common.QuarkusTestResourceLifecycleManager
    • getDefaultTrustStorePath

      public static Path getDefaultTrustStorePath()
    • stop

      public void stop()
      Specified by:
      stop in interface io.quarkus.test.common.QuarkusTestResourceLifecycleManager