Post a reply

Write your message and submit

Options

Click in the dark area of the image to send your post.

Go back

Topic review (newest first)

geuder
2012-05-03 19:48:06

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.

chandrasekaran.krishnasam
2012-04-26 17:04:39

Dear Ben,
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 !

chandra

phobucket
2012-04-25 19:25:56

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.

Thanks,
Ben

chandrasekaran.krishnasam
2012-04-25 17:20:02

Dear All,
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.

Board footer

Powered by FluxBB