On 21/05/2012 10:37, Joel Wright wrote: > Hi Everyone, Hello
> I've recently needed to include services that make use of optional > query string parameters in some workflows I've been working on. The > problem I encountered is that when specifying a REST activity with a > URL template similar to the one below forces the user to modify the > URL each time to only include the query string parameters they wish > to use in that particular invocation. > > URL: http://example.org/{path}/?p1={p1?}&p2={p2?}&p3={p3?} .... > > Some of the URL templates I'm dealing with have 20+ optional > parameters so editing them each time to provide a different subset of > query strings has been a bit of a pain. I know :( I think the same problem affects BioCatalogue. > I was wondering if partially completing URL templates of this form is > already supported, and if not would there be any interest in my patch > against Taverna 2.4.0 to allow optional parameters to be > automatically removed from the URL if the value to complete them is > not supplied. I would be very interested in seeing the patch. In theory before we include it, you should sign the Contributor's License Agreement (CLA). It is at http://www.taverna.org.uk/about/legal-stuff/contributors-guide/ Stian wants to do a patch for the REST activity anyway. So, we may be able to include your proposal. > Joel. -- Alan > Dr Joel Wright IT Innovation Centre Gamma House Enterprise Road > Southampton SO16 7NS, UK ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ taverna-hackers mailing list [email protected] Web site: http://www.taverna.org.uk Mailing lists: http://www.taverna.org.uk/about/contact-us/ Developers Guide: http://www.taverna.org.uk/developers/
