This is an automated email from the ASF dual-hosted git repository. github-bot pushed a commit to branch camel-main in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
commit e952c1765ddbc4f1a53bccc0076973e5192a993c Author: James Netherton <jamesnether...@gmail.com> AuthorDate: Tue Jan 4 09:29:59 2022 +0000 Update to latest Camel API changes --- catalog/pom.xml | 13 --- .../modules/ROOT/examples/components/beanstalk.yml | 2 +- docs/modules/ROOT/examples/components/elsql.yml | 2 +- .../modules/ROOT/examples/components/etcd-keys.yml | 2 +- .../ROOT/examples/components/etcd-stats.yml | 2 +- .../ROOT/examples/components/etcd-watch.yml | 2 +- docs/modules/ROOT/examples/components/ganglia.yml | 2 +- docs/modules/ROOT/examples/components/ipfs.yml | 2 +- docs/modules/ROOT/examples/components/jing.yml | 2 +- .../ROOT/examples/components/json-patch.yml | 2 +- .../ROOT/examples/components/kamelet-reify.yml | 13 --- .../ROOT/examples/components/milo-browse.yml | 13 +++ docs/modules/ROOT/examples/components/msv.yml | 2 +- docs/modules/ROOT/examples/components/nagios.yml | 2 +- docs/modules/ROOT/examples/components/nsq.yml | 2 +- docs/modules/ROOT/examples/components/sip.yml | 2 +- docs/modules/ROOT/examples/components/soroush.yml | 2 +- docs/modules/ROOT/examples/components/yammer.yml | 2 +- docs/modules/ROOT/nav.adoc | 1 - .../ROOT/pages/reference/extensions/beanstalk.adoc | 6 +- .../ROOT/pages/reference/extensions/elsql.adoc | 6 +- .../ROOT/pages/reference/extensions/etcd.adoc | 6 +- .../ROOT/pages/reference/extensions/ganglia.adoc | 6 +- .../ROOT/pages/reference/extensions/ipfs.adoc | 6 +- .../ROOT/pages/reference/extensions/jing.adoc | 6 +- .../pages/reference/extensions/kamelet-reify.adoc | 35 ------- .../ROOT/pages/reference/extensions/milo.adoc | 1 + .../ROOT/pages/reference/extensions/msv.adoc | 6 +- .../ROOT/pages/reference/extensions/nagios.adoc | 6 +- .../ROOT/pages/reference/extensions/nsq.adoc | 6 +- .../ROOT/pages/reference/extensions/sip.adoc | 6 +- .../ROOT/pages/reference/extensions/soroush.adoc | 6 +- .../ROOT/pages/reference/extensions/yammer.adoc | 6 +- extensions-jvm/kamelet-reify/deployment/pom.xml | 61 ------------ .../reify/deployment/KameletReifyProcessor.java | 46 --------- extensions-jvm/kamelet-reify/pom.xml | 37 ------- extensions-jvm/kamelet-reify/runtime/pom.xml | 110 --------------------- .../main/resources/META-INF/quarkus-extension.yaml | 33 ------- extensions-jvm/pom.xml | 1 - integration-tests-jvm/kamelet-reify/pom.xml | 82 --------------- .../kamelet/reify/it/KameletReifyResource.java | 51 ---------- .../kamelet/reify/it/KameletReifyTest.java | 34 ------- integration-tests-jvm/pom.xml | 1 - poms/bom/pom.xml | 15 --- 44 files changed, 65 insertions(+), 584 deletions(-) diff --git a/catalog/pom.xml b/catalog/pom.xml index efe9f3e..84ab92d 100644 --- a/catalog/pom.xml +++ b/catalog/pom.xml @@ -2328,19 +2328,6 @@ </dependency> <dependency> <groupId>org.apache.camel.quarkus</groupId> - <artifactId>camel-quarkus-kamelet-reify</artifactId> - <version>${project.version}</version> - <type>pom</type> - <scope>test</scope> - <exclusions> - <exclusion> - <groupId>*</groupId> - <artifactId>*</artifactId> - </exclusion> - </exclusions> - </dependency> - <dependency> - <groupId>org.apache.camel.quarkus</groupId> <artifactId>camel-quarkus-kotlin</artifactId> <version>${project.version}</version> <type>pom</type> diff --git a/docs/modules/ROOT/examples/components/beanstalk.yml b/docs/modules/ROOT/examples/components/beanstalk.yml index 958aec5..e30d3f1 100644 --- a/docs/modules/ROOT/examples/components/beanstalk.yml +++ b/docs/modules/ROOT/examples/components/beanstalk.yml @@ -4,7 +4,7 @@ cqArtifactId: camel-quarkus-beanstalk cqArtifactIdBase: beanstalk cqNativeSupported: false cqStatus: Preview -cqDeprecated: false +cqDeprecated: true cqJvmSince: 1.1.0 cqNativeSince: n/a cqCamelPartName: beanstalk diff --git a/docs/modules/ROOT/examples/components/elsql.yml b/docs/modules/ROOT/examples/components/elsql.yml index 45eb0bf..151dea2 100644 --- a/docs/modules/ROOT/examples/components/elsql.yml +++ b/docs/modules/ROOT/examples/components/elsql.yml @@ -4,7 +4,7 @@ cqArtifactId: camel-quarkus-elsql cqArtifactIdBase: elsql cqNativeSupported: false cqStatus: Preview -cqDeprecated: false +cqDeprecated: true cqJvmSince: 1.1.0 cqNativeSince: n/a cqCamelPartName: elsql diff --git a/docs/modules/ROOT/examples/components/etcd-keys.yml b/docs/modules/ROOT/examples/components/etcd-keys.yml index 91d76e2..0d4228d 100644 --- a/docs/modules/ROOT/examples/components/etcd-keys.yml +++ b/docs/modules/ROOT/examples/components/etcd-keys.yml @@ -4,7 +4,7 @@ cqArtifactId: camel-quarkus-etcd cqArtifactIdBase: etcd cqNativeSupported: false cqStatus: Preview -cqDeprecated: false +cqDeprecated: true cqJvmSince: 1.1.0 cqNativeSince: n/a cqCamelPartName: etcd-keys diff --git a/docs/modules/ROOT/examples/components/etcd-stats.yml b/docs/modules/ROOT/examples/components/etcd-stats.yml index 79e717a..9a1ed45 100644 --- a/docs/modules/ROOT/examples/components/etcd-stats.yml +++ b/docs/modules/ROOT/examples/components/etcd-stats.yml @@ -4,7 +4,7 @@ cqArtifactId: camel-quarkus-etcd cqArtifactIdBase: etcd cqNativeSupported: false cqStatus: Preview -cqDeprecated: false +cqDeprecated: true cqJvmSince: 1.1.0 cqNativeSince: n/a cqCamelPartName: etcd-stats diff --git a/docs/modules/ROOT/examples/components/etcd-watch.yml b/docs/modules/ROOT/examples/components/etcd-watch.yml index da7660f..f296e17 100644 --- a/docs/modules/ROOT/examples/components/etcd-watch.yml +++ b/docs/modules/ROOT/examples/components/etcd-watch.yml @@ -4,7 +4,7 @@ cqArtifactId: camel-quarkus-etcd cqArtifactIdBase: etcd cqNativeSupported: false cqStatus: Preview -cqDeprecated: false +cqDeprecated: true cqJvmSince: 1.1.0 cqNativeSince: n/a cqCamelPartName: etcd-watch diff --git a/docs/modules/ROOT/examples/components/ganglia.yml b/docs/modules/ROOT/examples/components/ganglia.yml index 71827a0..085e64b 100644 --- a/docs/modules/ROOT/examples/components/ganglia.yml +++ b/docs/modules/ROOT/examples/components/ganglia.yml @@ -4,7 +4,7 @@ cqArtifactId: camel-quarkus-ganglia cqArtifactIdBase: ganglia cqNativeSupported: false cqStatus: Preview -cqDeprecated: false +cqDeprecated: true cqJvmSince: 1.1.0 cqNativeSince: n/a cqCamelPartName: ganglia diff --git a/docs/modules/ROOT/examples/components/ipfs.yml b/docs/modules/ROOT/examples/components/ipfs.yml index 7c895a0..63d1591 100644 --- a/docs/modules/ROOT/examples/components/ipfs.yml +++ b/docs/modules/ROOT/examples/components/ipfs.yml @@ -4,7 +4,7 @@ cqArtifactId: camel-quarkus-ipfs cqArtifactIdBase: ipfs cqNativeSupported: true cqStatus: Stable -cqDeprecated: false +cqDeprecated: true cqJvmSince: 1.1.0 cqNativeSince: 1.7.0 cqCamelPartName: ipfs diff --git a/docs/modules/ROOT/examples/components/jing.yml b/docs/modules/ROOT/examples/components/jing.yml index b9a905b..2c16f94 100644 --- a/docs/modules/ROOT/examples/components/jing.yml +++ b/docs/modules/ROOT/examples/components/jing.yml @@ -4,7 +4,7 @@ cqArtifactId: camel-quarkus-jing cqArtifactIdBase: jing cqNativeSupported: true cqStatus: Stable -cqDeprecated: false +cqDeprecated: true cqJvmSince: 1.1.0 cqNativeSince: 1.2.0 cqCamelPartName: jing diff --git a/docs/modules/ROOT/examples/components/json-patch.yml b/docs/modules/ROOT/examples/components/json-patch.yml index 603c229..d8dd96f 100644 --- a/docs/modules/ROOT/examples/components/json-patch.yml +++ b/docs/modules/ROOT/examples/components/json-patch.yml @@ -9,5 +9,5 @@ cqJvmSince: 2.7.0 cqNativeSince: n/a cqCamelPartName: json-patch cqCamelPartTitle: JsonPatch -cqCamelPartDescription: JsonPatch component which transform JSON using JSON patch (RFC 6902). +cqCamelPartDescription: Transforms JSON using JSON patch (RFC 6902). cqExtensionPageTitle: JsonPatch diff --git a/docs/modules/ROOT/examples/components/kamelet-reify.yml b/docs/modules/ROOT/examples/components/kamelet-reify.yml deleted file mode 100644 index 67585ce..0000000 --- a/docs/modules/ROOT/examples/components/kamelet-reify.yml +++ /dev/null @@ -1,13 +0,0 @@ -# Do not edit directly! -# This file was generated by camel-quarkus-maven-plugin:update-extension-doc-page -cqArtifactId: camel-quarkus-kamelet-reify -cqArtifactIdBase: kamelet-reify -cqNativeSupported: false -cqStatus: Preview -cqDeprecated: true -cqJvmSince: 2.0.0 -cqNativeSince: n/a -cqCamelPartName: kamelet-reify -cqCamelPartTitle: Kamelet Reify -cqCamelPartDescription: To call Kamelets (indirectly) -cqExtensionPageTitle: Kamelet Reify diff --git a/docs/modules/ROOT/examples/components/milo-browse.yml b/docs/modules/ROOT/examples/components/milo-browse.yml new file mode 100644 index 0000000..842481c --- /dev/null +++ b/docs/modules/ROOT/examples/components/milo-browse.yml @@ -0,0 +1,13 @@ +# Do not edit directly! +# This file was generated by camel-quarkus-maven-plugin:update-extension-doc-page +cqArtifactId: camel-quarkus-milo +cqArtifactIdBase: milo +cqNativeSupported: false +cqStatus: Preview +cqDeprecated: false +cqJvmSince: 1.1.0 +cqNativeSince: n/a +cqCamelPartName: milo-browse +cqCamelPartTitle: OPC UA Browser +cqCamelPartDescription: Connect to OPC UA servers using the binary protocol for browsing the node tree. +cqExtensionPageTitle: OPC UA Client diff --git a/docs/modules/ROOT/examples/components/msv.yml b/docs/modules/ROOT/examples/components/msv.yml index ef74e68..48e704e 100644 --- a/docs/modules/ROOT/examples/components/msv.yml +++ b/docs/modules/ROOT/examples/components/msv.yml @@ -4,7 +4,7 @@ cqArtifactId: camel-quarkus-msv cqArtifactIdBase: msv cqNativeSupported: true cqStatus: Stable -cqDeprecated: false +cqDeprecated: true cqJvmSince: 1.1.0 cqNativeSince: 1.4.0 cqCamelPartName: msv diff --git a/docs/modules/ROOT/examples/components/nagios.yml b/docs/modules/ROOT/examples/components/nagios.yml index 39b28a0..c4bd922 100644 --- a/docs/modules/ROOT/examples/components/nagios.yml +++ b/docs/modules/ROOT/examples/components/nagios.yml @@ -4,7 +4,7 @@ cqArtifactId: camel-quarkus-nagios cqArtifactIdBase: nagios cqNativeSupported: true cqStatus: Stable -cqDeprecated: false +cqDeprecated: true cqJvmSince: 1.1.0 cqNativeSince: 1.4.0 cqCamelPartName: nagios diff --git a/docs/modules/ROOT/examples/components/nsq.yml b/docs/modules/ROOT/examples/components/nsq.yml index 7391deb..af00fff 100644 --- a/docs/modules/ROOT/examples/components/nsq.yml +++ b/docs/modules/ROOT/examples/components/nsq.yml @@ -4,7 +4,7 @@ cqArtifactId: camel-quarkus-nsq cqArtifactIdBase: nsq cqNativeSupported: true cqStatus: Stable -cqDeprecated: false +cqDeprecated: true cqJvmSince: 1.1.0 cqNativeSince: 1.2.0 cqCamelPartName: nsq diff --git a/docs/modules/ROOT/examples/components/sip.yml b/docs/modules/ROOT/examples/components/sip.yml index 7091d56..5f30d77 100644 --- a/docs/modules/ROOT/examples/components/sip.yml +++ b/docs/modules/ROOT/examples/components/sip.yml @@ -4,7 +4,7 @@ cqArtifactId: camel-quarkus-sip cqArtifactIdBase: sip cqNativeSupported: false cqStatus: Preview -cqDeprecated: false +cqDeprecated: true cqJvmSince: 1.1.0 cqNativeSince: n/a cqCamelPartName: sip diff --git a/docs/modules/ROOT/examples/components/soroush.yml b/docs/modules/ROOT/examples/components/soroush.yml index 1df557d..7fa469b 100644 --- a/docs/modules/ROOT/examples/components/soroush.yml +++ b/docs/modules/ROOT/examples/components/soroush.yml @@ -4,7 +4,7 @@ cqArtifactId: camel-quarkus-soroush cqArtifactIdBase: soroush cqNativeSupported: false cqStatus: Preview -cqDeprecated: false +cqDeprecated: true cqJvmSince: 1.1.0 cqNativeSince: n/a cqCamelPartName: soroush diff --git a/docs/modules/ROOT/examples/components/yammer.yml b/docs/modules/ROOT/examples/components/yammer.yml index 67e7b81..85fc448 100644 --- a/docs/modules/ROOT/examples/components/yammer.yml +++ b/docs/modules/ROOT/examples/components/yammer.yml @@ -4,7 +4,7 @@ cqArtifactId: camel-quarkus-yammer cqArtifactIdBase: yammer cqNativeSupported: false cqStatus: Preview -cqDeprecated: false +cqDeprecated: true cqJvmSince: 1.1.0 cqNativeSince: n/a cqCamelPartName: yammer diff --git a/docs/modules/ROOT/nav.adoc b/docs/modules/ROOT/nav.adoc index 540dde1..e760217 100644 --- a/docs/modules/ROOT/nav.adoc +++ b/docs/modules/ROOT/nav.adoc @@ -191,7 +191,6 @@ *** xref:reference/extensions/json-patch.adoc[JsonPatch] *** xref:reference/extensions/kafka.adoc[Kafka] *** xref:reference/extensions/kamelet.adoc[Kamelet] -*** xref:reference/extensions/kamelet-reify.adoc[Kamelet Reify] *** xref:reference/extensions/kotlin.adoc[Kotlin] *** xref:reference/extensions/kotlin-dsl.adoc[Kotlin DSL] *** xref:reference/extensions/kubernetes.adoc[Kubernetes] diff --git a/docs/modules/ROOT/pages/reference/extensions/beanstalk.adoc b/docs/modules/ROOT/pages/reference/extensions/beanstalk.adoc index 3542aef..f3e22c5 100644 --- a/docs/modules/ROOT/pages/reference/extensions/beanstalk.adoc +++ b/docs/modules/ROOT/pages/reference/extensions/beanstalk.adoc @@ -5,14 +5,14 @@ :cq-artifact-id: camel-quarkus-beanstalk :cq-native-supported: false :cq-status: Preview -:cq-status-deprecation: Preview +:cq-status-deprecation: Preview Deprecated :cq-description: Retrieve and post-process Beanstalk jobs. -:cq-deprecated: false +:cq-deprecated: true :cq-jvm-since: 1.1.0 :cq-native-since: n/a [.badges] -[.badge-key]##JVM since##[.badge-supported]##1.1.0## [.badge-key]##Native##[.badge-unsupported]##unsupported## +[.badge-key]##JVM since##[.badge-supported]##1.1.0## [.badge-key]##Native##[.badge-unsupported]##unsupported## [.badge-key]##⚠️##[.badge-unsupported]##Deprecated## Retrieve and post-process Beanstalk jobs. diff --git a/docs/modules/ROOT/pages/reference/extensions/elsql.adoc b/docs/modules/ROOT/pages/reference/extensions/elsql.adoc index d44b600..163f423 100644 --- a/docs/modules/ROOT/pages/reference/extensions/elsql.adoc +++ b/docs/modules/ROOT/pages/reference/extensions/elsql.adoc @@ -5,14 +5,14 @@ :cq-artifact-id: camel-quarkus-elsql :cq-native-supported: false :cq-status: Preview -:cq-status-deprecation: Preview +:cq-status-deprecation: Preview Deprecated :cq-description: Use ElSql to define SQL queries. Extends the SQL Component. -:cq-deprecated: false +:cq-deprecated: true :cq-jvm-since: 1.1.0 :cq-native-since: n/a [.badges] -[.badge-key]##JVM since##[.badge-supported]##1.1.0## [.badge-key]##Native##[.badge-unsupported]##unsupported## +[.badge-key]##JVM since##[.badge-supported]##1.1.0## [.badge-key]##Native##[.badge-unsupported]##unsupported## [.badge-key]##⚠️##[.badge-unsupported]##Deprecated## Use ElSql to define SQL queries. Extends the SQL Component. diff --git a/docs/modules/ROOT/pages/reference/extensions/etcd.adoc b/docs/modules/ROOT/pages/reference/extensions/etcd.adoc index d4f16c4..5eecd28 100644 --- a/docs/modules/ROOT/pages/reference/extensions/etcd.adoc +++ b/docs/modules/ROOT/pages/reference/extensions/etcd.adoc @@ -5,14 +5,14 @@ :cq-artifact-id: camel-quarkus-etcd :cq-native-supported: false :cq-status: Preview -:cq-status-deprecation: Preview +:cq-status-deprecation: Preview Deprecated :cq-description: Get, set or delete keys in etcd key-value store. -:cq-deprecated: false +:cq-deprecated: true :cq-jvm-since: 1.1.0 :cq-native-since: n/a [.badges] -[.badge-key]##JVM since##[.badge-supported]##1.1.0## [.badge-key]##Native##[.badge-unsupported]##unsupported## +[.badge-key]##JVM since##[.badge-supported]##1.1.0## [.badge-key]##Native##[.badge-unsupported]##unsupported## [.badge-key]##⚠️##[.badge-unsupported]##Deprecated## Get, set or delete keys in etcd key-value store. diff --git a/docs/modules/ROOT/pages/reference/extensions/ganglia.adoc b/docs/modules/ROOT/pages/reference/extensions/ganglia.adoc index 3e7eded..1c55de6 100644 --- a/docs/modules/ROOT/pages/reference/extensions/ganglia.adoc +++ b/docs/modules/ROOT/pages/reference/extensions/ganglia.adoc @@ -5,14 +5,14 @@ :cq-artifact-id: camel-quarkus-ganglia :cq-native-supported: false :cq-status: Preview -:cq-status-deprecation: Preview +:cq-status-deprecation: Preview Deprecated :cq-description: Send metrics to Ganglia monitoring system. -:cq-deprecated: false +:cq-deprecated: true :cq-jvm-since: 1.1.0 :cq-native-since: n/a [.badges] -[.badge-key]##JVM since##[.badge-supported]##1.1.0## [.badge-key]##Native##[.badge-unsupported]##unsupported## +[.badge-key]##JVM since##[.badge-supported]##1.1.0## [.badge-key]##Native##[.badge-unsupported]##unsupported## [.badge-key]##⚠️##[.badge-unsupported]##Deprecated## Send metrics to Ganglia monitoring system. diff --git a/docs/modules/ROOT/pages/reference/extensions/ipfs.adoc b/docs/modules/ROOT/pages/reference/extensions/ipfs.adoc index 737f432..05d7d6b 100644 --- a/docs/modules/ROOT/pages/reference/extensions/ipfs.adoc +++ b/docs/modules/ROOT/pages/reference/extensions/ipfs.adoc @@ -5,14 +5,14 @@ :cq-artifact-id: camel-quarkus-ipfs :cq-native-supported: true :cq-status: Stable -:cq-status-deprecation: Stable +:cq-status-deprecation: Stable Deprecated :cq-description: Access the Interplanetary File System (IPFS). -:cq-deprecated: false +:cq-deprecated: true :cq-jvm-since: 1.1.0 :cq-native-since: 1.7.0 [.badges] -[.badge-key]##JVM since##[.badge-supported]##1.1.0## [.badge-key]##Native since##[.badge-supported]##1.7.0## +[.badge-key]##JVM since##[.badge-supported]##1.1.0## [.badge-key]##Native since##[.badge-supported]##1.7.0## [.badge-key]##⚠️##[.badge-unsupported]##Deprecated## Access the Interplanetary File System (IPFS). diff --git a/docs/modules/ROOT/pages/reference/extensions/jing.adoc b/docs/modules/ROOT/pages/reference/extensions/jing.adoc index 760e77f..2b647f0 100644 --- a/docs/modules/ROOT/pages/reference/extensions/jing.adoc +++ b/docs/modules/ROOT/pages/reference/extensions/jing.adoc @@ -5,14 +5,14 @@ :cq-artifact-id: camel-quarkus-jing :cq-native-supported: true :cq-status: Stable -:cq-status-deprecation: Stable +:cq-status-deprecation: Stable Deprecated :cq-description: Validate XML against a RelaxNG schema (XML Syntax or Compact Syntax) using Jing library. -:cq-deprecated: false +:cq-deprecated: true :cq-jvm-since: 1.1.0 :cq-native-since: 1.2.0 [.badges] -[.badge-key]##JVM since##[.badge-supported]##1.1.0## [.badge-key]##Native since##[.badge-supported]##1.2.0## +[.badge-key]##JVM since##[.badge-supported]##1.1.0## [.badge-key]##Native since##[.badge-supported]##1.2.0## [.badge-key]##⚠️##[.badge-unsupported]##Deprecated## Validate XML against a RelaxNG schema (XML Syntax or Compact Syntax) using Jing library. diff --git a/docs/modules/ROOT/pages/reference/extensions/kamelet-reify.adoc b/docs/modules/ROOT/pages/reference/extensions/kamelet-reify.adoc deleted file mode 100644 index 52cfb34..0000000 --- a/docs/modules/ROOT/pages/reference/extensions/kamelet-reify.adoc +++ /dev/null @@ -1,35 +0,0 @@ -// Do not edit directly! -// This file was generated by camel-quarkus-maven-plugin:update-extension-doc-page -= Kamelet Reify -:linkattrs: -:cq-artifact-id: camel-quarkus-kamelet-reify -:cq-native-supported: false -:cq-status: Preview -:cq-status-deprecation: Preview Deprecated -:cq-description: To call Kamelets (indirectly) -:cq-deprecated: true -:cq-jvm-since: 2.0.0 -:cq-native-since: n/a - -[.badges] -[.badge-key]##JVM since##[.badge-supported]##2.0.0## [.badge-key]##Native##[.badge-unsupported]##unsupported## [.badge-key]##⚠️##[.badge-unsupported]##Deprecated## - -To call Kamelets (indirectly) - -== What's inside - -* xref:{cq-camel-components}::kamelet-reify-component.adoc[Kamelet Reify component], URI syntax: `kamelet-reify:delegateUri` - -Please refer to the above link for usage and configuration details. - -== Maven coordinates - -[source,xml] ----- -<dependency> - <groupId>org.apache.camel.quarkus</groupId> - <artifactId>camel-quarkus-kamelet-reify</artifactId> -</dependency> ----- - -Check the xref:user-guide/index.adoc[User guide] for more information about writing Camel Quarkus applications. diff --git a/docs/modules/ROOT/pages/reference/extensions/milo.adoc b/docs/modules/ROOT/pages/reference/extensions/milo.adoc index def02e3..2628289 100644 --- a/docs/modules/ROOT/pages/reference/extensions/milo.adoc +++ b/docs/modules/ROOT/pages/reference/extensions/milo.adoc @@ -18,6 +18,7 @@ Connect to OPC UA servers using the binary protocol for acquiring telemetry data == What's inside +* xref:{cq-camel-components}::milo-browse-component.adoc[OPC UA Browser component], URI syntax: `milo-browse:endpointUri` * xref:{cq-camel-components}::milo-client-component.adoc[OPC UA Client component], URI syntax: `milo-client:endpointUri` * xref:{cq-camel-components}::milo-server-component.adoc[OPC UA Server component], URI syntax: `milo-server:itemId` diff --git a/docs/modules/ROOT/pages/reference/extensions/msv.adoc b/docs/modules/ROOT/pages/reference/extensions/msv.adoc index 7c6a8b6..1d66692 100644 --- a/docs/modules/ROOT/pages/reference/extensions/msv.adoc +++ b/docs/modules/ROOT/pages/reference/extensions/msv.adoc @@ -5,14 +5,14 @@ :cq-artifact-id: camel-quarkus-msv :cq-native-supported: true :cq-status: Stable -:cq-status-deprecation: Stable +:cq-status-deprecation: Stable Deprecated :cq-description: Validate XML payloads using Multi-Schema Validator (MSV). -:cq-deprecated: false +:cq-deprecated: true :cq-jvm-since: 1.1.0 :cq-native-since: 1.4.0 [.badges] -[.badge-key]##JVM since##[.badge-supported]##1.1.0## [.badge-key]##Native since##[.badge-supported]##1.4.0## +[.badge-key]##JVM since##[.badge-supported]##1.1.0## [.badge-key]##Native since##[.badge-supported]##1.4.0## [.badge-key]##⚠️##[.badge-unsupported]##Deprecated## Validate XML payloads using Multi-Schema Validator (MSV). diff --git a/docs/modules/ROOT/pages/reference/extensions/nagios.adoc b/docs/modules/ROOT/pages/reference/extensions/nagios.adoc index 72b6a8b..9ac61ce 100644 --- a/docs/modules/ROOT/pages/reference/extensions/nagios.adoc +++ b/docs/modules/ROOT/pages/reference/extensions/nagios.adoc @@ -5,14 +5,14 @@ :cq-artifact-id: camel-quarkus-nagios :cq-native-supported: true :cq-status: Stable -:cq-status-deprecation: Stable +:cq-status-deprecation: Stable Deprecated :cq-description: Send passive checks to Nagios using JSendNSCA. -:cq-deprecated: false +:cq-deprecated: true :cq-jvm-since: 1.1.0 :cq-native-since: 1.4.0 [.badges] -[.badge-key]##JVM since##[.badge-supported]##1.1.0## [.badge-key]##Native since##[.badge-supported]##1.4.0## +[.badge-key]##JVM since##[.badge-supported]##1.1.0## [.badge-key]##Native since##[.badge-supported]##1.4.0## [.badge-key]##⚠️##[.badge-unsupported]##Deprecated## Send passive checks to Nagios using JSendNSCA. diff --git a/docs/modules/ROOT/pages/reference/extensions/nsq.adoc b/docs/modules/ROOT/pages/reference/extensions/nsq.adoc index d9b5a7b..561e05a 100644 --- a/docs/modules/ROOT/pages/reference/extensions/nsq.adoc +++ b/docs/modules/ROOT/pages/reference/extensions/nsq.adoc @@ -5,14 +5,14 @@ :cq-artifact-id: camel-quarkus-nsq :cq-native-supported: true :cq-status: Stable -:cq-status-deprecation: Stable +:cq-status-deprecation: Stable Deprecated :cq-description: Send and receive messages from NSQ realtime distributed messaging platform. -:cq-deprecated: false +:cq-deprecated: true :cq-jvm-since: 1.1.0 :cq-native-since: 1.2.0 [.badges] -[.badge-key]##JVM since##[.badge-supported]##1.1.0## [.badge-key]##Native since##[.badge-supported]##1.2.0## +[.badge-key]##JVM since##[.badge-supported]##1.1.0## [.badge-key]##Native since##[.badge-supported]##1.2.0## [.badge-key]##⚠️##[.badge-unsupported]##Deprecated## Send and receive messages from NSQ realtime distributed messaging platform. diff --git a/docs/modules/ROOT/pages/reference/extensions/sip.adoc b/docs/modules/ROOT/pages/reference/extensions/sip.adoc index 7ef61d6..3b908b6 100644 --- a/docs/modules/ROOT/pages/reference/extensions/sip.adoc +++ b/docs/modules/ROOT/pages/reference/extensions/sip.adoc @@ -5,14 +5,14 @@ :cq-artifact-id: camel-quarkus-sip :cq-native-supported: false :cq-status: Preview -:cq-status-deprecation: Preview +:cq-status-deprecation: Preview Deprecated :cq-description: Send and receive messages using the SIP protocol (used in telecommunications). -:cq-deprecated: false +:cq-deprecated: true :cq-jvm-since: 1.1.0 :cq-native-since: n/a [.badges] -[.badge-key]##JVM since##[.badge-supported]##1.1.0## [.badge-key]##Native##[.badge-unsupported]##unsupported## +[.badge-key]##JVM since##[.badge-supported]##1.1.0## [.badge-key]##Native##[.badge-unsupported]##unsupported## [.badge-key]##⚠️##[.badge-unsupported]##Deprecated## Send and receive messages using the SIP protocol (used in telecommunications). diff --git a/docs/modules/ROOT/pages/reference/extensions/soroush.adoc b/docs/modules/ROOT/pages/reference/extensions/soroush.adoc index f149cf9..1354d85 100644 --- a/docs/modules/ROOT/pages/reference/extensions/soroush.adoc +++ b/docs/modules/ROOT/pages/reference/extensions/soroush.adoc @@ -5,14 +5,14 @@ :cq-artifact-id: camel-quarkus-soroush :cq-native-supported: false :cq-status: Preview -:cq-status-deprecation: Preview +:cq-status-deprecation: Preview Deprecated :cq-description: Send and receive messages as a Soroush chat bot. -:cq-deprecated: false +:cq-deprecated: true :cq-jvm-since: 1.1.0 :cq-native-since: n/a [.badges] -[.badge-key]##JVM since##[.badge-supported]##1.1.0## [.badge-key]##Native##[.badge-unsupported]##unsupported## +[.badge-key]##JVM since##[.badge-supported]##1.1.0## [.badge-key]##Native##[.badge-unsupported]##unsupported## [.badge-key]##⚠️##[.badge-unsupported]##Deprecated## Send and receive messages as a Soroush chat bot. diff --git a/docs/modules/ROOT/pages/reference/extensions/yammer.adoc b/docs/modules/ROOT/pages/reference/extensions/yammer.adoc index 06b67c3..64626e0 100644 --- a/docs/modules/ROOT/pages/reference/extensions/yammer.adoc +++ b/docs/modules/ROOT/pages/reference/extensions/yammer.adoc @@ -5,14 +5,14 @@ :cq-artifact-id: camel-quarkus-yammer :cq-native-supported: false :cq-status: Preview -:cq-status-deprecation: Preview +:cq-status-deprecation: Preview Deprecated :cq-description: Interact with the Yammer enterprise social network. -:cq-deprecated: false +:cq-deprecated: true :cq-jvm-since: 1.1.0 :cq-native-since: n/a [.badges] -[.badge-key]##JVM since##[.badge-supported]##1.1.0## [.badge-key]##Native##[.badge-unsupported]##unsupported## +[.badge-key]##JVM since##[.badge-supported]##1.1.0## [.badge-key]##Native##[.badge-unsupported]##unsupported## [.badge-key]##⚠️##[.badge-unsupported]##Deprecated## Interact with the Yammer enterprise social network. diff --git a/extensions-jvm/kamelet-reify/deployment/pom.xml b/extensions-jvm/kamelet-reify/deployment/pom.xml deleted file mode 100644 index 218fe76..0000000 --- a/extensions-jvm/kamelet-reify/deployment/pom.xml +++ /dev/null @@ -1,61 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - ---> -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - <modelVersion>4.0.0</modelVersion> - <parent> - <groupId>org.apache.camel.quarkus</groupId> - <artifactId>camel-quarkus-kamelet-reify-parent</artifactId> - <version>2.7.0-SNAPSHOT</version> - <relativePath>../pom.xml</relativePath> - </parent> - - <artifactId>camel-quarkus-kamelet-reify-deployment</artifactId> - <name>Camel Quarkus :: Kamelet Reify :: Deployment</name> - - <dependencies> - <dependency> - <groupId>org.apache.camel.quarkus</groupId> - <artifactId>camel-quarkus-core-deployment</artifactId> - </dependency> - <dependency> - <groupId>org.apache.camel.quarkus</groupId> - <artifactId>camel-quarkus-kamelet-reify</artifactId> - </dependency> - </dependencies> - - <build> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-compiler-plugin</artifactId> - <configuration> - <annotationProcessorPaths> - <path> - <groupId>io.quarkus</groupId> - <artifactId>quarkus-extension-processor</artifactId> - <version>${quarkus.version}</version> - </path> - </annotationProcessorPaths> - </configuration> - </plugin> - </plugins> - </build> - -</project> diff --git a/extensions-jvm/kamelet-reify/deployment/src/main/java/org/apache/camel/quarkus/component/kamelet/reify/deployment/KameletReifyProcessor.java b/extensions-jvm/kamelet-reify/deployment/src/main/java/org/apache/camel/quarkus/component/kamelet/reify/deployment/KameletReifyProcessor.java deleted file mode 100644 index 5293266..0000000 --- a/extensions-jvm/kamelet-reify/deployment/src/main/java/org/apache/camel/quarkus/component/kamelet/reify/deployment/KameletReifyProcessor.java +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.quarkus.component.kamelet.reify.deployment; - -import io.quarkus.deployment.annotations.BuildStep; -import io.quarkus.deployment.annotations.ExecutionTime; -import io.quarkus.deployment.annotations.Record; -import io.quarkus.deployment.builditem.FeatureBuildItem; -import io.quarkus.deployment.pkg.steps.NativeBuild; -import org.apache.camel.quarkus.core.JvmOnlyRecorder; -import org.jboss.logging.Logger; - -class KameletReifyProcessor { - - private static final Logger LOG = Logger.getLogger(KameletReifyProcessor.class); - private static final String FEATURE = "camel-kamelet-reify"; - - @BuildStep - FeatureBuildItem feature() { - return new FeatureBuildItem(FEATURE); - } - - /** - * Remove this once this extension starts supporting the native mode. - */ - @BuildStep(onlyIf = NativeBuild.class) - @Record(value = ExecutionTime.RUNTIME_INIT) - void warnJvmInNative(JvmOnlyRecorder recorder) { - JvmOnlyRecorder.warnJvmInNative(LOG, FEATURE); // warn at build time - recorder.warnJvmInNative(FEATURE); // warn at runtime - } -} diff --git a/extensions-jvm/kamelet-reify/pom.xml b/extensions-jvm/kamelet-reify/pom.xml deleted file mode 100644 index b7250e7..0000000 --- a/extensions-jvm/kamelet-reify/pom.xml +++ /dev/null @@ -1,37 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - ---> -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - <modelVersion>4.0.0</modelVersion> - <parent> - <groupId>org.apache.camel.quarkus</groupId> - <artifactId>camel-quarkus-extensions-jvm</artifactId> - <version>2.7.0-SNAPSHOT</version> - <relativePath>../pom.xml</relativePath> - </parent> - - <artifactId>camel-quarkus-kamelet-reify-parent</artifactId> - <name>Camel Quarkus :: Kamelet Reify</name> - <packaging>pom</packaging> - - <modules> - <module>deployment</module> - <module>runtime</module> - </modules> -</project> diff --git a/extensions-jvm/kamelet-reify/runtime/pom.xml b/extensions-jvm/kamelet-reify/runtime/pom.xml deleted file mode 100644 index c1d069f..0000000 --- a/extensions-jvm/kamelet-reify/runtime/pom.xml +++ /dev/null @@ -1,110 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - ---> -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - <modelVersion>4.0.0</modelVersion> - <parent> - <groupId>org.apache.camel.quarkus</groupId> - <artifactId>camel-quarkus-kamelet-reify-parent</artifactId> - <version>2.7.0-SNAPSHOT</version> - <relativePath>../pom.xml</relativePath> - </parent> - - <artifactId>camel-quarkus-kamelet-reify</artifactId> - <name>Camel Quarkus :: Kamelet Reify :: Runtime</name> - <description>To call Kamelets (indirectly)</description> - - <properties> - <camel.quarkus.jvmSince>2.0.0</camel.quarkus.jvmSince> - </properties> - - <dependencyManagement> - <dependencies> - <dependency> - <groupId>org.apache.camel.quarkus</groupId> - <artifactId>camel-quarkus-bom</artifactId> - <version>${project.version}</version> - <type>pom</type> - <scope>import</scope> - </dependency> - </dependencies> - </dependencyManagement> - - <dependencies> - <dependency> - <groupId>org.apache.camel.quarkus</groupId> - <artifactId>camel-quarkus-core</artifactId> - </dependency> - <dependency> - <groupId>org.apache.camel</groupId> - <artifactId>camel-kamelet-reify</artifactId> - </dependency> - </dependencies> - - <build> - <plugins> - <plugin> - <groupId>io.quarkus</groupId> - <artifactId>quarkus-bootstrap-maven-plugin</artifactId> - </plugin> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-compiler-plugin</artifactId> - <configuration> - <annotationProcessorPaths> - <path> - <groupId>io.quarkus</groupId> - <artifactId>quarkus-extension-processor</artifactId> - <version>${quarkus.version}</version> - </path> - </annotationProcessorPaths> - </configuration> - </plugin> - </plugins> - </build> - - - <profiles> - <profile> - <id>full</id> - <activation> - <property> - <name>!quickly</name> - </property> - </activation> - <build> - <plugins> - <plugin> - <groupId>org.apache.camel.quarkus</groupId> - <artifactId>camel-quarkus-maven-plugin</artifactId> - <executions> - <execution> - <id>update-extension-doc-page</id> - <goals> - <goal>update-extension-doc-page</goal> - </goals> - <phase>process-classes</phase> - </execution> - </executions> - </plugin> - </plugins> - </build> - </profile> - </profiles> -</project> diff --git a/extensions-jvm/kamelet-reify/runtime/src/main/resources/META-INF/quarkus-extension.yaml b/extensions-jvm/kamelet-reify/runtime/src/main/resources/META-INF/quarkus-extension.yaml deleted file mode 100644 index 3e0c672..0000000 --- a/extensions-jvm/kamelet-reify/runtime/src/main/resources/META-INF/quarkus-extension.yaml +++ /dev/null @@ -1,33 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You under the Apache License, Version 2.0 -# (the "License"); you may not use this file except in compliance with -# the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - -# This is a generated file. Do not edit directly! -# To re-generate, run the following command from the top level directory: -# -# mvn -N cq:update-quarkus-metadata -# ---- -name: "Camel Kamelet Reify" -description: "To call Kamelets (indirectly)" -metadata: - unlisted: true - guide: "https://camel.apache.org/camel-quarkus/latest/reference/extensions/kamelet-reify.html" - categories: - - "integration" - status: - - "preview" - - "deprecated" \ No newline at end of file diff --git a/extensions-jvm/pom.xml b/extensions-jvm/pom.xml index 077362d..0e1c1f0 100644 --- a/extensions-jvm/pom.xml +++ b/extensions-jvm/pom.xml @@ -90,7 +90,6 @@ <module>json-patch</module> <module>jsonapi</module> <module>jt400</module> - <module>kamelet-reify</module> <module>kotlin-dsl</module> <module>ldap</module> <module>ldif</module> diff --git a/integration-tests-jvm/kamelet-reify/pom.xml b/integration-tests-jvm/kamelet-reify/pom.xml deleted file mode 100644 index e300b48..0000000 --- a/integration-tests-jvm/kamelet-reify/pom.xml +++ /dev/null @@ -1,82 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - ---> -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> - <modelVersion>4.0.0</modelVersion> - <parent> - <groupId>org.apache.camel.quarkus</groupId> - <artifactId>camel-quarkus-build-parent-it</artifactId> - <version>2.7.0-SNAPSHOT</version> - <relativePath>../../poms/build-parent-it/pom.xml</relativePath> - </parent> - - <artifactId>camel-quarkus-integration-test-kamelet-reify</artifactId> - <name>Camel Quarkus :: Integration Tests :: Kamelet Reify</name> - <description>Integration tests for Camel Quarkus Kamelet Reify extension</description> - - <dependencies> - <dependency> - <groupId>org.apache.camel.quarkus</groupId> - <artifactId>camel-quarkus-kamelet-reify</artifactId> - </dependency> - <dependency> - <groupId>io.quarkus</groupId> - <artifactId>quarkus-resteasy</artifactId> - </dependency> - - <!-- test dependencies --> - <dependency> - <groupId>io.quarkus</groupId> - <artifactId>quarkus-junit5</artifactId> - <scope>test</scope> - </dependency> - <dependency> - <groupId>io.rest-assured</groupId> - <artifactId>rest-assured</artifactId> - <scope>test</scope> - </dependency> - </dependencies> - - <profiles> - <profile> - <id>virtualDependencies</id> - <activation> - <property> - <name>!noVirtualDependencies</name> - </property> - </activation> - <dependencies> - <!-- The following dependencies guarantee that this module is built after them. You can update them by running `mvn process-resources -Pformat -N` from the source tree root directory --> - <dependency> - <groupId>org.apache.camel.quarkus</groupId> - <artifactId>camel-quarkus-kamelet-reify-deployment</artifactId> - <version>${project.version}</version> - <type>pom</type> - <scope>test</scope> - <exclusions> - <exclusion> - <groupId>*</groupId> - <artifactId>*</artifactId> - </exclusion> - </exclusions> - </dependency> - </dependencies> - </profile> - </profiles> -</project> diff --git a/integration-tests-jvm/kamelet-reify/src/main/java/org/apache/camel/quarkus/component/kamelet/reify/it/KameletReifyResource.java b/integration-tests-jvm/kamelet-reify/src/main/java/org/apache/camel/quarkus/component/kamelet/reify/it/KameletReifyResource.java deleted file mode 100644 index 41f67c1..0000000 --- a/integration-tests-jvm/kamelet-reify/src/main/java/org/apache/camel/quarkus/component/kamelet/reify/it/KameletReifyResource.java +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.quarkus.component.kamelet.reify.it; - -import javax.enterprise.context.ApplicationScoped; -import javax.inject.Inject; -import javax.ws.rs.GET; -import javax.ws.rs.Path; -import javax.ws.rs.Produces; -import javax.ws.rs.core.MediaType; -import javax.ws.rs.core.Response; - -import org.apache.camel.CamelContext; -import org.jboss.logging.Logger; - -@Path("/kamelet-reify") -@ApplicationScoped -public class KameletReifyResource { - - private static final Logger LOG = Logger.getLogger(KameletReifyResource.class); - - private static final String COMPONENT_KAMELET_REIFY = "kamelet-reify"; - @Inject - CamelContext context; - - @Path("/load/component/kamelet-reify") - @GET - @Produces(MediaType.TEXT_PLAIN) - public Response loadComponentKameletReify() throws Exception { - /* This is an autogenerated test */ - if (context.getComponent(COMPONENT_KAMELET_REIFY) != null) { - return Response.ok().build(); - } - LOG.warnf("Could not load [%s] from the Camel context", COMPONENT_KAMELET_REIFY); - return Response.status(500, COMPONENT_KAMELET_REIFY + " could not be loaded from the Camel context").build(); - } -} diff --git a/integration-tests-jvm/kamelet-reify/src/test/java/org/apache/camel/quarkus/component/kamelet/reify/it/KameletReifyTest.java b/integration-tests-jvm/kamelet-reify/src/test/java/org/apache/camel/quarkus/component/kamelet/reify/it/KameletReifyTest.java deleted file mode 100644 index 5b1cd62..0000000 --- a/integration-tests-jvm/kamelet-reify/src/test/java/org/apache/camel/quarkus/component/kamelet/reify/it/KameletReifyTest.java +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.quarkus.component.kamelet.reify.it; - -import io.quarkus.test.junit.QuarkusTest; -import io.restassured.RestAssured; -import org.junit.jupiter.api.Test; - -@QuarkusTest -class KameletReifyTest { - - @Test - public void loadComponentKameletReify() { - /* A simple autogenerated test */ - RestAssured.get("/kamelet-reify/load/component/kamelet-reify") - .then() - .statusCode(200); - } - -} diff --git a/integration-tests-jvm/pom.xml b/integration-tests-jvm/pom.xml index 6f26e22..54d904c 100644 --- a/integration-tests-jvm/pom.xml +++ b/integration-tests-jvm/pom.xml @@ -88,7 +88,6 @@ <module>json-patch</module> <module>jsonapi</module> <module>jt400</module> - <module>kamelet-reify</module> <module>kotlin-dsl</module> <module>ldap</module> <module>ldif</module> diff --git a/poms/bom/pom.xml b/poms/bom/pom.xml index 930543b..ae8358c 100644 --- a/poms/bom/pom.xml +++ b/poms/bom/pom.xml @@ -1523,11 +1523,6 @@ </dependency> <dependency> <groupId>org.apache.camel</groupId> - <artifactId>camel-kamelet-reify</artifactId> - <version>${camel.version}</version> - </dependency> - <dependency> - <groupId>org.apache.camel</groupId> <artifactId>camel-kotlin-dsl</artifactId> <version>${camel.version}</version> </dependency> @@ -4141,16 +4136,6 @@ </dependency> <dependency> <groupId>org.apache.camel.quarkus</groupId> - <artifactId>camel-quarkus-kamelet-reify</artifactId> - <version>${camel-quarkus.version}</version> - </dependency> - <dependency> - <groupId>org.apache.camel.quarkus</groupId> - <artifactId>camel-quarkus-kamelet-reify-deployment</artifactId> - <version>${camel-quarkus.version}</version> - </dependency> - <dependency> - <groupId>org.apache.camel.quarkus</groupId> <artifactId>camel-quarkus-kotlin</artifactId> <version>${camel-quarkus.version}</version> </dependency>