Skip to content

Commit

Permalink
Use enum instead of x-descriptors - Pulsar Sink Kamelet
Browse files Browse the repository at this point in the history
Signed-off-by: Andrea Cosentino <[email protected]>
  • Loading branch information
oscerd committed Nov 13, 2023
1 parent 0c1e661 commit d58dcc8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
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 @@ -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

0 comments on commit d58dcc8

Please sign in to comment.