This is an automated email from the ASF dual-hosted git repository. nferraro pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel-k.git
commit 12f2675b5db1086a7306cb672cbe392b66822444 Author: nicolaferraro <[email protected]> AuthorDate: Thu Nov 5 16:41:24 2020 +0100 Fix #1562: remove support for main runtime --- addons/tracing/tracing.go | 7 - addons/tracing/tracing_test.go | 45 - deploy/camel-catalog-1.5.0-main.yaml | 3292 -------------------------------- deploy/traits.yaml | 2 +- docs/modules/traits/pages/quarkus.adoc | 2 + e2e/common/cron_test.go | 34 +- pkg/apis/camel/v1/common_types.go | 2 - pkg/builder/runtime/main.go | 176 -- pkg/builder/runtime/main_test.go | 229 --- pkg/builder/runtime/runtime.go | 17 - pkg/trait/builder.go | 9 +- pkg/trait/builder_test.go | 2 +- pkg/trait/camel.go | 7 +- pkg/trait/camel_test.go | 2 +- pkg/trait/container.go | 10 +- pkg/trait/container_probes_test.go | 27 +- pkg/trait/jolokia.go | 3 - pkg/trait/prometheus.go | 26 - pkg/trait/prometheus_test.go | 8 +- pkg/trait/quarkus.go | 5 + pkg/trait/trait_test.go | 2 +- pkg/util/camel/camel_util_test.go | 19 +- pkg/util/camel/catalog.go | 5 - script/Makefile | 1 - 24 files changed, 35 insertions(+), 3897 deletions(-) diff --git a/addons/tracing/tracing.go b/addons/tracing/tracing.go index 0da0a40..685f35d 100644 --- a/addons/tracing/tracing.go +++ b/addons/tracing/tracing.go @@ -56,13 +56,6 @@ const ( var ( tracingProperties = map[v1.RuntimeProvider]map[string]string{ - v1.RuntimeProviderMain: { - propEnabled: "camel.k.customizer.tracing.enabled", - propEndpoint: "camel.k.customizer.tracing.reporter.sender.endpoint", - propServiceName: "camel.k.customizer.tracing.service-name", - propSamplerType: "camel.k.customizer.tracing.sampler.type", - propSamplerParam: "camel.k.customizer.tracing.sampler.param", - }, v1.RuntimeProviderQuarkus: { propEndpoint: "quarkus.jaeger.endpoint", propServiceName: "quarkus.jaeger.service-name", diff --git a/addons/tracing/tracing_test.go b/addons/tracing/tracing_test.go index 2aad336..7a3c3e0 100644 --- a/addons/tracing/tracing_test.go +++ b/addons/tracing/tracing_test.go @@ -27,51 +27,6 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" ) -func TestTracingTrait(t *testing.T) { - e := createEnvironment(t, camel.MainCatalog) - tracing := NewTracingTrait() - enabled := true - tracing.(*tracingTrait).Enabled = &enabled - tracing.(*tracingTrait).Endpoint = "http://endpoint1" - ok, err := tracing.Configure(e) - assert.Nil(t, err) - assert.True(t, ok) - - err = tracing.Apply(e) - assert.Nil(t, err) - - assert.Equal(t, "true", e.ApplicationProperties["camel.k.customizer.tracing.enabled"]) - assert.Equal(t, "http://endpoint1", e.ApplicationProperties["camel.k.customizer.tracing.reporter.sender.endpoint"]) - assert.Equal(t, "test", e.ApplicationProperties["camel.k.customizer.tracing.service-name"]) - assert.Equal(t, "const", e.ApplicationProperties["camel.k.customizer.tracing.sampler.type"]) - assert.Equal(t, "1", e.ApplicationProperties["camel.k.customizer.tracing.sampler.param"]) -} - -func TestTracingTraitFullConfig(t *testing.T) { - e := createEnvironment(t, camel.MainCatalog) - tracing := NewTracingTrait() - enabled := true - tracing.(*tracingTrait).Enabled = &enabled - tracing.(*tracingTrait).Endpoint = "http://endpoint2" - samplerParam := "2" - tracing.(*tracingTrait).SamplerParam = &samplerParam - samplerType := "buh" - tracing.(*tracingTrait).SamplerType = &samplerType - tracing.(*tracingTrait).ServiceName = "myservice" - ok, err := tracing.Configure(e) - assert.Nil(t, err) - assert.True(t, ok) - - err = tracing.Apply(e) - assert.Nil(t, err) - - assert.Equal(t, "true", e.ApplicationProperties["camel.k.customizer.tracing.enabled"]) - assert.Equal(t, "http://endpoint2", e.ApplicationProperties["camel.k.customizer.tracing.reporter.sender.endpoint"]) - assert.Equal(t, "myservice", e.ApplicationProperties["camel.k.customizer.tracing.service-name"]) - assert.Equal(t, "buh", e.ApplicationProperties["camel.k.customizer.tracing.sampler.type"]) - assert.Equal(t, "2", e.ApplicationProperties["camel.k.customizer.tracing.sampler.param"]) -} - func TestTracingTraitOnQuarkus(t *testing.T) { e := createEnvironment(t, camel.QuarkusCatalog) tracing := NewTracingTrait() diff --git a/deploy/camel-catalog-1.5.0-main.yaml b/deploy/camel-catalog-1.5.0-main.yaml deleted file mode 100644 index b13fece..0000000 --- a/deploy/camel-catalog-1.5.0-main.yaml +++ /dev/null @@ -1,3292 +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. -# --------------------------------------------------------------------------- - -apiVersion: camel.apache.org/v1 -kind: CamelCatalog -metadata: - name: camel-catalog-1.5.0-main - labels: - app: camel-k - camel.apache.org/catalog.version: 3.5.0 - camel.apache.org/catalog.loader.version: 3.5.0 - camel.apache.org/runtime.version: 1.5.0 - camel.apache.org/runtime.provider: main -spec: - runtime: - version: 1.5.0 - provider: main - applicationClass: org.apache.camel.k.main.Application - metadata: - camel.version: 3.5.0 - quarkus.version: 1.8.0.Final - camel-quarkus.version: 1.1.0 - dependencies: - - groupId: org.apache.camel.k - artifactId: camel-k-runtime-main - capabilities: - cron: - dependencies: - - groupId: org.apache.camel.k - artifactId: camel-k-runtime-cron - health: - dependencies: - - groupId: org.apache.camel.k - artifactId: camel-k-runtime-health - platform-http: - dependencies: - - groupId: org.apache.camel.k - artifactId: camel-k-runtime-http - rest: - dependencies: - - groupId: org.apache.camel - artifactId: camel-rest - - groupId: org.apache.camel.k - artifactId: camel-k-runtime-http - circuit-breaker: - dependencies: - - groupId: org.apache.camel - artifactId: camel-microprofile-fault-tolerance - tracing: - dependencies: - - groupId: org.apache.camel.k - artifactId: camel-k-runtime-tracing - master: - dependencies: - - groupId: org.apache.camel.k - artifactId: camel-k-runtime-master - artifacts: - camel-zipfile: - groupId: org.apache.camel - artifactId: camel-zipfile - dataformats: - - zipfile - javaTypes: - - org.apache.camel.dataformat.zipfile.ZipFileDataFormat - camel-fop: - groupId: org.apache.camel - artifactId: camel-fop - schemes: - - id: fop - http: false - passive: false - javaTypes: - - org.apache.camel.component.fop.FopComponent - camel-azure: - groupId: org.apache.camel - artifactId: camel-azure - schemes: - - id: azure-blob - http: false - passive: false - - id: azure-queue - http: false - passive: false - javaTypes: - - org.apache.camel.component.azure.blob.BlobServiceComponent - - org.apache.camel.component.azure.queue.QueueServiceComponent - camel-vertx-websocket: - groupId: org.apache.camel - artifactId: camel-vertx-websocket - schemes: - - id: vertx-websocket - http: false - passive: false - javaTypes: - - org.apache.camel.component.vertx.websocket.VertxWebsocketComponent - camel-seda: - groupId: org.apache.camel - artifactId: camel-seda - schemes: - - id: seda - http: false - passive: true - javaTypes: - - org.apache.camel.component.seda.SedaComponent - camel-mina: - groupId: org.apache.camel - artifactId: camel-mina - schemes: - - id: mina - http: false - passive: false - javaTypes: - - org.apache.camel.component.mina.MinaComponent - camel-aws2-mq: - groupId: org.apache.camel - artifactId: camel-aws2-mq - schemes: - - id: aws2-mq - http: false - passive: false - javaTypes: - - org.apache.camel.component.aws2.mq.MQ2Component - camel-printer: - groupId: org.apache.camel - artifactId: camel-printer - schemes: - - id: lpr - http: false - passive: false - javaTypes: - - org.apache.camel.component.printer.PrinterComponent - camel-wordpress: - groupId: org.apache.camel - artifactId: camel-wordpress - schemes: - - id: wordpress - http: false - passive: false - javaTypes: - - org.apache.camel.component.wordpress.WordpressComponent - camel-websocket: - groupId: org.apache.camel - artifactId: camel-websocket - schemes: - - id: websocket - http: true - passive: false - javaTypes: - - org.apache.camel.component.websocket.WebsocketComponent - camel-slack: - groupId: org.apache.camel - artifactId: camel-slack - schemes: - - id: slack - http: false - passive: false - javaTypes: - - org.apache.camel.component.slack.SlackComponent - camel-influxdb: - groupId: org.apache.camel - artifactId: camel-influxdb - schemes: - - id: influxdb - http: false - passive: false - javaTypes: - - org.apache.camel.component.influxdb.InfluxDbComponent - camel-lumberjack: - groupId: org.apache.camel - artifactId: camel-lumberjack - schemes: - - id: lumberjack - http: false - passive: false - javaTypes: - - org.apache.camel.component.lumberjack.LumberjackComponent - camel-stax: - groupId: org.apache.camel - artifactId: camel-stax - schemes: - - id: stax - http: false - passive: false - javaTypes: - - org.apache.camel.component.stax.StAXComponent - camel-sjms2: - groupId: org.apache.camel - artifactId: camel-sjms2 - schemes: - - id: sjms2 - http: false - passive: false - javaTypes: - - org.apache.camel.component.sjms2.Sjms2Component - camel-vertx-http: - groupId: org.apache.camel - artifactId: camel-vertx-http - schemes: - - id: vertx-http - http: false - passive: false - javaTypes: - - org.apache.camel.component.vertx.http.VertxHttpComponent - camel-facebook: - groupId: org.apache.camel - artifactId: camel-facebook - schemes: - - id: facebook - http: false - passive: false - javaTypes: - - org.apache.camel.component.facebook.FacebookComponent - camel-docker: - groupId: org.apache.camel - artifactId: camel-docker - schemes: - - id: docker - http: false - passive: false - javaTypes: - - org.apache.camel.component.docker.DockerComponent - camel-apns: - groupId: org.apache.camel - artifactId: camel-apns - schemes: - - id: apns - http: false - passive: false - javaTypes: - - org.apache.camel.component.apns.ApnsComponent - camel-aws2-ses: - groupId: org.apache.camel - artifactId: camel-aws2-ses - schemes: - - id: aws2-ses - http: false - passive: false - javaTypes: - - org.apache.camel.component.aws2.ses.Ses2Component - camel-jaxb: - groupId: org.apache.camel - artifactId: camel-jaxb - dataformats: - - jaxb - javaTypes: - - org.apache.camel.converter.jaxb.JaxbDataFormat - camel-quartz: - groupId: org.apache.camel - artifactId: camel-quartz - schemes: - - id: quartz - http: false - passive: false - javaTypes: - - org.apache.camel.component.quartz.QuartzComponent - camel-aws-swf: - groupId: org.apache.camel - artifactId: camel-aws-swf - schemes: - - id: aws-swf - http: false - passive: false - javaTypes: - - org.apache.camel.component.aws.swf.SWFComponent - camel-ehcache: - groupId: org.apache.camel - artifactId: camel-ehcache - schemes: - - id: ehcache - http: false - passive: false - javaTypes: - - org.apache.camel.component.ehcache.EhcacheComponent - camel-spring-ws: - groupId: org.apache.camel - artifactId: camel-spring-ws - schemes: - - id: spring-ws - http: true - passive: false - javaTypes: - - org.apache.camel.component.spring.ws.SpringWebserviceComponent - camel-nagios: - groupId: org.apache.camel - artifactId: camel-nagios - schemes: - - id: nagios - http: false - passive: false - javaTypes: - - org.apache.camel.component.nagios.NagiosComponent - camel-mongodb: - groupId: org.apache.camel - artifactId: camel-mongodb - schemes: - - id: mongodb - http: false - passive: false - javaTypes: - - org.apache.camel.component.mongodb.MongoDbComponent - camel-aws2-iam: - groupId: org.apache.camel - artifactId: camel-aws2-iam - schemes: - - id: aws2-iam - http: false - passive: false - javaTypes: - - org.apache.camel.component.aws2.iam.IAM2Component - camel-jsonata: - groupId: org.apache.camel - artifactId: camel-jsonata - schemes: - - id: jsonata - http: false - passive: false - javaTypes: - - org.apache.camel.component.jsonata.JsonataComponent - camel-aws-eks: - groupId: org.apache.camel - artifactId: camel-aws-eks - schemes: - - id: aws-eks - http: false - passive: false - javaTypes: - - org.apache.camel.component.aws.eks.EKSComponent - camel-platform-http: - groupId: org.apache.camel - artifactId: camel-platform-http - schemes: - - id: platform-http - http: true - passive: false - javaTypes: - - org.apache.camel.component.platform.http.PlatformHttpComponent - camel-jetty: - groupId: org.apache.camel - artifactId: camel-jetty - schemes: - - id: jetty - http: true - passive: false - javaTypes: - - org.apache.camel.component.jetty9.JettyHttpComponent9 - camel-lzf: - groupId: org.apache.camel - artifactId: camel-lzf - dataformats: - - lzf - javaTypes: - - org.apache.camel.dataformat.lzf.LZFDataFormat - camel-splunk-hec: - groupId: org.apache.camel - artifactId: camel-splunk-hec - schemes: - - id: splunk-hec - http: false - passive: false - javaTypes: - - org.apache.camel.component.splunkhec.SplunkHECComponent - camel-aws2-translate: - groupId: org.apache.camel - artifactId: camel-aws2-translate - schemes: - - id: aws2-translate - http: false - passive: false - javaTypes: - - org.apache.camel.component.aws2.translate.Translate2Component - camel-vm: - groupId: org.apache.camel - artifactId: camel-vm - schemes: - - id: vm - http: false - passive: true - javaTypes: - - org.apache.camel.component.vm.VmComponent - camel-crypto: - groupId: org.apache.camel - artifactId: camel-crypto - schemes: - - id: crypto - http: false - passive: false - dataformats: - - crypto - - pgp - javaTypes: - - org.apache.camel.component.crypto.DigitalSignatureComponent - - org.apache.camel.converter.crypto.CryptoDataFormat - - org.apache.camel.converter.crypto.PGPDataFormat - camel-cometd: - groupId: org.apache.camel - artifactId: camel-cometd - schemes: - - id: cometd - http: false - passive: false - - id: cometds - http: false - passive: false - javaTypes: - - org.apache.camel.component.cometd.CometdComponent - camel-djl: - groupId: org.apache.camel - artifactId: camel-djl - schemes: - - id: djl - http: false - passive: false - javaTypes: - - org.apache.camel.component.djl.DJLComponent - camel-bean-validator: - groupId: org.apache.camel - artifactId: camel-bean-validator - schemes: - - id: bean-validator - http: false - passive: false - javaTypes: - - org.apache.camel.component.bean.validator.BeanValidatorComponent - camel-http: - groupId: org.apache.camel - artifactId: camel-http - schemes: - - id: http - http: false - passive: false - - id: https - http: false - passive: false - dependencies: - - groupId: org.apache.camel - artifactId: camel-file - javaTypes: - - org.apache.camel.component.http.HttpComponent - camel-tika: - groupId: org.apache.camel - artifactId: camel-tika - schemes: - - id: tika - http: false - passive: false - javaTypes: - - org.apache.camel.component.tika.TikaComponent - camel-caffeine: - groupId: org.apache.camel - artifactId: camel-caffeine - schemes: - - id: caffeine-cache - http: false - passive: false - - id: caffeine-loadcache - http: false - passive: false - javaTypes: - - org.apache.camel.component.caffeine.cache.CaffeineCacheComponent - - org.apache.camel.component.caffeine.load.CaffeineLoadCacheComponent - camel-vertx: - groupId: org.apache.camel - artifactId: camel-vertx - schemes: - - id: vertx - http: false - passive: false - javaTypes: - - org.apache.camel.component.vertx.VertxComponent - camel-jslt: - groupId: org.apache.camel - artifactId: camel-jslt - schemes: - - id: jslt - http: false - passive: false - javaTypes: - - org.apache.camel.component.jslt.JsltComponent - camel-openstack: - groupId: org.apache.camel - artifactId: camel-openstack - schemes: - - id: openstack-cinder - http: false - passive: false - - id: openstack-glance - http: false - passive: false - - id: openstack-keystone - http: false - passive: false - - id: openstack-neutron - http: false - passive: false - - id: openstack-nova - http: false - passive: false - - id: openstack-swift - http: false - passive: false - javaTypes: - - org.apache.camel.component.openstack.cinder.CinderComponent - - org.apache.camel.component.openstack.glance.GlanceComponent - - org.apache.camel.component.openstack.keystone.KeystoneComponent - - org.apache.camel.component.openstack.neutron.NeutronComponent - - org.apache.camel.component.openstack.nova.NovaComponent - - org.apache.camel.component.openstack.swift.SwiftComponent - camel-google-calendar: - groupId: org.apache.camel - artifactId: camel-google-calendar - schemes: - - id: google-calendar - http: false - passive: false - - id: google-calendar-stream - http: false - passive: false - javaTypes: - - org.apache.camel.component.google.calendar.GoogleCalendarComponent - - org.apache.camel.component.google.calendar.stream.GoogleCalendarStreamComponent - camel-browse: - groupId: org.apache.camel - artifactId: camel-browse - schemes: - - id: browse - http: false - passive: true - javaTypes: - - org.apache.camel.component.browse.BrowseComponent - camel-ldif: - groupId: org.apache.camel - artifactId: camel-ldif - schemes: - - id: ldif - http: false - passive: false - javaTypes: - - org.apache.camel.component.ldif.LdifComponent - camel-google-sheets: - groupId: org.apache.camel - artifactId: camel-google-sheets - schemes: - - id: google-sheets - http: false - passive: false - - id: google-sheets-stream - http: false - passive: false - javaTypes: - - org.apache.camel.component.google.sheets.GoogleSheetsComponent - - org.apache.camel.component.google.sheets.stream.GoogleSheetsStreamComponent - camel-sap-netweaver: - groupId: org.apache.camel - artifactId: camel-sap-netweaver - schemes: - - id: sap-netweaver - http: false - passive: false - javaTypes: - - org.apache.camel.component.sap.netweaver.NetWeaverComponent - camel-ganglia: - groupId: org.apache.camel - artifactId: camel-ganglia - schemes: - - id: ganglia - http: false - passive: false - javaTypes: - - org.apache.camel.component.ganglia.GangliaComponent - camel-schematron: - groupId: org.apache.camel - artifactId: camel-schematron - schemes: - - id: schematron - http: false - passive: false - javaTypes: - - org.apache.camel.component.schematron.SchematronComponent - camel-yammer: - groupId: org.apache.camel - artifactId: camel-yammer - schemes: - - id: yammer - http: false - passive: false - javaTypes: - - org.apache.camel.component.yammer.YammerComponent - camel-direct: - groupId: org.apache.camel - artifactId: camel-direct - schemes: - - id: direct - http: false - passive: true - javaTypes: - - org.apache.camel.component.direct.DirectComponent - camel-chunk: - groupId: org.apache.camel - artifactId: camel-chunk - schemes: - - id: chunk - http: false - passive: false - javaTypes: - - org.apache.camel.component.chunk.ChunkComponent - camel-weka: - groupId: org.apache.camel - artifactId: camel-weka - schemes: - - id: weka - http: false - passive: false - javaTypes: - - org.apache.camel.component.weka.WekaComponent - camel-azure-eventhubs: - groupId: org.apache.camel - artifactId: camel-azure-eventhubs - schemes: - - id: azure-eventhubs - http: false - passive: false - javaTypes: - - org.apache.camel.component.azure.eventhubs.EventHubsComponent - camel-jacksonxml: - groupId: org.apache.camel - artifactId: camel-jacksonxml - dataformats: - - jacksonxml - javaTypes: - - org.apache.camel.component.jacksonxml.JacksonXMLDataFormat - camel-spring-batch: - groupId: org.apache.camel - artifactId: camel-spring-batch - schemes: - - id: spring-batch - http: false - passive: false - javaTypes: - - org.apache.camel.component.spring.batch.SpringBatchComponent - camel-stub: - groupId: org.apache.camel - artifactId: camel-stub - schemes: - - id: stub - http: false - passive: true - javaTypes: - - org.apache.camel.component.stub.StubComponent - camel-drill: - groupId: org.apache.camel - artifactId: camel-drill - schemes: - - id: drill - http: false - passive: false - javaTypes: - - org.apache.camel.component.drill.DrillComponent - camel-zookeeper: - groupId: org.apache.camel - artifactId: camel-zookeeper - schemes: - - id: zookeeper - http: false - passive: false - javaTypes: - - org.apache.camel.component.zookeeper.ZooKeeperComponent - camel-aws-cw: - groupId: org.apache.camel - artifactId: camel-aws-cw - schemes: - - id: aws-cw - http: false - passive: false - javaTypes: - - org.apache.camel.component.aws.cw.CwComponent - camel-xstream: - groupId: org.apache.camel - artifactId: camel-xstream - dataformats: - - json-xstream - - xstream - javaTypes: - - org.apache.camel.dataformat.xstream.JsonDataFormat - - org.apache.camel.dataformat.xstream.XStreamDataFormat - camel-weather: - groupId: org.apache.camel - artifactId: camel-weather - schemes: - - id: weather - http: false - passive: false - javaTypes: - - org.apache.camel.component.weather.WeatherComponent - camel-fastjson: - groupId: org.apache.camel - artifactId: camel-fastjson - dataformats: - - json-fastjson - javaTypes: - - org.apache.camel.component.fastjson.FastjsonDataFormat - camel-pdf: - groupId: org.apache.camel - artifactId: camel-pdf - schemes: - - id: pdf - http: false - passive: false - javaTypes: - - org.apache.camel.component.pdf.PdfComponent - camel-spring-integration: - groupId: org.apache.camel - artifactId: camel-spring-integration - schemes: - - id: spring-integration - http: false - passive: false - javaTypes: - - org.apache.camel.component.spring.integration.SpringIntegrationComponent - camel-paho: - groupId: org.apache.camel - artifactId: camel-paho - schemes: - - id: paho - http: false - passive: false - javaTypes: - - org.apache.camel.component.paho.PahoComponent - camel-netty: - groupId: org.apache.camel - artifactId: camel-netty - schemes: - - id: netty - http: false - passive: false - javaTypes: - - org.apache.camel.component.netty.NettyComponent - camel-mustache: - groupId: org.apache.camel - artifactId: camel-mustache - schemes: - - id: mustache - http: false - passive: false - javaTypes: - - org.apache.camel.component.mustache.MustacheComponent - camel-sip: - groupId: org.apache.camel - artifactId: camel-sip - schemes: - - id: sip - http: false - passive: false - - id: sips - http: false - passive: false - javaTypes: - - org.apache.camel.component.sip.SipComponent - camel-hbase: - groupId: org.apache.camel - artifactId: camel-hbase - schemes: - - id: hbase - http: false - passive: false - javaTypes: - - org.apache.camel.component.hbase.HBaseComponent - camel-jackson: - groupId: org.apache.camel - artifactId: camel-jackson - dataformats: - - json-jackson - javaTypes: - - org.apache.camel.component.jackson.JacksonDataFormat - camel-kafka: - groupId: org.apache.camel - artifactId: camel-kafka - schemes: - - id: kafka - http: false - passive: false - javaTypes: - - org.apache.camel.component.kafka.KafkaComponent - camel-twitter: - groupId: org.apache.camel - artifactId: camel-twitter - schemes: - - id: twitter-directmessage - http: false - passive: false - - id: twitter-search - http: false - passive: false - - id: twitter-timeline - http: false - passive: false - javaTypes: - - org.apache.camel.component.twitter.directmessage.TwitterDirectMessageComponent - - org.apache.camel.component.twitter.search.TwitterSearchComponent - - org.apache.camel.component.twitter.timeline.TwitterTimelineComponent - camel-salesforce: - groupId: org.apache.camel - artifactId: camel-salesforce - schemes: - - id: salesforce - http: false - passive: false - javaTypes: - - org.apache.camel.component.salesforce.SalesforceComponent - camel-minio: - groupId: org.apache.camel - artifactId: camel-minio - schemes: - - id: minio - http: false - passive: false - javaTypes: - - org.apache.camel.component.minio.MinioComponent - camel-xj: - groupId: org.apache.camel - artifactId: camel-xj - schemes: - - id: xj - http: false - passive: false - javaTypes: - - org.apache.camel.component.xj.XJComponent - camel-aws2-eks: - groupId: org.apache.camel - artifactId: camel-aws2-eks - schemes: - - id: aws2-eks - http: false - passive: false - javaTypes: - - org.apache.camel.component.aws2.eks.EKS2Component - camel-servicenow: - groupId: org.apache.camel - artifactId: camel-servicenow - schemes: - - id: servicenow - http: false - passive: false - javaTypes: - - org.apache.camel.component.servicenow.ServiceNowComponent - camel-ical: - groupId: org.apache.camel - artifactId: camel-ical - dataformats: - - ical - javaTypes: - - org.apache.camel.component.ical.ICalDataFormat - camel-corda: - groupId: org.apache.camel - artifactId: camel-corda - schemes: - - id: corda - http: false - passive: false - javaTypes: - - org.apache.camel.component.corda.CordaComponent - camel-grape: - groupId: org.apache.camel - artifactId: camel-grape - schemes: - - id: grape - http: false - passive: false - javaTypes: - - org.apache.camel.component.grape.GrapeComponent - camel-univocity-parsers: - groupId: org.apache.camel - artifactId: camel-univocity-parsers - dataformats: - - univocity-csv - - univocity-fixed - - univocity-tsv - javaTypes: - - org.apache.camel.dataformat.univocity.UniVocityCsvDataFormat - - org.apache.camel.dataformat.univocity.UniVocityFixedWidthDataFormat - - org.apache.camel.dataformat.univocity.UniVocityTsvDataFormat - camel-hdfs: - groupId: org.apache.camel - artifactId: camel-hdfs - schemes: - - id: hdfs - http: false - passive: false - javaTypes: - - org.apache.camel.component.hdfs.HdfsComponent - camel-jclouds: - groupId: org.apache.camel - artifactId: camel-jclouds - schemes: - - id: jclouds - http: false - passive: false - javaTypes: - - org.apache.camel.component.jclouds.JcloudsComponent - camel-quickfix: - groupId: org.apache.camel - artifactId: camel-quickfix - schemes: - - id: quickfix - http: false - passive: false - javaTypes: - - org.apache.camel.component.quickfixj.QuickfixjComponent - camel-nsq: - groupId: org.apache.camel - artifactId: camel-nsq - schemes: - - id: nsq - http: false - passive: false - javaTypes: - - org.apache.camel.component.nsq.NsqComponent - camel-hipchat: - groupId: org.apache.camel - artifactId: camel-hipchat - schemes: - - id: hipchat - http: false - passive: false - javaTypes: - - org.apache.camel.component.hipchat.HipchatComponent - camel-hazelcast: - groupId: org.apache.camel - artifactId: camel-hazelcast - schemes: - - id: hazelcast-atomicvalue - http: false - passive: false - - id: hazelcast-instance - http: false - passive: false - - id: hazelcast-list - http: false - passive: false - - id: hazelcast-map - http: false - passive: false - - id: hazelcast-multimap - http: false - passive: false - - id: hazelcast-queue - http: false - passive: false - - id: hazelcast-replicatedmap - http: false - passive: false - - id: hazelcast-ringbuffer - http: false - passive: false - - id: hazelcast-seda - http: false - passive: false - - id: hazelcast-set - http: false - passive: false - - id: hazelcast-topic - http: false - passive: false - javaTypes: - - org.apache.camel.component.hazelcast.atomicnumber.HazelcastAtomicnumberComponent - - org.apache.camel.component.hazelcast.instance.HazelcastInstanceComponent - - org.apache.camel.component.hazelcast.list.HazelcastListComponent - - org.apache.camel.component.hazelcast.map.HazelcastMapComponent - - org.apache.camel.component.hazelcast.multimap.HazelcastMultimapComponent - - org.apache.camel.component.hazelcast.queue.HazelcastQueueComponent - - org.apache.camel.component.hazelcast.replicatedmap.HazelcastReplicatedmapComponent - - org.apache.camel.component.hazelcast.ringbuffer.HazelcastRingbufferComponent - - org.apache.camel.component.hazelcast.seda.HazelcastSedaComponent - - org.apache.camel.component.hazelcast.set.HazelcastSetComponent - - org.apache.camel.component.hazelcast.topic.HazelcastTopicComponent - camel-barcode: - groupId: org.apache.camel - artifactId: camel-barcode - dataformats: - - barcode - javaTypes: - - org.apache.camel.dataformat.barcode.BarcodeDataFormat - camel-aws-translate: - groupId: org.apache.camel - artifactId: camel-aws-translate - schemes: - - id: aws-translate - http: false - passive: false - javaTypes: - - org.apache.camel.component.aws.translate.TranslateComponent - camel-atmos: - groupId: org.apache.camel - artifactId: camel-atmos - schemes: - - id: atmos - http: false - passive: false - javaTypes: - - org.apache.camel.component.atmos.AtmosComponent - camel-language: - groupId: org.apache.camel - artifactId: camel-language - schemes: - - id: language - http: false - passive: true - javaTypes: - - org.apache.camel.component.language.LanguageComponent - camel-infinispan: - groupId: org.apache.camel - artifactId: camel-infinispan - schemes: - - id: infinispan - http: false - passive: false - javaTypes: - - org.apache.camel.component.infinispan.InfinispanComponent - camel-aws2-ddb: - groupId: org.apache.camel - artifactId: camel-aws2-ddb - schemes: - - id: aws2-ddb - http: false - passive: false - - id: aws2-ddbstream - http: false - passive: false - javaTypes: - - org.apache.camel.component.aws2.ddb.Ddb2Component - - org.apache.camel.component.aws2.ddbstream.Ddb2StreamComponent - camel-google-pubsub: - groupId: org.apache.camel - artifactId: camel-google-pubsub - schemes: - - id: google-pubsub - http: false - passive: false - javaTypes: - - org.apache.camel.component.google.pubsub.GooglePubsubComponent - camel-base64: - groupId: org.apache.camel - artifactId: camel-base64 - dataformats: - - base64 - javaTypes: - - org.apache.camel.dataformat.base64.Base64DataFormat - camel-lucene: - groupId: org.apache.camel - artifactId: camel-lucene - schemes: - - id: lucene - http: false - passive: false - javaTypes: - - org.apache.camel.component.lucene.LuceneComponent - camel-bean: - groupId: org.apache.camel - artifactId: camel-bean - schemes: - - id: bean - http: false - passive: true - - id: class - http: false - passive: true - languages: - - bean - javaTypes: - - org.apache.camel.component.bean.BeanComponent - - org.apache.camel.component.beanclass.ClassComponent - - org.apache.camel.language.bean.BeanLanguage - camel-stream: - groupId: org.apache.camel - artifactId: camel-stream - schemes: - - id: stream - http: false - passive: false - javaTypes: - - org.apache.camel.component.stream.StreamComponent - camel-solr: - groupId: org.apache.camel - artifactId: camel-solr - schemes: - - id: solr - http: false - passive: false - - id: solrs - http: false - passive: false - - id: solrCloud - http: false - passive: false - javaTypes: - - org.apache.camel.component.solr.SolrComponent - camel-log: - groupId: org.apache.camel - artifactId: camel-log - schemes: - - id: log - http: false - passive: true - javaTypes: - - org.apache.camel.component.log.LogComponent - camel-iec60870: - groupId: org.apache.camel - artifactId: camel-iec60870 - schemes: - - id: iec60870-client - http: false - passive: false - - id: iec60870-server - http: false - passive: false - javaTypes: - - org.apache.camel.component.iec60870.client.ClientComponent - - org.apache.camel.component.iec60870.server.ServerComponent - camel-atmosphere-websocket: - groupId: org.apache.camel - artifactId: camel-atmosphere-websocket - schemes: - - id: atmosphere-websocket - http: true - passive: false - javaTypes: - - org.apache.camel.component.atmosphere.websocket.WebsocketComponent - camel-debezium-mongodb: - groupId: org.apache.camel - artifactId: camel-debezium-mongodb - schemes: - - id: debezium-mongodb - http: false - passive: false - javaTypes: - - org.apache.camel.component.debezium.DebeziumMongodbComponent - camel-spring-ldap: - groupId: org.apache.camel - artifactId: camel-spring-ldap - schemes: - - id: spring-ldap - http: false - passive: false - javaTypes: - - org.apache.camel.component.springldap.SpringLdapComponent - camel-dns: - groupId: org.apache.camel - artifactId: camel-dns - schemes: - - id: dns - http: false - passive: false - javaTypes: - - org.apache.camel.component.dns.DnsComponent - camel-aws2-sqs: - groupId: org.apache.camel - artifactId: camel-aws2-sqs - schemes: - - id: aws2-sqs - http: false - passive: false - javaTypes: - - org.apache.camel.component.aws2.sqs.Sqs2Component - camel-aws2-kinesis: - groupId: org.apache.camel - artifactId: camel-aws2-kinesis - schemes: - - id: aws2-kinesis - http: false - passive: false - - id: aws2-kinesis-firehose - http: false - passive: false - javaTypes: - - org.apache.camel.component.aws2.kinesis.Kinesis2Component - - org.apache.camel.component.aws2.firehose.KinesisFirehose2Component - camel-reactive-streams: - groupId: org.apache.camel - artifactId: camel-reactive-streams - schemes: - - id: reactive-streams - http: false - passive: false - javaTypes: - - org.apache.camel.component.reactive.streams.ReactiveStreamsComponent - camel-graphql: - groupId: org.apache.camel - artifactId: camel-graphql - schemes: - - id: graphql - http: false - passive: false - javaTypes: - - org.apache.camel.component.graphql.GraphqlComponent - camel-coap: - groupId: org.apache.camel - artifactId: camel-coap - schemes: - - id: coap - http: false - passive: false - - id: coaps - http: false - passive: false - - id: coap+tcp - http: false - passive: false - - id: coaps+tcp - http: false - passive: false - javaTypes: - - org.apache.camel.coap.CoAPComponent - camel-dataset: - groupId: org.apache.camel - artifactId: camel-dataset - schemes: - - id: dataset - http: false - passive: true - - id: dataset-test - http: false - passive: false - javaTypes: - - org.apache.camel.component.dataset.DataSetComponent - - org.apache.camel.component.dataset.DataSetTestComponent - camel-jsonapi: - groupId: org.apache.camel - artifactId: camel-jsonapi - dataformats: - - jsonApi - javaTypes: - - org.apache.camel.component.jsonapi.JsonApiDataFormat - camel-zendesk: - groupId: org.apache.camel - artifactId: camel-zendesk - schemes: - - id: zendesk - http: false - passive: false - javaTypes: - - org.apache.camel.component.zendesk.ZendeskComponent - camel-jdbc: - groupId: org.apache.camel - artifactId: camel-jdbc - schemes: - - id: jdbc - http: false - passive: false - javaTypes: - - org.apache.camel.component.jdbc.JdbcComponent - camel-spark: - groupId: org.apache.camel - artifactId: camel-spark - schemes: - - id: spark - http: false - passive: false - javaTypes: - - org.apache.camel.component.spark.SparkComponent - camel-ahc: - groupId: org.apache.camel - artifactId: camel-ahc - schemes: - - id: ahc - http: true - passive: false - javaTypes: - - org.apache.camel.component.ahc.AhcComponent - camel-controlbus: - groupId: org.apache.camel - artifactId: camel-controlbus - schemes: - - id: controlbus - http: false - passive: true - javaTypes: - - org.apache.camel.component.controlbus.ControlBusComponent - camel-disruptor: - groupId: org.apache.camel - artifactId: camel-disruptor - schemes: - - id: disruptor - http: false - passive: false - - id: disruptor-vm - http: false - passive: false - javaTypes: - - org.apache.camel.component.disruptor.DisruptorComponent - - org.apache.camel.component.disruptor.vm.DisruptorVmComponent - camel-dozer: - groupId: org.apache.camel - artifactId: camel-dozer - schemes: - - id: dozer - http: false - passive: false - javaTypes: - - org.apache.camel.component.dozer.DozerComponent - camel-beanio: - groupId: org.apache.camel - artifactId: camel-beanio - dataformats: - - beanio - javaTypes: - - org.apache.camel.dataformat.beanio.BeanIODataFormat - camel-bindy: - groupId: org.apache.camel - artifactId: camel-bindy - dataformats: - - bindy-csv - - bindy-fixed - - bindy-kvp - javaTypes: - - org.apache.camel.dataformat.bindy.csv.BindyCsvDataFormat - - org.apache.camel.dataformat.bindy.fixed.BindyFixedLengthDataFormat - - org.apache.camel.dataformat.bindy.kvp.BindyKeyValuePairDataFormat - camel-guava-eventbus: - groupId: org.apache.camel - artifactId: camel-guava-eventbus - schemes: - - id: guava-eventbus - http: false - passive: false - javaTypes: - - org.apache.camel.component.guava.eventbus.GuavaEventBusComponent - camel-aws2-sts: - groupId: org.apache.camel - artifactId: camel-aws2-sts - schemes: - - id: aws2-sts - http: false - passive: false - javaTypes: - - org.apache.camel.component.aws2.sts.STS2Component - camel-msv: - groupId: org.apache.camel - artifactId: camel-msv - schemes: - - id: msv - http: false - passive: false - javaTypes: - - org.apache.camel.component.validator.msv.MsvComponent - camel-jms: - groupId: org.apache.camel - artifactId: camel-jms - schemes: - - id: jms - http: false - passive: false - javaTypes: - - org.apache.camel.component.jms.JmsComponent - camel-file-watch: - groupId: org.apache.camel - artifactId: camel-file-watch - schemes: - - id: file-watch - http: false - passive: false - javaTypes: - - org.apache.camel.component.file.watch.FileWatchComponent - camel-aws-sdb: - groupId: org.apache.camel - artifactId: camel-aws-sdb - schemes: - - id: aws-sdb - http: false - passive: false - javaTypes: - - org.apache.camel.component.aws.sdb.SdbComponent - camel-file: - groupId: org.apache.camel - artifactId: camel-file - schemes: - - id: file - http: false - passive: false - javaTypes: - - org.apache.camel.component.file.FileComponent - camel-gora: - groupId: org.apache.camel - artifactId: camel-gora - schemes: - - id: gora - http: false - passive: false - javaTypes: - - org.apache.camel.component.gora.GoraComponent - camel-jmx: - groupId: org.apache.camel - artifactId: camel-jmx - schemes: - - id: jmx - http: false - passive: false - javaTypes: - - org.apache.camel.component.jmx.JMXComponent - camel-timer: - groupId: org.apache.camel - artifactId: camel-timer - schemes: - - id: timer - http: false - passive: false - javaTypes: - - org.apache.camel.component.timer.TimerComponent - camel-core-languages: - groupId: org.apache.camel - artifactId: camel-core-languages - languages: - - constant - - exchangeProperty - - file - - header - - ref - - simple - - tokenize - javaTypes: - - org.apache.camel.language.constant.ConstantLanguage - - org.apache.camel.language.property.ExchangePropertyLanguage - - org.apache.camel.language.simple.FileLanguage - - org.apache.camel.language.header.HeaderLanguage - - org.apache.camel.language.ref.RefLanguage - - org.apache.camel.language.simple.SimpleLanguage - - org.apache.camel.language.tokenizer.TokenizeLanguage - camel-jcache: - groupId: org.apache.camel - artifactId: camel-jcache - schemes: - - id: jcache - http: false - passive: false - javaTypes: - - org.apache.camel.component.jcache.JCacheComponent - camel-freemarker: - groupId: org.apache.camel - artifactId: camel-freemarker - schemes: - - id: freemarker - http: false - passive: false - javaTypes: - - org.apache.camel.component.freemarker.FreemarkerComponent - camel-ironmq: - groupId: org.apache.camel - artifactId: camel-ironmq - schemes: - - id: ironmq - http: false - passive: false - javaTypes: - - org.apache.camel.component.ironmq.IronMQComponent - camel-fhir: - groupId: org.apache.camel - artifactId: camel-fhir - schemes: - - id: fhir - http: false - passive: false - dataformats: - - fhirJson - - fhirXml - javaTypes: - - org.apache.camel.component.fhir.FhirComponent - - org.apache.camel.component.fhir.FhirJsonDataFormat - - org.apache.camel.component.fhir.FhirXmlDataFormat - camel-saxon: - groupId: org.apache.camel - artifactId: camel-saxon - schemes: - - id: xquery - http: false - passive: false - languages: - - xquery - javaTypes: - - org.apache.camel.component.xquery.XQueryComponent - - org.apache.camel.language.xquery.XQueryLanguage - camel-rest-openapi: - groupId: org.apache.camel - artifactId: camel-rest-openapi - schemes: - - id: rest-openapi - http: false - passive: false - javaTypes: - - org.apache.camel.component.rest.openapi.RestOpenApiComponent - camel-jsonpath: - groupId: org.apache.camel - artifactId: camel-jsonpath - languages: - - jsonpath - javaTypes: - - org.apache.camel.jsonpath.JsonPathLanguage - camel-jt400: - groupId: org.apache.camel - artifactId: camel-jt400 - schemes: - - id: jt400 - http: false - passive: false - javaTypes: - - org.apache.camel.component.jt400.Jt400Component - camel-rabbitmq: - groupId: org.apache.camel - artifactId: camel-rabbitmq - schemes: - - id: rabbitmq - http: false - passive: false - javaTypes: - - org.apache.camel.component.rabbitmq.RabbitMQComponent - camel-jbpm: - groupId: org.apache.camel - artifactId: camel-jbpm - schemes: - - id: jbpm - http: false - passive: false - javaTypes: - - org.apache.camel.component.jbpm.JBPMComponent - camel-jing: - groupId: org.apache.camel - artifactId: camel-jing - schemes: - - id: jing - http: false - passive: false - javaTypes: - - org.apache.camel.component.validator.jing.JingComponent - camel-aws-iam: - groupId: org.apache.camel - artifactId: camel-aws-iam - schemes: - - id: aws-iam - http: false - passive: false - javaTypes: - - org.apache.camel.component.aws.iam.IAMComponent - camel-snmp: - groupId: org.apache.camel - artifactId: camel-snmp - schemes: - - id: snmp - http: false - passive: false - javaTypes: - - org.apache.camel.component.snmp.SnmpComponent - camel-web3j: - groupId: org.apache.camel - artifactId: camel-web3j - schemes: - - id: web3j - http: false - passive: false - javaTypes: - - org.apache.camel.component.web3j.Web3jComponent - camel-atom: - groupId: org.apache.camel - artifactId: camel-atom - schemes: - - id: atom - http: false - passive: false - javaTypes: - - org.apache.camel.component.atom.AtomComponent - camel-tagsoup: - groupId: org.apache.camel - artifactId: camel-tagsoup - dataformats: - - tidyMarkup - javaTypes: - - org.apache.camel.dataformat.tagsoup.TidyMarkupDataFormat - camel-etcd: - groupId: org.apache.camel - artifactId: camel-etcd - schemes: - - id: etcd-keys - http: false - passive: false - - id: etcd-stats - http: false - passive: false - - id: etcd-watch - http: false - passive: false - javaTypes: - - org.apache.camel.component.etcd.EtcdKeysComponent - - org.apache.camel.component.etcd.EtcdStatsComponent - - org.apache.camel.component.etcd.EtcdWatchComponent - camel-ftp: - groupId: org.apache.camel - artifactId: camel-ftp - schemes: - - id: ftp - http: false - passive: false - - id: ftps - http: false - passive: false - - id: sftp - http: false - passive: false - javaTypes: - - org.apache.camel.component.file.remote.FtpComponent - - org.apache.camel.component.file.remote.FtpsComponent - - org.apache.camel.component.file.remote.SftpComponent - camel-aws-ses: - groupId: org.apache.camel - artifactId: camel-aws-ses - schemes: - - id: aws-ses - http: false - passive: false - javaTypes: - - org.apache.camel.component.aws.ses.SesComponent - camel-jgroups: - groupId: org.apache.camel - artifactId: camel-jgroups - schemes: - - id: jgroups - http: false - passive: false - javaTypes: - - org.apache.camel.component.jgroups.JGroupsComponent - camel-master: - groupId: org.apache.camel - artifactId: camel-master - schemes: - - id: master - http: false - passive: false - javaTypes: - - org.apache.camel.component.master.MasterComponent - camel-optaplanner: - groupId: org.apache.camel - artifactId: camel-optaplanner - schemes: - - id: optaplanner - http: false - passive: false - javaTypes: - - org.apache.camel.component.optaplanner.OptaPlannerComponent - camel-amqp: - groupId: org.apache.camel - artifactId: camel-amqp - schemes: - - id: amqp - http: false - passive: false - javaTypes: - - org.apache.camel.component.amqp.AMQPComponent - camel-aws2-sns: - groupId: org.apache.camel - artifactId: camel-aws2-sns - schemes: - - id: aws2-sns - http: false - passive: false - javaTypes: - - org.apache.camel.component.aws2.sns.Sns2Component - camel-github: - groupId: org.apache.camel - artifactId: camel-github - schemes: - - id: github - http: false - passive: false - javaTypes: - - org.apache.camel.component.github.GitHubComponent - camel-atomix: - groupId: org.apache.camel - artifactId: camel-atomix - schemes: - - id: atomix-map - http: false - passive: false - - id: atomix-messaging - http: false - passive: false - - id: atomix-multimap - http: false - passive: false - - id: atomix-queue - http: false - passive: false - - id: atomix-set - http: false - passive: false - - id: atomix-value - http: false - passive: false - javaTypes: - - org.apache.camel.component.atomix.client.map.AtomixMapComponent - - org.apache.camel.component.atomix.client.messaging.AtomixMessagingComponent - - org.apache.camel.component.atomix.client.multimap.AtomixMultiMapComponent - - org.apache.camel.component.atomix.client.queue.AtomixQueueComponent - - org.apache.camel.component.atomix.client.set.AtomixSetComponent - - org.apache.camel.component.atomix.client.value.AtomixValueComponent - camel-box: - groupId: org.apache.camel - artifactId: camel-box - schemes: - - id: box - http: false - passive: false - javaTypes: - - org.apache.camel.component.box.BoxComponent - camel-sql: - groupId: org.apache.camel - artifactId: camel-sql - schemes: - - id: sql - http: false - passive: false - - id: sql-stored - http: false - passive: false - javaTypes: - - org.apache.camel.component.sql.SqlComponent - - org.apache.camel.component.sql.stored.SqlStoredComponent - camel-flatpack: - groupId: org.apache.camel - artifactId: camel-flatpack - schemes: - - id: flatpack - http: false - passive: false - dataformats: - - flatpack - javaTypes: - - org.apache.camel.component.flatpack.FlatpackComponent - - org.apache.camel.dataformat.flatpack.FlatpackDataFormat - camel-git: - groupId: org.apache.camel - artifactId: camel-git - schemes: - - id: git - http: false - passive: false - javaTypes: - - org.apache.camel.component.git.GitComponent - camel-chatscript: - groupId: org.apache.camel - artifactId: camel-chatscript - schemes: - - id: chatscript - http: false - passive: false - javaTypes: - - org.apache.camel.component.chatscript.ChatScriptComponent - camel-telegram: - groupId: org.apache.camel - artifactId: camel-telegram - schemes: - - id: telegram - http: false - passive: false - javaTypes: - - org.apache.camel.component.telegram.TelegramComponent - camel-asn1: - groupId: org.apache.camel - artifactId: camel-asn1 - dataformats: - - asn1 - javaTypes: - - org.apache.camel.dataformat.asn1.ASN1DataFormat - camel-nitrite: - groupId: org.apache.camel - artifactId: camel-nitrite - schemes: - - id: nitrite - http: false - passive: false - javaTypes: - - org.apache.camel.component.nitrite.NitriteComponent - camel-aws-sns: - groupId: org.apache.camel - artifactId: camel-aws-sns - schemes: - - id: aws-sns - http: false - passive: false - javaTypes: - - org.apache.camel.component.aws.sns.SnsComponent - camel-avro: - groupId: org.apache.camel - artifactId: camel-avro - dataformats: - - avro - javaTypes: - - org.apache.camel.dataformat.avro.AvroDataFormat - camel-mllp: - groupId: org.apache.camel - artifactId: camel-mllp - schemes: - - id: mllp - http: false - passive: false - javaTypes: - - org.apache.camel.component.mllp.MllpComponent - camel-pg-replication-slot: - groupId: org.apache.camel - artifactId: camel-pg-replication-slot - schemes: - - id: pg-replication-slot - http: false - passive: false - javaTypes: - - org.apache.camel.component.pg.replication.slot.PgReplicationSlotComponent - camel-elsql: - groupId: org.apache.camel - artifactId: camel-elsql - schemes: - - id: elsql - http: false - passive: false - javaTypes: - - org.apache.camel.component.elsql.ElsqlComponent - camel-aws2-lambda: - groupId: org.apache.camel - artifactId: camel-aws2-lambda - schemes: - - id: aws2-lambda - http: false - passive: false - javaTypes: - - org.apache.camel.component.aws2.lambda.Lambda2Component - camel-aws-msk: - groupId: org.apache.camel - artifactId: camel-aws-msk - schemes: - - id: aws-msk - http: false - passive: false - javaTypes: - - org.apache.camel.component.aws.msk.MSKComponent - camel-stringtemplate: - groupId: org.apache.camel - artifactId: camel-stringtemplate - schemes: - - id: string-template - http: false - passive: false - javaTypes: - - org.apache.camel.component.stringtemplate.StringTemplateComponent - camel-debezium-mysql: - groupId: org.apache.camel - artifactId: camel-debezium-mysql - schemes: - - id: debezium-mysql - http: false - passive: false - javaTypes: - - org.apache.camel.component.debezium.DebeziumMySqlComponent - camel-servlet: - groupId: org.apache.camel - artifactId: camel-servlet - schemes: - - id: servlet - http: true - passive: false - javaTypes: - - org.apache.camel.component.servlet.ServletComponent - camel-spring-redis: - groupId: org.apache.camel - artifactId: camel-spring-redis - schemes: - - id: spring-redis - http: false - passive: false - javaTypes: - - org.apache.camel.component.redis.RedisComponent - camel-soroush: - groupId: org.apache.camel - artifactId: camel-soroush - schemes: - - id: soroush - http: false - passive: false - javaTypes: - - org.apache.camel.component.soroushbot.component.SoroushBotComponent - camel-jsch: - groupId: org.apache.camel - artifactId: camel-jsch - schemes: - - id: scp - http: false - passive: false - javaTypes: - - org.apache.camel.component.scp.ScpComponent - camel-kubernetes: - groupId: org.apache.camel - artifactId: camel-kubernetes - schemes: - - id: kubernetes-config-maps - http: false - passive: false - - id: kubernetes-deployments - http: false - passive: false - - id: kubernetes-hpa - http: false - passive: false - - id: kubernetes-job - http: false - passive: false - - id: kubernetes-namespaces - http: false - passive: false - - id: kubernetes-nodes - http: false - passive: false - - id: kubernetes-persistent-volumes - http: false - passive: false - - id: kubernetes-persistent-volumes-claims - http: false - passive: false - - id: kubernetes-pods - http: false - passive: false - - id: kubernetes-replication-controllers - http: false - passive: false - - id: kubernetes-resources-quota - http: false - passive: false - - id: kubernetes-secrets - http: false - passive: false - - id: kubernetes-service-accounts - http: false - passive: false - - id: kubernetes-services - http: false - passive: false - - id: openshift-build-configs - http: false - passive: false - - id: openshift-builds - http: false - passive: false - javaTypes: - - org.apache.camel.component.kubernetes.config_maps.KubernetesConfigMapsComponent - - org.apache.camel.component.kubernetes.deployments.KubernetesDeploymentsComponent - - org.apache.camel.component.kubernetes.hpa.KubernetesHPAComponent - - org.apache.camel.component.kubernetes.job.KubernetesJobComponent - - org.apache.camel.component.kubernetes.namespaces.KubernetesNamespacesComponent - - org.apache.camel.component.kubernetes.nodes.KubernetesNodesComponent - - org.apache.camel.component.kubernetes.persistent_volumes.KubernetesPersistentVolumesComponent - - org.apache.camel.component.kubernetes.persistent_volumes_claims.KubernetesPersistentVolumesClaimsComponent - - org.apache.camel.component.kubernetes.pods.KubernetesPodsComponent - - org.apache.camel.component.kubernetes.replication_controllers.KubernetesReplicationControllersComponent - - org.apache.camel.component.kubernetes.resources_quota.KubernetesResourcesQuotaComponent - - org.apache.camel.component.kubernetes.secrets.KubernetesSecretsComponent - - org.apache.camel.component.kubernetes.service_accounts.KubernetesServiceAccountsComponent - - org.apache.camel.component.kubernetes.services.KubernetesServicesComponent - - org.apache.camel.component.openshift.build_configs.OpenshiftBuildConfigsComponent - - org.apache.camel.component.openshift.builds.OpenshiftBuildsComponent - camel-aws2-ec2: - groupId: org.apache.camel - artifactId: camel-aws2-ec2 - schemes: - - id: aws2-ec2 - http: false - passive: false - javaTypes: - - org.apache.camel.component.aws2.ec2.AWS2EC2Component - camel-digitalocean: - groupId: org.apache.camel - artifactId: camel-digitalocean - schemes: - - id: digitalocean - http: false - passive: false - javaTypes: - - org.apache.camel.component.digitalocean.DigitalOceanComponent - camel-aws2-kms: - groupId: org.apache.camel - artifactId: camel-aws2-kms - schemes: - - id: aws2-kms - http: false - passive: false - javaTypes: - - org.apache.camel.component.aws2.kms.KMS2Component - camel-google-bigquery: - groupId: org.apache.camel - artifactId: camel-google-bigquery - schemes: - - id: google-bigquery - http: false - passive: false - - id: google-bigquery-sql - http: false - passive: false - javaTypes: - - org.apache.camel.component.google.bigquery.GoogleBigQueryComponent - - org.apache.camel.component.google.bigquery.sql.GoogleBigQuerySQLComponent - camel-consul: - groupId: org.apache.camel - artifactId: camel-consul - schemes: - - id: consul - http: false - passive: false - javaTypes: - - org.apache.camel.component.consul.ConsulComponent - camel-nats: - groupId: org.apache.camel - artifactId: camel-nats - schemes: - - id: nats - http: false - passive: false - javaTypes: - - org.apache.camel.component.nats.NatsComponent - camel-debezium-postgres: - groupId: org.apache.camel - artifactId: camel-debezium-postgres - schemes: - - id: debezium-postgres - http: false - passive: false - javaTypes: - - org.apache.camel.component.debezium.DebeziumPostgresComponent - camel-hl7: - groupId: org.apache.camel - artifactId: camel-hl7 - languages: - - hl7terser - dataformats: - - hl7 - javaTypes: - - org.apache.camel.component.hl7.Hl7TerserLanguage - - org.apache.camel.component.hl7.HL7DataFormat - camel-aws-ecs: - groupId: org.apache.camel - artifactId: camel-aws-ecs - schemes: - - id: aws-ecs - http: false - passive: false - javaTypes: - - org.apache.camel.component.aws.ecs.ECSComponent - camel-zip-deflater: - groupId: org.apache.camel - artifactId: camel-zip-deflater - dataformats: - - gzipdeflater - - zipdeflater - javaTypes: - - org.apache.camel.dataformat.deflater.GzipDeflaterDataFormat - - org.apache.camel.dataformat.deflater.ZipDeflaterDataFormat - camel-kudu: - groupId: org.apache.camel - artifactId: camel-kudu - schemes: - - id: kudu - http: false - passive: false - javaTypes: - - org.apache.camel.component.kudu.KuduComponent - camel-jgroups-raft: - groupId: org.apache.camel - artifactId: camel-jgroups-raft - schemes: - - id: jgroups-raft - http: false - passive: false - javaTypes: - - org.apache.camel.component.jgroups.raft.JGroupsRaftComponent - camel-cmis: - groupId: org.apache.camel - artifactId: camel-cmis - schemes: - - id: cmis - http: false - passive: false - javaTypes: - - org.apache.camel.component.cmis.CMISComponent - camel-beanstalk: - groupId: org.apache.camel - artifactId: camel-beanstalk - schemes: - - id: beanstalk - http: false - passive: false - javaTypes: - - org.apache.camel.component.beanstalk.BeanstalkComponent - camel-aws-mq: - groupId: org.apache.camel - artifactId: camel-aws-mq - schemes: - - id: aws-mq - http: false - passive: false - javaTypes: - - org.apache.camel.component.aws.mq.MQComponent - camel-mongodb-gridfs: - groupId: org.apache.camel - artifactId: camel-mongodb-gridfs - schemes: - - id: mongodb-gridfs - http: false - passive: false - javaTypes: - - org.apache.camel.component.mongodb.gridfs.GridFsComponent - camel-undertow: - groupId: org.apache.camel - artifactId: camel-undertow - schemes: - - id: undertow - http: true - passive: false - javaTypes: - - org.apache.camel.component.undertow.UndertowComponent - camel-resteasy: - groupId: org.apache.camel - artifactId: camel-resteasy - schemes: - - id: resteasy - http: false - passive: false - javaTypes: - - org.apache.camel.component.resteasy.ResteasyComponent - camel-robotframework: - groupId: org.apache.camel - artifactId: camel-robotframework - schemes: - - id: robotframework - http: false - passive: false - javaTypes: - - org.apache.camel.component.robotframework.RobotFrameworkComponent - camel-xpath: - groupId: org.apache.camel - artifactId: camel-xpath - languages: - - xpath - javaTypes: - - org.apache.camel.language.xpath.XPathLanguage - camel-ssh: - groupId: org.apache.camel - artifactId: camel-ssh - schemes: - - id: ssh - http: false - passive: false - javaTypes: - - org.apache.camel.component.ssh.SshComponent - camel-mock: - groupId: org.apache.camel - artifactId: camel-mock - schemes: - - id: mock - http: false - passive: true - javaTypes: - - org.apache.camel.component.mock.MockComponent - camel-websocket-jsr356: - groupId: org.apache.camel - artifactId: camel-websocket-jsr356 - schemes: - - id: websocket-jsr356 - http: false - passive: false - javaTypes: - - org.apache.camel.websocket.jsr356.JSR356WebSocketComponent - camel-twilio: - groupId: org.apache.camel - artifactId: camel-twilio - schemes: - - id: twilio - http: false - passive: false - javaTypes: - - org.apache.camel.component.twilio.TwilioComponent - camel-jolt: - groupId: org.apache.camel - artifactId: camel-jolt - schemes: - - id: jolt - http: false - passive: false - javaTypes: - - org.apache.camel.component.jolt.JoltComponent - camel-soap: - groupId: org.apache.camel - artifactId: camel-soap - dataformats: - - soapjaxb - javaTypes: - - org.apache.camel.dataformat.soap.SoapJaxbDataFormat - camel-thrift: - groupId: org.apache.camel - artifactId: camel-thrift - schemes: - - id: thrift - http: false - passive: false - dataformats: - - thrift - javaTypes: - - org.apache.camel.component.thrift.ThriftComponent - - org.apache.camel.dataformat.thrift.ThriftDataFormat - camel-crypto-cms: - groupId: org.apache.camel - artifactId: camel-crypto-cms - schemes: - - id: crypto-cms - http: false - passive: false - javaTypes: - - org.apache.camel.component.crypto.cms.CryptoCmsComponent - camel-xml-jaxp: - groupId: org.apache.camel - artifactId: camel-xml-jaxp - languages: - - xtokenize - javaTypes: - - org.apache.camel.language.xtokenizer.XMLTokenizeLanguage - camel-ognl: - groupId: org.apache.camel - artifactId: camel-ognl - languages: - - ognl - javaTypes: - - org.apache.camel.language.ognl.OgnlLanguage - camel-couchdb: - groupId: org.apache.camel - artifactId: camel-couchdb - schemes: - - id: couchdb - http: false - passive: false - javaTypes: - - org.apache.camel.component.couchdb.CouchDbComponent - camel-groovy: - groupId: org.apache.camel - artifactId: camel-groovy - languages: - - groovy - javaTypes: - - org.apache.camel.language.groovy.GroovyLanguage - camel-arangodb: - groupId: org.apache.camel - artifactId: camel-arangodb - schemes: - - id: arangodb - http: false - passive: false - javaTypes: - - org.apache.camel.component.arangodb.ArangoDbComponent - camel-saga: - groupId: org.apache.camel - artifactId: camel-saga - schemes: - - id: saga - http: false - passive: false - javaTypes: - - org.apache.camel.component.saga.SagaComponent - camel-elasticsearch-rest: - groupId: org.apache.camel - artifactId: camel-elasticsearch-rest - schemes: - - id: elasticsearch-rest - http: false - passive: false - javaTypes: - - org.apache.camel.component.elasticsearch.ElasticsearchComponent - camel-ldap: - groupId: org.apache.camel - artifactId: camel-ldap - schemes: - - id: ldap - http: false - passive: false - javaTypes: - - org.apache.camel.component.ldap.LdapComponent - camel-csv: - groupId: org.apache.camel - artifactId: camel-csv - dataformats: - - csv - javaTypes: - - org.apache.camel.dataformat.csv.CsvDataFormat - camel-geocoder: - groupId: org.apache.camel - artifactId: camel-geocoder - schemes: - - id: geocoder - http: false - passive: false - javaTypes: - - org.apache.camel.component.geocoder.GeoCoderComponent - camel-mybatis: - groupId: org.apache.camel - artifactId: camel-mybatis - schemes: - - id: mybatis - http: false - passive: false - - id: mybatis-bean - http: false - passive: false - javaTypes: - - org.apache.camel.component.mybatis.MyBatisComponent - - org.apache.camel.component.mybatis.MyBatisBeanComponent - camel-directvm: - groupId: org.apache.camel - artifactId: camel-directvm - schemes: - - id: direct-vm - http: false - passive: true - javaTypes: - - org.apache.camel.component.directvm.DirectVmComponent - camel-aws2-ecs: - groupId: org.apache.camel - artifactId: camel-aws2-ecs - schemes: - - id: aws2-ecs - http: false - passive: false - javaTypes: - - org.apache.camel.component.aws2.ecs.ECS2Component - camel-xmpp: - groupId: org.apache.camel - artifactId: camel-xmpp - schemes: - - id: xmpp - http: false - passive: false - javaTypes: - - org.apache.camel.component.xmpp.XmppComponent - camel-workday: - groupId: org.apache.camel - artifactId: camel-workday - schemes: - - id: workday - http: false - passive: false - javaTypes: - - org.apache.camel.component.workday.WorkdayComponent - camel-jira: - groupId: org.apache.camel - artifactId: camel-jira - schemes: - - id: jira - http: false - passive: false - javaTypes: - - org.apache.camel.component.jira.JiraComponent - camel-azure-storage-blob: - groupId: org.apache.camel - artifactId: camel-azure-storage-blob - schemes: - - id: azure-storage-blob - http: false - passive: false - javaTypes: - - org.apache.camel.component.azure.storage.blob.BlobComponent - camel-asterisk: - groupId: org.apache.camel - artifactId: camel-asterisk - schemes: - - id: asterisk - http: false - passive: false - javaTypes: - - org.apache.camel.component.asterisk.AsteriskComponent - camel-splunk: - groupId: org.apache.camel - artifactId: camel-splunk - schemes: - - id: splunk - http: false - passive: false - javaTypes: - - org.apache.camel.component.splunk.SplunkComponent - camel-mail: - groupId: org.apache.camel - artifactId: camel-mail - schemes: - - id: imap - http: false - passive: false - - id: imaps - http: false - passive: false - - id: pop3 - http: false - passive: false - - id: pop3s - http: false - passive: false - - id: smtp - http: false - passive: false - - id: smtps - http: false - passive: false - dataformats: - - mime-multipart - javaTypes: - - org.apache.camel.component.mail.MailComponent - - org.apache.camel.dataformat.mime.multipart.MimeMultipartDataFormat - camel-metrics: - groupId: org.apache.camel - artifactId: camel-metrics - schemes: - - id: metrics - http: false - passive: false - javaTypes: - - org.apache.camel.component.metrics.MetricsComponent - camel-aws-sqs: - groupId: org.apache.camel - artifactId: camel-aws-sqs - schemes: - - id: aws-sqs - http: false - passive: false - javaTypes: - - org.apache.camel.component.aws.sqs.SqsComponent - camel-cm-sms: - groupId: org.apache.camel - artifactId: camel-cm-sms - schemes: - - id: cm-sms - http: false - passive: false - javaTypes: - - org.apache.camel.component.cm.CMComponent - camel-xslt: - groupId: org.apache.camel - artifactId: camel-xslt - schemes: - - id: xslt - http: false - passive: false - javaTypes: - - org.apache.camel.component.xslt.XsltComponent - camel-flink: - groupId: org.apache.camel - artifactId: camel-flink - schemes: - - id: flink - http: false - passive: false - javaTypes: - - org.apache.camel.component.flink.FlinkComponent - camel-braintree: - groupId: org.apache.camel - artifactId: camel-braintree - schemes: - - id: braintree - http: false - passive: false - javaTypes: - - org.apache.camel.component.braintree.BraintreeComponent - camel-aws2-msk: - groupId: org.apache.camel - artifactId: camel-aws2-msk - schemes: - - id: aws2-msk - http: false - passive: false - javaTypes: - - org.apache.camel.component.aws2.msk.MSK2Component - camel-jpa: - groupId: org.apache.camel - artifactId: camel-jpa - schemes: - - id: jpa - http: false - passive: false - javaTypes: - - org.apache.camel.component.jpa.JpaComponent - camel-avro-rpc: - groupId: org.apache.camel - artifactId: camel-avro-rpc - schemes: - - id: avro - http: false - passive: false - javaTypes: - - org.apache.camel.component.avro.AvroComponent - camel-cassandraql: - groupId: org.apache.camel - artifactId: camel-cassandraql - schemes: - - id: cql - http: false - passive: false - javaTypes: - - org.apache.camel.component.cassandra.CassandraComponent - camel-couchbase: - groupId: org.apache.camel - artifactId: camel-couchbase - schemes: - - id: couchbase - http: false - passive: false - javaTypes: - - org.apache.camel.component.couchbase.CouchbaseComponent - camel-aws-ddb: - groupId: org.apache.camel - artifactId: camel-aws-ddb - schemes: - - id: aws-ddb - http: false - passive: false - - id: aws-ddbstream - http: false - passive: false - javaTypes: - - org.apache.camel.component.aws.ddb.DdbComponent - - org.apache.camel.component.aws.ddbstream.DdbStreamComponent - camel-syslog: - groupId: org.apache.camel - artifactId: camel-syslog - dataformats: - - syslog - javaTypes: - - org.apache.camel.component.syslog.SyslogDataFormat - camel-aws2-s3: - groupId: org.apache.camel - artifactId: camel-aws2-s3 - schemes: - - id: aws2-s3 - http: false - passive: false - javaTypes: - - org.apache.camel.component.aws2.s3.AWS2S3Component - camel-pubnub: - groupId: org.apache.camel - artifactId: camel-pubnub - schemes: - - id: pubnub - http: false - passive: false - javaTypes: - - org.apache.camel.component.pubnub.PubNubComponent - camel-gson: - groupId: org.apache.camel - artifactId: camel-gson - dataformats: - - json-gson - javaTypes: - - org.apache.camel.component.gson.GsonDataFormat - camel-json-validator: - groupId: org.apache.camel - artifactId: camel-json-validator - schemes: - - id: json-validator - http: false - passive: false - javaTypes: - - org.apache.camel.component.jsonvalidator.JsonValidatorComponent - camel-rss: - groupId: org.apache.camel - artifactId: camel-rss - schemes: - - id: rss - http: false - passive: false - dataformats: - - rss - javaTypes: - - org.apache.camel.component.rss.RssComponent - - org.apache.camel.dataformat.rss.RssDataFormat - camel-dataformat: - groupId: org.apache.camel - artifactId: camel-dataformat - schemes: - - id: dataformat - http: false - passive: true - javaTypes: - - org.apache.camel.component.dataformat.DataFormatComponent - camel-xmlsecurity: - groupId: org.apache.camel - artifactId: camel-xmlsecurity - schemes: - - id: xmlsecurity-sign - http: false - passive: false - - id: xmlsecurity-verify - http: false - passive: false - dataformats: - - secureXML - javaTypes: - - org.apache.camel.component.xmlsecurity.XmlSignerComponent - - org.apache.camel.component.xmlsecurity.XmlVerifierComponent - - org.apache.camel.dataformat.xmlsecurity.XMLSecurityDataFormat - camel-bonita: - groupId: org.apache.camel - artifactId: camel-bonita - schemes: - - id: bonita - http: false - passive: false - javaTypes: - - org.apache.camel.component.bonita.BonitaComponent - camel-rest: - groupId: org.apache.camel - artifactId: camel-rest - schemes: - - id: rest - http: true - passive: false - - id: rest-api - http: false - passive: false - javaTypes: - - org.apache.camel.component.rest.RestComponent - - org.apache.camel.component.rest.RestApiComponent - camel-service: - groupId: org.apache.camel - artifactId: camel-service - schemes: - - id: service - http: false - passive: false - javaTypes: - - org.apache.camel.component.service.ServiceComponent - camel-protobuf: - groupId: org.apache.camel - artifactId: camel-protobuf - dataformats: - - protobuf - javaTypes: - - org.apache.camel.dataformat.protobuf.ProtobufDataFormat - camel-smpp: - groupId: org.apache.camel - artifactId: camel-smpp - schemes: - - id: smpp - http: false - passive: false - - id: smpps - http: false - passive: false - javaTypes: - - org.apache.camel.component.smpp.SmppComponent - camel-velocity: - groupId: org.apache.camel - artifactId: camel-velocity - schemes: - - id: velocity - http: false - passive: false - javaTypes: - - org.apache.camel.component.velocity.VelocityComponent - camel-google-mail: - groupId: org.apache.camel - artifactId: camel-google-mail - schemes: - - id: google-mail - http: false - passive: false - - id: google-mail-stream - http: false - passive: false - javaTypes: - - org.apache.camel.component.google.mail.GoogleMailComponent - - org.apache.camel.component.google.mail.stream.GoogleMailStreamComponent - camel-as2: - groupId: org.apache.camel - artifactId: camel-as2 - schemes: - - id: as2 - http: false - passive: false - javaTypes: - - org.apache.camel.component.as2.AS2Component - camel-xchange: - groupId: org.apache.camel - artifactId: camel-xchange - schemes: - - id: xchange - http: false - passive: false - javaTypes: - - org.apache.camel.component.xchange.XChangeComponent - camel-tarfile: - groupId: org.apache.camel - artifactId: camel-tarfile - dataformats: - - tarfile - javaTypes: - - org.apache.camel.dataformat.tarfile.TarFileDataFormat - camel-jooq: - groupId: org.apache.camel - artifactId: camel-jooq - schemes: - - id: jooq - http: false - passive: false - javaTypes: - - org.apache.camel.component.jooq.JooqComponent - camel-ahc-ws: - groupId: org.apache.camel - artifactId: camel-ahc-ws - schemes: - - id: ahc-ws - http: true - passive: false - - id: ahc-wss - http: false - passive: false - javaTypes: - - org.apache.camel.component.ahc.ws.WsComponent - camel-johnzon: - groupId: org.apache.camel - artifactId: camel-johnzon - dataformats: - - json-johnzon - javaTypes: - - org.apache.camel.component.johnzon.JohnzonDataFormat - camel-ignite: - groupId: org.apache.camel - artifactId: camel-ignite - schemes: - - id: ignite-cache - http: false - passive: false - - id: ignite-compute - http: false - passive: false - - id: ignite-events - http: false - passive: false - - id: ignite-idgen - http: false - passive: false - - id: ignite-messaging - http: false - passive: false - - id: ignite-queue - http: false - passive: false - - id: ignite-set - http: false - passive: false - javaTypes: - - org.apache.camel.component.ignite.cache.IgniteCacheComponent - - org.apache.camel.component.ignite.compute.IgniteComputeComponent - - org.apache.camel.component.ignite.events.IgniteEventsComponent - - org.apache.camel.component.ignite.idgen.IgniteIdGenComponent - - org.apache.camel.component.ignite.messaging.IgniteMessagingComponent - - org.apache.camel.component.ignite.queue.IgniteQueueComponent - - org.apache.camel.component.ignite.set.IgniteSetComponent - camel-xslt-saxon: - groupId: org.apache.camel - artifactId: camel-xslt-saxon - schemes: - - id: xslt-saxon - http: false - passive: false - javaTypes: - - org.apache.camel.component.xslt.saxon.XsltSaxonComponent - camel-pulsar: - groupId: org.apache.camel - artifactId: camel-pulsar - schemes: - - id: pulsar - http: false - passive: false - javaTypes: - - org.apache.camel.component.pulsar.PulsarComponent - camel-rest-swagger: - groupId: org.apache.camel - artifactId: camel-rest-swagger - schemes: - - id: rest-swagger - http: false - passive: false - javaTypes: - - org.apache.camel.component.rest.swagger.RestSwaggerComponent - camel-spring: - groupId: org.apache.camel - artifactId: camel-spring - schemes: - - id: spring-event - http: false - passive: false - languages: - - spel - javaTypes: - - org.apache.camel.component.event.EventComponent - - org.apache.camel.language.spel.SpelLanguage - camel-exec: - groupId: org.apache.camel - artifactId: camel-exec - schemes: - - id: exec - http: false - passive: false - javaTypes: - - org.apache.camel.component.exec.ExecComponent - camel-microprofile-metrics: - groupId: org.apache.camel - artifactId: camel-microprofile-metrics - schemes: - - id: microprofile-metrics - http: false - passive: false - javaTypes: - - org.apache.camel.component.microprofile.metrics.MicroProfileMetricsComponent - camel-aws-s3: - groupId: org.apache.camel - artifactId: camel-aws-s3 - schemes: - - id: aws-s3 - http: false - passive: false - javaTypes: - - org.apache.camel.component.aws.s3.S3Component - camel-cron: - groupId: org.apache.camel - artifactId: camel-cron - schemes: - - id: cron - http: false - passive: false - javaTypes: - - org.apache.camel.component.cron.CronComponent - camel-zookeeper-master: - groupId: org.apache.camel - artifactId: camel-zookeeper-master - schemes: - - id: zookeeper-master - http: false - passive: false - javaTypes: - - org.apache.camel.component.zookeepermaster.MasterComponent - camel-grok: - groupId: org.apache.camel - artifactId: camel-grok - dataformats: - - grok - javaTypes: - - org.apache.camel.component.grok.GrokDataFormat - camel-oaipmh: - groupId: org.apache.camel - artifactId: camel-oaipmh - schemes: - - id: oaipmh - http: false - passive: false - javaTypes: - - org.apache.camel.oaipmh.component.OAIPMHComponent - camel-mvel: - groupId: org.apache.camel - artifactId: camel-mvel - schemes: - - id: mvel - http: false - passive: false - languages: - - mvel - javaTypes: - - org.apache.camel.component.mvel.MvelComponent - - org.apache.camel.language.mvel.MvelLanguage - camel-debezium-sqlserver: - groupId: org.apache.camel - artifactId: camel-debezium-sqlserver - schemes: - - id: debezium-sqlserver - http: false - passive: false - javaTypes: - - org.apache.camel.component.debezium.DebeziumSqlserverComponent - camel-cbor: - groupId: org.apache.camel - artifactId: camel-cbor - dataformats: - - cbor - javaTypes: - - org.apache.camel.component.cbor.CBORDataFormat - camel-google-drive: - groupId: org.apache.camel - artifactId: camel-google-drive - schemes: - - id: google-drive - http: false - passive: false - javaTypes: - - org.apache.camel.component.google.drive.GoogleDriveComponent - camel-iota: - groupId: org.apache.camel - artifactId: camel-iota - schemes: - - id: iota - http: false - passive: false - javaTypes: - - org.apache.camel.component.iota.IOTAComponent - camel-cxf: - groupId: org.apache.camel - artifactId: camel-cxf - schemes: - - id: cxf - http: true - passive: false - - id: cxfrs - http: true - passive: false - javaTypes: - - org.apache.camel.component.cxf.CxfComponent - - org.apache.camel.component.cxf.jaxrs.CxfRsComponent - camel-ref: - groupId: org.apache.camel - artifactId: camel-ref - schemes: - - id: ref - http: false - passive: true - javaTypes: - - org.apache.camel.component.ref.RefComponent - camel-azure-storage-queue: - groupId: org.apache.camel - artifactId: camel-azure-storage-queue - schemes: - - id: azure-storage-queue - http: false - passive: false - javaTypes: - - org.apache.camel.component.azure.storage.queue.QueueComponent - camel-stomp: - groupId: org.apache.camel - artifactId: camel-stomp - schemes: - - id: stomp - http: false - passive: false - javaTypes: - - org.apache.camel.component.stomp.StompComponent - camel-snakeyaml: - groupId: org.apache.camel - artifactId: camel-snakeyaml - dataformats: - - yaml-snakeyaml - javaTypes: - - org.apache.camel.component.snakeyaml.SnakeYAMLDataFormat - camel-olingo4: - groupId: org.apache.camel - artifactId: camel-olingo4 - schemes: - - id: olingo4 - http: false - passive: false - javaTypes: - - org.apache.camel.component.olingo4.Olingo4Component - camel-olingo2: - groupId: org.apache.camel - artifactId: camel-olingo2 - schemes: - - id: olingo2 - http: false - passive: false - javaTypes: - - org.apache.camel.component.olingo2.Olingo2Component - camel-milo: - groupId: org.apache.camel - artifactId: camel-milo - schemes: - - id: milo-client - http: false - passive: false - - id: milo-server - http: false - passive: false - javaTypes: - - org.apache.camel.component.milo.client.MiloClientComponent - - org.apache.camel.component.milo.server.MiloServerComponent - camel-aws2-cw: - groupId: org.apache.camel - artifactId: camel-aws2-cw - schemes: - - id: aws2-cw - http: false - passive: false - javaTypes: - - org.apache.camel.component.aws2.cw.Cw2Component - camel-grpc: - groupId: org.apache.camel - artifactId: camel-grpc - schemes: - - id: grpc - http: true - passive: false - javaTypes: - - org.apache.camel.component.grpc.GrpcComponent - camel-webhook: - groupId: org.apache.camel - artifactId: camel-webhook - schemes: - - id: webhook - http: true - passive: false - javaTypes: - - org.apache.camel.component.webhook.WebhookComponent - camel-pgevent: - groupId: org.apache.camel - artifactId: camel-pgevent - schemes: - - id: pgevent - http: false - passive: false - javaTypes: - - org.apache.camel.component.pgevent.PgEventComponent - camel-micrometer: - groupId: org.apache.camel - artifactId: camel-micrometer - schemes: - - id: micrometer - http: false - passive: false - javaTypes: - - org.apache.camel.component.micrometer.MicrometerComponent - camel-any23: - groupId: org.apache.camel - artifactId: camel-any23 - dataformats: - - any23 - javaTypes: - - org.apache.camel.dataformat.any23.Any23DataFormat - camel-aws-lambda: - groupId: org.apache.camel - artifactId: camel-aws-lambda - schemes: - - id: aws-lambda - http: false - passive: false - javaTypes: - - org.apache.camel.component.aws.lambda.LambdaComponent - camel-aws-kinesis: - groupId: org.apache.camel - artifactId: camel-aws-kinesis - schemes: - - id: aws-kinesis - http: false - passive: false - - id: aws-kinesis-firehose - http: false - passive: false - javaTypes: - - org.apache.camel.component.aws.kinesis.KinesisComponent - - org.apache.camel.component.aws.firehose.KinesisFirehoseComponent - camel-netty-http: - groupId: org.apache.camel - artifactId: camel-netty-http - schemes: - - id: netty-http - http: true - passive: false - javaTypes: - - org.apache.camel.component.netty.http.NettyHttpComponent - camel-ipfs: - groupId: org.apache.camel - artifactId: camel-ipfs - schemes: - - id: ipfs - http: false - passive: false - javaTypes: - - org.apache.camel.component.ipfs.IPFSComponent - camel-aws-kms: - groupId: org.apache.camel - artifactId: camel-aws-kms - schemes: - - id: aws-kms - http: false - passive: false - javaTypes: - - org.apache.camel.component.aws.kms.KMSComponent - camel-aws-ec2: - groupId: org.apache.camel - artifactId: camel-aws-ec2 - schemes: - - id: aws-ec2 - http: false - passive: false - javaTypes: - - org.apache.camel.component.aws.ec2.EC2Component - camel-sjms: - groupId: org.apache.camel - artifactId: camel-sjms - schemes: - - id: sjms - http: false - passive: false - - id: sjms-batch - http: false - passive: false - javaTypes: - - org.apache.camel.component.sjms.SjmsComponent - - org.apache.camel.component.sjms.batch.SjmsBatchComponent - camel-irc: - groupId: org.apache.camel - artifactId: camel-irc - schemes: - - id: irc - http: false - passive: false - javaTypes: - - org.apache.camel.component.irc.IrcComponent - camel-jcr: - groupId: org.apache.camel - artifactId: camel-jcr - schemes: - - id: jcr - http: false - passive: false - javaTypes: - - org.apache.camel.component.jcr.JcrComponent - camel-dropbox: - groupId: org.apache.camel - artifactId: camel-dropbox - schemes: - - id: dropbox - http: false - passive: false - javaTypes: - - org.apache.camel.component.dropbox.DropboxComponent - camel-activemq: - groupId: org.apache.camel - artifactId: camel-activemq - schemes: - - id: activemq - http: false - passive: false - javaTypes: - - org.apache.camel.component.activemq.ActiveMQComponent - camel-scheduler: - groupId: org.apache.camel - artifactId: camel-scheduler - schemes: - - id: scheduler - http: false - passive: false - javaTypes: - - org.apache.camel.component.scheduler.SchedulerComponent - camel-validator: - groupId: org.apache.camel - artifactId: camel-validator - schemes: - - id: validator - http: false - passive: true - javaTypes: - - org.apache.camel.component.validator.ValidatorComponent - camel-aws2-athena: - groupId: org.apache.camel - artifactId: camel-aws2-athena - schemes: - - id: aws2-athena - http: false - passive: false - javaTypes: - - org.apache.camel.component.aws2.athena.Athena2Component - camel-k-loader-yaml: - groupId: org.apache.camel.k - artifactId: camel-k-loader-yaml - camel-k-loader-groovy: - groupId: org.apache.camel.k - artifactId: camel-k-loader-groovy - camel-k-loader-kotlin: - groupId: org.apache.camel.k - artifactId: camel-k-loader-kotlin - camel-k-loader-js: - groupId: org.apache.camel.k - artifactId: camel-k-loader-js - camel-k-loader-xml: - groupId: org.apache.camel.k - artifactId: camel-k-loader-xml - camel-k-loader-java: - groupId: org.apache.camel.k - artifactId: camel-k-loader-java - camel-k-runtime-main: - groupId: org.apache.camel.k - artifactId: camel-k-runtime-main - camel-k-runtime-health: - groupId: org.apache.camel.k - artifactId: camel-k-runtime-health - camel-k-runtime-http: - groupId: org.apache.camel.k - artifactId: camel-k-runtime-http - camel-k-runtime-webhook: - groupId: org.apache.camel.k - artifactId: camel-k-runtime-webhook - camel-k-runtime-cron: - groupId: org.apache.camel.k - artifactId: camel-k-runtime-cron - camel-k-runtime-knative: - groupId: org.apache.camel.k - artifactId: camel-k-runtime-knative - dependencies: - - groupId: org.apache.camel.k - artifactId: camel-k-loader-yaml - - groupId: org.apache.camel.k - artifactId: camel-knative-api - - groupId: org.apache.camel.k - artifactId: camel-knative - - groupId: org.apache.camel.k - artifactId: camel-knative-http - camel-knative: - groupId: org.apache.camel.k - artifactId: camel-knative - schemes: - - id: knative - http: true - passive: false - dependencies: - - groupId: org.apache.camel.k - artifactId: camel-knative-api - - groupId: org.apache.camel.k - artifactId: camel-knative - - groupId: org.apache.camel.k - artifactId: camel-knative-http - camel-kamelet: - groupId: org.apache.camel.k - artifactId: camel-kamelet - schemes: - - id: kamelet - http: false - passive: true - dependencies: - - groupId: org.apache.camel.k - artifactId: camel-kamelet - camel-wrap: - groupId: org.apache.camel.k - artifactId: camel-wrap - schemes: - - id: wrap - http: false - passive: false - dependencies: - - groupId: org.apache.camel.k - artifactId: camel-wrap - loaders: - yaml: - groupId: org.apache.camel.k - artifactId: camel-k-loader-yaml - languages: - - yaml - groovy: - groupId: org.apache.camel.k - artifactId: camel-k-loader-groovy - languages: - - groovy - kts: - groupId: org.apache.camel.k - artifactId: camel-k-loader-kotlin - languages: - - kts - js: - groupId: org.apache.camel.k - artifactId: camel-k-loader-js - languages: - - js - xml: - groupId: org.apache.camel.k - artifactId: camel-k-loader-xml - languages: - - xml - java: - groupId: org.apache.camel.k - artifactId: camel-k-loader-java - languages: - - java diff --git a/deploy/traits.yaml b/deploy/traits.yaml index 9f18018..8d45734 100755 --- a/deploy/traits.yaml +++ b/deploy/traits.yaml @@ -531,7 +531,7 @@ traits: type: bool description: Automatically configures the platform registry secret on the pod if it is of type `kubernetes.io/dockerconfigjson`. - name: quarkus - platform: false + platform: true profiles: - Kubernetes - Knative diff --git a/docs/modules/traits/pages/quarkus.adoc b/docs/modules/traits/pages/quarkus.adoc index 01776c7..08687c1 100755 --- a/docs/modules/traits/pages/quarkus.adoc +++ b/docs/modules/traits/pages/quarkus.adoc @@ -8,6 +8,8 @@ It's enabled by default. This trait is available in the following profiles: **Kubernetes, Knative, OpenShift**. +WARNING: The quarkus trait is a *platform trait*: disabling it may compromise the platform functionality. + // End of autogenerated code - DO NOT EDIT! (description) // Start of autogenerated code - DO NOT EDIT! (configuration) == Configuration diff --git a/e2e/common/cron_test.go b/e2e/common/cron_test.go index 4a7d998..acc9369 100644 --- a/e2e/common/cron_test.go +++ b/e2e/common/cron_test.go @@ -44,16 +44,6 @@ func TestRunCronExample(t *testing.T) { Expect(Kamel("delete", "--all", "-n", ns).Execute()).Should(BeNil()) }) - t.Run("cron-quarkus", func(t *testing.T) { - RegisterTestingT(t) - - Expect(Kamel("run", "--name", "cron-quarkus", "-n", ns, "files/cron.groovy", "-t", "quarkus.enabled=true").Execute()).Should(BeNil()) - Eventually(IntegrationCronJob(ns, "cron-quarkus"), TestTimeoutMedium).ShouldNot(BeNil()) - Eventually(IntegrationCondition(ns, "cron-quarkus", camelv1.IntegrationConditionReady), TestTimeoutMedium).Should(Equal(v1.ConditionTrue)) - Eventually(IntegrationLogs(ns, "cron-quarkus"), TestTimeoutMedium).Should(ContainSubstring("Magicstring!")) - Expect(Kamel("delete", "--all", "-n", ns).Execute()).Should(BeNil()) - }) - t.Run("cron-timer", func(t *testing.T) { RegisterTestingT(t) @@ -74,27 +64,15 @@ func TestRunCronExample(t *testing.T) { Expect(Kamel("delete", "--all", "-n", ns).Execute()).Should(BeNil()) }) - t.Run("cron-fallback-quarkus", func(t *testing.T) { + // Requires fix to https://github.com/apache/camel-k-runtime/issues/346 + t.Run("cron-quartz", func(t *testing.T) { RegisterTestingT(t) - Expect(Kamel("run", "--name", "cron-fallback-quarkus", "-n", ns, "files/cron-fallback.groovy", "-t", "quarkus.enabled=true").Execute()).Should(BeNil()) - Eventually(IntegrationPodPhase(ns, "cron-fallback-quarkus"), TestTimeoutMedium).Should(Equal(v1.PodRunning)) - Eventually(IntegrationCondition(ns, "cron-fallback-quarkus", camelv1.IntegrationConditionReady), TestTimeoutShort).Should(Equal(v1.ConditionTrue)) - Eventually(IntegrationLogs(ns, "cron-fallback-quarkus"), TestTimeoutShort).Should(ContainSubstring("Magicstring!")) + Expect(Kamel("run", "-n", ns, "files/cron-quartz.groovy").Execute()).Should(BeNil()) + Eventually(IntegrationPodPhase(ns, "cron-quartz"), TestTimeoutMedium).Should(Equal(v1.PodRunning)) + Eventually(IntegrationCondition(ns, "cron-quartz", camelv1.IntegrationConditionReady), TestTimeoutShort).Should(Equal(v1.ConditionTrue)) + Eventually(IntegrationLogs(ns, "cron-quartz"), TestTimeoutShort).Should(ContainSubstring("Magicstring!")) Expect(Kamel("delete", "--all", "-n", ns).Execute()).Should(BeNil()) }) - - // Enable this test when https://github.com/apache/camel-k-runtime/issues/346 is fixed (Camel K Runtime 1.3.x) - /* - t.Run("cron-quartz-quarkus", func(t *testing.T) { - RegisterTestingT(t) - - Expect(Kamel("run", "--name", "cron-quartz-quarkus", "-n", ns, "files/cron-quartz.groovy", "-t", "quarkus.enabled=true").Execute()).Should(BeNil()) - Eventually(IntegrationPodPhase(ns, "cron-quartz-quarkus"), TestTimeoutMedium).Should(Equal(v1.PodRunning)) - Eventually(IntegrationCondition(ns, "cron-quartz-quarkus", camelv1.IntegrationConditionReady), TestTimeoutShort).Should(Equal(v1.ConditionTrue)) - Eventually(IntegrationLogs(ns, "cron-quartz-quarkus"), TestTimeoutShort).Should(ContainSubstring("Magicstring!")) - Expect(Kamel("delete", "--all", "-n", ns).Execute()).Should(BeNil()) - }) - */ }) } diff --git a/pkg/apis/camel/v1/common_types.go b/pkg/apis/camel/v1/common_types.go index 6226309..969d8dc 100644 --- a/pkg/apis/camel/v1/common_types.go +++ b/pkg/apis/camel/v1/common_types.go @@ -158,8 +158,6 @@ type Flow struct { type RuntimeProvider string const ( - // RuntimeProviderMain -- - RuntimeProviderMain RuntimeProvider = "main" // RuntimeProviderQuarkus -- RuntimeProviderQuarkus RuntimeProvider = "quarkus" ) diff --git a/pkg/builder/runtime/main.go b/pkg/builder/runtime/main.go deleted file mode 100644 index fdf681b..0000000 --- a/pkg/builder/runtime/main.go +++ /dev/null @@ -1,176 +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 runtime - -import ( - "fmt" - "io/ioutil" - "path" - - "github.com/apache/camel-k/pkg/util/digest" - - "github.com/pkg/errors" - - yaml2 "gopkg.in/yaml.v2" - - v1 "github.com/apache/camel-k/pkg/apis/camel/v1" - "github.com/apache/camel-k/pkg/builder" - "github.com/apache/camel-k/pkg/util/camel" - "github.com/apache/camel-k/pkg/util/defaults" - "github.com/apache/camel-k/pkg/util/maven" -) - -// MainSteps -- -var MainSteps = []builder.Step{ - Steps.LoadCamelCatalog, - Steps.GenerateProject, - Steps.ComputeDependencies, -} - -func loadCamelCatalog(ctx *builder.Context) error { - catalog, err := camel.LoadCatalog(ctx.C, ctx.Client, ctx.Build.Meta.Namespace, ctx.Build.Runtime) - if err != nil { - return err - } - - if catalog == nil { - return fmt.Errorf("unable to find catalog matching version requirement: runtime=%s, provider=%s", - ctx.Build.Runtime.Version, - ctx.Build.Runtime.Provider) - } - - ctx.Catalog = catalog - - return nil -} - -func generateProject(ctx *builder.Context) error { - p := GenerateProjectCommon(ctx.Build.Runtime.Metadata["camel.version"], ctx.Build.Runtime.Version) - - // Add all the properties from the build configuration - p.Properties.AddAll(ctx.Build.Properties) - - ctx.Maven.Project = p - - return nil -} - -// GenerateProjectCommon -- -func GenerateProjectCommon(camelVersion string, runtimeVersion string) maven.Project { - p := maven.NewProjectWithGAV("org.apache.camel.k.integration", "camel-k-integration", defaults.Version) - - p.Dependencies = make([]maven.Dependency, 0) - p.DependencyManagement = &maven.DependencyManagement{Dependencies: make([]maven.Dependency, 0)} - - p.DependencyManagement.Dependencies = append(p.DependencyManagement.Dependencies, maven.Dependency{ - GroupID: "org.apache.camel", - ArtifactID: "camel-bom", - Version: camelVersion, - Type: "pom", - Scope: "import", - }) - p.DependencyManagement.Dependencies = append(p.DependencyManagement.Dependencies, maven.Dependency{ - GroupID: "org.apache.camel.k", - ArtifactID: "camel-k-runtime-bom", - Version: runtimeVersion, - Type: "pom", - Scope: "import", - }) - - return p -} - -func computeDependencies(ctx *builder.Context) error { - mc := maven.NewContext(path.Join(ctx.Path, "maven"), ctx.Maven.Project) - mc.SettingsContent = ctx.Maven.SettingsData - mc.LocalRepository = ctx.Build.Maven.LocalRepository - mc.Timeout = ctx.Build.Maven.GetTimeout().Duration - - // Compute dependencies. - content, err := ComputeDependenciesCommon(mc, ctx.Catalog.Runtime.Version) - if err != nil { - return err - } - - // Process artifacts list and add it to existing artifacts. - artifacts := []v1.Artifact{} - artifacts, err = ProcessTransitiveDependencies(content) - if err != nil { - return err - } - ctx.Artifacts = append(ctx.Artifacts, artifacts...) - - return nil -} - -// ComputeDependenciesCommon -- -func ComputeDependenciesCommon(mc maven.Context, runtimeVersion string) ([]byte, error) { - mc.AddArgumentf("org.apache.camel.k:camel-k-maven-plugin:%s:generate-dependency-list", runtimeVersion) - - if err := maven.Run(mc); err != nil { - return nil, errors.Wrap(err, "failure while determining classpath") - } - - dependencies := path.Join(mc.Path, "target", "dependencies.yaml") - content, err := ioutil.ReadFile(dependencies) - if err != nil { - return nil, err - } - - return content, nil -} - -// ProcessTransitiveDependencies -- -func ProcessTransitiveDependencies(content []byte) ([]v1.Artifact, error) { - cp := make(map[string][]v1.Artifact) - err := yaml2.Unmarshal(content, &cp) - if err != nil { - return nil, err - } - - artifacts := []v1.Artifact{} - for _, e := range cp["dependencies"] { - _, fileName := path.Split(e.Location) - - gav, err := maven.ParseGAV(e.ID) - if err != nil { - return nil, err - } - - // - // Compute the checksum if it has not been computed by the camel-k-maven-plugin - // - if e.Checksum == "" { - chksum, err := digest.ComputeSHA1(e.Location) - if err != nil { - return nil, err - } - - e.Checksum = "sha1:" + chksum - } - - artifacts = append(artifacts, v1.Artifact{ - ID: e.ID, - Location: e.Location, - Target: path.Join("dependencies", gav.GroupID+"."+fileName), - Checksum: e.Checksum, - }) - } - - return artifacts, nil -} diff --git a/pkg/builder/runtime/main_test.go b/pkg/builder/runtime/main_test.go deleted file mode 100644 index 4ff2e31..0000000 --- a/pkg/builder/runtime/main_test.go +++ /dev/null @@ -1,229 +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 runtime - -import ( - "testing" - - "github.com/stretchr/testify/assert" - - v1 "github.com/apache/camel-k/pkg/apis/camel/v1" - "github.com/apache/camel-k/pkg/builder" - "github.com/apache/camel-k/pkg/util/camel" - "github.com/apache/camel-k/pkg/util/maven" -) - -func TestNewProject(t *testing.T) { - catalog, err := camel.DefaultCatalog() - assert.Nil(t, err) - - ctx := builder.Context{ - Catalog: catalog, - Build: v1.BuilderTask{ - Runtime: catalog.Runtime, - Dependencies: []string{ - "camel-k:runtime-main", - "bom:my.company/my-artifact-1/1.0.0", - "bom:my.company/my-artifact-2/2.0.0", - }, - }, - } - - err = Steps.GenerateProject.Execute(&ctx) - assert.Nil(t, err) - err = builder.Steps.InjectDependencies.Execute(&ctx) - assert.Nil(t, err) - - assert.ElementsMatch( - t, - ctx.Maven.Project.DependencyManagement.Dependencies, - []maven.Dependency{ - { - GroupID: "org.apache.camel", - ArtifactID: "camel-bom", - Version: ctx.Catalog.Runtime.Metadata["camel.version"], - Type: "pom", - Scope: "import", - }, - { - GroupID: "org.apache.camel.k", - ArtifactID: "camel-k-runtime-bom", - Version: ctx.Catalog.Runtime.Version, - Type: "pom", - Scope: "import", - }, - { - GroupID: "my.company", - ArtifactID: "my-artifact-1", - Version: "1.0.0", - Type: "pom", - Scope: "import", - }, - { - GroupID: "my.company", - ArtifactID: "my-artifact-2", - Version: "2.0.0", - Type: "pom", - Scope: "import", - }, - }, - ) -} - -func TestGenerateJvmProject(t *testing.T) { - catalog, err := camel.DefaultCatalog() - assert.Nil(t, err) - - ctx := builder.Context{ - Catalog: catalog, - Build: v1.BuilderTask{ - Runtime: catalog.Runtime, - Dependencies: []string{ - "camel-k:runtime-main", - }, - }, - } - - err = Steps.GenerateProject.Execute(&ctx) - assert.Nil(t, err) - err = builder.Steps.InjectDependencies.Execute(&ctx) - assert.Nil(t, err) - - assert.ElementsMatch( - t, - ctx.Maven.Project.DependencyManagement.Dependencies, - []maven.Dependency{ - { - GroupID: "org.apache.camel", - ArtifactID: "camel-bom", - Version: ctx.Catalog.Runtime.Metadata["camel.version"], - Type: "pom", - Scope: "import", - }, - { - GroupID: "org.apache.camel.k", - ArtifactID: "camel-k-runtime-bom", - Version: ctx.Catalog.Runtime.Version, - Type: "pom", - Scope: "import", - }, - }, - ) - - assert.ElementsMatch( - t, - ctx.Maven.Project.Dependencies, - []maven.Dependency{ - {GroupID: "org.apache.camel.k", ArtifactID: "camel-k-runtime-main"}, - }, - ) -} - -func TestGenerateGroovyProject(t *testing.T) { - catalog, err := camel.DefaultCatalog() - assert.Nil(t, err) - - ctx := builder.Context{ - Catalog: catalog, - Build: v1.BuilderTask{ - Runtime: catalog.Runtime, - Dependencies: []string{ - "camel-k:runtime-main", - "camel-k:loader-groovy", - }, - }, - } - - err = Steps.GenerateProject.Execute(&ctx) - assert.Nil(t, err) - err = builder.Steps.InjectDependencies.Execute(&ctx) - assert.Nil(t, err) - - assert.ElementsMatch( - t, - ctx.Maven.Project.DependencyManagement.Dependencies, - []maven.Dependency{ - { - GroupID: "org.apache.camel", - ArtifactID: "camel-bom", - Version: ctx.Catalog.Runtime.Metadata["camel.version"], - Type: "pom", - Scope: "import", - }, - { - GroupID: "org.apache.camel.k", - ArtifactID: "camel-k-runtime-bom", - Version: ctx.Catalog.Runtime.Version, - Type: "pom", - Scope: "import", - }, - }, - ) - - assert.ElementsMatch( - t, - ctx.Maven.Project.Dependencies, - []maven.Dependency{ - {GroupID: "org.apache.camel.k", ArtifactID: "camel-k-runtime-main"}, - {GroupID: "org.apache.camel.k", ArtifactID: "camel-k-loader-groovy"}, - }, - ) -} - -func TestSanitizeDependencies(t *testing.T) { - catalog, err := camel.DefaultCatalog() - assert.Nil(t, err) - - ctx := builder.Context{ - Catalog: catalog, - Build: v1.BuilderTask{ - Runtime: catalog.Runtime, - Dependencies: []string{ - "camel:undertow", - "mvn:org.apache.camel/camel-core/2.18.0", - "mvn:org.apache.camel.k/camel-k-runtime-main/1.0.0", - "mvn:com.mycompany/my-dep/1.2.3", - }, - }, - } - - err = Steps.GenerateProject.Execute(&ctx) - assert.Nil(t, err) - err = builder.Steps.InjectDependencies.Execute(&ctx) - assert.Nil(t, err) - err = builder.Steps.SanitizeDependencies.Execute(&ctx) - assert.Nil(t, err) - - assert.Contains(t, ctx.Maven.Project.Dependencies, maven.Dependency{ - GroupID: "org.apache.camel.k", - ArtifactID: "camel-k-runtime-main", - }) - assert.Contains(t, ctx.Maven.Project.Dependencies, maven.Dependency{ - GroupID: "org.apache.camel", - ArtifactID: "camel-core", - }) - assert.Contains(t, ctx.Maven.Project.Dependencies, maven.Dependency{ - GroupID: "org.apache.camel", - ArtifactID: "camel-undertow", - }) - assert.Contains(t, ctx.Maven.Project.Dependencies, maven.Dependency{ - GroupID: "com.mycompany", - ArtifactID: "my-dep", - Version: "1.2.3", - }) -} diff --git a/pkg/builder/runtime/runtime.go b/pkg/builder/runtime/runtime.go index 0c589b0..b6411e9 100644 --- a/pkg/builder/runtime/runtime.go +++ b/pkg/builder/runtime/runtime.go @@ -27,10 +27,6 @@ func init() { // TODO: organise runtime steps into nested structs type steps struct { - // Main - LoadCamelCatalog builder.Step - GenerateProject builder.Step - ComputeDependencies builder.Step // Quarkus LoadCamelQuarkusCatalog builder.Step GenerateQuarkusProject builder.Step @@ -40,19 +36,6 @@ type steps struct { // Steps -- var Steps = steps{ - // Main - LoadCamelCatalog: builder.NewStep( - builder.InitPhase, - loadCamelCatalog, - ), - GenerateProject: builder.NewStep( - builder.ProjectGenerationPhase, - generateProject, - ), - ComputeDependencies: builder.NewStep( - builder.ProjectBuildPhase, - computeDependencies, - ), // Quarkus LoadCamelQuarkusCatalog: builder.NewStep( builder.InitPhase, diff --git a/pkg/trait/builder.go b/pkg/trait/builder.go index 365e99d..bdf9d42 100644 --- a/pkg/trait/builder.go +++ b/pkg/trait/builder.go @@ -33,7 +33,6 @@ import ( v1 "github.com/apache/camel-k/pkg/apis/camel/v1" "github.com/apache/camel-k/pkg/builder" "github.com/apache/camel-k/pkg/builder/kaniko" - "github.com/apache/camel-k/pkg/builder/runtime" "github.com/apache/camel-k/pkg/builder/s2i" "github.com/apache/camel-k/pkg/util/defaults" ) @@ -198,13 +197,7 @@ func (t *builderTrait) builderTask(e *Environment) *v1.BuilderTask { } quarkus := e.Catalog.GetTrait("quarkus").(*quarkusTrait) - if quarkus.isEnabled() { - // Add build steps for Quarkus runtime - quarkus.addBuildSteps(task) - } else { - // Add build steps for default runtime - task.Steps = append(task.Steps, builder.StepIDsFor(runtime.MainSteps...)...) - } + quarkus.addBuildSteps(task) return task } diff --git a/pkg/trait/builder_test.go b/pkg/trait/builder_test.go index 9cb0f82..c684ade 100644 --- a/pkg/trait/builder_test.go +++ b/pkg/trait/builder_test.go @@ -141,7 +141,7 @@ func createBuilderTestEnv(cluster v1.IntegrationPlatformCluster, strategy v1.Int PublishStrategy: strategy, Registry: v1.IntegrationPlatformRegistrySpec{Address: "registry"}, RuntimeVersion: defaults.DefaultRuntimeVersion, - RuntimeProvider: v1.RuntimeProviderMain, + RuntimeProvider: v1.RuntimeProviderQuarkus, KanikoBuildCache: &kanikoCache, }, }, diff --git a/pkg/trait/camel.go b/pkg/trait/camel.go index 4f3d154..1230f15 100644 --- a/pkg/trait/camel.go +++ b/pkg/trait/camel.go @@ -83,12 +83,7 @@ func (t *camelTrait) loadOrCreateCatalog(e *Environment, runtimeVersion string) runtime := v1.RuntimeSpec{ Version: runtimeVersion, - Provider: v1.RuntimeProviderMain, - } - - quarkus := e.Catalog.GetTrait("quarkus").(*quarkusTrait) - if quarkus.isEnabled() { - runtime.Provider = v1.RuntimeProviderQuarkus + Provider: v1.RuntimeProviderQuarkus, } catalog, err := camel.LoadCatalog(e.C, e.Client, ns, runtime) diff --git a/pkg/trait/camel_test.go b/pkg/trait/camel_test.go index 67db6a9..3d6b235 100644 --- a/pkg/trait/camel_test.go +++ b/pkg/trait/camel_test.go @@ -80,7 +80,7 @@ func createNominalCamelTest() (*camelTrait, *Environment) { CamelCatalogSpec: v1.CamelCatalogSpec{ Runtime: v1.RuntimeSpec{ Version: "0.0.1", - Provider: v1.RuntimeProviderMain, + Provider: v1.RuntimeProviderQuarkus, }, }, }, diff --git a/pkg/trait/container.go b/pkg/trait/container.go index 0be5f15..4d84f77 100644 --- a/pkg/trait/container.go +++ b/pkg/trait/container.go @@ -19,9 +19,6 @@ package trait import ( "fmt" - "sort" - "strconv" - v1 "github.com/apache/camel-k/pkg/apis/camel/v1" "github.com/apache/camel-k/pkg/util" "github.com/apache/camel-k/pkg/util/envvar" @@ -31,6 +28,7 @@ import ( "k8s.io/apimachinery/pkg/api/resource" "k8s.io/apimachinery/pkg/util/intstr" serving "knative.dev/serving/pkg/apis/serving/v1" + "sort" ) const ( @@ -394,9 +392,6 @@ func (t *containerTrait) configureResources(_ *Environment, container *corev1.Co func (t *containerTrait) configureHTTP(e *Environment) error { switch e.CamelCatalog.Runtime.Provider { - case v1.RuntimeProviderMain: - e.ApplicationProperties["customizer.platform-http.enabled"] = True - e.ApplicationProperties["customizer.platform-http.bind-port"] = strconv.Itoa(t.Port) case v1.RuntimeProviderQuarkus: // Quarkus does not offer a runtime option to change http listening ports return nil @@ -433,9 +428,6 @@ func (t *containerTrait) configureProbes(e *Environment, container *corev1.Conta } switch e.CamelCatalog.Runtime.Provider { - case v1.RuntimeProviderMain: - e.ApplicationProperties["customizer.health.enabled"] = True - e.ApplicationProperties["customizer.health.path"] = path case v1.RuntimeProviderQuarkus: // Quarkus does not offer a runtime option to change the path of the health endpoint but there // is a build time property: diff --git a/pkg/trait/container_probes_test.go b/pkg/trait/container_probes_test.go index 026d683..c676a6c 100644 --- a/pkg/trait/container_probes_test.go +++ b/pkg/trait/container_probes_test.go @@ -37,10 +37,10 @@ func newTestProbesEnv(t *testing.T, provider v1.RuntimeProvider) Environment { var err error = nil switch provider { - case v1.RuntimeProviderMain: - catalog, err = camel.MainCatalog() case v1.RuntimeProviderQuarkus: catalog, err = camel.QuarkusCatalog() + default: + panic("unknown provider " + provider) } assert.Nil(t, err) @@ -63,21 +63,6 @@ func newTestContainerTrait() *containerTrait { return tr } -func TestProbesDeps(t *testing.T) { - env := newTestProbesEnv(t, v1.RuntimeProviderMain) - env.Integration.Status.Phase = v1.IntegrationPhaseInitialization - - ctr := newTestContainerTrait() - - ok, err := ctr.Configure(&env) - assert.Nil(t, err) - assert.True(t, ok) - - err = ctr.Apply(&env) - assert.Nil(t, err) - assert.Contains(t, env.Integration.Status.Dependencies, "mvn:org.apache.camel.k/camel-k-runtime-health") -} - func TestProbesDepsQuarkus(t *testing.T) { env := newTestProbesEnv(t, v1.RuntimeProviderQuarkus) env.Integration.Status.Phase = v1.IntegrationPhaseInitialization @@ -96,7 +81,7 @@ func TestProbesDepsQuarkus(t *testing.T) { func TestProbesOnDeployment(t *testing.T) { target := appsv1.Deployment{} - env := newTestProbesEnv(t, v1.RuntimeProviderMain) + env := newTestProbesEnv(t, v1.RuntimeProviderQuarkus) env.Integration.Status.Phase = v1.IntegrationPhaseDeploying env.Resources.Add(&target) @@ -121,7 +106,7 @@ func TestProbesOnDeployment(t *testing.T) { func TestProbesOnDeploymentWithNoHttpPort(t *testing.T) { target := appsv1.Deployment{} - env := newTestProbesEnv(t, v1.RuntimeProviderMain) + env := newTestProbesEnv(t, v1.RuntimeProviderQuarkus) env.Integration.Status.Phase = v1.IntegrationPhaseDeploying env.Resources.Add(&target) @@ -138,7 +123,7 @@ func TestProbesOnDeploymentWithNoHttpPort(t *testing.T) { func TestProbesOnKnativeService(t *testing.T) { target := serving.Service{} - env := newTestProbesEnv(t, v1.RuntimeProviderMain) + env := newTestProbesEnv(t, v1.RuntimeProviderQuarkus) env.Integration.Status.Phase = v1.IntegrationPhaseDeploying env.Resources.Add(&target) @@ -163,7 +148,7 @@ func TestProbesOnKnativeService(t *testing.T) { func TestProbesOnKnativeServiceWithNoHttpPort(t *testing.T) { target := serving.Service{} - env := newTestProbesEnv(t, v1.RuntimeProviderMain) + env := newTestProbesEnv(t, v1.RuntimeProviderQuarkus) env.Integration.Status.Phase = v1.IntegrationPhaseDeploying env.Resources.Add(&target) diff --git a/pkg/trait/jolokia.go b/pkg/trait/jolokia.go index f48b8df..d303307 100644 --- a/pkg/trait/jolokia.go +++ b/pkg/trait/jolokia.go @@ -91,9 +91,6 @@ func (t *jolokiaTrait) Apply(e *Environment) (err error) { case v1.RuntimeProviderQuarkus: util.StringSliceUniqueAdd(&e.Integration.Status.Dependencies, "mvn:org.apache.camel.quarkus/camel-quarkus-management") util.StringSliceUniqueAdd(&e.Integration.Status.Dependencies, "camel-quarkus:jaxb") - case v1.RuntimeProviderMain: - util.StringSliceUniqueAdd(&e.Integration.Status.Dependencies, "mvn:org.apache.camel/camel-management") - util.StringSliceUniqueAdd(&e.Integration.Status.Dependencies, "camel:jaxb") } // TODO: We may want to make the Jolokia version configurable diff --git a/pkg/trait/prometheus.go b/pkg/trait/prometheus.go index 8d4efb2..aa762c4 100644 --- a/pkg/trait/prometheus.go +++ b/pkg/trait/prometheus.go @@ -19,10 +19,6 @@ package trait import ( "fmt" - "path" - "strconv" - "strings" - corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/util/intstr" @@ -90,23 +86,6 @@ func (t *prometheusTrait) Apply(e *Environment) (err error) { case v1.RuntimeProviderQuarkus: // Add the Camel Quarkus MP Metrics extension util.StringSliceUniqueAdd(&e.Integration.Status.Dependencies, "mvn:org.apache.camel.quarkus/camel-quarkus-microprofile-metrics") - case v1.RuntimeProviderMain: - // Add the Camel management and Prometheus agent dependencies - util.StringSliceUniqueAdd(&e.Integration.Status.Dependencies, "mvn:org.apache.camel/camel-management") - // TODO: We may want to make the Prometheus version configurable - util.StringSliceUniqueAdd(&e.Integration.Status.Dependencies, "mvn:io.prometheus.jmx/jmx_prometheus_javaagent:0.3.1") - - // Use the provided configuration or add the default Prometheus JMX exporter configuration - configMapName := t.getJmxExporterConfigMapOrAdd(e) - - e.Integration.Status.AddOrReplaceGeneratedResources(v1.ResourceSpec{ - Type: v1.ResourceTypeData, - DataSpec: v1.DataSpec{ - Name: prometheusJmxExporterConfigFileName, - ContentRef: configMapName, - }, - MountPath: prometheusJmxExporterConfigMountPath, - }) } return nil } @@ -132,11 +111,6 @@ func (t *prometheusTrait) Apply(e *Environment) (err error) { switch e.CamelCatalog.Runtime.Provider { case v1.RuntimeProviderQuarkus: port = 8080 - case v1.RuntimeProviderMain: - port = 9779 - // Configure the Prometheus Java agent - options := []string{strconv.Itoa(port), path.Join(prometheusJmxExporterConfigMountPath, prometheusJmxExporterConfigFileName)} - container.Args = append(container.Args, "-javaagent:dependencies/io.prometheus.jmx.jmx_prometheus_javaagent-0.3.1.jar="+strings.Join(options, ":")) } if t.Port == nil { diff --git a/pkg/trait/prometheus_test.go b/pkg/trait/prometheus_test.go index 7d33573..2793a6b 100644 --- a/pkg/trait/prometheus_test.go +++ b/pkg/trait/prometheus_test.go @@ -63,13 +63,11 @@ func TestApplyNominalPrometheusTraitDoesSucceed(t *testing.T) { container := environment.Resources.GetContainerByName(defaultContainerName) assert.NotNil(t, container) - assert.Equal(t, container.Args, []string{ - "-javaagent:dependencies/io.prometheus.jmx.jmx_prometheus_javaagent-0.3.1.jar=9779:/etc/prometheus/prometheus-jmx-exporter.yaml", - }) + assert.Empty(t, container.Args) ports := container.Ports assert.Len(t, ports, 1) - assert.Equal(t, int32(9779), ports[0].ContainerPort) + assert.Equal(t, int32(8080), ports[0].ContainerPort) assert.Equal(t, corev1.ProtocolTCP, ports[0].Protocol) service := environment.Resources.GetService(func(service *corev1.Service) bool { @@ -173,7 +171,7 @@ func createNominalPrometheusTest() (*prometheusTrait, *Environment) { enabled := true trait.Enabled = &enabled - camelCatalog, err := camel.MainCatalog() + camelCatalog, err := camel.DefaultCatalog() if err != nil { panic(err) } diff --git a/pkg/trait/quarkus.go b/pkg/trait/quarkus.go index 7723ef2..ea2b3d5 100644 --- a/pkg/trait/quarkus.go +++ b/pkg/trait/quarkus.go @@ -52,6 +52,11 @@ func (t *quarkusTrait) Apply(e *Environment) error { return nil } +// IsPlatformTrait overrides base class method +func (t *quarkusTrait) IsPlatformTrait() bool { + return true +} + // InfluencesKit overrides base class method func (t *quarkusTrait) InfluencesKit() bool { return true diff --git a/pkg/trait/trait_test.go b/pkg/trait/trait_test.go index a4c24ea..491a856 100644 --- a/pkg/trait/trait_test.go +++ b/pkg/trait/trait_test.go @@ -382,7 +382,7 @@ func TestOnlySomeTraitsInfluenceBuild(t *testing.T) { func TestOnlySomeTraitsArePlatform(t *testing.T) { c := NewTraitTestCatalog() - platformTraits := []string{"builder", "camel", "jvm", "container", "dependencies", "deployer", "deployment", "environment", "kamelets", "openapi", "owner", "platform"} + platformTraits := []string{"builder", "camel", "jvm", "container", "dependencies", "deployer", "deployment", "environment", "kamelets", "openapi", "owner", "platform", "quarkus"} for _, trait := range c.allTraits() { if trait.IsPlatformTrait() { diff --git a/pkg/util/camel/camel_util_test.go b/pkg/util/camel/camel_util_test.go index 2caec80..ed2f539 100644 --- a/pkg/util/camel/camel_util_test.go +++ b/pkg/util/camel/camel_util_test.go @@ -27,47 +27,40 @@ import ( func TestFindBestMatch(t *testing.T) { catalogs := []v1.CamelCatalog{ - {Spec: v1.CamelCatalogSpec{Runtime: v1.RuntimeSpec{Version: "1.0.0", Provider: v1.RuntimeProviderMain}}}, - {Spec: v1.CamelCatalogSpec{Runtime: v1.RuntimeSpec{Version: "1.0.1", Provider: v1.RuntimeProviderMain}}}, {Spec: v1.CamelCatalogSpec{Runtime: v1.RuntimeSpec{Version: "1.0.0", Provider: v1.RuntimeProviderQuarkus}}}, {Spec: v1.CamelCatalogSpec{Runtime: v1.RuntimeSpec{Version: "1.0.1", Provider: v1.RuntimeProviderQuarkus}}}, } - c, err := findBestMatch(catalogs, v1.RuntimeSpec{Version: "~1.0.x", Provider: v1.RuntimeProviderMain}) + c, err := findBestMatch(catalogs, v1.RuntimeSpec{Version: "~1.0.x", Provider: v1.RuntimeProviderQuarkus}) assert.Nil(t, err) assert.NotNil(t, c) assert.Equal(t, "1.0.1", c.Runtime.Version) - assert.Equal(t, v1.RuntimeProviderMain, c.Runtime.Provider) + assert.Equal(t, v1.RuntimeProviderQuarkus, c.Runtime.Provider) } func TestFindExactSemVerMatch(t *testing.T) { catalogs := []v1.CamelCatalog{ - {Spec: v1.CamelCatalogSpec{Runtime: v1.RuntimeSpec{Version: "1.0.0", Provider: v1.RuntimeProviderMain}}}, - {Spec: v1.CamelCatalogSpec{Runtime: v1.RuntimeSpec{Version: "1.0.1", Provider: v1.RuntimeProviderMain}}}, {Spec: v1.CamelCatalogSpec{Runtime: v1.RuntimeSpec{Version: "1.0.0", Provider: v1.RuntimeProviderQuarkus}}}, {Spec: v1.CamelCatalogSpec{Runtime: v1.RuntimeSpec{Version: "1.0.1", Provider: v1.RuntimeProviderQuarkus}}}, } - c, err := findBestMatch(catalogs, v1.RuntimeSpec{Version: "1.0.0", Provider: v1.RuntimeProviderMain}) + c, err := findBestMatch(catalogs, v1.RuntimeSpec{Version: "1.0.0", Provider: v1.RuntimeProviderQuarkus}) assert.Nil(t, err) assert.NotNil(t, c) assert.Equal(t, "1.0.0", c.Runtime.Version) - assert.Equal(t, v1.RuntimeProviderMain, c.Runtime.Provider) + assert.Equal(t, v1.RuntimeProviderQuarkus, c.Runtime.Provider) } func TestFindRangeMatch(t *testing.T) { catalogs := []v1.CamelCatalog{ - {Spec: v1.CamelCatalogSpec{Runtime: v1.RuntimeSpec{Version: "1.0.0", Provider: v1.RuntimeProviderMain}}}, - {Spec: v1.CamelCatalogSpec{Runtime: v1.RuntimeSpec{Version: "1.0.1", Provider: v1.RuntimeProviderMain}}}, - {Spec: v1.CamelCatalogSpec{Runtime: v1.RuntimeSpec{Version: "1.0.2", Provider: v1.RuntimeProviderMain}}}, {Spec: v1.CamelCatalogSpec{Runtime: v1.RuntimeSpec{Version: "1.0.0", Provider: v1.RuntimeProviderQuarkus}}}, {Spec: v1.CamelCatalogSpec{Runtime: v1.RuntimeSpec{Version: "1.0.1", Provider: v1.RuntimeProviderQuarkus}}}, {Spec: v1.CamelCatalogSpec{Runtime: v1.RuntimeSpec{Version: "1.0.2", Provider: v1.RuntimeProviderQuarkus}}}, } - c, err := findBestMatch(catalogs, v1.RuntimeSpec{Version: "> 1.0.1, < 1.0.3", Provider: v1.RuntimeProviderMain}) + c, err := findBestMatch(catalogs, v1.RuntimeSpec{Version: "> 1.0.1, < 1.0.3", Provider: v1.RuntimeProviderQuarkus}) assert.Nil(t, err) assert.NotNil(t, c) assert.Equal(t, "1.0.2", c.Runtime.Version) - assert.Equal(t, v1.RuntimeProviderMain, c.Runtime.Provider) + assert.Equal(t, v1.RuntimeProviderQuarkus, c.Runtime.Provider) } diff --git a/pkg/util/camel/catalog.go b/pkg/util/camel/catalog.go index 2d3d5e9..70e02a5 100644 --- a/pkg/util/camel/catalog.go +++ b/pkg/util/camel/catalog.go @@ -40,11 +40,6 @@ func DefaultCatalog() (*RuntimeCatalog, error) { return QuarkusCatalog() } -// MainCatalog -- -func MainCatalog() (*RuntimeCatalog, error) { - return catalogForRuntimeProvider(v1.RuntimeProviderMain) -} - // QuarkusCatalog -- func QuarkusCatalog() (*RuntimeCatalog, error) { return catalogForRuntimeProvider(v1.RuntimeProviderQuarkus) diff --git a/script/Makefile b/script/Makefile index 480dcfc..59d6740 100644 --- a/script/Makefile +++ b/script/Makefile @@ -161,7 +161,6 @@ build-kamel: go build $(GOFLAGS) -o kamel ./cmd/kamel/*.go build-resources: bundle-kamelets - ./script/build_catalog.sh $(RUNTIME_VERSION) -Dcatalog.file=camel-catalog-$(RUNTIME_VERSION)-main.yaml -Dstaging.repo="$(STAGING_RUNTIME_REPO)" ./script/build_catalog.sh $(RUNTIME_VERSION) -Dcatalog.file=camel-catalog-$(RUNTIME_VERSION)-quarkus.yaml -Dcatalog.runtime=quarkus -Dstaging.repo="$(STAGING_RUNTIME_REPO)" ./script/embed_resources.sh deploy
