In auditing our proxy method names heading into the 1.0 release, where we'll need to be more careful about backwards compatibility, some names in the cluster proxy use structures that are different than we're using both around the other services and also within cluster itself. We've converged on several naming formats for add/remove, attach/detach, and several other grammar styles when naming operations that are done on a certain resource. This change introduces a deprecation decorator using the `deprecation` library, which was recently added to global-requirements. This is also the first change of several in the auditing process, just going alphabetical order through the services. The plan with these is that they're marked for deprecation in the next release (0.9.14), both here in the code and in the documentation via the deprecation library's ability to modify the docstring, which then shows up in our built documentation. In the meantime, we should help any users we know of—in this case we have cluster developers on this project—in updating calling code to use the newer format before 1.0 happens. The following deprecations were made: * cluster_add_nodes -> add_nodes_to_cluster * cluster_del_nodes -> remove_nodes_from_cluster * cluster_replace_nodes -> replace_nodes_in_cluster * cluster_scale_out -> scale_out_cluster * cluster_scale_in -> scale_in_cluster * cluster_attach_policy -> attach_policy_to_cluster * cluster_detach_policy -> detach_policy_from_cluster * cluster_update_policy -> update_cluster_policy * cluster_operation -> perform_operation_on_cluster * node_operation -> perform_operation_on_node Partial-Bug: 1657498 Change-Id: I3df0494f9ec0097aee7d47e05fb42094439bc4a4
10 lines
383 B
Plaintext
10 lines
383 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.
|
|
pbr>=1.8 # Apache-2.0
|
|
six>=1.9.0 # MIT
|
|
stevedore>=1.17.1 # Apache-2.0
|
|
os-client-config>=1.22.0 # Apache-2.0
|
|
keystoneauth1>=2.18.0 # Apache-2.0
|
|
deprecation>=1.0 # Apache-2.0
|