-
1. Re: Eclipse Tooling for multi-step transformations
jorgemoralespou_2 Jul 10, 2014 8:06 AM (in response to erhard)Can you paste some sample code to help you with this? At least:
- Switchyard.xml with transformations definitions
- Code for your transformers
- Log with error
Cheers,
-
2. Re: Eclipse Tooling for multi-step transformations
kcbabo Jul 10, 2014 10:00 AM (in response to jorgemoralespou_2)The issue here is that the tooling does not work with multi-step transformations at the moment. Two issues:
1) Tooling validation does not recognize multi-step paths.
2) New transformer creation is constrained by the tooling to only include transformation paths that the tooling recognizes.
Rob and I had a discussion about this some time back, but I don't remember if there's an actual JIRA for it. Rob - do you remember? I can file an issue if one does not exist at present.
-
3. Re: Eclipse Tooling for multi-step transformations
rcernich Jul 10, 2014 11:26 AM (in response to kcbabo)I remember the discussion, but I don't remember much else. I vaguely recall that there's a runtime setting that constrains the number of "steps" the runtime takes when searching for a transformer between two types. I had thought that was set to "1" but maybe that has been relaxed in 2.0. Regardless, if this is possible, the tooling should be updated to:
- Allow users to create arbitrary transformers
- Allow users to specify the number of steps (assuming this parameter is externally configurable)
- Adjust validation to account for the "steps"
-
4. Re: Eclipse Tooling for multi-step transformations
kcbabo Jul 10, 2014 12:06 PM (in response to rcernich)OK, I will file a JIRA once I find the details of our last discussion on the topic. :-)
FWIW, the default number of hops is 2 and that's been the case since this was pushed for 1.0.
- Allow users to create arbitrary transformers
Yes
- Allow users to specify the number of steps (assuming this parameter is externally configurable)
- Adjust validation to account for the "steps"
Interesting idea!
-
5. Re: Eclipse Tooling for multi-step transformations
erhard Jul 11, 2014 5:23 AM (in response to kcbabo)Thanks for the answers.
Keith, can you please link to the JIRA here when you created it?
In my opinion the more urgent issue is the
- Adjust validation to account for the "steps"
When I show FSW (Switchyard) to a customer and use the multi-step feature, there is always this error on the project. The missing feature to create arbitrary transformers is easier to hide.
Kind regards
Erhard