c88da0a632
In preparation for supporting deploys on a glance-less undercloud, this change refactors the upload command to move all glance interacting logic into a glance adapter class. This will allow the adapter abstraction to be used for an 'upload' adapter which only copies files on the local disk. This change also does the following: - moves repeated update-or-upload logic to an adapter method, reducing the complexity of take_action - cleans up the mock usage to consistently use the patch decorator - the current approach may be causing unit test failures in some environments - removes the GlanceV1 implementation, since the V1 API was removed in Newton(!) this support is just a maintenance burden Change-Id: Ie28dabaf07ed36adb3e8f07ca8c141f93a9d79cc Blueprint: nova-less-deploy
14 lines
508 B
Plaintext
14 lines
508 B
Plaintext
# The order of packages is significant, because pip processes them in the order
|
|
# of appearance. Changing the order has an impact on the overall integration
|
|
# process, which may cause wedges in the gate later.
|
|
hacking>=1.1.0,<1.2.0 # Apache-2.0
|
|
|
|
coverage!=4.4,>=4.0 # Apache-2.0
|
|
docutils>=0.11 # OSI-Approved Open Source, Public Domain
|
|
fixtures>=3.0.0 # Apache-2.0/BSD
|
|
mock>=3.0.0 # BSD
|
|
stestr>=2.0.0 # Apache-2.0
|
|
testtools>=2.2.0 # MIT
|
|
requests-mock>=1.2.0 # Apache-2.0
|
|
testscenarios>=0.4 # Apache-2.0/BSD
|