<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic tGroovy STDIN in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tGroovy-STDIN/m-p/2202383#M4103</link>
    <description>&lt;P&gt;What's best practice?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a groovy program that operates on STDIN, do I have to create a file first and pass the file name into tGroovy or can the file be fed (from tHttpRequest) and read from STDIN?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;jji&lt;/P&gt;</description>
    <pubDate>Thu, 25 Oct 2018 20:17:08 GMT</pubDate>
    <dc:creator>imholzj</dc:creator>
    <dc:date>2018-10-25T20:17:08Z</dc:date>
    <item>
      <title>tGroovy STDIN</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tGroovy-STDIN/m-p/2202383#M4103</link>
      <description>&lt;P&gt;What's best practice?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a groovy program that operates on STDIN, do I have to create a file first and pass the file name into tGroovy or can the file be fed (from tHttpRequest) and read from STDIN?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;jji&lt;/P&gt;</description>
      <pubDate>Thu, 25 Oct 2018 20:17:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tGroovy-STDIN/m-p/2202383#M4103</guid>
      <dc:creator>imholzj</dc:creator>
      <dc:date>2018-10-25T20:17:08Z</dc:date>
    </item>
    <item>
      <title>Re: tGroovy STDIN</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tGroovy-STDIN/m-p/2202384#M4104</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;If I understand your requirement very well, do you want to use a tGroovy component to process rows?&lt;BR /&gt;Here is a tFlowtoIterate component which reads data line by line from the input flow and stores the data entries in iterative global variables.&lt;/P&gt;
&lt;P&gt;The workflow looks like;&lt;/P&gt;
&lt;P&gt;Input--&amp;gt;tflowtoiterate--&amp;gt;tGroovy(write your Groovy script).&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Sabrina&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;H2 class="message-subject"&gt;&amp;nbsp;&lt;/H2&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Nov 2018 10:07:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tGroovy-STDIN/m-p/2202384#M4104</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-11-19T10:07:17Z</dc:date>
    </item>
    <item>
      <title>Re: tGroovy STDIN</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tGroovy-STDIN/m-p/2202385#M4105</link>
      <description>&lt;P&gt;It's actually a json file that I want to parse in the Groovy script.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Right now I have to set an ENV var for fileIn and fileOut, and have the Groovy script use those vars to read and write the results.&amp;nbsp; I was hoping for a cleaner script that would just read the json from STDIN and write the results to STDOUT.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;jji&lt;/P&gt;</description>
      <pubDate>Tue, 20 Nov 2018 14:55:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tGroovy-STDIN/m-p/2202385#M4105</guid>
      <dc:creator>imholzj</dc:creator>
      <dc:date>2018-11-20T14:55:49Z</dc:date>
    </item>
  </channel>
</rss>

