auto to get token when heatclient inition
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
- Started by
- Completed by
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
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:/