nicolaferraro opened a new issue #262: Quarkus application becomes ready before 
routes are bound
URL: https://github.com/apache/camel-k-runtime/issues/262
 
 
   Running the example here:
   
   ```
   https://github.com/nicolaferraro/api-demo
   ```
   
   When running with `-t quarkus.enabled=true`, the `api` integration is 
considered ready by Kube/Istio before the routes are bound.
   
   So:
   - Wait for the integration to scale down to 0
   - Push some data
   - The integration is scaled up
   - But `404` is received
   
   ```
   [nferraro@localhost nicolaferraro]$ curl -i -X POST --header "Content-Type: 
application/octet-stream" --data-binary "@/path/to/img.png" 
http://api.nicola-tests.cluster-url.org/
   HTTP/1.1 100 Continue
   
   HTTP/1.1 404 Not Found
   content-length: 53
   content-type: text/html; charset=utf-8
   date: Thu, 12 Mar 2020 15:38:40 GMT
   x-envoy-upstream-service-time: 13080
   server: istio-envoy
   Set-Cookie: 
5edb8a63d369aa9120a27bc3a0ddfa2c=58efd7ebbb54fe47bba304ed22ae6ad9; path=/; 
HttpOnly
   ```
   
   The same integration without the Quarkus trait works well.

----------------------------------------------------------------
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


With regards,
Apache Git Services

Reply via email to