<?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 Re: Generic dockerfile with --context-param switch that contains spaces in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Generic-dockerfile-with-context-param-switch-that-contains/m-p/2317968#M88351</link>
    <description>&lt;P&gt;Sorry for the confusion. Context variable &lt;STRONG&gt;value&lt;/STRONG&gt; with space.&lt;/P&gt;</description>
    <pubDate>Tue, 05 Feb 2019 14:36:02 GMT</pubDate>
    <dc:creator>kevinrlewis</dc:creator>
    <dc:date>2019-02-05T14:36:02Z</dc:date>
    <item>
      <title>Generic dockerfile with --context-param switch that contains spaces</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Generic-dockerfile-with-context-param-switch-that-contains/m-p/2317965#M88348</link>
      <description>&lt;P&gt;In regards to this post: &lt;A href="https://community.qlik.com/s/article/ka03p0000006EafAAE" target="_self"&gt;Generic Dockerfile with Talend&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I'm curious if there is a way to have a context variable that contains spaces. Currently with that dockerfile, running a job with a context and specifying "hello world" as that context and printing that context in the job will print "hello. Is there a way to configure the dockerfile or the job to allow context variables with spaces?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 06:40:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Generic-dockerfile-with-context-param-switch-that-contains/m-p/2317965#M88348</guid>
      <dc:creator>kevinrlewis</dc:creator>
      <dc:date>2024-11-16T06:40:32Z</dc:date>
    </item>
    <item>
      <title>Re: Generic dockerfile with --context-param switch that contains spaces</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Generic-dockerfile-with-context-param-switch-that-contains/m-p/2317966#M88349</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sorry, it is not clear - do you want context variable name with space (no) or context variable value with space(yes)?&lt;/P&gt;</description>
      <pubDate>Tue, 05 Feb 2019 07:18:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Generic-dockerfile-with-context-param-switch-that-contains/m-p/2317966#M88349</guid>
      <dc:creator>vapukov</dc:creator>
      <dc:date>2019-02-05T07:18:08Z</dc:date>
    </item>
    <item>
      <title>Re: Generic dockerfile with --context-param switch that contains spaces</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Generic-dockerfile-with-context-param-switch-that-contains/m-p/2317967#M88350</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; I have tried the normal use case depicted in Mike's article and it was working fine. But I have not tried passing parameters with spaces.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; But when I checked some links, other docker users have overcome&lt;SPAN&gt;&amp;nbsp; the issue by passing as an array.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://stackoverflow.com/questions/47179199/how-to-pass-arguments-with-space-by-environment-variable" target="_blank" rel="noopener nofollow noopener noreferrer"&gt;https://stackoverflow.com/questions/47179199/how-to-pass-arguments-with-space-by-environment-variable&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; Could you please try solution mentioned in above example and let us know whether you were able to resolve it?&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt; 
&lt;P&gt;Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Feb 2019 12:59:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Generic-dockerfile-with-context-param-switch-that-contains/m-p/2317967#M88350</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-02-05T12:59:29Z</dc:date>
    </item>
    <item>
      <title>Re: Generic dockerfile with --context-param switch that contains spaces</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Generic-dockerfile-with-context-param-switch-that-contains/m-p/2317968#M88351</link>
      <description>&lt;P&gt;Sorry for the confusion. Context variable &lt;STRONG&gt;value&lt;/STRONG&gt; with space.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Feb 2019 14:36:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Generic-dockerfile-with-context-param-switch-that-contains/m-p/2317968#M88351</guid>
      <dc:creator>kevinrlewis</dc:creator>
      <dc:date>2019-02-05T14:36:02Z</dc:date>
    </item>
    <item>
      <title>Re: Generic dockerfile with --context-param switch that contains spaces</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Generic-dockerfile-with-context-param-switch-that-contains/m-p/2317969#M88352</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/00539000006eKOgAAM"&gt;@nthampi&lt;/A&gt;&amp;nbsp;I will try the solution in that post and get back to you. Thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 05 Feb 2019 14:37:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Generic-dockerfile-with-context-param-switch-that-contains/m-p/2317969#M88352</guid>
      <dc:creator>kevinrlewis</dc:creator>
      <dc:date>2019-02-05T14:37:00Z</dc:date>
    </item>
    <item>
      <title>Re: Generic dockerfile with --context-param switch that contains spaces</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Generic-dockerfile-with-context-param-switch-that-contains/m-p/2317970#M88353</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/00539000006eKOgAAM"&gt;@nthampi&lt;/A&gt;&amp;nbsp;I tried doing it that way locally but that solution doesn't work which I believe is because of the nested strings within the command. My main goal is to give the context values to a task definition. Example:&lt;/P&gt; 
&lt;PRE&gt;{
  "networkMode": "none",
  "containerDefinitions": [
    {
      "memory": 1024,
      "name": "testPrint",
      "image": "talend:testPrint-latest",
      "cpu": 1024
    },
    {
      "environment":
      [
          {
              "name": "ARGS",
              "value": "--context_param test=\"howdy from context\""
          }
      ]
    }
  ],
  "family": "talend-testPrint"
}&lt;/PRE&gt; 
&lt;P&gt;Where the environment contains the context variables within the ARGS value. So multiple "--context_param" equals multiple context variables/values. I'm thinking based on your previous answer if I could put an array in the value field or something similar.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Feb 2019 15:19:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Generic-dockerfile-with-context-param-switch-that-contains/m-p/2317970#M88353</guid>
      <dc:creator>kevinrlewis</dc:creator>
      <dc:date>2019-02-05T15:19:38Z</dc:date>
    </item>
  </channel>
</rss>

