apex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Perumal, Nithin" <peru...@rose-hulman.edu>
Subject Re: Questions regarding committing code to Malhar
Date Wed, 30 Dec 2015 06:08:23 GMT
The testing files are currently in the test folder for the twitter demo.  Would these tests
still be skipped?

Thank You,


From: Sandeep Deshmukh <sandeep@datatorrent.com>
Sent: Tuesday, December 29, 2015 11:20 PM
To: users@apex.incubator.apache.org
Subject: Re: Questions regarding committing code to Malhar

You should not be checking in your credentials into the repository. A user, if needs to run
this, will need to create his/her credentials and use the application.

If your code is in malhar-contrib, it will be automatically skipped from unit testing cycle.


On Wed, Dec 30, 2015 at 1:39 AM, Perumal, Nithin <peruman@rose-hulman.edu<mailto:peruman@rose-hulman.edu>>

I have fixed the demos that were not working the last time I submitted a pull request to Malhar.
 I also made a number of the improvements asked for on my last pull request, but I need to
have a couple of questions answered before I can resubmit my files:

1. For each additional twitter-demo feature that I added, I also added a testing file similar
to those that already exist for the twitter-demo.  I was wondering whether I should keep the
Consumer Key, consumer secret, access token and access token secret in the resources XML file
as is done in the existing resources?

2. I had initially set up my testing files to read the twitter access credentials from "/home/dtadmin/.dt/dt-site.xml"
(I am developing on the sandbox).  This way, the credentials would not be exposed in the xml
file and the user would store his keys in this XML file.  Is this way acceptable?  Or should
I put the credentials in the testing resources xml file as it currently is.  If I continue
to access credentials from "/home/dtadmin/.dt/dt-site.xml"

View raw message