commit 040e997867b964b9ea197cf0d2f1cab9eeb2b3d2
Author: Steven Hardy <email address hidden>
Date: Fri Mar 24 12:25:41 2017 +0000
Move clients into class constructor
Currently we reference the various clients in several functions, so it's
cleaner if we just define them in the constructor vs passing them around
between functions etc. In particular the swift client will be needed
in several functions if we're to break up the plan-update logic related
to handling environments effectively, so we may as well move all clients
for consistency (when more validations are done via mistral we can probably
remove some of these altogether e.g ref the validations-in-workflows
blueprint).
Reviewed: https:/ /review. openstack. org/449633 /git.openstack. org/cgit/ openstack/ python- tripleoclient/ commit/ ?id=040e997867b 964b9ea197cf0d2 f1cab9eeb2b3d2
Committed: https:/
Submitter: Jenkins
Branch: master
commit 040e997867b964b 9ea197cf0d2f1ca b9eeb2b3d2
Author: Steven Hardy <email address hidden>
Date: Fri Mar 24 12:25:41 2017 +0000
Move clients into class constructor
Currently we reference the various clients in several functions, so it's in-workflows
cleaner if we just define them in the constructor vs passing them around
between functions etc. In particular the swift client will be needed
in several functions if we're to break up the plan-update logic related
to handling environments effectively, so we may as well move all clients
for consistency (when more validations are done via mistral we can probably
remove some of these altogether e.g ref the validations-
blueprint).
Change-Id: I8e3ca726ec6d87 3529127c2326f1b 65dbb2bc22e
Partial-Bug: #1635409