> On Oct. 18, 2013, 12:36 p.m., daan Hoogland wrote:
> > The params are self explanatory indeed, i like them. The concern I have 
> > with them is regarding backward compatibility of the interface. I don't 
> > (yet) use the BVT suite due to lack of knowledge on my side. I use the 
> > connection object and api calls directly and fear the my present scripts 
> > will break with this code. This would warant a major version upgrade for 
> > marvin.

1. I tested the changes using simulator and it worked fine, i.e., it created 
relevant entities in CS post the run, so i assume that the changes are fine. 
Anyways, we are planning to test the changes with real cs https setup. If we 
can have one setup provided, that should be good. Apart from this, if there are 
any test cases either written by you or otherwise which are breaking, i can 
take a look.

2. The changes to interface are few, i agree that the changes are done to the 
interface, but i felt that user need not know minute details of cs connection, 
i can alter it to keep the changes as it is, but the regular regression and bvt 
will not be anyways effected, as user does not know about them unless they are 
explicitly using test client.

3. The current testclient is little confusing, i mean we need to abstract the 
user from all the details of test client creation. Internally, we would have 
read the configuration from file if provided, create both api client and db 
connection, currently we create api client with user passed mgmt details, and 
then again call dbconfigure for db connection. The testclient internally should 
take care to read the configuration and create both api and db connection 
necessary. I thought of changing this as well and atleast pass both db and mgmt 
details in one single call to testclient and it will provide apiclient and 
dbclient. 

4. Also, testcase client would have inherited from dbconnection and exposed 
operations again rather than rewriting some methods again through test client. 

5. There is one more issue with loadCfg of deployData..py where it is creating 
testclients unnecessarily based upon apiKey value, which i thought will change 
as another fix. 


- Santhosh


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/14595/#review27185
-----------------------------------------------------------


On Oct. 11, 2013, 12:51 p.m., Santhosh Edukulla wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/14595/
> -----------------------------------------------------------
> 
> (Updated Oct. 11, 2013, 12:51 p.m.)
> 
> 
> Review request for cloudstack, daan Hoogland and Prasanna Santhanam.
> 
> 
> Bugs: 4832
>     https://issues.apache.org/jira/browse/4832
> 
> 
> Repository: cloudstack-git
> 
> 
> Description
> -------
> 
> adding support to marvin for https. We will allow user to specify whether to 
> usehttps or not using three params
> 
> 
> useHttps, certCAPath, certPath - the params are self explanatory
> 
> 
> Diffs
> -----
> 
>   setup/dev/advanced.cfg 4a48399 
>   tools/marvin/marvin/cloudstackConnection.py 686c533 
>   tools/marvin/marvin/cloudstackTestClient.py 36f7f8d 
>   tools/marvin/marvin/configGenerator.py a966ae0 
>   tools/marvin/marvin/deployDataCenter.py beed8c8 
> 
> Diff: https://reviews.apache.org/r/14595/diff/
> 
> 
> Testing
> -------
> 
> Tested against http. Setting up https environment for testing. Will 
> appreciate a test if anyone has https enabled on their setup
> 
> 
> Thanks,
> 
> Santhosh Edukulla
> 
>

Reply via email to