EMML <operation> tag

acarlstein
User offline. Last seen 1 year 12 weeks ago. Offline
Joined: 12/22/2009
Points: 11

Hi,

can i define multiple operations within a mashup?
I've tried creating 2 operations and invoking them separately using Presto's JSON RPC API and it always returns data from the first one..

¡Ieeehh!

5
Your rating: None Average: 5 (2 votes)
raj
raj's picture
User offline. Last seen 1 week 4 days ago. Offline
Joined: 09/22/2008
Points: 4

Hi,

Multiple operations in EMML are currently not supported.   You may want to decompose those into 2 separate Mashups.

raj.  chief masher @ jackbe

fredpyo
User offline. Last seen 9 weeks 6 days ago. Offline
Joined: 01/08/2010
Points: 31

 Well, that's a pity.

When we saw that the information panel of a mashup showed the different operations, we thought that invoking the different operations would possible...

Is this feature planned to be included in a near-future release of Presto?

Thanks,

Federico Cáceres

raj
raj's picture
User offline. Last seen 1 week 4 days ago. Offline
Joined: 09/22/2008
Points: 4

Hi Federico,

We are tentatively planning to support it in upcoming release. Can you please provide some context on where would you find this helpful ? Is it for better modularity , and avoid over-pollution of distinct mashup scripts ?

 

raj.  chief masher @ jackbe

acarlstein
User offline. Last seen 1 year 12 weeks ago. Offline
Joined: 12/22/2009
Points: 11

Hi raj,

Exactly that is why. Very closely related scripts could be grouped in a single emml with multiple operations.
Furthermore, would it be possible to share variables between operations? For example having the same sources and operations but providing different outputs?

P.S.: Federico and I are working in the same project

¡Ieeehh!

smitchell
smitchell's picture
User offline. Last seen 13 hours 40 min ago. Offline
Joined: 08/29/2008
Points: 34

Is it possible in the meantime to encapsulate the common functionality into macros? You could share them across the different mashups to simplify any duplication...

<!--Session data-->

 

Sara, technical writer/jackbe