cloudstack/tools/testClient
Chirag Jog 4c447d92bc 1. Remove complete dependency from settings/environment
2. Add account creation/deletion to all relevant tests.
2012-01-25 07:57:05 -08:00
..
pymysql fix typo 2011-08-10 18:36:42 -07:00
sandbox no providers in 2.2.y 2011-12-27 09:05:57 +05:30
testcase 1. Remove complete dependency from settings/environment 2012-01-25 07:57:05 -08:00
unitTest - some quick environment configuration files 2011-12-15 13:53:36 +05:30
.project fix typo 2011-08-10 18:36:42 -07:00
.pydevproject fix typo 2011-08-10 18:36:42 -07:00
README how to generate api spec file 2011-08-15 17:44:56 -07:00
TestCaseExecuteEngine.py a. Test Discovery is only found in python 2.7+. unittest2 makes it backwards compatible for python 2.4-2.6 2011-08-25 19:54:40 +05:30
asyncJobMgr.py testClient: add timestamp for sync job 2011-08-25 18:50:28 -07:00
cloudstackConnection.py * when httplib.Connection fails to get response it prevents further requests on 2012-01-22 22:07:59 +05:30
cloudstackException.py fix typo 2011-08-10 18:36:42 -07:00
cloudstackTestCase.py 1. correcting the global property 2. handling the case if unittest2 is present 2011-08-29 18:42:58 +05:30
cloudstackTestClient.py TestClient: use json instead of painful XML 2011-08-25 17:18:47 -07:00
codegenerator.py TESTClient: more features: all the api will go through 8080 with apikey/securitykey, both keys are generated dynamically when you deploy your setup, add list/map type for api, and bug fix 2011-08-24 18:45:11 -07:00
configGenerator.py reverting changes related to provider. not part of 2.2.y 2011-12-15 13:53:37 +05:30
dbConnection.py a. Test Discovery is only found in python 2.7+. unittest2 makes it backwards compatible for python 2.4-2.6 2011-08-25 19:54:40 +05:30
deployAndRun.py add more test cases 2011-08-18 10:51:38 -07:00
deployDataCenter.py reverting changes related to provider. not part of 2.2.y 2011-12-15 13:53:37 +05:30
jsonHelper.py - some quick environment configuration files 2011-12-15 13:53:36 +05:30
remoteSSHClient.py * when httplib.Connection fails to get response it prevents further requests on 2012-01-22 22:07:59 +05:30

README

CloudStack Test Client
1. generate Cloudstack API python code from an API XML spec file
   python codegenerator.py  -o where-to-put-the-cloudstack-api -s where-the-spec-file
1.5 Spec file is generated by
   ant build-apidocs
   -> generates commands.xml in dist

2. Facility it provides:
  1. very handy cloudstack API python wrapper
  2. support async job executing in parallel
  3. remote ssh login/execute command
  4. mysql query 

3. sample code is under unitTest