DescriptionImplement more methods in the Azure provider.
In the Azure provider, this branch implements environ's Instances() and AllInstances() methods and instance's Id(), DNSName() and WaitDNSName() methods. Nothing particularly noteworthy about the implementation: all the methods are implemented by doing simple calls to gwacl's methods. The tests are made relatively simple by the usage of the new test utility methods that gwacl provides. You'll see that I have decided, in tests, to only check that _a_ request was made to the fake Azure server rather that checking the exact nature of the request. The gwacl methods are themselves properly unittested so I decided it would do more bad than good to put too much Azure-specific stuff (such as the requested url) in the provider's test code.
https://code.launchpad.net/~rvb/juju-core/az-list-instances/+merge/171966
(do not edit description out of merge proposal)
Patch Set 1 #
MessagesTotal messages: 2
|