Deprecate some APIs in the name of consistency
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack SDK |
In Progress
|
Critical
|
Brian Curtin |
Bug Description
While auditing our API names as we approach 1.0, we need to make some changes to bring some things in line with the precedents we set in the compute and later network APIs, mostly around additional behaviors of APIs outside of standard CRUD naming.
These should be deprecated for some time period to allow users to make the switches, and then later removed.
openstack/
cluster_add_nodes -> add_nodes_
cluster_del_nodes -> remove_
cluster_
cluster_scale_out -> scale_out_cluster
cluster_scale_in -> scale_in_cluster
cluster_
cluster_
cluster_
openstack/
# The following two are not used by the SDK itself or by OSC,
# they were early examples of actually using some of these
# methods to do certain tasks.
security_
security_
openstack/
download_object -> remove and add to user guide, though with a more involved example
get_object -> download_object
Note: I submitted a request to get libdeprecation into global-requirements so that we can use it to carry out these deprecations in an automated way. If that's approved, this will be pretty easy.
https:/ /review. openstack. org/#/c/ 422069/