auto to get token when heatclient inition

Registered by zhaozhilong

we all know that token is easy change value.
so if we initialize a heatclient object, it always have to write the other function to
create an correct token.it seems to reinvent the wheel.

Using auto to get token would provide the following benefits:
- easy to initialize
- reduce code coupling and improve flexibility

seems novaclient do well in this part.

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
zhaozhilong
Direction:
Needs approval
Assignee:
zhaozhilong
Definition:
New
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:auto-get-token,n,z

Addressed by: https://review.openstack.org/274553
      Added an automatic access to token plug-ins,users can choose to use the way. Old API calls can still be used, but also provides a new way to call API. Old API calls: >> heat = Client(version, endpoint=heat_url, token=auth_token) At now time,wit

Gerrit topic: https://review.openstack.org/#q,topic:bp/auto-get-token,n,z

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.