This is an automated email from the ASF dual-hosted git repository. nferraro pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel-k.git
commit 8b1974ca12b48b9d48f4f08d3aacfb3e3ecb4d6a Author: Pasquale Congiusti <[email protected]> AuthorDate: Tue Apr 27 11:31:56 2021 +0200 chore(doc): error handler generated --- deploy/traits.yaml | 9 ++++++++- docs/modules/traits/pages/error-handler.adoc | 6 +++++- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/deploy/traits.yaml b/deploy/traits.yaml index 0c567dd..22cc617 100755 --- a/deploy/traits.yaml +++ b/deploy/traits.yaml @@ -279,7 +279,14 @@ traits: - OpenShift description: The error-handler is a platform trait used to inject Error Handler source into the integration runtime. - properties: [] + properties: + - name: enabled + type: bool + description: Can be used to enable or disable a trait. All traits share this common + property. + - name: ',omitempty' + type: string + description: The error handler ref name found in application properties - name: gc platform: false profiles: diff --git a/docs/modules/traits/pages/error-handler.adoc b/docs/modules/traits/pages/error-handler.adoc index 0c38c7d..149eaee 100755 --- a/docs/modules/traits/pages/error-handler.adoc +++ b/docs/modules/traits/pages/error-handler.adoc @@ -15,7 +15,7 @@ WARNING: The error-handler trait is a *platform trait*: disabling it may comprom Trait properties can be specified when running any integration with the CLI: [source,console] ---- -$ kamel run --trait error-handler.[key]=[value] integration.groovy +$ kamel run --trait error-handler.[key]=[value] --trait error-handler.[key2]=[value2] integration.groovy ---- The following configuration options are available: @@ -27,6 +27,10 @@ The following configuration options are available: | bool | Can be used to enable or disable a trait. All traits share this common property. +| error-handler.,omitempty +| string +| The error handler ref name found in application properties + |=== // End of autogenerated code - DO NOT EDIT! (configuration)
