Show 'age' field in subscriptions (redis)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
zaqar |
New
|
Undecided
|
Unassigned |
Bug Description
https:/
Dear bug triager. This bug was created since a commit was marked with DOCIMPACT.
Your project "openstack/zaqar" is set up so that we directly report the documentation bugs against it. If this needs changing, the docimpact-group option needs to be added for the project. You can ask the OpenStack infra team (#openstack-infra on freenode) for help if you need to.
commit 897424af777b10e
Author: Eva Balycheva <email address hidden>
Date: Sat Mar 5 06:28:34 2016 +0300
Show 'age' field in subscriptions (redis)
We recently fixed subscriptions and now they are expirable resources as
they should be.
This patch adds 'age' field to subscription resource representation
which is exposed to the user and defined in redis driver.
This patch also removes existing 'expires' field, because:
1. The 'expires' field is missing in mongodb's subscription resource
representation. (But age field was also missing until a recent patch).
2. The 'expires' field has int (timestamp) format, which is not human
readable.
3. Other Zaqar's expirable resources show 'age' and 'ttl' fields instead
of showing 'expires' field.
4. There is no need in 'expires' field when 'age' and 'ttl' fields are
exposed to the user.
This change in unlikely to affect backward compatibility, because
subscription expirations started to work only recently.
Closes-Bug: 1552845
APIImpact
DocImpact
Change-Id: I18f908b2f137bd