You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2020/09/09 10:59:30 UTC

[GitHub] [camel-quarkus] aldettinger commented on a change in pull request #1764: Added ssl authentation to the nats extensions

aldettinger commented on a change in pull request #1764:
URL: https://github.com/apache/camel-quarkus/pull/1764#discussion_r485523019



##########
File path: integration-tests/nats/src/test/java/org/apache/camel/quarkus/component/nats/it/NatsTestResource.java
##########
@@ -63,6 +65,20 @@
         Integer noAuthPort = noAuthContainer.getMappedPort(NATS_SERVER_PORT);
         String noAuthBrokerUrl = String.format("%s:%s", noAuthIp, noAuthPort);
 
+        // Start the container needed for the TLS authentication test
+        tlsAuthContainer = new GenericContainer(NATS_IMAGE).withExposedPorts(NATS_SERVER_PORT)
+                .withClasspathResourceMapping("certs", "/certs", BindMode.READ_ONLY)

Review comment:
       It uses `ClassLoader.getResource(...)` under the hood, so I think the test could be executed on platform too.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org