<?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 Metaservlet associatePreGeneratedJob call fails to create task from Nexus artifact in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Metaservlet-associatePreGeneratedJob-call-fails-to-create-task/m-p/2306469#M144120</link>
    <description>&lt;DIV&gt;
  I am using MetaservletCaller to create a task from a pregenerated job. 
&lt;/DIV&gt; 
&lt;DIV&gt;
  &amp;nbsp; 
&lt;/DIV&gt; 
&lt;DIV&gt;
  Here is the request: 
&lt;/DIV&gt; 
&lt;DIV&gt;
  &amp;nbsp;-&amp;gt; Json parameters: 
&lt;/DIV&gt; 
&lt;DIV&gt;
  { 
&lt;/DIV&gt; 
&lt;DIV&gt;
  &amp;nbsp; "actionName": "associatePreGeneratedJob", 
&lt;/DIV&gt; 
&lt;DIV&gt;
  &amp;nbsp; "active": true, 
&lt;/DIV&gt; 
&lt;DIV&gt;
  &amp;nbsp; "authPass": "XXX", 
&lt;/DIV&gt; 
&lt;DIV&gt;
  &amp;nbsp; "authUser": "YYY", 
&lt;/DIV&gt; 
&lt;DIV&gt;
  &amp;nbsp; "contextName": "CI", 
&lt;/DIV&gt; 
&lt;DIV&gt;
  &amp;nbsp; "description": " description", 
&lt;/DIV&gt; 
&lt;DIV&gt;
  &amp;nbsp; "executionServerName": "serv1", 
&lt;/DIV&gt; 
&lt;DIV&gt;
  &amp;nbsp; "importType": "Nexus", 
&lt;/DIV&gt; 
&lt;DIV&gt;
  &amp;nbsp; "logLevel": "Info", 
&lt;/DIV&gt; 
&lt;DIV&gt;
  &amp;nbsp; "nexusArtifactId": "testjob_LM_Processing", 
&lt;/DIV&gt; 
&lt;DIV&gt;
  &amp;nbsp; "nexusGroupId": "org.talend.job.my_group", 
&lt;/DIV&gt; 
&lt;DIV&gt;
  &amp;nbsp; "nexusRepository": "snapshots", 
&lt;/DIV&gt; 
&lt;DIV&gt;
  &amp;nbsp; "nexusVersion": "0.1.005933_24f0b469-SNAPSHOT", 
&lt;/DIV&gt; 
&lt;DIV&gt;
  &amp;nbsp; "onUnknownStateJob": "WAIT", 
&lt;/DIV&gt; 
&lt;DIV&gt;
  &amp;nbsp; "pauseOnError": false, 
&lt;/DIV&gt; 
&lt;DIV&gt;
  &amp;nbsp; "taskName": "task123", 
&lt;/DIV&gt; 
&lt;DIV&gt;
  &amp;nbsp; "taskType": "Normal" 
&lt;/DIV&gt; 
&lt;DIV&gt;
  } 
&lt;/DIV&gt; 
&lt;DIV&gt;
  &amp;nbsp; 
&lt;/DIV&gt; 
&lt;DIV&gt;
  Here is the response: 
&lt;/DIV&gt; 
&lt;DIV&gt;
  { 
&lt;/DIV&gt; 
&lt;DIV&gt;
  &amp;nbsp; "error": "config.scheduler.archiva.url.inavailable", 
&lt;/DIV&gt; 
&lt;DIV&gt;
  &amp;nbsp; "returnCode": 181 
&lt;/DIV&gt; 
&lt;DIV&gt;
  } 
&lt;/DIV&gt; 
&lt;DIV&gt;
  &amp;nbsp; 
&lt;/DIV&gt; 
&lt;DIV&gt;
  The path of the job in the Nexus repository 'snapshots' is: 
&lt;/DIV&gt; 
&lt;DIV&gt;
  /org/talend/job/ 
 &lt;SPAN&gt;my_group&lt;/SPAN&gt;/testjob_LM_Processing/0.1.005933_24f0b469-SNAPSHOT/testjob_LM_Processing-0.1.005933_24f0b469-20180515.032432-1.zip 
&lt;/DIV&gt; 
&lt;DIV&gt;
  &amp;nbsp; 
&lt;/DIV&gt; 
&lt;DIV&gt;
  So, what does the error mean? 
&lt;/DIV&gt; 
&lt;DIV&gt;
  Do I need to specify 'nexusJobVersionSuffix' too? What do I put in this? 
&lt;/DIV&gt;</description>
    <pubDate>Sat, 16 Nov 2024 08:16:06 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T08:16:06Z</dc:date>
    <item>
      <title>Metaservlet associatePreGeneratedJob call fails to create task from Nexus artifact</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Metaservlet-associatePreGeneratedJob-call-fails-to-create-task/m-p/2306469#M144120</link>
      <description>&lt;DIV&gt;
  I am using MetaservletCaller to create a task from a pregenerated job. 
&lt;/DIV&gt; 
&lt;DIV&gt;
  &amp;nbsp; 
&lt;/DIV&gt; 
&lt;DIV&gt;
  Here is the request: 
&lt;/DIV&gt; 
&lt;DIV&gt;
  &amp;nbsp;-&amp;gt; Json parameters: 
&lt;/DIV&gt; 
&lt;DIV&gt;
  { 
&lt;/DIV&gt; 
&lt;DIV&gt;
  &amp;nbsp; "actionName": "associatePreGeneratedJob", 
&lt;/DIV&gt; 
&lt;DIV&gt;
  &amp;nbsp; "active": true, 
&lt;/DIV&gt; 
&lt;DIV&gt;
  &amp;nbsp; "authPass": "XXX", 
&lt;/DIV&gt; 
&lt;DIV&gt;
  &amp;nbsp; "authUser": "YYY", 
&lt;/DIV&gt; 
&lt;DIV&gt;
  &amp;nbsp; "contextName": "CI", 
&lt;/DIV&gt; 
&lt;DIV&gt;
  &amp;nbsp; "description": " description", 
&lt;/DIV&gt; 
&lt;DIV&gt;
  &amp;nbsp; "executionServerName": "serv1", 
&lt;/DIV&gt; 
&lt;DIV&gt;
  &amp;nbsp; "importType": "Nexus", 
&lt;/DIV&gt; 
&lt;DIV&gt;
  &amp;nbsp; "logLevel": "Info", 
&lt;/DIV&gt; 
&lt;DIV&gt;
  &amp;nbsp; "nexusArtifactId": "testjob_LM_Processing", 
&lt;/DIV&gt; 
&lt;DIV&gt;
  &amp;nbsp; "nexusGroupId": "org.talend.job.my_group", 
&lt;/DIV&gt; 
&lt;DIV&gt;
  &amp;nbsp; "nexusRepository": "snapshots", 
&lt;/DIV&gt; 
&lt;DIV&gt;
  &amp;nbsp; "nexusVersion": "0.1.005933_24f0b469-SNAPSHOT", 
&lt;/DIV&gt; 
&lt;DIV&gt;
  &amp;nbsp; "onUnknownStateJob": "WAIT", 
&lt;/DIV&gt; 
&lt;DIV&gt;
  &amp;nbsp; "pauseOnError": false, 
&lt;/DIV&gt; 
&lt;DIV&gt;
  &amp;nbsp; "taskName": "task123", 
&lt;/DIV&gt; 
&lt;DIV&gt;
  &amp;nbsp; "taskType": "Normal" 
&lt;/DIV&gt; 
&lt;DIV&gt;
  } 
&lt;/DIV&gt; 
&lt;DIV&gt;
  &amp;nbsp; 
&lt;/DIV&gt; 
&lt;DIV&gt;
  Here is the response: 
&lt;/DIV&gt; 
&lt;DIV&gt;
  { 
&lt;/DIV&gt; 
&lt;DIV&gt;
  &amp;nbsp; "error": "config.scheduler.archiva.url.inavailable", 
&lt;/DIV&gt; 
&lt;DIV&gt;
  &amp;nbsp; "returnCode": 181 
&lt;/DIV&gt; 
&lt;DIV&gt;
  } 
&lt;/DIV&gt; 
&lt;DIV&gt;
  &amp;nbsp; 
&lt;/DIV&gt; 
&lt;DIV&gt;
  The path of the job in the Nexus repository 'snapshots' is: 
&lt;/DIV&gt; 
&lt;DIV&gt;
  /org/talend/job/ 
 &lt;SPAN&gt;my_group&lt;/SPAN&gt;/testjob_LM_Processing/0.1.005933_24f0b469-SNAPSHOT/testjob_LM_Processing-0.1.005933_24f0b469-20180515.032432-1.zip 
&lt;/DIV&gt; 
&lt;DIV&gt;
  &amp;nbsp; 
&lt;/DIV&gt; 
&lt;DIV&gt;
  So, what does the error mean? 
&lt;/DIV&gt; 
&lt;DIV&gt;
  Do I need to specify 'nexusJobVersionSuffix' too? What do I put in this? 
&lt;/DIV&gt;</description>
      <pubDate>Sat, 16 Nov 2024 08:16:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Metaservlet-associatePreGeneratedJob-call-fails-to-create-task/m-p/2306469#M144120</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T08:16:06Z</dc:date>
    </item>
    <item>
      <title>Re: Metaservlet associatePreGeneratedJob call fails to create task from Nexus artifact</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Metaservlet-associatePreGeneratedJob-call-fails-to-create-task/m-p/2306470#M144121</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;Could you please indicate on which talend build version you got this issue?&lt;/P&gt; 
&lt;P&gt;We have a known jira issue about creating Artifact Task with Metaservlet API.&lt;/P&gt; 
&lt;P&gt;Best regards&lt;/P&gt; 
&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Tue, 22 May 2018 09:14:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Metaservlet-associatePreGeneratedJob-call-fails-to-create-task/m-p/2306470#M144121</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-05-22T09:14:04Z</dc:date>
    </item>
    <item>
      <title>Re: Metaservlet associatePreGeneratedJob call fails to create task from Nexus artifact</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Metaservlet-associatePreGeneratedJob-call-fails-to-create-task/m-p/2306471#M144122</link>
      <description>&lt;P&gt;Also per the documentation you are missing the parameter nexusJobVersionSuffix .&lt;/P&gt;
&lt;PRE&gt;"nexusJobVersionSuffix": "1.0.0-20170516.043751-1",&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 May 2018 23:48:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Metaservlet-associatePreGeneratedJob-call-fails-to-create-task/m-p/2306471#M144122</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-05-31T23:48:50Z</dc:date>
    </item>
    <item>
      <title>Re: Metaservlet associatePreGeneratedJob call fails to create task from Nexus artifact</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Metaservlet-associatePreGeneratedJob-call-fails-to-create-task/m-p/2306472#M144123</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the same issue. Is this issue resolved?&lt;/P&gt;</description>
      <pubDate>Wed, 12 Dec 2018 20:27:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Metaservlet-associatePreGeneratedJob-call-fails-to-create-task/m-p/2306472#M144123</guid>
      <dc:creator>ravi999</dc:creator>
      <dc:date>2018-12-12T20:27:13Z</dc:date>
    </item>
    <item>
      <title>Re: Metaservlet associatePreGeneratedJob call fails to create task from Nexus artifact</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Metaservlet-associatePreGeneratedJob-call-fails-to-create-task/m-p/2306473#M144124</link>
      <description>&lt;P&gt;This should work and I made it work without the suffix like previously stated with this command format, you will have to update the json string to include your parameters:&lt;BR /&gt;&lt;BR /&gt;{"authUser":"user@company.com","authPass":"********","targetConductor":"JOBCONDUCTOR","taskName":"taskname","description":"description","active":true,"nexusRepository":"nexusRepo","nexusGroupId":"org.talend.job.test","nexusArtifactId":"testjob","nexusVersion":"3.0.241-446","onUnknownStateJob":"WAIT","contextName":"Default","logLevel":"Error","execStatisticsEnabled":"true","pauseOnError":"false","timeout":"0","executionServerName":"serv1","runAsUser":"svc.talend","actionName":"associatePreGeneratedJob","importType":"Nexus"}&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2019 21:57:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Metaservlet-associatePreGeneratedJob-call-fails-to-create-task/m-p/2306473#M144124</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-07T21:57:09Z</dc:date>
    </item>
  </channel>
</rss>

