syndesisio / syndesis-extensions

Collection of Syndesis extensions
Apache License 2.0
31 stars 73 forks source link

body extension does not work #69

Open mcada opened 6 years ago

mcada commented 6 years ago

syndesis-extension-body does not work, export works, but selecting any of its action just keeps loading forever

I did not investigate it at all but maybe it counts with older syndesis models as it has 1.3-SNAPSHOT syndesis.version in pom.xml?

Tried from master branch on syndesis 1.4.5

oscerd commented 6 years ago

You need to change the syndesis version to 1.4-Snapshot and recompile

mcada commented 6 years ago

I tried to change it to 1.4.5 but it did not work, will try it with snapshot, thx

mcada commented 6 years ago

@oscerd Can not compile it with 1.4-SNAPSHOT:

syndesis-extensions/syndesis-extension-body/src/main/java/io/syndesis/extension/body/SetBodyAction.java:[15,8] io.syndesis.extension.body.SetBodyAction is not abstract and does not override abstract method configure(org.apache.camel.CamelContext,org.apache.camel.model.ProcessorDefinition<?>,java.util.Map<java.lang.String,java.lang.Object>) in io.syndesis.extension.api.Step
oscerd commented 6 years ago

Will check when I can

lburgazzoli commented 6 years ago

@mcada what did you use as first step ?

mcada commented 6 years ago

It was used in slack scenario, you can see gherkin steps here: https://github.com/syndesisio/syndesis-qe/blob/5e8cca9d0ff1a4961ba343d30e5010acf896a701/ui-tests/src/test/resources/features/integrations/slack.feature

lburgazzoli commented 6 years ago

So ok, the problem is the timer used as first step, there is an issue on UI site that should have been fixed. The problem is that the UI searches for a datashape but the timer does not have one and this condition was not talken into account. if you use any other connector it should work

mcada commented 6 years ago

But it used to work... :/

oscerd commented 6 years ago

The change was done a while ago

mcada commented 6 years ago

I already created working scenario for slack so I will just create something else to test the extension. Thanks!