This repository has been archived by the owner on Nov 27, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: don't lose examples on properties
Fixes #714
- Loading branch information
Showing
18 changed files
with
193 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
50 changes: 50 additions & 0 deletions
50
api/src/test/resources/io/kaoto/backend/api/resource/jms-amqp-10-source.kamelet.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
apiVersion: camel.apache.org/v1alpha1 | ||
kind: Kamelet | ||
metadata: | ||
annotations: | ||
camel.apache.org/kamelet.icon: data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIi | ||
camel.apache.org/kamelet.support.level: Stable | ||
camel.apache.org/provider: Apache Software Foundation | ||
camel.apache.org/catalog.version: 4.0.0-SNAPSHOT | ||
camel.apache.org/kamelet.group: JMS | ||
camel.apache.org/kamelet.namespace: Messaging | ||
labels: | ||
camel.apache.org/requires.runtime: camel-k | ||
camel.apache.org/kamelet.type: source | ||
name: jms-amqp-10-source | ||
spec: | ||
definition: | ||
description: Consume data from any AMQP 1.0 compliant message broker | ||
properties: | ||
destinationType: | ||
default: queue | ||
description: The JMS destination type (queue or topic). | ||
title: Destination Type | ||
type: string | ||
destinationName: | ||
description: The JMS destination name. | ||
title: Destination Name | ||
type: string | ||
remoteURI: | ||
description: The JMS URL. | ||
example: amqp://my-host:31616 | ||
title: Broker URL | ||
type: string | ||
required: | ||
- destinationName | ||
- remoteURI | ||
title: JMS - AMQP 1.0 Source | ||
type: object | ||
dependencies: | ||
- camel:jms | ||
- camel:amqp | ||
- camel:kamelet | ||
- camel:core | ||
template: | ||
from: | ||
uri: jms:{{destinationType}}:{{destinationName}} | ||
parameters: | ||
connectionFactory: '#bean:{{connectionFactoryBean}}' | ||
steps: | ||
- to: | ||
uri: kamelet:sink |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.