Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-15071

Missing parameter in salesforce-source Kamelet

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • camel-K-M3
    • camel-K-M3
    • Camel-K
    • None

      After workaround ENTESB-15070 I am getting

      [1] 
      [1] 2020-10-20 08:25:05,354 ERROR [io.qua.application] (main) Failed to start application (with profile prod): java.lang.RuntimeException: java.lang.RuntimeException: java.lang.IllegalArgumentException: loginUrl must be specified
      [1] 	at org.apache.camel.quarkus.core.CamelBootstrapRecorder.start(CamelBootstrapRecorder.java:47)
      [1] 	at io.quarkus.deployment.steps.CamelBootstrapProcessor$boot-173480958.deploy_0(CamelBootstrapProcessor$boot-173480958.zig:101)
      [1] 	at io.quarkus.deployment.steps.CamelBootstrapProcessor$boot-173480958.deploy(CamelBootstrapProcessor$boot-173480958.zig:40)
      [1] 	at io.quarkus.runner.ApplicationImpl.doStart(ApplicationImpl.zig:534)
      [1] 	at io.quarkus.runtime.Application.start(Application.java:90)
      [1] 	at io.quarkus.runtime.ApplicationLifecycleManager.run(ApplicationLifecycleManager.java:91)
      [1] 	at io.quarkus.runtime.Quarkus.run(Quarkus.java:61)
      [1] 	at io.quarkus.runtime.Quarkus.run(Quarkus.java:38)
      [1] 	at io.quarkus.runtime.Quarkus.run(Quarkus.java:106)
      [1] 	at io.quarkus.runner.GeneratedMain.main(GeneratedMain.zig:29)
      [1] Caused by: java.lang.RuntimeException: java.lang.IllegalArgumentException: loginUrl must be specified
      [1] 	at org.apache.camel.quarkus.main.CamelMainRuntime.start(CamelMainRuntime.java:65)
      [1] 	at org.apache.camel.quarkus.core.CamelBootstrapRecorder.start(CamelBootstrapRecorder.java:45)
      [1] 	... 9 more
      [1] Caused by: java.lang.IllegalArgumentException: loginUrl must be specified
      [1] 	at org.apache.camel.util.ObjectHelper.notNull(ObjectHelper.java:151)
      [1] 	at org.apache.camel.component.salesforce.SalesforceLoginConfig.validate(SalesforceLoginConfig.java:218)
      [1] 	at org.apache.camel.component.salesforce.internal.SalesforceSession.<init>(SalesforceSession.java:94)
      [1] 	at org.apache.camel.component.salesforce.SalesforceComponent.doStart(SalesforceComponent.java:372)
      [1] 	at org.apache.camel.support.service.BaseService.start(BaseService.java:115)
      [1] 	at org.apache.camel.impl.engine.AbstractCamelContext.startService(AbstractCamelContext.java:3126)
      [1] 	at org.apache.camel.impl.engine.AbstractCamelContext.startServices(AbstractCamelContext.java:3132)
      [1] 	at org.apache.camel.impl.engine.AbstractCamelContext.doStartCamel(AbstractCamelContext.java:2847)
      [1] 	at org.apache.camel.impl.engine.AbstractCamelContext.doStartContext(AbstractCamelContext.java:2740)
      [1] 	at org.apache.camel.impl.engine.AbstractCamelContext.doStart(AbstractCamelContext.java:2703)
      [1] 	at org.apache.camel.support.service.BaseService.start(BaseService.java:115)
      [1] 	at org.apache.camel.impl.engine.AbstractCamelContext.start(AbstractCamelContext.java:2469)
      [1] 	at org.apache.camel.quarkus.main.CamelMain.doStart(CamelMain.java:75)
      [1] 	at org.apache.camel.support.service.BaseService.start(BaseService.java:115)
      [1] 	at org.apache.camel.quarkus.main.CamelMain.startEngine(CamelMain.java:120)
      [1] 	at org.apache.camel.quarkus.main.CamelMainRuntime.start(CamelMainRuntime.java:49)
      

      It seems we miss `loginUrl` parameter in the Kamelet specification.

              nicolaferraro Nicola Ferraro (Inactive)
              jbouska@redhat.com Jan Bouska
              Lucie Krejcirova Lucie Krejcirova
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: