<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Thanks, Dmitri.<div><br></div><div>I like the idea what you suggested mostly looks fine to me. Just want to clarify something about the snippet you provided.</div><div><br></div><div><div class="syntax" style="background-color: rgb(240, 240, 240); font-family: 'Trebuchet MS', sans-serif; font-size: 15px;"><pre style="margin-top: 0px; margin-bottom: 0px; padding: 5px 0px; font-family: 'Bitstream Vera Sans Mono', monospace; font-size: 13px;"><span class="l-Scalar-Plain">Workflow</span><span class="p-Indicator">:</span>
  <span class="l-Scalar-Plain">tasks</span><span class="p-Indicator">:</span>
    <span class="l-Scalar-Plain">timeInToronto</span><span class="p-Indicator">:</span>
      <span class="l-Scalar-Plain">action:std:REST_API</span>
      <span class="l-Scalar-Plain">parameters</span><span class="p-Indicator">:</span>
        <span class="l-Scalar-Plain">baseUrl</span><span class="p-Indicator">:</span> <span class="s" style="color: rgb(64, 112, 160);">"<a href="http://api.timezonedb.com">http://api.timezonedb.com</a>"</span>
        <span class="l-Scalar-Plain">method</span><span class="p-Indicator">:</span> <span class="s" style="color: rgb(64, 112, 160);">"GET"</span>
        <span class="l-Scalar-Plain">parameters</span><span class="p-Indicator">:</span> <span class="s" style="color: rgb(64, 112, 160);">"zone=/America/Toronto&key=<my_api_key>"</span>

<span class="l-Scalar-Plain">Services</span><span class="p-Indicator">:</span>
  <span class="l-Scalar-Plain">TimeService</span><span class="p-Indicator">:</span>
    <span class="l-Scalar-Plain">type</span><span class="p-Indicator">:</span> <span class="l-Scalar-Plain">REST_API</span>
    <span class="l-Scalar-Plain">parameters</span><span class="p-Indicator">:</span>
      <span class="l-Scalar-Plain">baseUrl:http://<a href="http://api.timezonedb.com">api.timezonedb.com</a></span>
      <span class="l-Scalar-Plain">key:<my_api_key></span>
    <span class="l-Scalar-Plain">actions</span><span class="p-Indicator">:</span>
      <span class="l-Scalar-Plain">get-time</span><span class="p-Indicator">:</span>
        <span class="l-Scalar-Plain">task-parameters</span><span class="p-Indicator">:</span>
          <span class="l-Scalar-Plain">zone</span><span class="p-Indicator">:</span>
</pre></div><div><br></div></div><div></div><div>Task “timeInToronto” has property “parameters” which in turn also has property “parameters”. Could you please explain your intentions here? Maybe we should have just one section “parameters”?</div><div><br></div><div>Btw, the more I think about all these parameters the more I come to realize that we need to redesign this part significantly. The reason is that I’m currently working on the first Data Flow implementation and I feel that not everything is good with our understanding of what parameters are, at least with my understanding ). But I think it makes sense to start a new thread to discuss this in details.</div><div><br></div><div>Thanks</div><div> <br><div>
<div>Renat Akhmerov</div><div>@ Mirantis Inc.</div><div><br></div><br class="Apple-interchange-newline">

</div>
<br><div><div>On 26 Feb 2014, at 07:32, Dmitri Zimine <<a href="mailto:dz@stackstorm.com">dz@stackstorm.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;">I have created a blueprint to capture the intention to simplify calling standard actions:</span></blockquote></div><br></div></body></html>