JiriOndrusek commented on pull request #2505:
URL: https://github.com/apache/camel-quarkus/pull/2505#issuecomment-827535359


   @jamesnetherton I reworked extension to use quarkiverse .
   
   There a few points I was facing:
   
   1. Quarkiverse extension uses quarkus properties to create a storage client. 
This client was not autowired into component (because of 
https://github.com/apache/camel-quarkus/issues/1387). I tried to use 
`UnremovableBeanBuildItem`, but it had no effect. So I created class 
`GoogleStorageEnforcer`, which injects all storage clients, which marks them as 
used. 
   2. To allow more different clients in one context, there is a way of doing 
it via producing more storage clients - it is described in doc.
   3. There is  a warning during native build
   > WARNING: Could not resolve 
io.grpc.netty.shaded.io.netty.channel.socket.nio.NioServerSocketChannel for 
reflection configuration. Reason: java.lang.ClassNotFoundException: 
io.grpc.netty.shaded.io.netty.channel.socket.nio.NioServerSocketChannel.
   
   , but it doesn't make extension fail. 
   
   4. There is a requirement to export `GOOGLE_PROJECT_ID` and 
`GOOGLE_APPLICATION_CREDENTIALS` to run tests with real account. It is 
described in README.adoc in the test project.


-- 
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:
us...@infra.apache.org


Reply via email to