1. 07 Apr, 2011 3 commits
  2. 05 Apr, 2011 1 commit
  3. 01 Apr, 2011 1 commit
  4. 30 Mar, 2011 1 commit
  5. 29 Mar, 2011 1 commit
  6. 28 Mar, 2011 1 commit
    • Faidon Liambotis's avatar
      Be consistent about the use of simplejson · 703ff9a3
      Faidon Liambotis authored
      simplejson was merged into Python 2.6's stdlib as json. To help with
      that and avoid external dependencies, Django provides a utils.simplejson
      module that either imports Python's json module or imports an embedded
      copy of simplejson.
      This was used inconsistenly through the tree, with users importing
      either that, or simplejson directly. This fixes all the call sites to
      use Django's version.
      A notable exception is util/rapi.py that was fixed to import
      simplejson/json conditionally without the Django helper so that the
      module can be upstream-Ganeti-friendly.
  7. 23 Mar, 2011 2 commits
    • Markos Gogoulos's avatar
      add testServerPolling test · 044e699f
      Markos Gogoulos authored
      check if the polling works as expected
       * get the list of servers
       * get the list using changes_since. Expect no changes
       * create a server
       * get the list using changes_since. Expect the server to be there
    • Markos Gogoulos's avatar
      remove description fields for VM, Image · bfd14757
      Markos Gogoulos authored
       * remove description from VirtualMachine model, handlers and tests
       * return images metadata (as on servers). for now return image.description as image.metadata.meta.key.description
      Ref #185
  8. 18 Mar, 2011 1 commit
  9. 15 Mar, 2011 1 commit
  10. 07 Mar, 2011 2 commits
    • Markos Gogoulos's avatar
      add virtual machine group tests · cd610801
      Markos Gogoulos authored
      added 4 tests regarding VirtualMachineGroups:
       * testVMgroupList, that tests if the expected list of groups is returned by the API
       * testVMgroupDetails, that tests if the expected virtual machine group is returned by the API
       * testWrongVMgroup, that test if a non existent VMgroup is asked, if a 404 itemNotFound returned
       * testgroupsDetails, that tests if the groups details are returned by the API
    • Markos Gogoulos's avatar
      changes on update name (and metadata, in future) · 0198138f
      Markos Gogoulos authored
       * move update from ServerActionHandler to ServerHandler
       * add testServerMetadata test that edits a server's name via a PUT call.
       At the moment it is not working, due to django-piston and PUT issues
  11. 06 Mar, 2011 1 commit
  12. 02 Mar, 2011 1 commit
  13. 01 Mar, 2011 2 commits
  14. 26 Feb, 2011 1 commit
    • Markos Gogoulos's avatar
      add more unit tests · 75b5cdb8
      Markos Gogoulos authored
      For example:
       * testServersDetails that tests if the correct servers details are returned by the API
       * testWrongServer that tests if a wrong server is asked if a 404 is returned
       * testActions (reboot, shutdown, start, delete) that test if each action is run as expected
  15. 25 Feb, 2011 5 commits