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: Beans have two types of properties attributes
Fixes #715
- Loading branch information
1 parent
f9c6401
commit 0b39358
Showing
7 changed files
with
111 additions
and
86 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
56 changes: 56 additions & 0 deletions
56
api/src/test/resources/io/kaoto/backend/api/resource/kamelet2.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,56 @@ | ||
apiVersion: camel.apache.org/v1alpha1 | ||
kind: Kamelet | ||
metadata: | ||
name: jms-amqp-10-source | ||
annotations: | ||
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/kamelet.type: "source" | ||
camel.apache.org/requires.runtime: camel-k | ||
spec: | ||
definition: | ||
title: "JMS - AMQP 1.0 Source" | ||
description: "Consume data from any AMQP 1.0 compliant message broker by using the Apache Qpid JMS client." | ||
required: | ||
- destinationName | ||
- remoteURI | ||
type: object | ||
properties: | ||
destinationType: | ||
title: "Destination Type" | ||
description: "The JMS destination type (queue or topic)." | ||
type: string | ||
default: queue | ||
destinationName: | ||
title: "Destination Name" | ||
description: "The JMS destination name." | ||
type: string | ||
remoteURI: | ||
title: "Broker URL" | ||
description: "The JMS URL." | ||
type: string | ||
example: "amqp://my-host:31616" | ||
dependencies: | ||
- "camel:jms" | ||
- "camel:amqp" | ||
- "camel:kamelet" | ||
template: | ||
beans: | ||
- name: connectionFactoryBean | ||
type: "#class:org.apache.qpid.jms.JmsConnectionFactory" | ||
property: | ||
- key: remoteURI | ||
value: '{{remoteURI}}' | ||
- key: secondProperty | ||
value: 'another' | ||
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
75 changes: 0 additions & 75 deletions
75
camel-route-support/src/main/java/io/kaoto/backend/model/deployment/camelroute/Bean.java
This file was deleted.
Oops, something went wrong.
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