_get_token_expiration in auth_token.py should return isotime
Bug #1413093 reported by
wanghong
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
keystonemiddleware |
Fix Released
|
Low
|
wanghong |
Bug Description
Currently, _get_token_
Changed in keystonemiddleware: | |
assignee: | nobody → wanghong (w-wanghong) |
Changed in keystonemiddleware: | |
assignee: | wanghong (w-wanghong) → Morgan Fainberg (mdrnstm) |
status: | New → In Progress |
Changed in keystonemiddleware: | |
importance: | Undecided → Low |
status: | In Progress → Triaged |
Changed in keystonemiddleware: | |
assignee: | Morgan Fainberg (mdrnstm) → Steve Martinelli (stevemar) |
status: | Triaged → In Progress |
Changed in keystonemiddleware: | |
assignee: | Steve Martinelli (stevemar) → wanghong (w-wanghong) |
Changed in keystonemiddleware: | |
milestone: | none → 1.4.0 |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/140984 /git.openstack. org/cgit/ openstack/ keystonemiddlew are/commit/ ?id=30c4794c37a 2ee0d5e194465da c2c7043c62a7f9
Committed: https:/
Submitter: Jenkins
Branch: master
commit 30c4794c37a2ee0 d5e194465dac2c7 043c62a7f9
Author: wanghong <email address hidden>
Date: Thu Dec 11 16:59:53 2014 +0800
iso expires should be returned in one place
Currently, _get_token_ expiration method returns a normalized time, token_not_ expired method returns an isotime. expiration should return isotime too
at the same time, _confirm_
We will cache the expire time returned by the two methods in the
_TokenCache object. But _TokenCache object treats it as an isotime when
getting cache.
There are two issues here:
1. _get_token_
2. expires should be returned in one place rather than in two places
which is a gap make expires in different time-forms
Closes-Bug: #1413093 f2f4bcc960df94a 4e106af1730
Change-Id: I85dbaaed0c761f