-
Bug
-
Resolution: Duplicate
-
Major
-
Camel-K-M4
-
None
-
False
-
False
-
%
-
Undefined
-
With Camel K 1.3.0, I tried to create KameletBinding with source Salesforce Kamelet and sink URI. Log of the created integration produces error:
2021-01-15 17:25:33,419 INFO [org.apa.cam.k.lis.SourcesConfigurer] (main) Loading routes from: SourceDefinition{name='salesforce-source', language='yaml', type='template', propertyNames='[clientId, clientSecret, loginUrl, password, query, topicName, userName]', location='file:/etc/camel/sources/i-source-001/salesforce-source.yaml', } 2021-01-15 17:25:33,710 ERROR [org.apa.cam.qua.mai.CamelMainRuntime] (main) Failed to start application: java.lang.IllegalArgumentException: Cannot compute endpoint URI: unable to find an EndpointUriFactory for scheme kamelet-reify at org.apache.camel.k.loader.yaml.support.StepParserSupport.getEndpointUriFactory(StepParserSupport.java:121) at org.apache.camel.k.loader.yaml.support.StepParserSupport.createEndpointUri(StepParserSupport.java:84) at org.apache.camel.k.loader.yaml.parser.FromStepParser.process(FromStepParser.java:39)
KameletBinding:
apiVersion: camel.apache.org/v1alpha1 kind: KameletBinding metadata: name: salesforce-to-uri spec: source: ref: kind: Kamelet apiVersion: camel.apache.org/v1alpha1 name: salesforce-source properties: topicName: "${topicName}" query: "${query}" clientId: "${salesforce.clientId}" clientSecret: "${salesforce.clientSecret}" userName: "${salesforce.userName}" password: "${salesforce.password}" loginUrl: "https://login.salesforce.com" sink: uri: http://salesforce-case-service/case
Setup:
$ camel-k-client-1.3.0-linux-64bit/kamel install --olm=false --maven-repository=http://nexus.fuse-qe.eng.r du2.redhat.com/repository/fuse-all $ oc apply -f salesforce-source.kamelet.yaml $ oc apply -f salesforce-to-uri.yaml