<?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: Restrict what context can be used in test in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Restrict-what-context-can-be-used-in-test/m-p/2297171#M69772</link>
    <description>&lt;P&gt;By default the ApplicationContext is loaded using the GenericXmlContextLoader which loads a context from XML Spring configuration files. You can then access beans from the ApplicationContext by&amp;nbsp;annotating fieldour test class .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.mylifetouch.us/" alt="https://www.mylifetouch.us/" target="_blank"&gt;MyLifeTouch&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 14 Apr 2022 06:42:38 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-04-14T06:42:38Z</dc:date>
    <item>
      <title>Restrict what context can be used in test</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Restrict-what-context-can-be-used-in-test/m-p/2297169#M69770</link>
      <description>&lt;P&gt;Is there a way to configure the Studio to not allow building jobs with "Production" context at all when running the studio on TEST server and vice versa, preventing the Studio from allowing "Test" context when running Studio on production server? &lt;/P&gt;&lt;P&gt;We never build production jobs on our test server, nor test jobs on prod server, so removing these options alltogether would remove the the risk of accidentally leaving the wrong setting to the list. The environment would dictate which setting is allowed for the environment the developer is in.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mockup illustaration below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;B&gt;WHEN RUNNING STUDIO ON TEST SERVER,&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;"Production" context is not an option:&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000QDVAlAAP.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/139568iDBE5CB4C5EFD3697/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000QDVAlAAP.png" alt="0695b00000QDVAlAAP.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;B&gt;WHEN RUNNING STUDIO ON PRODUCTION SERVER,&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;"Test" context is not an option:&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000QDVBtAAP.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/155097iC0786090EF16222C/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000QDVBtAAP.png" alt="0695b00000QDVBtAAP.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Apr 2022 20:02:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Restrict-what-context-can-be-used-in-test/m-p/2297169#M69770</guid>
      <dc:creator>MPT</dc:creator>
      <dc:date>2022-04-13T20:02:36Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict what context can be used in test</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Restrict-what-context-can-be-used-in-test/m-p/2297170#M69771</link>
      <description>&lt;P&gt;Hi  &lt;/P&gt;&lt;P&gt;It's impossible to hide some specified context when build the job, however, you can still modify the context from executable file after you build the job. &lt;/P&gt;&lt;P&gt;​&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shong&lt;/P&gt;</description>
      <pubDate>Thu, 14 Apr 2022 03:26:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Restrict-what-context-can-be-used-in-test/m-p/2297170#M69771</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-04-14T03:26:05Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict what context can be used in test</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Restrict-what-context-can-be-used-in-test/m-p/2297171#M69772</link>
      <description>&lt;P&gt;By default the ApplicationContext is loaded using the GenericXmlContextLoader which loads a context from XML Spring configuration files. You can then access beans from the ApplicationContext by&amp;nbsp;annotating fieldour test class .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.mylifetouch.us/" alt="https://www.mylifetouch.us/" target="_blank"&gt;MyLifeTouch&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Apr 2022 06:42:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Restrict-what-context-can-be-used-in-test/m-p/2297171#M69772</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-04-14T06:42:38Z</dc:date>
    </item>
    <item>
      <title>Re: Restrict what context can be used in test</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Restrict-what-context-can-be-used-in-test/m-p/2297172#M69773</link>
      <description>&lt;P&gt;I'm sorry, I don't have the Java experience to understand your tip. Even if I could &lt;I&gt;"access beans from the ApplicationContext by&amp;nbsp;annotating fieldour test class&amp;nbsp;&lt;/I&gt;", how would that take me closer to being able to restrict an user from building a job with Production context when they're running Studio on a Test/Dev machine?&lt;/P&gt;</description>
      <pubDate>Thu, 14 Apr 2022 20:06:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Restrict-what-context-can-be-used-in-test/m-p/2297172#M69773</guid>
      <dc:creator>MPT</dc:creator>
      <dc:date>2022-04-14T20:06:13Z</dc:date>
    </item>
  </channel>
</rss>

