This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit 0c1e661467ff68cd5618bcfe1db7f22fbd5819dd
Author: Andrea Cosentino <[email protected]>
AuthorDate: Mon Nov 13 11:58:54 2023 +0100

    Use enum instead of x-descriptors - Log Sink Kamelet
    
    Signed-off-by: Andrea Cosentino <[email protected]>
---
 kamelets/log-sink.kamelet.yaml                                    | 8 +-------
 .../src/main/resources/kamelets/log-sink.kamelet.yaml             | 8 +-------
 2 files changed, 2 insertions(+), 14 deletions(-)

diff --git a/kamelets/log-sink.kamelet.yaml b/kamelets/log-sink.kamelet.yaml
index 45089e96..a2e312cc 100644
--- a/kamelets/log-sink.kamelet.yaml
+++ b/kamelets/log-sink.kamelet.yaml
@@ -44,13 +44,7 @@ spec:
         description: Logging level to use
         type: string
         default: "INFO"
-        x-descriptors:
-        - 'urn:alm:descriptor:com.tectonic.ui:select:TRACE'
-        - 'urn:alm:descriptor:com.tectonic.ui:select:DEBUG'
-        - 'urn:alm:descriptor:com.tectonic.ui:select:INFO'
-        - 'urn:alm:descriptor:com.tectonic.ui:select:WARN'
-        - 'urn:alm:descriptor:com.tectonic.ui:select:ERROR'
-        - 'urn:alm:descriptor:com.tectonic.ui:select:OFF'
+        enum: ["TRACE", "DEBUG", "INFO", "WARN", "ERROR", "OFF"]
       logMask:
         title: Log Mask
         description: Mask sensitive information like password or passphrase in 
the log
diff --git 
a/library/camel-kamelets/src/main/resources/kamelets/log-sink.kamelet.yaml 
b/library/camel-kamelets/src/main/resources/kamelets/log-sink.kamelet.yaml
index 45089e96..a2e312cc 100644
--- a/library/camel-kamelets/src/main/resources/kamelets/log-sink.kamelet.yaml
+++ b/library/camel-kamelets/src/main/resources/kamelets/log-sink.kamelet.yaml
@@ -44,13 +44,7 @@ spec:
         description: Logging level to use
         type: string
         default: "INFO"
-        x-descriptors:
-        - 'urn:alm:descriptor:com.tectonic.ui:select:TRACE'
-        - 'urn:alm:descriptor:com.tectonic.ui:select:DEBUG'
-        - 'urn:alm:descriptor:com.tectonic.ui:select:INFO'
-        - 'urn:alm:descriptor:com.tectonic.ui:select:WARN'
-        - 'urn:alm:descriptor:com.tectonic.ui:select:ERROR'
-        - 'urn:alm:descriptor:com.tectonic.ui:select:OFF'
+        enum: ["TRACE", "DEBUG", "INFO", "WARN", "ERROR", "OFF"]
       logMask:
         title: Log Mask
         description: Mask sensitive information like password or passphrase in 
the log

Reply via email to