Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use enum instead of x-descriptors #1729

Merged
merged 3 commits into from
Nov 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 1 addition & 7 deletions kamelets/log-action.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 1 addition & 7 deletions kamelets/log-sink.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 1 addition & 7 deletions kamelets/pulsar-sink.kamelet.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,13 +102,7 @@ spec:
description: "Compression type to use."
type: string
default: "NONE"
x-descriptors:
- 'urn:alm:descriptor:com.tectonic.ui:select:NONE'
- 'urn:alm:descriptor:com.tectonic.ui:select:LZ4'
- 'urn:alm:descriptor:com.tectonic.ui:select:ZLIB'
- 'urn:alm:descriptor:com.tectonic.ui:select:ZSTD'
- 'urn:alm:descriptor:com.tectonic.ui:select:SNAPPY'
enum: ["ONE", "LZ4", "ZLIB", "ZSTD", "SNAPPY"]
enum: ["NONE", "LZ4", "ZLIB", "ZSTD", "SNAPPY"]
initialSequenceId:
title: Initial SequenceId
description: "The first message published will have a sequence Id of initialSequenceId 1."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,13 +102,7 @@ spec:
description: "Compression type to use."
type: string
default: "NONE"
x-descriptors:
- 'urn:alm:descriptor:com.tectonic.ui:select:NONE'
- 'urn:alm:descriptor:com.tectonic.ui:select:LZ4'
- 'urn:alm:descriptor:com.tectonic.ui:select:ZLIB'
- 'urn:alm:descriptor:com.tectonic.ui:select:ZSTD'
- 'urn:alm:descriptor:com.tectonic.ui:select:SNAPPY'
enum: ["ONE", "LZ4", "ZLIB", "ZSTD", "SNAPPY"]
enum: ["NONE", "LZ4", "ZLIB", "ZSTD", "SNAPPY"]
initialSequenceId:
title: Initial SequenceId
description: "The first message published will have a sequence Id of initialSequenceId 1."
Expand Down
Loading