• Index
  •  » Talend Open Studio for Data Integration » Usage, Operation
  •  » Apple's AutoIngestion class file

#1 2012-04-25 17:20:02

chandrasekaran.krishnasam
New member
Registered: 2012-04-25
Posts: 2

Apple's AutoIngestion class file

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.

Offline

#2 2012-04-25 19:25:56

phobucket
Member
Company: Knoetry
Registered: 2010-07-27
Posts: 146
Website

Re: Apple's AutoIngestion class file

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

Last edited by phobucket (2012-04-25 19:27:53)

Offline

#3 2012-04-26 17:04:39

chandrasekaran.krishnasam
New member
Registered: 2012-04-25
Posts: 2

Re: Apple's AutoIngestion class file

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

Offline

#4 2012-05-03 19:48:06

geuder
Member
Company: Mojang
Registered: 2011-10-19
Posts: 92
Website

Re: Apple's AutoIngestion class file

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.

Offline

  • Index
  •  » Talend Open Studio for Data Integration » Usage, Operation
  •  » Apple's AutoIngestion class file

Board footer

Powered by FluxBB