Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escape special characters +-&|!(){}[]^"~*?:\ - e.g. \+ \* \!
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
Swagger and Health UI after deployment

Once a local app is deployed, what is the URL of the Swagger ui and Health UI?
How do I access the backend APIs and health liveness and readiness URLs?

  
  
Posted 2 years ago
Votes Newest

Answers


There are a few thins to consider:

  • swagger is not deployed in production build by default (can be set in application.yml, https://quarkus.io/guides/openapi-swaggerui#quarkus-swaggerui_quarkus.swagger-ui.always-include)
  • health/live endpoints are not routed via traefik proxy by default, you need to change your deployment stack file and add custom rules for that (checkout deployment/docker/<stack>.yml) and look for traefik rules in labels.
    • alsow swagger-ui and openapi endpoints need to included in traefik rules
    • be careful when exposing thos endpoints (security)
  
  
Posted 2 years ago
Edited 2 years ago
Lucas Reeh
108 × 4 Administrator
2K Views
1 Answer
2 years ago
2 years ago
Tags