You are not logged in.
If you look at this thread: http://www.talendforge.org/forum/viewto … ?pid=84111
Pedro says you need to develop a custom components in order to make use of the class.
I did it the easy way... setting up shell scripts running the class and pulling the reports into a directory.
And then I use Talend to pull the numbers out of the files and into a MySQL.
Many , Many Thanks for your suggestion in time.
Here is workflow how i got it working.
posgrestsql db-> tjavarow -> tsystem
Before that i need to copy Autosuggestion.class to talend working directory.
and it works !
I do not have an answer specifically about the AutoIngestion class, however as just a pointer that might get you going in the right direction:
In Window | Preferences | Java | Buildpath you can add Classpath Variables and User Libraries.
You could create a code routine that calls the Autoingestion.class and takes in your variables as an input.
In this case, you will need to right click on the routine in the repository and choose edit routine libraries - then add the AutoIngestion class.
Place your 5 usernames (and any other params) in a tFileInput
tFileInputxxx --> tJavaRow and call your routine from there.
You could also look into tSystem which executes system commands, although I have not used that on a mac.
Again, this feedback may or may not resolve your query, but it should at least give you options to explore. Let us know what works.
I need to download the raw content by using the apple "Autoingestion.class" based on the customer name, password,vendorid and do ETL and fianlly store in postgresql database.
As i have more than 5 usernames, i need to do automation script.
I need to run the below command 5 times in the script.
"java Autoingestion XXXX@XXX.com XXXX 8XXX Sales "Daily Summary 20110204"
Is there anyway in talend to add "Autoingestion.class" as library to the job and then run this shell command and download the files from apple server to desired directory.
kindly provide me some suggestion.
Thanks in Advance.