squakez opened a new pull request, #1185:
URL: https://github.com/apache/camel-k-runtime/pull/1185

   <!-- Description -->
   
   With this PR we enrich the catalog and let certain runtime aspects to be 
managed via properties (with something similar to this draft [1]). Together 
with a work on the operator, we'll be able to simplify the management of 
runtimes and offload the specific runtime aspects, being able to delegate this 
to the runtime directly. The result of this PR will enrich 3.8.0 future catalog 
as following:
   ```
         health:
           dependencies:
           - groupId: org.apache.camel.quarkus
             artifactId: camel-quarkus-microprofile-health
           runtimeProperties:
           - key: defaultLivenessProbePath
             value: /q/health/live
           - key: defaultReadinessProbePath
             value: /q/health/ready
           - key: defaultStartupProbePath
             value: /q/health/started
   ...
         logging:
           runtimeProperties:
           - key: color
             value: quarkus.console.color
           - key: format
             value: quarkus.log.console.format
           - key: json
             value: quarkus.log.console.json
           - key: jsonPrettyPrint
             value: quarkus.log.console.json.pretty-print
           - key: level
             value: quarkus.log.level
   ...
         master:
           dependencies:
           - groupId: org.apache.camel.k
             artifactId: camel-k-master
           runtimeProperties:
           - key: labelKeyFormat
             value: quarkus.camel.cluster.kubernetes.labels."%s"
           - key: resourceName
             value: quarkus.camel.cluster.kubernetes.resource-name
           - key: resourceType
             value: quarkus.camel.cluster.kubernetes.resource-type
           buildTimeProperties:
           - key: enabled
             value: quarkus.camel.cluster.kubernetes.enabled
   ...
         telemetry:
           dependencies:
           - groupId: org.apache.camel.quarkus
             artifactId: camel-quarkus-opentelemetry
           runtimeProperties:
           - key: endpoint
             value: quarkus.opentelemetry.tracer.exporter.otlp.endpoint
           - key: sampler
             value: quarkus.opentelemetry.tracer.sampler
           - key: samplerParentBased
             value: quarkus.opentelemetry.tracer.sampler.parent-based
           - key: samplerRatio
             value: quarkus.opentelemetry.tracer.sampler.ratio
           - key: serviceName
             value: quarkus.opentelemetry.tracer.resource-attributes
   ```
   Eventually any other runtime (ie Springboot) should be adding the specific 
capabilities accordingly and it would be transparent for the operator.
   
   [1] https://github.com/apache/camel-k/pull/5251
   
   <!--
   Enter your extended release note in the below block. If the PR requires
   additional action from users switching to the new release, include the string
   "action required". If no release note is required, write "NONE". 
   
   You can (optionally) mark this PR with labels "kind/bug" or "kind/feature" 
to make sure
   the text is added to the right section of the release notes. 
   -->
   
   **Release Note**
   ```release-note
   feat(catalog): capabilities properties
   ```
   


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

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

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

Reply via email to