Deprecations Cleanup

Registered by Jamie Lennox on 2015-01-13

There is a lot of code that is marked throughout keystoneclient as deprecated, however doesn't necessarily tell users of that fact. Particularly a lot of the session work has now been merged into keystone for a number of cycles.

It's time to start being more agressive and popping up warnings when users are using older code.

Blueprint information

Status:
Started
Approver:
None
Priority:
Medium
Drafter:
Jamie Lennox
Direction:
Approved
Assignee:
Brant Knudson
Definition:
Approved
Series goal:
Accepted for liberty
Implementation:
Needs Code Review
Milestone target:
None
Started by
Brant Knudson on 2015-07-15

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/deprecations,n,z

Addressed by: https://review.openstack.org/147026
    Deprecate attributes from BaseIdentityPlugin

Gerrit topic: https://review.openstack.org/#q,topic:deprecations,n,z

Addressed by: https://review.openstack.org/189144
    Common base class for unit tests

Addressed by: https://review.openstack.org/189145
    Unit tests catch deprecated function usage

Addressed by: https://review.openstack.org/189147
    Switch from deprecated isotime

Addressed by: https://review.openstack.org/189149
    Stop using function deprecated in Python 3

Addressed by: https://review.openstack.org/191509
    Remove confusing deprecation comment

Addressed by: https://review.openstack.org/191510
    Remove confusing deprecation comment from token_to_cms

Addressed by: https://review.openstack.org/191511
    Proper deprecations

Addressed by: https://review.openstack.org/205524
    Deprecations fixture support calling deprecated function

Addressed by: https://review.openstack.org/205547
    Proper deprecation for AccessInfo region_name parameter

Addressed by: https://review.openstack.org/205548
    Proper deprecation for AccessInfo scoped property

Addressed by: https://review.openstack.org/205581
    Stop using deprecated AccessInfo.auth_url

Addressed by: https://review.openstack.org/205582
    Proper deprecation for AccessInfo auth_url property

Addressed by: https://review.openstack.org/205602
    Proper deprecation for AccessInfo management_url property

Addressed by: https://review.openstack.org/205610
    Proper deprecations for modules

Addressed by: https://review.openstack.org/205676
    Proper deprecation for BaseIdentityPlugin username, password, token_id properties

Addressed by: https://review.openstack.org/205677
    Proper deprecation for BaseIdentityPlugin trust_id property

Addressed by: https://review.openstack.org/205681
    Stop using Manager.api

Addressed by: https://review.openstack.org/205682
    Proper deprecation for Manager.api

Addressed by: https://review.openstack.org/205687
    Proper deprecation for client.HTTPClient

Addressed by: https://review.openstack.org/205688
    Proper deprecation for is_ans1_token

Addressed by: https://review.openstack.org/205689
    Proper deprecation for Dicover.available_versions()

Addressed by: https://review.openstack.org/205690
    Proper deprecation for Dicover.raw_version_data unstable parameter

Addressed by: https://review.openstack.org/205699
    Proper deprecation for httpclient.request()

Addressed by: https://review.openstack.org/205700
    Fix tests passing user, project, and token

Addressed by: https://review.openstack.org/205701
    Proper deprecation for HTTPClient tenant_id, tenant_name parameters

Addressed by: https://review.openstack.org/205710
    Proper deprecation for HTTPClient.tenant_id|name

Addressed by: https://review.openstack.org/205711
    Proper deprecation for HTTPClient.request methods

Addressed by: https://review.openstack.org/205806
    Proper deprecation for HTTPClient session and adapter variables

Addressed by: https://review.openstack.org/205809
    Deprecate ServiceCatalog(region_name)

Addressed by: https://review.openstack.org/205810
    Deprecate ServiceCatalog.get_urls() with no attr

Addressed by: https://review.openstack.org/205812
    Proper deprecation for Session.construct()

Addressed by: https://review.openstack.org/205813
    Deprecate use of cert and key

Addressed by: https://review.openstack.org/205817
    Proper deprecation for Session.get_token()

Addressed by: https://review.openstack.org/205820
    Deprecate create v2_0 Client without session

Addressed by: https://review.openstack.org/205822
    Deprecate create v3 Client without session

Addressed by: https://review.openstack.org/205825
    Proper deprecation for CredentialManager data argument

Addressed by: https://review.openstack.org/205826
    Proper deprecation for UserManager project argument

Addressed by: https://review.openstack.org/205829
    Deprecate create Discover without session

Addressed by: https://review.openstack.org/205832
    Deprecate create HTTPClient without session

Addressed by: https://review.openstack.org/205833
    Proper deprecation for httpclient.USER_AGENT

Gerrit topic: https://review.openstack.org/#q,topic:bug/1477275,n,z

Addressed by: https://review.openstack.org/207267
    Merge remote-tracking branch 'remotes/gerrit/master' into merge-branch

Addressed by: https://review.openstack.org/209609
    Deprecate openstack.common.apiclient

Gerrit topic: https://review.openstack.org/#q,topic:bug/1481806,n,z

Gerrit topic: https://review.openstack.org/#q,topic:bug/1446702,n,z

Addressed by: https://review.openstack.org/218269
    Merge remote-tracking branch 'origin/master' into merge-branch

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.