the jobscript looks like (is) JSON which is interpreted by the engine into a Talend Job and then as a JAVA class.
that is what i understand - let me know if i am wrong.
in a regular Talend project we collect meta-data of all sorts.
Question:
is there an API that i could use to create jobscript files using the project's metadata.
like:
<Java (ish)> .class
private JobScript myjs;
myjs.addComp( new JobScript.DBConn( "DBconnMetaDataName" , "DbConnNameInJob" );
myjs.addComp( new JobScript.DBInput( "DbConnNameInJob", "myDBinput", "MetaDataFromTbl_ABCZ" );
...
probably not - but it is a nice idea
(can i claim authorship?)
Hi,
There is no such an API that you could use to create jobscript files using the project's metadata, but we have the function "import connection from csv" in Talend Enterprise subscription version. Hope it will be helpful for you.
see the screenshot
Best regards
Sabrina
thanks, but i have a project which requires me to load hundreds of files with different metadata. so i was looking for a way to apply the same pattern read file (thisDataset) -> load into SQL table (thisDataset) but i guess we will have to take the regular route. thanks,
If you get any solution please post on forum, I am also looking for the same solution but Talend is not giving any information. If we get Code-generator, reference we can generate code for schema, and jobs.